1 2015-04-08 Florian Weimer <fweimer@redhat.com>
3 * elf/pldd.c (main): Rewrite to use struct
4 scratch_buffer instead of extend_alloca.
5 * elf/pldd-xx.c (find_maps): Likewise.
6 * grp/initgroups.c: Include <scratch_buffer.h> instead of
8 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
9 scratch_buffer instead of extend_alloca.
10 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
11 grp/compat-initgroups.c.
12 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
13 Rewrite to use struct scratch_buffer instead of extend_alloca.
14 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
15 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17 2015-04-08 Joseph Myers <joseph@codesourcery.com>
19 * math/auto-libm-test-in: Add more tests of cbrt.
20 * math/auto-libm-test-out: Regenerated.
21 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23 * math/auto-libm-test-in: Add more tests of cabs.
24 * math/auto-libm-test-out: Regenerated.
25 * sysdeps/i386/fpu/libm-test-ulps: Update.
26 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
31 (__ieee754_atan2): Set FE_TONEAREST mode for internal
33 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
35 * math/auto-libm-test-out: Regenerated.
36 * sysdeps/i386/fpu/libm-test-ulps: Update.
37 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
41 (atan): Set FE_TONEAREST mode for internal computations.
42 * math/auto-libm-test-in: Add more tests of atan.
43 * math/auto-libm-test-out: Regenerated.
45 2015-04-07 James Cowgill <james410@cowgill.org.uk>
48 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
50 2015-04-07 Florian Weimer <fweimer@redhat.com>
52 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
54 2015-04-07 Florian Weimer <fweimer@redhat.com>
56 * include/scratch_buffer.h: New file.
57 * malloc/scratch_buffer_grow.c: Likewise.
58 * malloc/scratch_buffer_grow_preserve.c: Likewise.
59 * malloc/scratch_buffer_set_array_size.c: Likewise.
60 * malloc/tst-scratch_buffer.c: Likewise.
61 * malloc/Makefile (routines): Add scratch_buffer_grow.
62 (tests): Add test case.
63 * malloc/Versions (GLIBC_PRIVATE): Export
64 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
65 __libc_scratch_buffer_set_array_size.
67 2015-04-06 Richard Henderson <rth@redhat.com>
69 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
70 * sysdeps/alpha/fpu/libm-test-ulps: Update.
72 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
73 unsigned int before printing.
75 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
78 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
79 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
81 2015-04-02 Florian Weimer <fweimer@redhat.com>
83 * include/libc-internal.h (libc_max_align_t): Define.
85 2015-04-02 Andreas Schwab <schwab@suse.de>
88 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
90 2015-04-02 Mel Gorman <mgorman@suse.de>
93 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
94 as well as the main arena.
96 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
99 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
100 sharing L2 cache to 2 for Silvermont/Knights Landing.
102 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
105 * config.make.in (have-protected-data): New.
106 * configure.ac: Check linker support for protected data symbol.
107 * configure: Regenerated.
108 * elf/Makefile (modules-names): Add tst-protected1moda and
109 tst-protected1modb if $(have-protected-data) is yes.
110 (tests): Add tst-protected1a and tst-protected1b if
111 $(have-protected-data) is yes.
112 ($(objpfx)tst-protected1a): New.
113 ($(objpfx)tst-protected1b): Likewise.
114 (tst-protected1modb.so-no-z-defs): Likewise.
115 * elf/tst-protected1a.c: New file.
116 * elf/tst-protected1b.c: Likewise.
117 * elf/tst-protected1mod.h: Likewise.
118 * elf/tst-protected1moda.c: Likewise.
119 * elf/tst-protected1modb.c: Likewise.
121 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
124 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
125 indicates it is called from do_lookup_x on relocation against
126 protected data, skip the data definion in the executable from
128 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
129 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
130 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
131 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
132 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
134 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
135 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
136 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
137 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
138 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
139 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
141 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
143 * sysdeps/nptl/pthread.h: Remove duplicate definition of
144 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
146 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
148 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
150 * sysdeps/x86_64/nptl/tls.h: Ditto.
152 2015-03-27 Roland McGrath <roland@hack.frob.com>
154 * dlfcn/tststatic.c (main): Converted to ...
156 (TEST_FUNCTION): New macro.
157 Include test-skeleton.c.
159 2015-03-26 Alan Modra <amodra@gmail.com>
161 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
162 Don't segfault if ifunc resolver returns a NULL. Do set plt to
163 zero for undefined weak.
164 (elf_machine_plt_conflict): Similarly.
166 2015-03-25 Joseph Myers <joseph@codesourcery.com>
168 * math/auto-libm-test-in: Add more tests of acosh, asinh and
170 * math/auto-libm-test-out: Regenerated.
171 * sysdeps/i386/fpu/libm-test-ulps: Update.
172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
174 * math/auto-libm-test-in: Add another test of asin.
175 * math/auto-libm-test-out: Regenerated.
176 * sysdeps/i386/fpu/libm-test-ulps: Update.
177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
179 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
181 (LLL_EBX_REG): Likewise.
182 (LLL_ENTER_KERNEL): Likewise.
184 * math/auto-libm-test-in: Add more tests of asin.
185 * math/auto-libm-test-out: Regenerated.
186 * sysdeps/i386/fpu/libm-test-ulps: Update.
187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
190 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
191 libc_do_syscall_args): New structure.
192 (INTERNAL_SYSCALL_MAIN_0): New macro.
193 (INTERNAL_SYSCALL_MAIN_1): Likewise.
194 (INTERNAL_SYSCALL_MAIN_2): Likewise.
195 (INTERNAL_SYSCALL_MAIN_3): Likewise.
196 (INTERNAL_SYSCALL_MAIN_4): Likewise.
197 (INTERNAL_SYSCALL_MAIN_5): Likewise.
198 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
199 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
200 Replace conditional definitions by conditional definitions of ....
201 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
202 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
203 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
204 (libpthread-sysdep_routines): Add libc-do-syscall.
205 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
206 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
207 to __NR_futex not 240.
209 2015-03-25 Alan Modra <amodra@gmail.com>
211 * NEWS: Advertise TLS optimization.
212 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
213 (DT_PPC_NUM): Increment.
214 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
215 (CHECK_STATIC_TLS): Use here.
216 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
218 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
219 * sysdeps/powerpc/dl-tls.c: New file.
220 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
221 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
222 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
223 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
228 2015-03-25 Alan Modra <amodra@gmail.com>
230 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
231 for overlapping .opd entries" to "support...".
232 * sysdeps/powerpc/powerpc64/configure: Regenerate
234 2015-03-25 Joseph Myers <joseph@codesourcery.com>
236 * math/auto-libm-test-in: Add more tests of acos.
237 * math/auto-libm-test-out: Regenerated.
238 * sysdeps/i386/fpu/libm-test-ulps: Update.
239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
241 * math/auto-libm-test-in: Add more tests of expm1.
242 * math/auto-libm-test-out: Regenerated.
243 * sysdeps/i386/fpu/libm-test-ulps: Update.
244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
246 2015-03-24 Joseph Myers <joseph@codesourcery.com>
248 * math/auto-libm-test-in: Add more tests of cosh and sinh.
249 * math/auto-libm-test-out: Regenerated.
250 * sysdeps/i386/fpu/libm-test-ulps: Update.
251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
253 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
256 * math/auto-libm-test-in: Add more tests of log2.
257 * math/auto-libm-test-out: Regenerated.
258 * sysdeps/i386/fpu/libm-test-ulps: Update.
259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
261 2015-03-23 Roland McGrath <roland@hack.frob.com>
263 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
264 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
265 _IO_IS_APPENDING bit in READ_WRITE instead.
267 2015-03-23 Florian Weimer <fweimer@redhat.com>
269 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
270 (__determine_cpumask_size): Replace extend_alloca with a
271 variable-length array. Do not treat res == 0 as an error.
273 2015-03-23 Florian Weimer <fweimer@redhat.com>
276 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
277 and integer overflow.
278 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
279 (main): Add integer overflow tests.
280 * manual/pattern.texi (Calling Wordexp): Document additional use
283 2015-03-23 Alan Modra <amodra@gmail.com>
285 * config.h.in: Remove HAVE_ASM_PPC_REL16.
286 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
287 and false branch of conditional.
288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
291 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
293 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
295 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
296 unused declaration of _hurd_intr_rpc_msg_in_trap.
297 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
298 defined instead of whether it is non-zero.
299 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
300 input constraint instead of both input and output constraint. Use ecx
301 clobber instead of %ecx.
302 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
303 mutex_unlock): Use a statement expression instead of an expression list.
304 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
305 type to vm_size_t instead of vm_address_t.
306 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
307 defined instead of whether it is non-zero.
308 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
309 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
310 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
311 comparisons with mapaddr.
312 * nscd/nscd-client.h: Include <time.h>.
313 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
314 9th parameter to __vm_region instead of int.
315 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
316 * scripts/check-local-headers.sh (exclude): Add device/,
317 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
320 2015-03-19 Roland McGrath <roland@hack.frob.com>
322 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
323 to account for alignment padding.
324 * sysdeps/arm/memmove.S: Likewise.
326 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
328 * sysdeps/unix/sysv/linux/generic/README: New file.
330 2015-03-18 Joseph Myers <joseph@codesourcery.com>
333 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
334 (futex_abstimed_wait)
335 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
336 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
337 of lll_futex_timed_wait.
339 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
342 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
344 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
351 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
352 entries with Static TLS too. Skip entries past the end of the
353 allocated DTV, from Alan Modra.
354 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
355 Static TLS DTV entry set up from...
356 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
357 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
358 * nptl/allocatestack.c (init_one_static_tls): ... and here...
359 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
361 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
362 that the slot we find is associated with the given map before
363 using its generation count.
364 * nptl_db/db_info.c: Include ldsodefs.h.
365 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
366 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
367 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
368 (link_map::l_tls_offset): New struct field.
369 (dtv_t::counter): Likewise.
370 (rtld_global): New struct.
371 (_rtld_global): New rtld variable.
372 (dl_tls_dtv_slotinfo_list): New rtld global field.
373 (dtv_slotinfo_list): New struct.
374 (dtv_slotinfo): Likewise.
375 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
376 (td_lookup): Rename to...
377 (td_mod_lookup): ... this. Use new mod parameter instead of
379 * nptl_db/td_thr_tlsbase.c: Include link.h.
380 (dtv_slotinfo_list, dtv_slotinfo): New functions.
381 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
382 addresses even if the DTV is out of date or missing them.
383 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
384 index zero-length arrays.
385 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
386 (td_lookup): Make it a macro implemented in terms of...
387 (td_mod_lookup): ... this declaration.
388 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
389 (DB_MAIN_VARIABLE): Likewise.
391 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
394 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
396 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
398 * stdlib/setenv.c (__add_to_environ): Revert previous change.
400 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
403 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
404 (atomic_add, atomic_increment_and_test)
405 (atomic_decrement_and_test): Fix 64-bit arithmetic.
407 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
409 * stdlib/setenv.c (__add_to_environ):
410 Dump core quickly if setenv (..., NULL, ...) is called.
412 2015-03-13 Roland McGrath <roland@hack.frob.com>
414 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
415 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
416 all the necessary asm magic in one place.
417 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
420 2015-03-13 Carlos O'Donell <carlos@redhat.com>
423 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
424 traced file mtime. Use consistent log message.
425 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
426 (register_traced_file): Call install_watches. Always set mtime.
427 (invalidate_cache): Iterate over all trace files. Call install_watches.
428 (inotify_check_files): Don't inline. Handle watching parent
429 directories and configuration file movement in and out.
430 (handle_inotify_events): New function.
431 (main_loop_poll): Call handle_inotify_events.
432 (main_loop_epoll): Likewise.
433 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
434 (struct traced_file): Use array of inotify fds. Add parent directory,
436 (struct database_dyn): Remove unused file_mtime.
437 (init_traced_file): New inline function.
438 (define_traced_file): New macro.
439 * nss/nss_db/db-init.c: Use define_traced_file.
440 (_nss_db_init): Use init_traced_file.
441 * nss/nss_files/files-init.c: Use define_traced_file.
442 (_nss_files_init): Use init_traced_file.
444 2015-03-12 Joseph Myers <joseph@codesourcery.com>
446 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
447 [_LIBC]: Do not include <stdlib.h>.
448 [!_LIBC] (abort): Remove declaration.
449 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
450 _FP_STATIC_ASSERT instead of conditionally calling abort.
451 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
452 (_FP_EXTEND_CNAN): Likewise.
453 (FP_TRUNC): Likewise.
454 (__FP_CLZ): Likewise.
455 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
457 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
459 * manual/string.texi (XPG basename): Fix prototype.
461 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
464 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
465 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
466 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
467 (__setcontext): Likewise.
468 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
469 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
470 Call rt_sigprocmask syscall one time to set new signal mask
471 and retrieve the current signal mask instead of two calls.
472 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
473 (__swapcontext): Likewise.
474 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
475 * stdlib/tst-setcontext2.c: New file.
477 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
479 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
481 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
484 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
487 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
490 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
492 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
494 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
495 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
497 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
498 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
499 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
500 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
501 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
502 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
504 * nptl_db/td_symbol_list.c (td_lookup): Remove
505 HAVE_ASM_GLOBAL_DOT_NAME code.
506 * sysdeps/powerpc/powerpc64/configure.ac: Remove
507 HAVE_ASM_GLOBAL_DOT_NAME check.
508 * sysdeps/powerpc/powerpc64/configure: Regenerate.
509 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
510 (DOT_LABEL): Remove define.
511 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
512 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
513 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
514 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
515 (__TLS_GET_ADDR): Likewise.
516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
517 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
519 2015-03-11 Carlos O'Donell <carlos@redhat.com>
522 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
523 (_FPU_SETCW): Initialize cw from fpsr before storing.
524 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
525 (fesetexceptflag): Rewrite using fpu_control.h.
526 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
528 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
531 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
533 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
535 2015-03-11 Joseph Myers <joseph@codesourcery.com>
537 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
538 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
543 2015-03-10 Roland McGrath <roland@hack.frob.com>
545 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
547 * Makefile (summarize-tests): New canned sequence, factored out of
548 commands for targets tests and xtests. Display summary lines that
549 don't start with PASS: or XFAIL: rather than ones that do start with
550 ERROR: or FAIL:. Make the commands fail if any summary lines fail
551 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
552 do start with ERROR: or FAIL:.
553 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
554 (except for [$(build-shared) = yes]).
555 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
556 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
557 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
558 * nptl/Makefile: Revert 2015-03-04 changes.
559 [$(CXX) empty] (tests-unsupported): New variable.
560 * debug/Makefile: Likewise.
562 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
563 gnulib file. Replace __attribute with __attribute__ throughout.
565 2015-03-10 Carlos O'Donell <carlos@redhat.com>
567 * sysdeps/hppa/fpu/libm-test-ulps: Update.
569 2015-03-10 Joseph Myers <joseph@codesourcery.com>
572 * math/auto-libm-test-in: Add another test of pow.
573 * math/auto-libm-test-out: Regenerated.
575 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
577 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
578 $(config-cflags-nofma).
580 2015-03-10 Joseph Myers <joseph@codesourcery.com>
582 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
583 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
584 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
585 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
586 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
587 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
588 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
589 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
590 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
591 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
592 Add comment on closing #endif.
594 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
596 * posix/wordexp.c (CHAR_IN_SET): New macro.
597 (parse_param): Use it.
599 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
601 * sysdeps/powerpc/fpu/libm-test-ulps: update.
603 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
606 * posix/wordexp.c (parse_param): Fix buffer overflow.
607 * posix/wordexp-test.c (test_case): Add test case.
609 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
612 * posix/wordexp.c (parse_backtick): Fix off-by-one.
613 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
615 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
618 * posix/wordexp-test.c (test_case): Add test for BZ #18043
619 (do_bz18043): Delete.
621 (testit): Refactor to have words at the edge of unreadable page.
623 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
626 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
627 Cleanup read-only streams as well.
628 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
630 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
632 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
635 2015-03-07 Joseph Myers <joseph@codesourcery.com>
637 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
639 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
640 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
641 * soft-fp/op-common.h (_FP_DECL): Likewise.
643 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
645 * elf/ifuncdep2.c (global): Replace
646 __attribute__((visibility("protected"))) with
647 asm (".protected global").
648 * elf/ifuncmod1.c (global): Likewise.
649 * elf/ifuncmod5.c (global): Likewise.
651 2015-03-06 Joseph Myers <joseph@codesourcery.com>
653 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
654 <asm/sfp-machine.h> instead of <sfp-machine.h>.
656 2015-03-06 Roland McGrath <roland@hack.frob.com>
658 * manual/install.texi (Configuring and compiling):
659 Document test-wrapper-env-only.
660 * INSTALL: Regenerated.
662 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
665 * posix/wordexp.c (parse_param): Fix buffer overflow.
666 * posix/wordexp-test.c (do_bz18043): Add test case.
668 2015-03-06 Vincent Bernat <vincent@bernat.im>
670 * time/tst-strptime2.c (do_test): Ensure failing tests are
672 * time/tst-strptime3.c (do_test): Likewise.
674 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
676 Fix aio_error thread-safety.
677 * sysdeps/pthread/aio_error.c: New file
678 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
681 2015-03-06 Florian Weimer <fweimer@redhat.com>
683 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
684 (group_number, vfprintf): Use it.
685 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
687 (WORK_BUFFER_SIZE): New enum constant.
688 (process_arg, vfprintf): Use it.
690 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
692 * manual/errno.texi (Error Messages): Complete example function
693 by adding missing #define.
694 (program_invocation_name): Add statement indicating GNU
695 extension and reference which header file declares the variable.
696 (program_invocation_short_name): Likewise.
698 2015-03-06 Mike Frysinger <vapier@gentoo.org>
700 * manual/errno.texi (Error Messages): Delete strerror ISO C89
703 2015-03-05 Roland McGrath <roland@hack.frob.com>
705 * Makeconfig (test-wrapper-env-only): New variable.
706 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
707 then use that with $(test-wrapper-env-only) rather than using
708 $(test-wrapper-env) $(run-program-env) $($*-ENV).
710 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
713 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
714 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
715 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
716 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
717 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
718 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
719 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
720 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
722 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
723 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
725 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
727 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
729 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
731 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
732 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
734 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
736 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
737 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
739 2015-03-04 Roland McGrath <roland@hack.frob.com>
741 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
742 (ETH_ALEN): New macro.
743 (struct ether_addr): Use it for length of ether_addr_octet.
745 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
746 (setdb): Don't call __nss_configure_lookup for "rpc".
747 (do_test): Don't call test_rpc.
748 (output_rpcent, test_rpc): Functions moved ...
749 * sunrpc/test-rpcent.c: ... to this new file.
750 * sunrpc/Makefile (tests): Add it.
752 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
754 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
755 * nptl/tst-signal6.c: Likewise.
756 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
757 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
759 * configure.ac (libc_cv_cxx_link_ok): New check.
760 Reset CXX to empty if it fails to link.
761 * configure: Regenerated.
762 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
763 bug-atexit3-lib only if $(CXX) is nonempty.
764 * nptl/Makefile (tests): Likewise for tst-cancel24.
765 (tests, tests-static): Likewise for tst-cancel24-static.
766 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
767 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
768 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
769 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
771 2015-03-04 Andreas Schwab <schwab@suse.de>
774 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
775 for non-GCC compilers.
776 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
779 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
782 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
783 integer before bitwise and assembly operations.
784 (feclearexcept): Likewise.
785 * math/test-fenvinline.c: New file.
786 * math/Makefile: Add test-fenvinline test.
788 2015-03-03 Alan Modra <amodra@gmail.com>
791 * scripts/localplt.awk: Strip off symbol version.
792 * NEWS: Mention bug fix.
794 2015-03-02 Roland McGrath <roland@hack.frob.com>
796 * sysdeps/pthread/timer_routines.c
797 (timer_free_list, thread_free_list, thread_active_list): Make static.
799 2015-03-02 Joseph Myers <joseph@codesourcery.com>
802 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
803 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
805 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
806 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
808 * sysdeps/unix/sysv/linux/sh/kernel-features.h
809 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
812 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
815 * posix/fnmatch_loop.c (END): Detect invalid pattern.
816 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
818 2015-03-02 Andreas Schwab <schwab@suse.de>
820 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
823 2015-03-02 Florian Weimer <fweimer@redhat.com>
825 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
828 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
831 * locale/findlocale.c (_nl_find_locale): Introduce const
832 version of loc_name and drop unsafe type casts.
834 2015-02-27 Roland McGrath <roland@hack.frob.com>
836 * dlfcn/tststatic2.c (main): Converted to ...
838 (TEST_FUNCTION): New macro.
839 Include test-skeleton.c.
841 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
844 * elf/Makefile (tests): Add vismain only if PIE is enabled.
845 (tests-pie): Add vismain.
846 (CFLAGS-vismain.c): New.
847 * elf/vismain.c: Add comments for PIE requirement.
849 2015-02-27 Joseph Myers <joseph@codesourcery.com>
853 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
854 0x1p-56L as threshold for just returning the argument.
855 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
856 0x1p-32L as threshold for just returning the argument.
857 * math/auto-libm-test-in: Add more tests of atanh.
858 * math/auto-libm-test-out: Regenerated.
859 * sysdeps/i386/fpu/libm-test-ulps: Update.
860 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
862 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
864 * string/bcopy.c (bcopy): Call memmove for performance.
866 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
868 * string/bzero.c (__bzero): Call memset for performance.
870 2015-02-27 John David Anglin <dave.anglin@bell.net>
873 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
876 2015-02-27 Joseph Myers <joseph@codesourcery.com>
878 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
880 2015-02-26 Joseph Myers <joseph@codesourcery.com>
882 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
883 (__kernel_standard): Use CSTR macro when setting exc.name.
884 * sysdeps/ieee754/Makefile [$(subdir) = math]
885 (CFLAGS-k_standard.c): Remove variable.
887 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
888 setting p and q from "else if" to "else".
890 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
892 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
894 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
896 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
898 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
903 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
904 return pi/2 for arguments below 0x1p-113L.
905 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
906 return pi/2 for arguments below 0x1p-106L.
907 * math/auto-libm-test-in: Add more tests of acos.
908 * math/auto-libm-test-out: Regenerated.
911 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
913 (__ieee754_asin): Force underflow exception for results with small
915 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
917 (__ieee754_asinf): Force underflow exception for results with
918 small absolute value.
919 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
920 (__ieee754_asin): Force underflow exception for results with small
922 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
923 (__ieee754_asinf): Force underflow exception for results with
924 small absolute value.
925 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
926 (__ieee754_asinl): Force underflow exception for results with
927 small absolute value.
928 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
929 (__ieee754_asinl): Force underflow exception for results with
930 small absolute value.
931 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
932 (__ieee754_asinl): Force underflow exception for results with
933 small absolute value.
934 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
936 * math/auto-libm-test-in: Do not mark underflow exceptions as
937 possibly missing for bug 16351.
938 * math/auto-libm-test-out: Regenerated.
941 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
942 of power of 2 down when low part has opposite sign.
943 * math/libm-test.inc (logb_test_data): Add more tests.
945 2015-02-26 Andreas Schwab <schwab@suse.de>
948 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
949 over collating symbol inside a bracket expression. Minor cleanup.
950 * posix/tst-fnmatch3.c (do_test): Add test case.
952 2015-02-26 Joseph Myers <joseph@codesourcery.com>
955 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
956 Adjust exponent of power of 2 down when low part has opposite
958 * math/libm-test.inc (ilogb_test_data): Add more tests.
960 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
963 * locale/findlocale.c (_nl_find_locale): Fix constness error in
967 * locale/findlocale.c (_nl_find_locale): Retry archive search
968 after alias expansion.
970 2015-02-25 Roland McGrath <roland@hack.frob.com>
972 * iconv/tst-iconv3.c (main): Converted to ...
974 (TEST_FUNCTION): New macro.
975 Include test-skeleton.c.
977 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
978 (convert): Make function static.
979 (test_unalign): Likewise. Add const to argument pointee types.
980 (main): Replace with static function do_test.
981 Print "Succeeded." only if RET is zero.
982 (TEST_FUNCTION): New macro.
983 Include test-skeleton.c.
985 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
986 returns a null pointer.
988 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
990 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
991 to __memcpy_ppc only for static builds.
993 2015-02-25 Joseph Myers <joseph@codesourcery.com>
996 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
997 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
998 * math/auto-libm-test-in: Add more tests of asinh.
999 * math/auto-libm-test-out: Regenerated.
1000 * sysdeps/i386/fpu/libm-test-ulps: Update.
1001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1003 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
1006 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1007 and ip6_mtuinfo definitions here.
1008 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1009 in this define too. Update comment.
1011 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
1013 * elf/sprof.c (load_shobj): Tweak error message to match others.
1015 2015-02-24 Kevin Easton <kevin@guarana.org>
1017 [BZ #16145] (partial fix)
1018 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1019 to reduce lock contention.
1021 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
1023 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1024 (struct timex): Update time comment.
1025 (ADJ_SETOFFSET): Define.
1027 2015-02-24 Joseph Myers <joseph@codesourcery.com>
1030 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1031 2**56 not 2**28 as threshold for log (2x) formula.
1032 * math/auto-libm-test-in: Add more tests of acosh.
1033 * math/auto-libm-test-out: Regenerated.
1034 * sysdeps/i386/fpu/libm-test-ulps: Update.
1035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1037 2015-02-24 Mike Frysinger <vapier@gentoo.org>
1039 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1040 parenthesis around the buf assignment.
1041 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1043 2015-02-24 Joseph Myers <joseph@codesourcery.com>
1046 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1047 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1048 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1049 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1050 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1051 * math/libm-test.inc (scalb_test_data): Add more tests.
1053 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1056 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1057 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1059 2015-02-24 Eric Rannaud <e@nanocritical.com>
1062 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1063 * io/bits/fcntl2.h (open): Use it.
1065 * io/open.c (__libc_open): Likewise.
1066 * io/open64.c (__libc_open64): Likewise.
1067 * io/open64_2.c (__open64_2): Likewise.
1068 * io/open_2.c (__open_2): Likewise.
1069 * io/openat.c (__openat): Likewise.
1070 * io/openat64.c (__openat64): Likewise.
1071 * io/openat64_2.c (__openat64_2): Likewise.
1072 * io/openat_2.c (__openat_2): Likewise.
1073 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1074 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1075 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1076 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1077 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1078 (__open_nocancel): Likewise.
1079 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1080 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1081 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1083 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1086 * resolv/gethnamaddr.c (getanswer): Skip logging if
1087 RES_USE_DNSSEC is set.
1088 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1090 2015-02-24 Mike Frysinger <vapier@gentoo.org>
1092 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1094 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
1096 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1097 201304L, for Unicode 7.
1099 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1102 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1103 shared library. Add gmon-start.os otherwise.
1104 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1105 $(objpfx)gmon-start.os if builing shared library.
1106 ($(objpfx)g$(static-start-installed-name)): Likewise.
1108 2015-02-23 Andreas Schwab <schwab@suse.de>
1110 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1112 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1115 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1116 (enlarge_userbuf): Likewise.
1118 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1120 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1121 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1122 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1123 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1125 2015-02-20 Joseph Myers <joseph@codesourcery.com>
1127 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1128 expression inside statement expression.
1130 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1132 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1133 <sysdeps/nptl/lowlevellock.h> and remove macros and
1134 functions that are now defined there.
1135 (SYS_futex): Remove.
1136 (lll_compare_and_swap): Remove.
1137 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1139 2015-02-19 Joseph Myers <joseph@codesourcery.com>
1142 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1143 instead of scandirat.
1144 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1145 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1146 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1148 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1149 (__scandirat): Declare. Use libc_hidden_proto.
1150 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1152 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1154 2015-02-18 Joseph Myers <joseph@codesourcery.com>
1157 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1159 (__ieee754_atan2): For results with small absolute value, force
1160 underflow exception and remove excess range and precision from
1162 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1164 (__ieee754_atan2f): For results with small absolute value, force
1165 underflow exception and remove excess range and precision from
1167 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1169 (__atan): For results with small absolute value, force underflow
1170 exception and remove excess range and precision from return value.
1171 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1173 (__atanf): For results with small absolute value, force underflow
1174 exception and remove excess range and precision from return value.
1175 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1177 (__ieee754_atan2): Force underflow exception for results with
1178 small absolute value.
1179 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1181 (atan): Force underflow exception for results with small absolute
1183 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1184 (__atanf): Force underflow exception for results with small
1186 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1188 (__atanl): Force underflow exception for results with small
1190 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1191 (__atanl): Force underflow exception for results with small
1193 * sysdeps/x86/fpu/bits/mathinline.h
1194 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1195 (__ieee754_atan2): Only define inline for long double.
1196 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1197 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1198 * math/auto-libm-test-in: Do not mark underflow exceptions as
1199 possibly missing for bug 15319. Add more tests of atan2.
1200 * math/auto-libm-test-out: Regenerated.
1201 * math/libm-test.inc (casin_test_data): Do not mark underflow
1202 exceptions as possibly missing for bug 15319.
1203 (casinh_test_data): Likewise.
1204 * sysdeps/i386/fpu/libm-test-ulps: Update.
1206 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
1208 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1209 * sysdeps/mips/bits/endian.h: Fix comments.
1211 2015-02-18 Joseph Myers <joseph@codesourcery.com>
1214 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1215 (hdestroy_r): Likewise.
1216 (hsearch_r): Likewise.
1217 (__hcreate_r): Declare and use libc_hidden_proto.
1218 (__hdestroy_r): Likewise.
1219 (__hsearch_r): Likewise.
1220 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1221 (hcreate): Call __hcreate_r instead of hcreate_r.
1222 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1223 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1224 as weak alias of __hcreate_r.
1225 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1227 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1229 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1231 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1232 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1233 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1234 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1236 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1238 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1239 arena_lock into a single arena_get.
1241 2015-02-17 Carlos O'Donell <carlos@redhat.com>
1243 * dl-reloc.c: Inlucde libc-internal.h.
1244 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1245 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1246 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1247 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1248 (grow_heap): Likewise.
1249 * malloc/malloc.c: Include libc-internal.h.
1250 (do_check_malloc): Call powerof2.
1251 (sysmalloc): Use pagesize. Call ALIGN_UP.
1252 (systrim): Use pagesize.
1253 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1254 (__libc_valloc): Use pagesize.
1255 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1257 2015-02-17 Joseph Myers <joseph@codesourcery.com>
1260 * include/sys/resource.h (__getrlimit64): Declare. Use
1262 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1263 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1264 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1266 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1268 [!getrlimit64] (getrlimit64): Define as weak alias of
1269 __getrlimit64. Use libc_hidden_weak.
1270 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1271 using __getrlimit64 not __new_getrlimit64.
1272 (__GI_getrlimit64): Likewise.
1273 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1275 (__GI_getrlimit64): Likewise.
1276 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1278 (getrlimit): Add __getrlimit64 alias.
1279 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1281 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1283 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1284 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1286 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1288 * libio/fileops.c: Add missing sys/mman.h
1289 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1291 2015-02-17 Joseph Myers <joseph@codesourcery.com>
1293 * manual/math.texi (Errors in Math Functions): Clarify goals
1294 regarding inexact and underflow exceptions.
1296 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
1298 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1299 * sysdeps/mips/memset.S: Ditto.
1301 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
1303 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1305 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1307 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1308 (__v1longjmp): Remove versioned symbol.
1309 (__v1siglongjmp): Remove alias and versioned symbol.
1310 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1311 (__v2siglongjmp): Likewise.
1313 2015-02-16 Torvald Riegel <triegel@redhat.com>
1315 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1317 2015-02-16 Mike Frysinger <vapier@gentoo.org>
1319 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1321 2015-02-16 Joseph Myers <joseph@codesourcery.com>
1324 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1325 zero result does not depend on the sign resulting from
1327 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1329 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1330 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1331 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1332 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1333 * math/libm-test.inc (remquo_test_data): Add more tests.
1335 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1337 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1338 Problem reported by J William Piggott.
1340 2015-02-16 Joseph Myers <joseph@codesourcery.com>
1343 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1344 products 4 * y and 2 * y where those would overflow.
1345 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1347 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1348 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1349 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1350 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1351 * math/libm-test.inc (remquo_test_data): Add more tests.
1353 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1355 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1356 [defined _COMPILING_NEWLIB].
1357 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1358 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1360 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1361 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1363 2015-02-16 Torvald Riegel <triegel@redhat.com>
1365 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1368 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1371 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1372 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1373 HOST_STACK_END_ADDR): Likewise.
1375 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
1377 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1378 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1379 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1381 2015-02-13 Roland McGrath <roland@hack.frob.com>
1383 * sysdeps/generic/c++-types.data: New file.
1384 * sysdeps/generic/ld.abilist: New file.
1385 * sysdeps/generic/libBrokenLocale.abilist: New file.
1386 * sysdeps/generic/libanl.abilist: New file.
1387 * sysdeps/generic/libc.abilist: New file.
1388 * sysdeps/generic/libcrypt.abilist: New file.
1389 * sysdeps/generic/libdl.abilist: New file.
1390 * sysdeps/generic/libm.abilist: New file.
1391 * sysdeps/generic/libpthread.abilist: New file.
1392 * sysdeps/generic/libresolv.abilist: New file.
1393 * sysdeps/generic/librt.abilist: New file.
1395 2015-02-13 Joseph Myers <joseph@codesourcery.com>
1398 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1399 Compute absolute value of x as modified by fmod, not original
1401 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1402 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1403 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1404 RUN_TEST_ffI_f1_mod8.
1405 (remquo_test_data): Add more tests.
1407 2015-02-13 Roland McGrath <roland@hack.frob.com>
1409 * sysdeps/init_array/pt-crti.S: New file.
1411 2015-02-13 Joseph Myers <joseph@codesourcery.com>
1414 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1415 __builtin_fmaf instead of relying on contraction of a * b + c.
1417 2015-02-12 J William Piggott <elseifthen@gmx.com>
1420 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1423 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1426 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1427 __builtin_fma instead of relying on contraction of a * b + c.
1429 2015-02-12 Roland McGrath <roland@hack.frob.com>
1431 * Makeconfig (ASFLAGS): Add -Werror=undef.
1432 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1433 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1434 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1436 * Makeconfig (after-link): New variable.
1437 (+link-pie, +link-pie-tests): Use it.
1438 (+link-static, +link-static-tests): Likewise.
1439 (+link, +link-tests): Likewise.
1440 * Makerules (build-module, build-module-asneeded): Likewise.
1441 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1443 * elf/Makefile ($(objpfx)ld.so): Likewise.
1445 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1448 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1449 both struct timeval and struct timespec.
1451 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1454 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1456 (__ieee754_exp2l): Do not multiply small fractional parts by
1458 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1460 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1461 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1462 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1463 * math/auto-libm-test-in: Add more tests of exp2.
1464 * math/auto-libm-test-out: Regenerated.
1466 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1468 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1471 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1473 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1476 2015-02-12 Andreas Schwab <schwab@suse.de>
1479 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1480 Filter out elision flags from value returned in kind.
1481 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1482 * nptl/tst-pthread-mutexattr.c: New file.
1484 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1486 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1487 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1488 into gnu-gnu, and update comment to refer to abi-tags.
1490 2015-02-11 Joseph Myers <joseph@codesourcery.com>
1493 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1494 (__sincos): Set errno to EDOM for infinite argument.
1495 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1496 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1497 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1498 (__sincosl): Set errno to EDOM for infinite argument.
1499 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1500 (__sincosl): Set errno to EDOM for infinite argument.
1501 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1502 (__sincosl): Set errno to EDOM for infinite argument.
1503 * math/libm-test.inc (sincos_test_data): Test errno setting.
1505 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
1507 * string/strxfrm_l.c: Remove #define STRCMP.
1508 * string/strcoll_l.c: Remove #define STRLEN.
1509 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1510 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1512 2015-02-10 Joseph Myers <joseph@codesourcery.com>
1514 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1515 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1516 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1517 * sysdeps/mips/mips64/Makefile: ... here.
1518 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1519 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1520 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1521 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1522 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1523 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1524 * sysdeps/mips/mips64/n64/Implies: Likewise.
1526 2015-02-10 Roland McGrath <roland@hack.frob.com>
1528 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1529 <sys/time.h>, <string.h>, and <errno.h>.
1530 (dest_offset, dest_address, value, zero): Remove unused variables.
1531 (ldouble): Remove typedef.
1532 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1533 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1535 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1536 (check): Function removed.
1538 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1539 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1540 Don't call set_sigaction_FP and remove_sigaction_FP here.
1541 (ldouble_test): Just use 'long double' as macro argument, no need for
1542 the 'ldouble' typedef.
1543 (do_test): Set up SIGFPE handler at start, using plain signal rather
1544 than sigaction. Fix code style.
1546 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1549 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1552 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1554 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1555 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1557 * sysdeps/powerpc/configure.ac: Remove file.
1558 * sysdeps/powerpc/configure: Likewise.
1560 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1561 [sysdep_routines]: Remove wordcopy-power6 object.
1562 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1563 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1564 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1565 (__memmove_ppc32): Likewise.
1566 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1568 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1569 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1570 Remove preprocessor.
1572 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1573 [sysdep_routines]: Remove wide chars objects.
1574 [wcsmbs]: New rule for wide char objects.
1576 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1577 Remove wordcopy-power6 obejct.
1578 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1579 Use local call for wordcopy and memcpy symbols.
1580 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1581 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1582 implementation for loader.
1583 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1585 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1586 Remove wordcopy-power7 object.
1587 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1588 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1589 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1590 (_wordcopy_fwd_dest_aligned): Likewise.
1591 (_wordcopy_bwd_aligned): Likewise.
1592 (_wordcopy_bwd_dest_aligned): Likewise.
1594 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1595 Rewrite to call __memmove_ppc instead of include default
1598 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1599 Remove wide chars objects.
1600 [wcsmbs]: New rule for wide char objects.
1602 2015-02-09 Andreas Schwab <schwab@suse.de>
1605 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1606 in terms of __O_DIRECTORY.
1608 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1610 * time/getdate.c: Include <stdbool.h>.
1611 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1613 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1616 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1618 Add ersatz _Static_assert on older C hosts
1619 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1620 pre-C11 C platform that is not known to support _Static_assert.
1622 2015-02-07 Richard Braun <rbraun@sceen.net>
1624 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1626 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1628 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1630 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1631 priority against unexistent AIO_PRIO_DELTA_MAX.
1632 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1634 * misc/fchflags.c (fchflags): Likewise.
1635 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1636 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1637 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1638 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1639 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1641 [__USE_MISC] (chflags, fchflags): Declare functions.
1642 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1643 EINVAL when nfds is greater than FD_SETSIZE.
1644 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1645 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1647 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1648 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1649 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1651 * hurd/hurd/signal.h (_hurd_self_sigstate,
1652 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1653 Explicit casts from void *.
1654 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1655 * abi-tags: Rename gnu-gnu os into gnu.
1658 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1659 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1660 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1661 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1662 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1663 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1666 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1667 duplicates ADDR->sun_path with sockaddr LEN limitation.
1668 * sysdeps/mach/hurd/connect.c: Include <string.h>
1669 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1670 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1671 * sysdeps/mach/hurd/sendto.c: Likewise.
1672 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1673 implementing it by hand.
1675 2015-02-06 Roland McGrath <roland@hack.frob.com>
1677 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1678 Use sfi_breg on ldr.
1679 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1682 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1684 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1685 Test SIGSETXID only if it's defined.
1687 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1689 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1690 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1692 * nptl/tst-align2.c: Moved ...
1693 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1694 * nptl/Makefile (tests): Remove tst-align2.
1695 * sysdeps/unix/sysv/linux/Makefile
1696 [$(subdir) = nptl] (tests): Add tst-align-clone.
1697 * nptl/tst-getpid1.c: Moved ...
1698 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1699 * nptl/tst-getpid2.c: Moved ...
1700 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1701 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1702 * sysdeps/unix/sysv/linux/Makefile
1703 [$(subdir) = nptl] (tests): ... here.
1704 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1705 * sysdeps/unix/sysv/linux/Makefile
1706 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1708 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1709 Drop trailing \n from perror argument. Use return rather than exit.
1711 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1713 * nptl/tst-cancel21.c (do_test): Likewise.
1714 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1715 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1716 [!SA_SIGINFO]: Make it a stub test.
1718 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1719 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1721 * posix/tst-getlogin.c: Move to ...
1722 * login/tst-getlogin.c: ... here.
1723 * posix/Makefile (tests): Move tst-getlogin to ...
1724 * login/Makefile (tests): ... here.
1726 * libio/tst-atime.c (do_test): Move local variables SV and E
1727 inside [ST_NOATIME] conditional.
1729 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1731 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1733 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1734 (wait_code): New function replaces macro.
1735 Call nanosleep rather than syscall.
1737 * nptl/pt-system.c: Rewritten. Put everything under
1738 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1739 Use IFUNC to redirect when possible.
1741 * nptl/pt-longjmp.c: Rewritten. Put everything under
1742 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1743 Use IFUNC to redirect when possible.
1745 * nptl/pt-fork.c: Rewritten. Put everything under
1746 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1747 Use IFUNC to redirect when possible.
1748 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1750 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1751 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1752 unconditionally nowadays. This included the only reference to
1753 __vdso_clock_gettime that appears outside libc proper.
1754 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1755 Remove version set (containing only __vdso_clock_gettime).
1756 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1757 Add attribute_hidden.
1758 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1759 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1760 libc_hidden_data_def.
1761 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1762 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1764 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1765 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1766 setrpcent, and getrpcport to ...
1767 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1768 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1769 getrpcbynumber_r, and getrpcent_r to ...
1770 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1771 * inet/getrpcbyname.c: Moved ...
1772 * sunrpc/getrpcbyname.c: ... here.
1773 * inet/getrpcbyname_r.c: Moved ...
1774 * sunrpc/getrpcbyname_r.c: ... here.
1775 * inet/getrpcbynumber.c: Moved ...
1776 * sunrpc/getrpcbynumber.c: ... here.
1777 * inet/getrpcbynumber_r.c: Moved ...
1778 * sunrpc/getrpcbynumber_r.c: ... here.
1779 * inet/getrpcent.c: Moved ...
1780 * sunrpc/getrpcent.c: ... here.
1781 * inet/getrpcent_r.c: Moved ...
1782 * sunrpc/getrpcent_r.c: ... here.
1783 * inet/Makefile (routines): Move those to ...
1784 * sunrpc/Makefile (routines): ... here.
1785 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1786 the $(subdirs) list.
1787 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1788 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1789 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1790 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1792 * elf/Makefile (routines): Include $(all-dl-routines), not just
1794 (rtld-routines): Likewise. Use = rather than :=.
1795 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1796 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1797 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1798 * sysdeps/arm/Makefile: Likewise.
1799 * sysdeps/i386/Makefile: Likewise.
1800 * sysdeps/x86_64/Makefile: Likewise.
1801 * sysdeps/hppa/Makefile [$(subdir) = elf]
1802 (sysdep_routines, sysdep-rtld-routines): Don't add
1803 $(sysdep-dl-routines) to these.
1804 * sysdeps/ia64/Makefile: Likewise.
1805 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1806 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1807 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1808 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1809 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1810 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1811 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1812 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1813 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1814 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1815 these; sysdep-dl-routines alone is enough.
1817 2015-02-06 Joseph Myers <joseph@codesourcery.com>
1820 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1821 where multiplication results in zero and third argument is finite
1823 * math/auto-libm-test-in: Add more tests of fma.
1824 * math/auto-libm-test-out: Regenerated.
1826 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1827 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1828 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1829 (_FP_CMP_EQ): Likewise.
1830 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1832 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1833 extra argument CHECK_NAN. Redefine as wrapper around
1836 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1838 * version.h (RELEASE): Set to "stable".
1839 (VERSION): Set to "2.21"
1840 * include/features.h (__GLIBC_MINOR__): Set to 21.
1842 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1844 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1845 Paul Eggert <eggert@cs.ucla.edu>
1848 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1849 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1850 size in bytes. Store needed elements in wpmax. Use needed size
1851 in bytes for extend_alloca.
1853 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1855 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1856 binutls 2.25, and texinfo 5.2.
1857 * INSTALL: Regenerate.
1858 * sysdeps/nios2/configure: Regenerate.
1859 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1860 * manual/contrib.texi: Update.
1884 * po/pt_BR.po: Update.
1893 * po/zh_CN.po: Update.
1894 * po/zh_TW.po: Update.
1896 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1897 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1898 * sysdeps/hppa/dl-irel.h: Remove #warning.
1899 * sysdeps/hppa/entry.h: Provide prototype for
1900 __canonicalize_funcptr_for_compare and cast argument.
1901 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1902 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1903 * sysdeps/hppa/sotruss-lib.c: New file.
1904 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1905 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1906 (atomic_compare_and_exchange_bool_acq): Likewise.
1907 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1908 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1910 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1911 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1912 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1914 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1916 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1917 called function in non-PIC case.
1919 2015-01-31 David S. Miller <davem@davemloft.net>
1921 * sysdeps/sparc/sparc32/bits/atomic.h
1922 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1923 unlock not after it.
1924 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1925 volatile register usage warnings from the compiler.
1927 * sysdeps/sparc/nptl/sem_init.c: Delete.
1928 * sysdeps/sparc/nptl/sem_post.c: Delete.
1929 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1930 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1931 * sysdeps/sparc/sparc32/sem_init.c: New file.
1932 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1933 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1934 padding explicitly initialized.
1935 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1936 padding for in-semaphore spinlock.
1937 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1938 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1939 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1940 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1941 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1942 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1943 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1944 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1946 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1947 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1949 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1953 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1954 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1956 (index_AVX_Fast_Unaligned_Load): Likewise.
1957 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1958 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1959 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1960 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1961 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1962 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1963 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1964 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1965 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1967 2015-01-29 Andreas Schwab <schwab@suse.de>
1969 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1971 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1974 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1976 2015-01-28 Martin Sebor <msebor@redhat.com>
1978 * math/README.libm-test: Clarify. Add "How to read the test output."
1980 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1982 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1985 2015-01-28 Joseph Myers <joseph@codesourcery.com>
1987 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1988 (__HAVE_64B_ATOMICS): Define to 0.
1990 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1993 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1994 value to set as new flag.
1997 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1998 and use _ARCH_PPCSQ instead.
1999 (__ieee754_sqrt): Likewise.
2000 (__ieee754_sqrtf): Likewise.
2001 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2002 _ARCH_PPCSQ is defined.
2003 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2005 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2006 _ARCH_PPCSQ is defined.
2007 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2009 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2011 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2013 * iconv/loop.c: Suppress array out of bound warning caused by GCC
2014 bug (GCC BZ #64739).
2016 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
2018 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2019 Mark _retval as used.
2020 (lll_futex_wake_unlock): Likewise.
2021 (lll_futex_timed_wait_requeue_pi): Likewise.
2023 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2024 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2027 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2030 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2031 (__bswap_64): Mark as __always_inline.
2033 2015-01-25 Bram <bug_rh@spam.wizbit.be>
2036 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2037 when none of the search directories exist.
2039 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2042 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2043 power8 in .machine directive.
2046 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2047 set dependency from opd value.
2049 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2052 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2055 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2058 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2060 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2062 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
2063 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2064 Replace 1UL with (uint64_t) 1.
2065 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2068 2015-01-23 Roland McGrath <roland@hack.frob.com>
2070 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2071 (if_freenameindex): Likewise.
2073 * resource/getrlimit64.c: Add missing libc_hidden_def.
2075 2015-01-22 Joseph Myers <joseph@codesourcery.com>
2077 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2079 (_FP_FMA): Likewise.
2080 (_FP_TO_INT_ROUND): Likewise.
2081 (_FP_FROM_INT): Likewise.
2083 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2086 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2087 Make code racy and cancel safe.
2089 2015-01-21 Carlos O'Donell <carlos@redhat.com>
2091 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2092 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2095 * pwd/tst-getpw.c: Rewrite.
2098 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2099 (modules-names): Add moddummy1 and moddummy2.
2100 ($(objpfx)tst-rec-dlopen): Define.
2101 * dlfcn/moddummy1.c: New file.
2102 * dlfcn/moddummy2.c: New file.
2103 * dlfcn/tst-rec-dlopen.c: New file.
2104 * elf/dl-cache.c (_dl_load_cache_lookup):
2105 Return char*. Copy result with alloca/strcpy/strdup.
2106 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2107 returns char*. Free cached. If not saving realname
2109 * elf/dl-open.c (dl_open_worker): Do not assert that
2110 _r_debug->r_state is RT_CONSISTENT.
2111 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2114 2015-01-21 Torvald Riegel <triegel@redhat.com>
2115 Carlos O'Donell <carlos@redhat.com>
2118 * nptl/sem_waitcommon.c: New file.
2119 * nptl/sem_wait.c: Include sem_waitcommon.c.
2120 (__sem_wait_cleanup, do_futex_wait): Remove.
2121 (__new_sem_wait): Adapt.
2122 (__new_sem_trywait): New function.
2123 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2124 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2125 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2126 (sem_timedwait): Adapt.
2127 * nptl/sem_post.c (__new_sem_post): Adapt.
2128 (futex_wake): New function.
2129 (__old_sem_post): Add release MO fence.
2130 * nptl/sem_open.c (sem_open): Adapt.
2131 * nptl/sem_init.c (__new_sem_init): Adapt.
2132 (futex_private_if_supported): New function.
2133 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2134 (__old_sem_getvalue): Add using previous code.
2135 * sysdeps/nptl/internaltypes.h: Adapt.
2136 * nptl/tst-sem13.c (do_test): Adapt.
2137 * nptl/tst-sem11.c (main): Adapt.
2138 * nptl/sem_trywait.c: Remove.
2139 * nptl/DESIGN-sem.txt: Remove.
2140 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2141 (gen-as-const-headers): Remove structsem.sym.
2142 * nptl/structsem.sym: Remove.
2143 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2144 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2145 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2146 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2147 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2148 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2149 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2150 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2151 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2152 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2153 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2154 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2155 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2156 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2157 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2158 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2159 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2160 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2161 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2162 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2163 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2164 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2166 2015-01-20 Carlos O'Donell <carlos@redhat.com>
2168 * INSTALL: Regenerated.
2170 * po/libc.pot: Regenerated.
2172 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2173 Sandra Loosemore <sandra@codesourcery.com>
2174 Andrew Jenner <andrew@codesourcery.com>
2175 Joseph Myers <joseph@codesourcery.com>
2176 Nathan Sidwell <nathan@codesourcery.com>
2178 * NEWS: Mention new Nios II port.
2179 * sysdeps/nios2/Implies: New file.
2180 * sysdeps/nios2/Makefile: New file.
2181 * sysdeps/nios2/Subdirs: New file.
2182 * sysdeps/nios2/Versions: New file.
2183 * sysdeps/nios2/__longjmp.S: New file.
2184 * sysdeps/nios2/abort-instr.h: New file.
2185 * sysdeps/nios2/backtrace.c: New file.
2186 * sysdeps/nios2/bits/endian.h: New file.
2187 * sysdeps/nios2/bits/fenv.h: New file.
2188 * sysdeps/nios2/bits/link.h: New file.
2189 * sysdeps/nios2/bits/setjmp.h: New file.
2190 * sysdeps/nios2/bsd-_setjmp.S: New file.
2191 * sysdeps/nios2/bsd-setjmp.S: New file.
2192 * sysdeps/nios2/configure: New generated file.
2193 * sysdeps/nios2/configure.ac: New file.
2194 * sysdeps/nios2/crti.S: New file.
2195 * sysdeps/nios2/crtn.S: New file.
2196 * sysdeps/nios2/dl-init.c: New file.
2197 * sysdeps/nios2/dl-machine.h: New file.
2198 * sysdeps/nios2/dl-sysdep.h: New file.
2199 * sysdeps/nios2/dl-tls.h: New file.
2200 * sysdeps/nios2/dl-trampoline.S: New file.
2201 * sysdeps/nios2/gccframe.h: New file.
2202 * sysdeps/nios2/gmp-mparam.h: New file.
2203 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2204 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2205 * sysdeps/nios2/ldsodefs.h: New file.
2206 * sysdeps/nios2/libc-tls.c: New file.
2207 * sysdeps/nios2/libm-test-ulps: New file.
2208 * sysdeps/nios2/machine-gmon.h: New file.
2209 * sysdeps/nios2/math-tests.h: New file.
2210 * sysdeps/nios2/math_private.h: New file.
2211 * sysdeps/nios2/memusage.h: New file.
2212 * sysdeps/nios2/nptl/Makefile: New file.
2213 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2214 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2215 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2216 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2217 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2218 * sysdeps/nios2/nptl/tls.h: New file.
2219 * sysdeps/nios2/preconfigure: New file.
2220 * sysdeps/nios2/s_fma.c: New file.
2221 * sysdeps/nios2/s_fmaf.c: New file.
2222 * sysdeps/nios2/setjmp.S: New file.
2223 * sysdeps/nios2/sfp-machine.h: New file.
2224 * sysdeps/nios2/sotruss-lib.c: New file.
2225 * sysdeps/nios2/stackguard-macros.h: New file.
2226 * sysdeps/nios2/stackinfo.h: New file.
2227 * sysdeps/nios2/start.S: New file.
2228 * sysdeps/nios2/sysdep.h: New file.
2229 * sysdeps/nios2/tls-macros.h: New file.
2230 * sysdeps/nios2/tst-audit.h: New file.
2231 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2232 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2233 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2234 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2235 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2236 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2237 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2238 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2239 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2240 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2241 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2242 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2243 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2244 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2245 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2246 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2247 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2248 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2249 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2250 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2251 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2252 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2253 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2254 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2255 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2256 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2257 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2258 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2259 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2260 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2261 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2262 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2263 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2264 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2265 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2266 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2267 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2268 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2269 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2270 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2271 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2272 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2273 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2274 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2276 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2279 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2280 (getutent): Use weak_alias in non SHARED case
2281 and default_symbol_version in SHARED case.
2282 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2283 (getutent_r, pututline): Likewise.
2284 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2285 (getutid): Likewise.
2286 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2287 (getutid_r): Likewise.
2288 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2289 (getutline): Likewise.
2290 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2291 (getutline_r): Likewise.
2292 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2293 (updwtmp): Likewise.
2295 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2298 * sysdeps/s390/s390-32/memcmp.S
2299 (memcmp_g5): Rename to __memcmp_g5.
2300 * sysdeps/s390/s390-32/memcpy.S
2301 (memcpy_g5): Rename to __memcpy_g5.
2302 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2303 (memcpy_mvcle) Rename to __memcpy_mvcle.
2304 * sysdeps/s390/s390-32/memset.S
2305 (memset_g5): Rename to __memset_g5.
2306 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2307 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2308 and use prefixed functions.
2309 * sysdeps/s390/s390-32/multiarch/memcmp.S
2310 (memcmp_z196): Rename to __memcmp_z196.
2311 (memcmp_z10): Rename to __memcmp_z10.
2312 (memcmp): Set alias to __memcmp_g5.
2313 (bcmp): Set alias to __memcmp_g5.
2314 * sysdeps/s390/s390-32/multiarch/memcpy.S
2315 (memcpy_z196): Rename to __memcpy_z196.
2316 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2317 (memcpy_z10): Rename to __memcpy_z10.
2318 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2319 (memcpy): Set alias to __memcpy_g5.
2320 * sysdeps/s390/s390-32/multiarch/memset.S
2321 (memset_z196): Rename to __memset_z196.
2322 Jump to __memset_mvcle instead of memset_mvcle.
2323 (memset_z10): Rename to __memset_z10.
2324 Jump to __memset_mvcle instead of memset_mvcle.
2325 (memset_mvcle) Rename to __memset_mvcle.
2326 (memset): Set alias to __memset_g5.
2327 * sysdeps/s390/s390-64/memcmp.S
2328 (memcmp_z900): Rename to __memcmp_z900.
2329 * sysdeps/s390/s390-64/memcpy.S
2330 (memcpy_z900): Rename to __memcpy_z900.
2331 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2332 (memcpy_mvcle) Rename to __memcpy_mvcle.
2333 * sysdeps/s390/s390-64/memset.S
2334 (memset_z900): Rename to __memset_z900.
2335 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2336 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2337 and use prefixed functions.
2338 * sysdeps/s390/s390-64/multiarch/memcmp.S
2339 (memcmp_z196): Rename to __memcmp_z196.
2340 (memcmp_z10): Rename to __memcmp_z10.
2341 (memcmp): Set alias to __memcmp_z900.
2342 (bcmp): Set alias to __memcmp_z900.
2343 * sysdeps/s390/s390-64/multiarch/memcpy.S
2344 (memcpy_z196): Rename to __memcpy_z196.
2345 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2346 (memcpy_z10): Rename to __memcpy_z10.
2347 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2348 (memcpy): Set alias to __memcpy_z900.
2349 * sysdeps/s390/s390-64/multiarch/memset.S
2350 (memset_z196): Rename to __memset_z196.
2351 Jump to __memset_mvcle instead of memset_mvcle.
2352 (memset_z10): Rename to __memset_z10.
2353 Jump to __memset_mvcle instead of memset_mvcle.
2354 (memset_mvcle) Rename to __memset_mvcle.
2355 (memset): Set alias to __memset_z900.
2357 2015-01-14 Joseph Myers <joseph@codesourcery.com>
2360 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2361 __fesetenv instead of fesetenv.
2363 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2365 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2368 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2370 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2373 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2374 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2375 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2376 strncmp-power8 object.
2377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2378 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2379 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2382 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2383 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2385 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2386 trailing byte check.
2388 2015-01-13 David S. Miller <davem@davemloft.net>
2390 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2392 2015-01-13 Roland McGrath <roland@hack.frob.com>
2394 * login/logout.c (logout): Use memset rather than bzero.
2395 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2396 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2397 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2398 (_gethtbyaddr): Likewise.
2399 * locale/programs/simple-hash.c (bcopy): Macro removed.
2401 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2403 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2404 Add strcmp-power8 object.
2405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2406 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2407 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2408 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2409 __strcmp_power8 implementation.
2410 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2413 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2414 Add strncpy-power8 and stpncpy-power8 objects.
2415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2416 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2418 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2419 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2420 __stpncpy_power8 implementation.
2421 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2422 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2423 __strncpy_power8 implementation.
2424 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2425 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2428 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2429 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2430 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2432 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2433 strncat-power8 object.
2434 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2435 __strcat_power8 implementation.
2436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2437 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2438 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2439 optimized strcat for power8.
2441 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2442 strcpy-power8 and stpcpy-power8 objects.
2443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2444 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2446 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2447 multiarch stpcpy implementation for POWER8.
2448 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2449 multiarch strcpy implementation for POWER8.
2450 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2451 __strcpy_power8 function.
2452 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2454 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2458 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
2461 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2462 weights and rules. Use do_xfrm_cached if data fits in cache,
2463 do_xfrm otherwise. Moved former main loop to...
2464 * (do_xfrm_cached): New function.
2465 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2466 find_idx, find_position and stack_push.
2467 * (find_idx): New function.
2468 * (find_position): Likewise.
2469 * localedata/sort-test.sh: Added test run for do_xfrm.
2470 * localedata/xfrm-test.c (main): Added command line option
2471 -nocache to run the test with strings that are too large for
2474 2015-01-13 Torvald Riegel <triegel@redhat.com>
2476 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2477 variable to lll_futex_wake call, not the value itself.
2479 2015-01-12 Joseph Myers <joseph@codesourcery.com>
2482 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2483 twom64. Adjust value to 0x1p-64L.
2484 (__scalblnl): Only return standard underflowing result for K <=
2485 -64 not K <= -63; adjust exponent for underflowing result by 64
2487 * math/libm-test.inc (scalbn_test_data): Add more tests.
2488 (scalbln_test_data): Likewise.
2491 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2493 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2495 * math/libm-test.inc (scalbn_test_data): Add more tests.
2496 (scalbln_test_data): Likewise.
2498 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2499 Stefani Seibold <stefani@seibold.net>
2501 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2502 (sysdep_routines): Add dl-vdso here, ...
2503 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2504 (sysdep_routines): ... not here.
2505 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2506 fallback when vDSO is not presented.
2507 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2508 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2509 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2510 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2511 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2512 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2513 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2514 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2515 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2516 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2517 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2518 fallback configurable symbol when vDSO is not available.
2519 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2520 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2521 be able to redefine fallback symbol when vDSO is not available.
2522 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2523 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2525 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2527 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2528 (TLS_INIT_TP): Add tm_capable initialization.
2529 (TLS_DEFINE_INIT_TP): Likewise.
2530 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2532 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2533 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2535 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2536 transactoion is lock elision is built and TCB tm_capable is set.
2537 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2539 (INTERNAL_SYSCALL_NCS): Likewise.
2540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2541 (INTERNAL_SYSCALL_NCS): Likewise.
2542 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2544 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2546 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2547 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2548 and remove it for 32 bits case.
2549 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2550 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2552 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2553 Disable lock elision with rdlocks if elision is not available.
2555 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2556 (sysdep_routines): Add lock elision objects.
2557 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2558 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2559 [pthread_mutex_t] (__elision): Add field.
2560 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2561 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2562 elision definitions for powerpc.
2563 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2564 implementation of lock elision for powerpc.
2565 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2566 implementation of timed lock elision for powerpc.
2567 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2568 implementation of trylock with lock elision for powerpc.
2569 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2570 implementaion of unlock for lock elision for powerpc.
2571 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2572 automatic enable lock elision for mutexes.
2573 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2574 transaction execution definitions for powerpc.
2575 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2577 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2578 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2579 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2580 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2583 2015-01-09 Roland McGrath <roland@hack.frob.com>
2585 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2586 for #include of <shm-directory.h>.
2588 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2590 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2591 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2593 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2596 * NEWS: Mention bug fix.
2597 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2598 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2599 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2601 2015-01-09 Torvald Riegel <triegel@redhat.com>
2603 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2605 2015-01-09 Torvald Riegel <triegel@redhat.com>
2607 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2609 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2611 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2612 pointer and cast to uintptr_t.
2614 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2616 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2618 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2620 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2622 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2625 2015-01-08 Roland McGrath <roland@hack.frob.com>
2627 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2628 <nptl/pthreadP.h> instead.
2629 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2631 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2633 [__SIGRTMIN] (init): Function removed.
2634 [__SIGRTMIN] (initialized): Variable removed.
2635 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2636 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2637 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2638 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2639 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2640 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2641 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2642 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2643 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2644 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2645 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2646 * sysdeps/nptl/allocrtsig.c: New file.
2647 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2648 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2649 * sysdeps/generic/testrtsig.h: File removed.
2651 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2652 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2654 * nptl/nptl-init.c (pthread_functions): Conditionalize
2655 .ptr__nptl_setxid initialization on [SIGSETXID].
2657 * sysdeps/nptl/sys/procfs.h: New file.
2658 * nptl_db/Makefile (headers): Add it.
2659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2661 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2662 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2663 * nptl/pthread_attr_setaffinity.c: Include it.
2664 * nptl/pthread_setattr_default_np.c: Likewise.
2665 * nptl/check-cpuset.h: New file.
2667 2015-01-08 Richard Henderson <rth@redhat.com>
2669 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2670 (CFLAGS-tst-execstack-prog.c): Likewise.
2671 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2673 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2674 Sandra Loosemore <sandra@codesourcery.com>
2675 Andrew Jenner <andrew@codesourcery.com>
2676 Joseph Myers <joseph@codesourcery.com>
2677 Nathan Sidwell <nathan@codesourcery.com>
2679 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2680 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2681 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2682 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2683 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2684 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2685 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2686 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2687 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2688 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2689 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2690 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2691 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2692 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2693 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2694 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2695 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2697 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2699 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2700 timespec struct member in syscall macro.
2701 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2702 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2703 first timeval struct member in syscall macro.
2704 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2706 2015-01-07 Joseph Myers <joseph@codesourcery.com>
2709 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2710 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2711 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2712 __feupdateenv and define as weak alias of __feupdateenv. Use
2714 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2716 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2717 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2718 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2719 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2721 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2722 __feupdateenv and define as weak alias of __feupdateenv. Use
2724 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2726 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2727 __feupdateenv and define as weak alias of __feupdateenv. Use
2729 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2731 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2732 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2733 (__feupdateenv): Likewise.
2734 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2735 __feupdateenv and define as weak alias of __feupdateenv. Use
2737 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2738 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2740 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2742 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2744 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2745 __feupdateenv instead of feupdateenv.
2746 (default_libc_feupdateenv_test): Likewise.
2747 (libc_feresetround_ctx): Likewise.
2749 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2751 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2754 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2756 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2757 COLL_SYM in a couple of places to avoid uninitialized variable
2758 wanings on tilegx gcc 4.8.2.
2760 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2762 * sysdeps/aarch64/strcpy.S: New file.
2763 * sysdeps/aarch64/stpcpy.S: New file.
2766 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2768 * sysdeps/aarch64/strrchr.S: New file.
2771 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
2774 * stdlib/setenv.c: Fix memory leak when setting large,
2777 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2780 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2781 and tabs from buffer before parsing fstab entry.
2782 * misc/tst-mntent.c (main): Add test for mount entry with
2783 trailing spaces and tabs.
2785 2015-01-06 Joseph Myers <joseph@codesourcery.com>
2788 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2789 * math/fesetround.c (fesetround): Rename to __fesetround and
2790 define as weak alias of __fesetround. Use libm_hidden_weak.
2791 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2792 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2793 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2794 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2795 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2796 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2797 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2798 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2799 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2800 __fesetround_inline.
2801 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2802 __fesetround_inline instead of __fesetround.
2803 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2804 __fesetround and define as weak alias of __fesetround. Use
2805 libm_hidden_weak. Call __fesetround_inline instead of
2807 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2808 __fesetround and define as weak alias of __fesetround. Use
2810 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2812 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2813 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2814 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2815 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2816 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2817 __fesetround and define as weak alias of __fesetround. Use
2819 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2820 __fesetround instead of fesetround.
2821 (default_libc_feholdexcept_setround): Likewise.
2822 (libc_feholdsetround_ctx): Likewise.
2823 (libc_feholdsetround_noex_ctx): Likewise.
2826 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2827 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2828 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2829 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2830 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2831 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2832 define as weak alias of __fesetenv. Use libm_hidden_weak.
2833 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2834 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2835 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2836 define as weak alias of __fesetenv. Use libm_hidden_weak.
2837 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2838 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2839 define as weak alias of __fesetenv. Use libm_hidden_weak.
2840 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2842 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2843 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2845 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2846 define as weak alias of __fesetenv. Use libm_hidden_weak.
2847 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2848 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2849 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2850 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2851 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2852 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2853 __fesetenv instead of fesetenv.
2854 (libc_feresetround_noex_ctx): Likewise.
2855 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2856 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2857 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2858 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2859 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2860 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2861 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2862 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2863 (__feupdateenv): Likewise.
2864 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2865 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2866 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2867 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2869 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2872 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2873 addresses have been freed.
2875 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2877 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2880 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
2882 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2883 Clean up check_pf allocation pattern. addresses
2885 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2887 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2888 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2889 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2890 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2891 * nptl/pthread_join.c (pthread_join): Likewise.
2892 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2893 * sysdeps/posix/waitid.c (__waitid): Likewise.
2894 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2895 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2896 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2897 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2898 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2900 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2901 (__libc_pread64): Likewise.
2902 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2903 (__libc_pwrite): Likewise.
2904 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2905 (__libc_pwrite64): Likewsie.
2906 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2907 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2908 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2909 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2910 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2911 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2912 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2916 (__libc_pread64): Likewise.
2917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2920 (__libc_pwrite64): Likewise.
2921 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2922 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2923 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2924 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2925 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2926 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2927 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2928 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2929 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2930 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2931 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2932 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2933 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2934 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2935 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2936 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2939 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2941 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2942 (CFLAGS-test-double.c): Likewise.
2943 (CFLAGS-test-ldouble.c): Likewise.
2944 (CPPFLAGS-test-ifloat.c): Likewise.
2945 (CPPFLAGS-test-idouble.c): Likewise.
2946 (CPPFLAGS-test-ildoubl.c): Likewise.
2947 (CFLAGS-test-test-fenv.c): Remove variable.
2948 (CFLAGS-test-misc.c): Likewise.
2950 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2953 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2954 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2955 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2956 CLOCKS_PER_SEC == 1000000.
2957 * time/clocktest.c (main): Replace %ld with %jd and cast to
2960 2015-01-05 Roland McGrath <roland@hack.frob.com>
2962 * sysdeps/generic/unwind-resume.h: New file.
2963 * sysdeps/gnu/unwind-resume.c: Include it.
2964 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2965 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2967 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2968 global rather than static.
2969 (_Unwind_Resume): Update user.
2970 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2971 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2972 rather than static. Add __attribute__ ((cold)).
2973 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2974 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2975 * sysdeps/arm/arm-unwind-resume.S: New file.
2976 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2977 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2978 * sysdeps/arm/Makefile [$(subdir) = csu]
2979 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2980 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2981 Add rt-arm-unwind-resume.
2983 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2984 Add pt-arm-unwind-resume.
2985 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2986 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2988 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2991 * include/fenv.h (__feholdexcept): Declare. Use
2993 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2994 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2995 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2996 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2997 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2998 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2999 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3000 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3001 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3002 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3003 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3004 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3005 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3006 (feholdexcept): Likewise.
3007 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3008 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3009 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3010 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3011 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3012 __feholdexcept instead of feholdexcept.
3013 (default_libc_feholdexcept_setround): Likewise.
3015 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3017 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3018 to avoid using stl/str to align destination.
3020 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3022 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3024 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3027 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3028 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3029 Define as weak alias not strong alias.
3031 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
3033 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3034 bltzal with addiupc.
3035 (RTLD_START): Ditto.
3037 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3039 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3040 for __vdso_* functions in declarations.
3041 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3043 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3044 INTERNAL_VSYSCALL): Use struct return types to check for error.
3046 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3047 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3048 function with cast from llround().
3049 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3050 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3053 2015-01-05 Joseph Myers <joseph@codesourcery.com>
3056 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3057 Define as weak alias not strong alias.
3060 * ctype/ctype-c99.c: New file. isblank implementation moved from
3062 * ctype/ctype-extn.c: ... here.
3063 (__isblank_l): Move to ...
3064 * ctype/ctype-c99_l.c: ... here. New file.
3065 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3066 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3068 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3069 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3070 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3071 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3072 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3075 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3076 (posix_fadvise64): Define as weak alias not strong alias.
3077 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3078 (posix_fallocate64): Likewise.
3079 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3081 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3082 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3083 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3084 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3085 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3087 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3090 * NEWS: Mention bug fix.
3091 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3092 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3093 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3094 (HOST_STACK_END_ADDR): Likewise.
3096 2015-01-02 Joseph Myers <joseph@codesourcery.com>
3099 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3100 * math/fegetround.c (fegetround): Rename to __fegetround and
3101 define as weak alias of __fegetround. Use libm_hidden_weak.
3102 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3103 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3104 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3105 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3106 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3107 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3108 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3109 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3110 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3111 Undefine after rather than before function definition; use
3112 parentheses around function name in definition.
3113 (__fegetround): Also undefine macro after function definition.
3114 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3115 __fegetround and define as weak alias of __fegetround. Use
3116 libm_hidden_weak. Do not undefine as macro.
3117 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3119 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3120 __fegetround and define as weak alias of __fegetround. Use
3122 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3123 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3124 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3125 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3126 __fegetround and define as weak alias of __fegetround. Use
3128 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3129 __fegetround instead of fegetround.
3132 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3133 Condition macro definition on [__USE_MISC].
3136 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3137 (struct sigaction): Change type of sa_flags field to int.
3140 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3141 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3144 * nptl/version.c (banner): Use single year in copyright notice.
3146 * NEWS: Update copyright dates.
3147 * catgets/gencat.c (print_version): Likewise.
3148 * csu/version.c (banner): Likewise.
3149 * debug/catchsegv.sh: Likewise.
3150 * debug/pcprofiledump.c (print_version): Likewise.
3151 * debug/xtrace.sh (do_version): Likewise.
3152 * elf/ldconfig.c (print_version): Likewise.
3153 * elf/ldd.bash.in: Likewise.
3154 * elf/pldd.c (print_version): Likewise.
3155 * elf/sotruss.sh: Likewise.
3156 * elf/sprof.c (print_version): Likewise.
3157 * iconv/iconv_prog.c (print_version): Likewise.
3158 * iconv/iconvconfig.c (print_version): Likewise.
3159 * locale/programs/locale.c (print_version): Likewise.
3160 * locale/programs/localedef.c (print_version): Likewise.
3161 * login/programs/pt_chown.c (print_version): Likewise.
3162 * malloc/memusage.sh (do_version): Likewise.
3163 * malloc/memusagestat.c (print_version): Likewise.
3164 * malloc/mtrace.pl: Likewise.
3165 * manual/libc.texinfo: Likewise.
3166 * nptl/version.c (banner): Likewise.
3167 * nscd/nscd.c (print_version): Likewise.
3168 * nss/getent.c (print_version): Likewise.
3169 * nss/makedb.c (print_version): Likewise.
3170 * posix/getconf.c (main): Likewise.
3171 * scripts/test-installation.pl: Likewise.
3172 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3174 2015-01-02 Will Newton <will.newton@linaro.org>
3176 * sysdeps/arm/armv7/configure: Removed.
3177 * sysdeps/arm/armv7/configure.ac: Likewise.
3179 2015-01-02 Joseph Myers <joseph@codesourcery.com>
3181 * All files with FSF copyright notices: Update copyright dates
3182 using scripts/update-copyrights.
3183 * intl/plural.c: Regenerated.
3184 * locale/programs/charmap-kw.h: Likewise.
3185 * locale/programs/locfile-kw.h: Likewise.
3187 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3189 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3191 2014-12-31 Joseph Myers <joseph@codesourcery.com>
3194 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3195 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3196 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3197 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3198 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3199 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3200 define as weak alias of __fegetenv. Use libm_hidden_weak.
3201 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3202 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3203 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3204 define as weak alias of __fegetenv. Use libm_hidden_weak.
3205 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3206 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3207 define as weak alias of __fegetenv. Use libm_hidden_weak.
3208 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3210 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3211 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3213 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3214 define as weak alias of __fegetenv. Use libm_hidden_weak.
3215 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3216 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3217 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3218 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3219 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3220 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3221 __fegetenv instead of fegetenv.
3222 (libc_feholdsetround_noex_ctx): Likewise.
3224 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3226 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3227 (Elf_MIPS_ABIFlags_v0): New structure.
3228 (EF_MIPS_FP64): Define.
3229 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3230 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3231 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3232 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3233 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3234 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3235 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3236 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3237 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3238 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3239 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3240 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3241 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3242 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3243 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3244 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3245 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3246 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3247 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3248 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3249 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3250 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3252 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3254 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3255 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3256 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3257 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3258 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3259 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3260 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3261 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3262 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3263 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3264 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3265 record the current FP ABI extension.
3266 (mips-mode-switch): Define to show if kernel headers support mode
3268 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3269 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3270 supported SYSV ABI version to 3.
3271 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3274 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3275 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3277 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3279 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3281 2014-12-31 Joseph Myers <joseph@codesourcery.com>
3283 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3284 __fegetround and redefine to call __fegetround. Remove condition
3285 on [!__NO_MATH_INLINES].
3286 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3288 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3289 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3291 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3292 instead of <fenv_libc.h>.
3293 (__llrintl): Call fegetround instead of __fegetround.
3294 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3295 instead of <fenv_libc.h>.
3296 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3297 (__lrintl): Call fegetround instead of __fegetround.
3298 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3299 instead of <fenv_libc.h>.
3300 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3301 (__rintl): Call fegetround instead of __fegetround.
3303 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3305 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3308 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3311 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3312 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3313 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3315 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3317 * sysdeps/i386/tls-macros.h: Include <features.h>.
3318 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3322 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3323 define for GCC >= 5.0.
3325 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3327 * math/test-fenv.c (test_single_exception, set_single_exc,
3328 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3329 feexcp_mask_test, feenable_test, fe_single_test): Add
3330 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3331 case where they are not used.
3332 * math/libm-test.inc: Likewise.
3333 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3334 unused in the absence of FP rounding/exception support.
3335 * stdio-common/tst-printf-round.c: Likewise.
3336 * stdlib/tst-strtod-round.c: Likewise.
3337 * stdlib/tst-strtod-underflow.c: Likewise.
3339 2014-12-30 Joseph Myers <joseph@codesourcery.com>
3342 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3343 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3344 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3345 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3347 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3348 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3349 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3351 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3352 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3354 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3356 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3357 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3358 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3360 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3362 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3363 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3364 (__feraiseexcept): Likewise.
3365 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3366 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3368 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3369 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3371 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3372 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3373 Use libm_hidden_def.
3374 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3376 (feraiseexcept): Define as weak not strong alias. Use
3378 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3379 New inline function. Factored out of ...
3380 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3381 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3382 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3384 * math/w_acos.c (__acos): Likewise.
3385 * math/w_asin.c (__asin): Likewise.
3386 * math/w_ilogb.c (__ilogb): Likewise.
3387 * math/w_j0.c (y0): Likewise.
3388 * math/w_j1.c (y1): Likewise.
3389 * math/w_jn.c (yn): Likewise.
3390 * math/w_log.c (__log): Likewise.
3391 * math/w_log10.c (__log10): Likewise.
3392 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3393 * sysdeps/aarch64/fpu/math_private.h
3394 (libc_feupdateenv_test_aarch64): Likewise.
3395 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3396 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3397 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3398 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3399 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3400 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3401 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3402 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3403 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3404 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3406 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3409 * io/test-utime.c (main): Replace %ld with %jd and cast to
3411 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3412 * nptl/tst-mutex5.c: Include <stdint.h>.
3413 (do_test): Replace %ld with %jd and cast to intmax_t.
3414 * posix/tst-regex.c (run_test): Likewise.
3415 (run_test_backwards): Likewise.
3416 * rt/tst-clock.c: Include <stdint.h>.
3417 (clock_test): Replace %ld with %jd and cast to intmax_t.
3418 * rt/tst-cpuclock1.c: Include <stdint.h>.
3419 (do_test): Replace %lu with %ju and cast to uintmax_t.
3420 * rt/tst-cpuclock2.c: Include <stdint.h>.
3421 (do_test): Replace %lu with %ju and cast to uintmax_t.
3422 * rt/tst-mqueue1.c: Include <stdint.h>.
3423 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3424 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3426 * rt/tst-mqueue4.c (do_test): Likewise.
3427 * rt/tst-timer4.c: Include <stdint.h>.
3428 (check_ts): Replace %ld with %jd and cast to intmax_t.
3429 (do_test): Likewise.
3430 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3431 and cast to intmax_t.
3432 * sysdeps/pthread/tst-timer.c (main): Likewise.
3433 * time/clocktest.c (main): Likewise.
3434 * time/tst-posixtz.c (do_test): Likewise.
3435 * timezone/tst-timezone.c (main): Likewise.
3437 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3438 H.J. Lu <hongjiu.lu@intel.com>
3440 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3441 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3442 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3443 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3444 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3445 version if bit_Fast_Unaligned_Load is set.
3446 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3447 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3448 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3449 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3450 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3451 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3452 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3453 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3454 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3455 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3457 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3458 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3459 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3460 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3462 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3464 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3465 instead of #if to avoid a Wundef warning.
3466 * stdlib/tst-limits.c (do_test): Likewise.
3468 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3469 parallel other exception macros.
3470 (fegetenv): Convert from macro to extern inline so that it applies
3471 retroactively to inline functions already seen by the compiler.
3472 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3474 * posix/Makefile (before-compile): Use $(objpfx) for
3475 posix-conf-vars-def.h.
3477 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3479 * posix/getconf.c (main): Use size_t for type of I.
3480 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3483 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3484 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3485 * posix/posix-envs.def: Likewise.
3486 * sysdeps/posix/sysconf.c: Likewise.
3487 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3488 (specs): Remove array.
3489 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3492 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3493 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3494 (__sysconf): Use CONF_IS_* macros.
3496 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3497 ($(objpfx)posix-conf-vars-def.h): New target.
3498 * posix/posix-conf-vars.list: New file.
3499 * posix/posix-conf-vars.h: New file.
3500 * posix/confstr.c: Include posix-conf-vars.h.
3501 (confstr): Use CONF_IS_* macros.
3502 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3504 * scripts/gen-posix-conf-vars.awk: New file.
3506 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3508 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3509 fegetround): Add no-op macros to avoid linknamespace issues.
3511 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3512 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3514 * sysdeps/unix/sysv/linux/tile/sysdep.h
3515 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3516 assembly-specific section to avoid a redefinition warning.
3518 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3519 long before casting to pointer to avoid a cast warning.
3521 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3523 * sysdeps/tile/tilegx/Implies: New file.
3525 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
3527 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3529 2014-12-23 Florian Weimer <fweimer@redhat.com>
3531 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3533 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3535 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3537 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3538 <kernel-features.h>.
3539 (__utimes) [__NR_utimes]: Make code unconditional.
3540 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3541 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3542 (__ASSUME_UTIMES): Do not undefine.
3543 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3544 (__ASSUME_UTIMES): Likewise.
3545 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3546 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3547 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3548 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3550 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3552 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3554 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3557 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3558 alias to weak alias for j0l, y0l.
3559 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3560 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3563 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3566 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3568 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3569 to zero if not already defined.
3571 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3574 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3575 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3576 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3577 (char *) casts added.
3578 * sysdeps/ieee754/k_standardf.c: New file.
3579 * sysdeps/ieee754/k_standardl.c: Likewise.
3580 * math/Makefile (libm-support): Remove k_standard.
3581 (libm-calls): Add k_standard.
3583 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3585 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3586 Optimize to avoid an unnecessary FPCR read.
3588 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3590 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3591 Optimize to reduce FPCR/FPSR accesses.
3593 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3595 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3596 Call libc_fetestexcept_aarch64.
3598 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3600 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3601 Call libc_fesetround_aarch64.
3603 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3606 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3607 (__bind): Do not define as weak alias.
3608 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3610 (__getsockname): Do not define as weak alias.
3612 2014-12-22 Will Newton <will.newton@linaro.org>
3614 * manual/install.texi: Document that we require bison 2.7
3616 * INSTALL: Regenerate.
3617 * configure.ac: Use AC_CHECK_PROG_VER instead of
3618 AC_PATH_PROG when checking for bison and check for
3619 version 2.7 or above.
3620 * configure: Regenerate.
3622 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3625 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3626 * sysdeps/tile/ffsll.c (ffsll): To here.
3628 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3630 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3632 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3634 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3636 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3637 hidden ___tls_get_addr.
3638 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3639 hidden __tls_get_addr.
3640 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3641 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3644 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3646 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3649 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3651 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3652 from "call _dl_init@PLT".
3653 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3655 2014-12-21 Anders Kaseorg <andersk@mit.edu>
3657 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3660 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3662 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3664 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3667 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3670 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3672 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3674 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3675 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3676 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3677 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3678 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3680 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3682 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3683 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3684 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3685 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3686 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3688 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3690 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
3692 * string/strncat.c (STRNCAT): Simplify implementation.
3694 2014-12-19 David S. Miller <davem@davemloft.net>
3696 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3697 access the quad as both a long double and as a series of 4 words.
3699 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3700 link_map->l_info array access.
3702 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3704 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3706 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3707 * math/atest-exp2.c (TIMEOUT): Likewise.
3708 * math/atest-sincos.c (TIMEOUT): Likewise.
3710 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3712 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3713 -Wno-error with -fno-builtin-lround.
3715 2014-12-19 Torvald Riegel <triegel@redhat.com>
3717 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3718 Contains futex constants and functions moved over from ...
3719 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3720 <lowlevellock-futex.h>.
3721 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3722 (lll_timedwait_tid): Add comments and parentheses around macro
3725 2014-12-19 Torvald Riegel <triegel@redhat.com>
3727 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3728 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3729 (__lll_private_flag): Remove.
3730 (lll_futex_wait): Likewise.
3731 (lll_futex_timed_wait): Likewise.
3732 (lll_futex_wake): Likewise.
3733 (lll_futex_requeue): Likewise.
3734 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3735 (__lll_timedwait_tid): Spell out argument names.
3736 (lll_timedwait_tid): Add comments and parentheses around macro
3738 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3739 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3741 2014-12-19 Torvald Riegel <triegel@redhat.com>
3743 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3744 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3745 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3746 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3747 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3748 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3749 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3750 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3751 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3752 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3753 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3754 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3755 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3756 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3757 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3758 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3759 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3760 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3761 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3763 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3765 * sysdeps/x86_64/x32/Makefile: New file.
3767 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3769 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3770 1L with (mp_limb_t) 1.
3772 2014-12-17 Roland McGrath <roland@hack.frob.com>
3774 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3775 * nptl/libc_pthread_init.c: ... here.
3776 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3777 * nptl/register-atfork.c: ... here.
3779 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3780 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3781 Use assert_perror to check its return value.
3782 (__gai_create_helper_thread): Likewise.
3784 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3786 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3788 2014-12-17 Joseph Myers <joseph@codesourcery.com>
3791 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3793 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3795 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3797 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3799 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3800 (profil_counter): Likewise.
3801 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3802 (profil_counter): Likewise.
3803 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3805 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3807 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3808 (profil_counter): Likewise.
3809 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3811 [!__profil_counter] (profil_counter): Define as weak alias of
3813 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3814 (profil_counter): Rename to __profil_counter.
3815 [!__profil_counter] (profil_counter): Define as weak alias of
3817 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3818 (profil_counter): Rename to __profil_counter.
3819 [!__profil_counter] (profil_counter): Define as weak alias of
3821 * sysdeps/posix/profil.c: Update comment referring to
3823 (__profil): Use __profil_counter instead of profil_counter.
3824 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3825 __profil_counter. Use __profil_counter_ushort and
3826 __profil_counter_uint in definitions.
3827 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3828 instead of profil_counter_uint and profil_counter_ushort.
3831 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3832 define as weak alias of __inet_makeaddr.
3833 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3834 as weak alias of __inet_addr.
3835 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3836 as weak alias of __inet_pton. Use libc_hidden_weak.
3837 * include/arpa/inet.h (__inet_pton): Declare. Use
3839 (inet_makeaddr): Don't use libc_hidden_proto.
3840 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3841 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3842 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3843 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3845 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3846 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3848 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
3850 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3852 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3854 * stdio-common/bug-vfprintf-nargs.c (do_test):
3855 Cast value to intptr_t to avoid format warning
3856 for usage with PRIdPTR printing macro.
3858 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3860 * libio/tst-widetext.c (do_test):
3861 Use format type %td instead of %Zd for ptrdiff_t
3862 in order to avoid format warning.
3864 2014-12-17 Andreas Schwab <schwab@suse.de>
3866 * nscd/mem.c (gc): Add size_t cast to match printf format.
3868 2014-12-16 Roland McGrath <roland@hack.frob.com>
3870 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3871 (init): Apply PTR_MANGLE to pointers before storing them.
3872 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3875 2014-12-16 Joseph Myers <joseph@codesourcery.com>
3878 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3879 define as weak alias of __memrchr.
3880 (__memrchr): Do not define as strong alias of memrchr.
3881 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3883 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3884 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3885 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3888 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3889 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3890 (if_indextoname): Rename to __if_indextoname and define as weak
3891 alias of __if_indextoname. Use libc_hidden_weak.
3892 (if_freenameindex): Rename to __if_freenameindex and define as
3893 weak alias of __if_freenameindex.
3894 (if_nameindex): Rename to __if_nameindex and define as weak alias
3896 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3897 __if_nametoindex and define as weak alias of __if_nametoindex.
3898 Use libc_hidden_weak.
3899 (if_freenameindex): Rename to __if_freenameindex and define as
3900 weak alias of __if_freenameindex.
3901 (if_nameindex): Rename to __if_nameindex and define as weak alias
3903 (if_indextoname): Rename to __if_indextoname and define as weak
3904 alias of __if_indextoname. Use libc_hidden_weak.
3905 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3906 __if_nametoindex and define as weak alias of __if_nametoindex.
3907 Use libc_hidden_weak.
3908 (if_freenameindex): Rename to __if_freenameindex and define as
3909 weak alias of __if_freenameindex. Use libc_hidden_weak.
3910 (if_nameindex_netlink): Use __if_freenameindex instead of
3912 (if_nameindex): Rename to __if_nameindex and define as weak alias
3913 of __if_nameindex. Use libc_hidden_weak.
3914 (if_indextoname): Rename to __if_indextoname and define as weak
3915 alias of __if_indextoname. Use libc_hidden_weak.
3916 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3918 [!_ISOMAC] (__if_freenameindex): Likewise.
3919 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3921 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3923 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3924 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3925 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3926 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3927 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3928 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3929 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3931 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3933 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3934 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3936 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3938 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3939 subscript above bounds'
3941 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3944 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
3946 * libio/tst-fopenloc.c: Use test-skeleton.c.
3948 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3949 (entry): Rename to ITEM.
3950 (do_test, comp): Adjust.
3952 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3954 2014-12-16 Torvald Riegel <triegel@redhat.com>
3956 * string/tester.c: Include <libc-internal.h>.
3957 (test_memset): Ignore -Wmemset-transposed-args.
3959 2014-12-16 Torvald Riegel <triegel@redhat.com>
3961 * misc/tst-mntent2.c (do_test): Fix warning.
3963 2014-12-16 Torvald Riegel <triegel@redhat.com>
3965 * elf/tst-unique4lib.cc(a): Mark as used.
3967 2014-12-16 Florian Weimer <fweimer@redhat.com>
3970 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3973 2014-12-16 Allan McRae <allan@archlinux.org>
3975 * stdio-common/Makefile (tests): Re-add bug26.
3977 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
3980 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3983 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3985 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3986 (__lll_lock_wait): Likewise.
3987 (__lll_timedlock_wait): Likewise.
3988 (__lll_timedwait_tid): Likewise.
3989 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3990 (__lll_robust_timedlock_wait): Likewise.
3991 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3992 (lll_cond_trylock): Likewise.
3993 (__lll_lock): Likewise.
3994 (__lll_robust_lock): Likewise.
3995 (__lll_cond_lock): Likewise.
3996 (lll_robust_cond_lock): Likewise.
3997 (__lll_timedlock): Likewise.
3998 (__lll_robust_timedlock): Likewise.
3999 (__lll_unlock): Likewise.
4000 (__lll_robust_unlock): Likewise.
4001 (lll_wait_tid): Likewise.
4002 (lll_timedwait_tid): Likewise.
4004 2014-12-15 Torvald Riegel <triegel@redhat.com>
4006 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4008 2014-12-15 Torvald Riegel <triegel@redhat.com>
4010 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4012 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4014 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4015 * stdio-common/tst-sprintf.c: Likewise.
4017 2014-12-15 Torvald Riegel <triegel@redhat.com>
4019 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4021 2014-12-15 Jeff Law <law@redhat.com>
4024 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4025 on the heap. (CVE-2012-3406)
4026 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4027 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
4028 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4030 2014-12-15 Will Newton <will.newton@linaro.org>
4032 * manual/install.texi: Bump required version of texinfo
4034 * INSTALL: Regenerated.
4035 * configure.ac: Check for makeinfo version 4.7 and above.
4036 * configure: Regenerated.
4038 2014-12-12 Roland McGrath <roland@hack.frob.com>
4040 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4041 PREFIX, string constant to insert between directory and name.
4042 * sysdeps/posix/shm_open.c: Update caller.
4043 * sysdeps/posix/shm_unlink.c: Likewise.
4044 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4045 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4046 (SEM_SHM_PREFIX): New macro.
4047 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4048 [$(have-thread-library) = no].
4049 * nptl/Makefile (libpthread-routines): Add shm-directory.
4050 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4051 * sysdeps/nptl/shm-directory.h: New file.
4052 * sysdeps/posix/shm-directory.c
4053 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4054 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4055 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4057 (__where_is_shmfs): Function removed.
4058 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4060 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4062 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4064 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4065 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4066 unconditional for use inside libpthread.
4067 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4069 2014-12-12 Roland McGrath <roland@hack.frob.com>
4071 * nptl/pthread_getaffinity.c: New file.
4072 * nptl/pthread_setaffinity.c: New file.
4073 * nptl/pthread_getname.c: New file.
4074 * nptl/pthread_setname.c: New file.
4076 * nptl/pthread_create.c (START_THREAD_DEFN)
4077 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4079 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4080 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4082 * resolv/res_send.c (send_vc): Disable warning resplen may
4083 be used uninitialized.
4085 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4088 (ATTR_NULL): New define checks ATTR against NULL.
4089 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4090 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4092 2014-12-11 James Lemke <jwlemke@codesourcery.com>
4096 (mem2mem_check): Revert my previous change.
4097 (malloc_check_get_size): Revert my previous change.
4098 (mem2chunk_check): Revert my previous change.
4100 2014-12-11 Roland McGrath <roland@hack.frob.com>
4102 * sysdeps/posix/shm-directory.c: New file.
4103 * sysdeps/posix/shm-directory.h: New file.
4104 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4105 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4106 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4107 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4108 Transmute EPERM to EACCES.
4109 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4111 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4112 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4114 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4116 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4117 pointer and cast to uintptr_t.
4118 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4119 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4120 Add cast to avoid warning.
4121 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4123 2014-12-11 Joseph Myers <joseph@codesourcery.com>
4125 * nptl/semaphore.h: Move to ...
4126 * sysdeps/pthread/semaphore.h: ... here.
4127 * Makefile (installed-headers): Change nptl/semaphore.h to
4128 sysdeps/pthread/semaphore.h.
4130 2014-12-11 Roland McGrath <roland@hack.frob.com>
4132 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4133 generated error format strings.
4135 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4136 -Wformat-extra-args warnings for scanf formats.
4137 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4138 test of zero-length format (duh).
4139 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4140 corner-case scanf format test.
4141 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4142 generated fprintf format string.
4143 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4144 corner-case sprintf format tests.
4145 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4146 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4147 -Wformat-extra-args warnings throughout.
4148 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4149 (CFLAGS-scanf4.c): Likewise.
4150 (CFLAGS-scanf7.c): Likewise.
4151 (CFLAGS-tst-sprintf.c): Likewise.
4152 (CFLAGS-tst-printf.c): Likewise.
4153 (CFLAGS-tst-printfsz.c): Likewise.
4155 2014-12-11 Joseph Myers <joseph@codesourcery.com>
4157 * include/cpio.h: New file.
4158 * include/fmtmsg.h: Likewise.
4160 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4161 corresponding format argument to size_t.
4162 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4164 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4165 corresponding format argument to size_t.
4166 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4168 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4169 corresponding format argument to size_t.
4170 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4171 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4172 (CFLAGS-tst-mbswcs2.c): Likewise.
4173 (CFLAGS-tst-mbswcs3.c): Likewise.
4174 (CFLAGS-tst-mbswcs4.c): Likewise.
4175 (CFLAGS-tst-mbswcs5.c): Likewise.
4176 (CFLAGS-tst-trans.c): Likewise
4178 2014-12-11 Roland McGrath <roland@hack.frob.com>
4180 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4181 rather than assuming they won't contain any '%'s.
4183 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4185 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4186 inhibit_loop_to_libcall to avoid recursive calls.
4187 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4188 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4190 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4192 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4195 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
4197 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4198 integer value instead of boolean.
4200 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
4202 * malloc/malloc.c: Fix powerof2 check.
4204 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4206 * locale/programs/locfile.h (maybe_swap_uint32):
4207 Remove inline and add unused attribute.
4209 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4211 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4212 Truncating assembler expression to a .long expression.
4214 2014-12-11 Andreas Schwab <schwab@suse.de>
4216 * elf/rtld.c (struct map_args): Constify str member.
4217 (do_preload): Constify fname argument.
4219 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4221 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4222 constants definition.
4224 2014-12-11 Andreas Schwab <schwab@suse.de>
4227 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4228 FORCE_ELISION instead of DO_ELISION.
4229 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4231 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4234 * iconvdata/gconv-modules: Remove duplicate entry.
4236 2014-12-11 Will Newton <will.newton@linaro.org>
4238 Merge gettext 0.19.3 into intl/.
4240 This involves a number of cosmetic changes to comments
4241 and ANSI function definitions and prototypes throughout
4242 all the files. The gettext copyright header is used but
4243 with the date ranges taken from the glibc copy.
4245 * NEWS: Add gettext merge to 2.21.
4246 * intl/bindtextdom.c: Switch to gettext copyright.
4247 Use ANSI definitions and prototypes.
4248 Use gl_* locking primitives rather than __libc_* ones.
4249 Use __builtin_expect rather than __glibc_likely/unlikely.
4250 * intl/dcgettext.c: Switch to gettext copyright.
4251 Use ANSI definitions and prototypes.
4252 * intl/dcigettext.c: Switch to gettext copyright.
4253 Use ANSI definitions and prototypes.
4254 (INTDIV0_RAISES_SIGFPE): New define.
4255 Use gl_* locking primitives rather than __libc_* ones.
4256 Include eval-plural.h instead of plural-eval.c.
4257 Use __builtin_expect rather than __glibc_likely/unlikely.
4258 * intl/dcngettext.c: Switch to gettext copyright.
4259 Use ANSI definitions and prototypes.
4260 * intl/dgettext.c: Likewise.
4261 * intl/dngettext.c: Likewise.
4262 * intl/plural-eval.c: Renamed to...
4263 * intl/eval-plural.h: ...this.
4264 * intl/explodename.c: Switch to gettext copyright.
4265 Use ANSI definitions and prototypes.
4266 (_nl_explode_name): Use strchr instead of __rawmemchr.
4267 * intl/finddomain.c: Switch to gettext copyright.
4268 Use ANSI definitions and prototypes.
4269 Use gl_* locking primitives rather than __libc_* ones.
4270 (_nl_find_domain): Use malloc rather than alloca for
4271 allocation of temporary locale name.
4272 * intl/gettext.c: Switch to gettext copyright.
4273 Use ANSI definitions and prototypes.
4274 * intl/gettextP.h: Switch to gettext copyright.
4275 Use ANSI definitions and prototypes.
4276 Use gl_* locking primitives rather than __libc_* ones.
4277 * intl/gmo.h: Switch to gettext copyright.
4278 (struct sysdep_string): Move struct segment_pair outside of
4280 * intl/hash-string.c: Use ANSI definitions and prototypes.
4281 * intl/hash-string.h: Switch to gettext copyright.
4282 Use ANSI definitions and prototypes.
4283 * intl/l10nflist.c: Switch to gettext copyright.
4284 Use ANSI definitions and prototypes.
4285 (_nl_normalize_codeset): Avoid integer overflow.
4286 * intl/loadinfo.h: Switch to gettext copyright.
4287 Use ANSI definitions and prototypes.
4288 (LIBINTL_DLL_EXPORTED): New define.
4289 (PATH_SEPARATOR): New define.
4290 * intl/loadmsgcat.c: Switch to gettext copyright.
4291 * intl/localealias.c: Switch to gettext copyright.
4292 Use ANSI definitions and prototypes.
4293 (_nl_expand_alias): Use PATH_SEPARATOR.
4294 * intl/ngettext.c: Switch to gettext copyright.
4295 Use ANSI definitions and prototypes.
4296 * intl/plural-exp.c: Likewise.
4297 * intl/plural-exp.h: Switch to gettext copyright.
4298 Use ANSI definitions and prototypes.
4299 (struct expression): Move definition of enum operator outside
4300 of struct definition.
4301 * intl/plural.c: Regenerate.
4302 * intl/plural.y: Switch to gettext copyright.
4303 Use ANSI definitions and prototypes.
4305 * intl/textdomain.c: Switch to gettext copyright.
4306 Use ANSI definitions and prototypes.
4307 Use gl_* locking primitives rather than __libc_* ones.
4309 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
4311 * debug/warning-nop.c: Add used atrribute.
4313 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4315 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4317 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4318 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4319 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4321 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4322 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4325 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4326 Undefine after defining function. Define as weak alias of
4327 __wcschr. Use libc_hidden_weak.
4328 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4329 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4330 (libc_hidden_def): Also define __GI___wcschr alias.
4331 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4332 __wcschr and define as weak alias of __wcschr.
4333 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4335 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4336 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4337 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4338 libc_hidden_weak. Do not use libc_hidden_def.
4339 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4340 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4341 __GI___wcschr alias.
4342 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4343 [IS_IN (libc)] (wcschr): Define as macro expanding to
4345 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4346 [IS_IN (libc)] (__wcschr_power6): Likewise.
4347 [IS_IN (libc)] (__wcschr_power7): Likewise.
4348 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4350 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4352 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4353 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4354 __wcschr and define as weak alias of __wcschr. Use
4355 libc_hidden_builtin_def.
4356 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4357 as weak alias of __wcschr. Use libc_hidden_weak.
4358 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4360 * time/era.c (_nl_init_era_entries): Likewise.
4361 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4363 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4364 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4366 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4368 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4369 format for long int variable.
4371 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4374 * manual/search.texi: (Array Sort Function): Remove claim how to make
4377 2014-12-10 Andreas Schwab <schwab@suse.de>
4380 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4381 user-controlled locks.
4383 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
4385 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4388 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4390 * configure.ac (--disable-werror): New configure option.
4391 (enable_werror): New AC_SUBST.
4392 * configure: Regenerated.
4393 * config.make.in (enable-werror): New variable.
4394 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4396 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4397 * manual/install.texi (Configuring and compiling): Document
4399 * INSTALL: Regenerated.
4400 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4401 (CFLAGS-tst-chk2.c): Likewise.
4402 (CFLAGS-tst-chk3.c): Likewise.
4403 (CFLAGS-tst-chk4.cc): Likewise.
4404 (CFLAGS-tst-chk5.cc): Likewise.
4405 (CFLAGS-tst-chk6.cc): Likewise.
4406 (CFLAGS-tst-lfschk1.c): Likewise.
4407 (CFLAGS-tst-lfschk2.c): Likewise.
4408 (CFLAGS-tst-lfschk3.c): Likewise.
4409 (CFLAGS-tst-lfschk4.cc): Likewise.
4410 (CFLAGS-tst-lfschk5.cc): Likewise.
4411 (CFLAGS-tst-lfschk6.cc): Likewise.
4413 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4414 (main): Disable -Wdeprecated-declarations around calls to
4415 register_printf_function.
4417 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4418 (do_test): Disable -Wdiv-by-zero around some calls to
4419 fwrite_unlocked and fread_unlocked.
4421 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4422 (DIAG_POP_NEEDS_COMMENT): Likewise.
4423 (_DIAG_STR1): Likewise.
4424 (_DIAG_STR): Likewise.
4425 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4426 * stdio-common/bug21.c: Include <libc-internal.h>.
4427 (do_test): Disable -Wformat around call to sscanf.
4428 * stdio-common/scanf14.c: Include <libc-internal.h>.
4429 (main): Disable -Wformat around some calls to scanf functions.
4431 2014-12-09 Torvald Riegel <triegel@redhat.com>
4433 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4435 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4437 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4438 stack variable alignment.
4440 2014-12-06 Joseph Myers <joseph@codesourcery.com>
4443 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4444 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4445 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4446 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4447 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4448 __getrlimit instead of getrlimit.
4449 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4450 __gettimeofday instead of gettimeofday.
4451 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4453 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4455 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4456 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4458 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4459 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4461 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4463 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4464 for wide-character tests.
4466 2014-12-04 Roland McGrath <roland@hack.frob.com>
4468 * io/openat64.c: #include <libc-internal.h>
4469 (__openat64): Prototypify. Use ignore_value on MODE.
4470 * io/openat.c: Likewise.
4471 * misc/reboot.c: #include <libc-internal.h>
4472 (reboot): Prototypify. Use ignore_value on HOWTO.
4473 * misc/ptrace.c: #include <libc-internal.h>
4474 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4476 2014-12-04 Joseph Myers <joseph@codesourcery.com>
4478 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4479 XPG4, UNIX98 and XOPEN2K.
4480 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4482 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4484 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4486 * libio/fileops.c: Use ISO C style for function definitions.
4487 * libio/iofopen.c: Likewise.
4488 * libio/wfileops.c: Likewise.
4491 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4493 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4494 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4495 (fgets_func): Function pointer to fgets and fgetws.
4496 (do_ftell_test): Add test to verify ftell value after read
4498 (do_test): Set fgets_func.
4500 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4501 O_TRUNC flag for w and w+ modes.
4502 (do_rewind_test): Likewise.
4503 (do_ftell_test): Likewise.
4504 (do_write_test): Likewise.
4507 * libio/fileops.c (do_ftell): Seek only when there are
4509 * libio/wfileops.c (do_ftell_wide): Likewise.
4510 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4512 (do_one_test): Call it.
4514 2014-12-03 Joseph Myers <joseph@codesourcery.com>
4516 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4517 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4518 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4520 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4521 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4522 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4524 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4526 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4528 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4531 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4532 as weak alias of __getifaddrs. Use libc_hidden_weak.
4533 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4534 __freeifaddrs. Use libc_hidden_weak.
4535 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4536 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4537 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4538 __freeifaddrs. Use libc_hidden_weak.
4539 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4540 __getifaddrs and define as weak alias of __getifaddrs. Use
4542 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4543 __freeifaddrs. Use libc_hidden_weak.
4544 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4546 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4547 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4549 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4552 * sysdeps/mips/start.S (__start): Use indirect jump to call
4555 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4557 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4559 * nptl/tst-mutex1.c: Include <stdbool.h>.
4560 [!ATTR] (ATTR_NULL): New macro.
4561 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4562 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4563 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4565 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4569 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4570 Change conditional to [__USE_MISC].
4573 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4575 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4577 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4579 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4581 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4582 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4583 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4584 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4585 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4586 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4587 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4588 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4589 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4591 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4593 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4595 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4596 Remove strpbrk objects.
4597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4598 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4599 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4600 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4601 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4602 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4604 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4605 Remove strcspn objects.
4606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4607 (__libc_ifunc_impl_list): Remove strcspn implementation.
4608 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4609 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4610 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4611 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4613 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4614 Remove strspn objetcs.
4615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4616 (__libc_ifunc_impl_list): Remove strspn implementation.
4617 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4618 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4619 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4620 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4622 2014-12-01 James Lemke <jwlemke@codesourcery.com>
4626 (mem2mem_check): Add a terminator to the chain of checking blocks.
4627 (malloc_check_get_size): Use it here.
4628 (mem2chunk_check): Ditto.
4630 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4632 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4633 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4635 2014-11-29 Carlos O'Donell <carlos@redhat.com>
4637 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4639 * nptl/nptl-init.c: Include libc-internal.h.
4640 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4642 * elf/ldconfig.c (search_dir): Expand comment.
4644 2014-11-29 Joseph Myers <joseph@codesourcery.com>
4646 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4648 (linknamespace-symlist-stdlibs-tests): Likewise.
4649 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4650 instead of $(objpfx)symlist-stdlibs.
4651 (linknamespace-libs-isoc): New variable.
4652 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4653 (linknamespace-libs-ISO): New variable.
4654 (linknamespace-libs-ISO99): Likewise.
4655 (linknamespace-libs-ISO11): Likewise.
4656 (linknamespace-libs-XPG3): Likewise.
4657 (linknamespace-libs-XPG4): Likewise.
4658 (linknamespace-libs-POSIX): Likewise.
4659 (linknamespace-libs-UNIX98): Likewise.
4660 (linknamespace-libs-XOPEN2K): Likewise.
4661 (linknamespace-libs-POSIX2008): Likewise.
4662 (linknamespace-libs-XOPEN2K8): Likewise.
4663 ($(objpfx)symlist-stdlibs): Replace by
4664 $(linknamespace-symlist-stdlibs-tests). Use
4665 $(linknamespace-libs-$*) as set of libraries.
4666 ($(linknamespace-header-tests)): Update dependencies. Use
4667 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4668 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4669 * conform/linknamespace.pl: Remove comment about considering
4670 definitions of symbols from irrelevant libraries.
4672 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4675 * elf/dl-tls.c: Include <atomic.h>.
4676 (oom): Remove #ifdef SHARED/#endif.
4677 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4678 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4679 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4681 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4682 * nptl/Makefile (tests): Add tst-stack4.
4683 (modules-names): Add tst-stack4mod.
4684 ($(objpfx)tst-stack4): New.
4685 (tst-stack4mod.sos): Likewise.
4686 ($(objpfx)tst-stack4.out): Likewise.
4687 ($(tst-stack4mod.sos)): Likewise.
4689 * nptl/tst-stack4.c: New file.
4690 * nptl/tst-stack4mod.c: Likewise.
4692 2014-11-27 J. Brown <jb999@gmx.de>
4694 * sysdeps/x86/bits/string.h: Add recent CPUs.
4696 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4698 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4701 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4704 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4707 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4709 * nscd/connections.c: Include libc-internal.h because of macro
4712 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4714 * string/bits/string3.h (__warn_memset_zero_len): Don't
4715 declare for gcc newer than 5.0.
4716 (memset): Don't test for zero-length __LEN for gcc newer than
4719 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4721 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4722 size_t for %zu format.
4724 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4725 difference, not %ju.
4727 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4729 * include/libc-internal.h (ignore_value): New macro.
4730 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4733 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4736 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4737 pthread_cleanup_push to void *.
4739 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4744 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4745 instead of 1L << 52.
4747 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4748 * libio/bug-rewind2.c (do_test): Likewise.
4750 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4751 * debug/test-strcpy_chk-ifunc.c: Likewise.
4752 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4753 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4754 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4755 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4756 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4757 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4758 * Rules [$(multi-arch) = no] (tests): Do not filter out
4760 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4761 * debug/Makefile (tests-ifunc): Remove variable.
4762 (tests): Do not add $(tests-ifunc).
4763 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4764 (tests): Do not add $(tests-ifunc).
4765 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4766 [TEST_IFUNC]: Remove conditionals.
4767 * string/test-string.h (TEST_IFUNC): Remove macro.
4768 [TEST_IFUNC]: Remove conditionals.
4770 * string/test-strchr.c [!WIDE] (L): New macro.
4771 [WIDE] (L): Likewise.
4772 (check1): Use CHAR instead of char. Use L on string and character
4775 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4777 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4779 * sysdeps/powerpc/bits/atomic.h
4780 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4781 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4782 (atomic_exchange_and_add_acq): Likewise.
4783 (atomic_exchange_and_add_rel): Likewise.
4784 * sysdeps/powerpc/powerpc32/bits/atomic.h
4785 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4786 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4787 * sysdeps/powerpc/powerpc64/bits/atomic.h
4788 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4789 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4791 2014-11-26 Torvald Riegel <triegel@redhat.com>
4793 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4794 Change synchronization of __sched_fifo_min_prio and
4795 __sched_fifo_max_prio.
4796 * nptl/pthread_mutexattr_getprioceiling.c
4797 (pthread_mutexattr_getprioceiling): Likewise.
4798 * nptl/pthread_mutexattr_setprioceiling.c
4799 (pthread_mutexattr_setprioceiling): Likewise.
4800 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4801 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4804 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4806 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4809 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4811 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4812 third argument const.
4814 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4816 fnmatch: work around GCC compiler warning bug with uninit var
4817 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4818 This works around a bug with x86-64 GCC 4.9.2 and earlier
4819 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4820 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4821 used uninitialized in this function [-Wmaybe-uninitialized]".
4823 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4825 * posix/bug-regex31.c (main): Return RES not 0.
4827 2014-11-25 Anton Blanchard <anton@samba.org>
4829 * sysdeps/powerpc/bits/atomic.h
4830 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4832 2014-11-24 Sterling Augustine <saugustine@google.com>
4834 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4836 2014-11-24 Ryan Cumming <etaoins@gmail.com>
4839 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4841 2014-11-24 Joseph Myers <joseph@codesourcery.com>
4844 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4845 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4847 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4848 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4850 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4852 * string/strncpy.c (strncpy): Improve performance by using memset.
4854 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4856 * string/strcpy.c (strcpy):
4857 Improve performance by using strlen and memcpy.
4859 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
4861 * string/strcoll_l.c (get_next_seq): __always_inline.
4862 * string/strcoll_l.c (do_compare): __always_inline.
4864 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4866 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4868 * include/mqueue.h: Likewise.
4869 * include/stdlib.h: Likewise.
4871 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4872 (get_null_defines): Adjust.
4873 * sunrpc/Makefile: Adjust comment.
4874 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4875 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4876 (CFLAGS-interp.c): Likewise.
4877 (CFLAGS-ldconfig.c): Likewise.
4878 (CPPFLAGS-.os): Likewise.
4879 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4880 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4881 * extra-modules.mk (extra-modules.mk): Likewise.
4882 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4883 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4884 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4885 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4886 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4887 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4888 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4889 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4890 * iconvdata/Makefile (CPPFLAGS): Likewise.
4891 (cpp-srcs-left): Add libof for all iconvdata routines.
4892 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4893 * include/assert.h: Likewise.
4894 * include/ctype.h: Likewise.
4895 * include/errno.h: Likewise.
4896 * include/libc-symbols.h: Likewise.
4897 * include/math.h: Likewise.
4898 * include/netdb.h: Likewise.
4899 * include/resolv.h: Likewise.
4900 * include/stdio.h: Likewise.
4901 * include/stdlib.h: Likewise.
4902 * include/string.h: Likewise.
4903 * include/sys/stat.h: Likewise.
4904 * include/wctype.h: Likewise.
4905 * intl/l10nflist.c: Likewise.
4906 * libidn/idn-stub.c: Likewise.
4907 * libio/libioP.h: Likewise.
4908 * nptl/libc_multiple_threads.c: Likewise.
4909 * nptl/pthreadP.h: Likewise.
4910 * posix/regex_internal.h: Likewise.
4911 * resolv/res_hconf.c: Likewise.
4912 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4913 * sysdeps/arm/memmove.S: Likewise.
4914 * sysdeps/arm/sysdep.h: Likewise.
4915 * sysdeps/generic/_itoa.h: Likewise.
4916 * sysdeps/generic/symbol-hacks.h: Likewise.
4917 * sysdeps/gnu/errlist.awk: Likewise.
4918 * sysdeps/gnu/errlist.c: Likewise.
4919 * sysdeps/i386/i586/memcpy.S: Likewise.
4920 * sysdeps/i386/i586/memset.S: Likewise.
4921 * sysdeps/i386/i686/memcpy.S: Likewise.
4922 * sysdeps/i386/i686/memmove.S: Likewise.
4923 * sysdeps/i386/i686/mempcpy.S: Likewise.
4924 * sysdeps/i386/i686/memset.S: Likewise.
4925 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4926 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4927 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4928 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4929 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4930 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4931 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4932 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4933 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4934 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4935 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4936 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4937 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4938 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4939 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4940 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4941 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4942 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4943 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4944 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4945 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4946 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4947 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4948 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4949 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4950 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4951 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4952 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4953 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4954 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4955 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4956 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4957 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4958 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4959 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4960 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4961 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4962 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4963 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4964 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4965 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4966 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4967 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4968 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4969 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4970 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4971 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4972 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4973 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4974 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4975 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4976 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4977 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4978 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4979 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4980 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4981 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4982 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4983 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4984 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4985 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4986 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4987 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4988 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4989 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4990 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4991 * sysdeps/posix/closedir.c: Likewise.
4992 * sysdeps/posix/opendir.c: Likewise.
4993 * sysdeps/posix/readdir.c: Likewise.
4994 * sysdeps/posix/rewinddir.c: Likewise.
4995 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4996 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4997 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4998 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4999 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5000 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5001 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5002 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5003 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5004 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5005 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5006 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5007 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5008 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5009 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5010 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5011 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5012 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5013 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5014 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5015 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5016 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5017 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5018 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5019 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5020 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5021 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5022 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5023 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5024 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5025 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5026 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5027 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5028 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5029 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5030 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5031 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5032 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5033 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5034 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5035 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5036 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5037 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5038 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5039 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5040 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5041 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5042 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5043 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5044 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5045 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5046 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5047 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5048 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5049 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5050 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5051 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5052 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5053 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5054 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5055 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5056 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5057 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5058 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5059 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5060 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5061 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5062 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5063 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5064 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5065 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5066 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5067 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5068 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5069 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5070 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5071 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5072 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5073 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5074 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5075 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5076 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5077 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5078 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5079 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5080 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5081 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5082 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5083 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5084 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5085 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5086 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5087 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5088 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5089 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5090 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5091 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5092 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5093 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5094 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5095 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5096 * sysdeps/unix/alpha/sysdep.S: Likewise.
5097 * sysdeps/unix/alpha/sysdep.h: Likewise.
5098 * sysdeps/unix/make-syscalls.sh: Likewise.
5099 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5100 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5101 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5102 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5103 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5104 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5105 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5106 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5107 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5108 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5109 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5110 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5111 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5112 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5113 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5114 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5115 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5116 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5117 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5118 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5119 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5120 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5121 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5122 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5123 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5124 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5125 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5128 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5129 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5130 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5131 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5132 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5133 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5134 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5135 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5136 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5137 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5138 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5139 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5140 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5141 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5142 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5143 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5144 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5145 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5146 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5147 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5148 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5149 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5150 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5151 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5152 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5153 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5154 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5155 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5157 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5158 * sysdeps/x86_64/memcpy.S: Likewise.
5159 * sysdeps/x86_64/memmove.c: Likewise.
5160 * sysdeps/x86_64/memset.S: Likewise.
5161 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5162 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5163 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5164 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5165 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5166 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5167 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5168 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5169 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5170 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5171 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5172 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5173 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5174 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5175 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5176 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5177 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5178 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5179 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5180 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5181 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5182 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5183 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5184 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5185 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5186 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5187 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5188 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5189 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5190 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5191 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5192 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5193 * sysdeps/x86_64/strcmp.S: Likewise.
5195 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5197 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5198 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5199 * elf/rtld-Rules: Likewise.
5200 * elf/setup-vdso.h: Likewise.
5201 * include/assert.h: Likewise.
5202 * include/bits/stdlib-float.h: Likewise.
5203 * include/errno.h: Likewise.
5204 * include/sys/stat.h: Likewise.
5205 * include/unistd.h: Likewise.
5206 * sysdeps/aarch64/setjmp.S: Likewise.
5207 * sysdeps/alpha/setjmp.S: Likewise.
5208 * sysdeps/arm/__longjmp.S: Likewise.
5209 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5210 * sysdeps/arm/setjmp.S: Likewise.
5211 * sysdeps/arm/sysdep.h: Likewise.
5212 * sysdeps/generic/_itoa.h: Likewise.
5213 * sysdeps/generic/dl-sysdep.h: Likewise.
5214 * sysdeps/generic/ldsodefs.h: Likewise.
5215 * sysdeps/i386/dl-tls.h: Likewise.
5216 * sysdeps/i386/setjmp.S: Likewise.
5217 * sysdeps/m68k/setjmp.c: Likewise.
5218 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5219 * sysdeps/mach/hurd/opendir.c: Likewise.
5220 * sysdeps/posix/getcwd.c: Likewise.
5221 * sysdeps/posix/opendir.c: Likewise.
5222 * sysdeps/posix/profil.c: Likewise.
5223 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5224 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5225 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5226 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5227 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5228 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5229 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5230 * sysdeps/s390/dl-tls.h: Likewise.
5231 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5232 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5233 * sysdeps/sh/sh3/setjmp.S: Likewise.
5234 * sysdeps/sh/sh4/setjmp.S: Likewise.
5235 * sysdeps/unix/alpha/sysdep.h: Likewise.
5236 * sysdeps/unix/arm/sysdep.S: Likewise.
5237 * sysdeps/unix/i386/sysdep.S: Likewise.
5238 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5239 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5240 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5241 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5242 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5243 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5244 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5245 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5246 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5247 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5248 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5249 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5250 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5253 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5254 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5255 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5256 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5257 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5258 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5259 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5261 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5262 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5263 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5264 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5265 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5266 * sysdeps/x86_64/setjmp.S: Likewise.
5268 * include/math.h: Use IS_IN instead of IS_IN_libm.
5269 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5270 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5271 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5272 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5273 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5274 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5275 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5276 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5277 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5278 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5279 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5280 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5281 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5282 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5283 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5284 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5285 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5286 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5287 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5288 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5289 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5290 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5291 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5292 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5293 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5294 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5295 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5296 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5297 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5298 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5299 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5300 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5301 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5312 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5313 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5314 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5315 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5316 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5317 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5323 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5324 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5325 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5326 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5327 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5328 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5329 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5330 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5331 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5332 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5333 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5334 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5335 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5336 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5338 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5340 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5341 * nptl/pthreadP.h: Likewise.
5342 * nptl_db/structs.def: Likewise.
5343 * sysdeps/arm/sysdep.h: Likewise.
5344 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5345 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5346 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5347 * sysdeps/unix/alpha/sysdep.h: Likewise.
5348 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5349 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5350 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5351 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5352 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5353 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5354 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5355 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5356 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5357 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5358 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5359 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5360 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5361 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5364 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5365 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5366 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5367 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5368 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5369 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5370 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5371 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5372 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5373 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5375 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5376 * nptl/pthreadP.h: Likewise.
5377 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5378 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5379 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5380 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5381 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5382 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5383 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5384 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5385 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5386 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5387 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5388 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5393 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5394 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5395 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5397 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5398 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5399 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5400 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5402 * dlfcn/dladdr.c: Use IS_IN.
5403 * dlfcn/dladdr1.c: Likewise.
5404 * dlfcn/dlclose.c: Likewise.
5405 * dlfcn/dlerror.c: Likewise.
5406 * dlfcn/dlinfo.c: Likewise.
5407 * dlfcn/dlmopen.c: Likewise.
5408 * dlfcn/dlopen.c: Likewise.
5409 * dlfcn/dlsym.c: Likewise.
5410 * dlfcn/dlvsym.c: Likewise.
5412 * include/ifaddrs.h: Use IS_IN.
5413 * inet/check_pf.c: Likewise.
5414 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5415 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5417 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5419 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5420 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5422 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5423 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5426 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5428 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5429 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5430 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5431 * include/libc-symbols.h (IS_IN_LIB): New macro.
5432 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5433 * include/netdb.h: Likewise.
5434 * include/stap-probe.h: Remove all uses of IN_LIB.
5436 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5437 instead of IN_MODULE.
5438 * include/libc-symbols.h (IN_MODULE): Define using
5440 (PASTE_NAME, PASTE_NAME1): New macros.
5441 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5443 (STAP_PROBE_ASM): Likewise.
5445 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5447 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5448 __mach_init in dlopened libc.
5450 2014-11-22 Mike Frysinger <vapier@gentoo.org>
5452 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5453 * sysdeps/arm/preconfigure: Regenerate.
5455 2014-11-21 Roland McGrath <roland@hack.frob.com>
5457 * nptl/pthread_create.c (__pthread_create_2_1): Set
5458 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5459 when copying values from IATTR into PD.
5461 2014-11-21 Will Newton <will.newton@linaro.org>
5462 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5464 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5465 Refactor inline-asm. Also add comment.
5467 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5468 ElfW macro instead of hardcoded Elf64 types.
5469 (la_aarch64_gnu_pltenter): Likewise.
5470 * sysdeps/aarch64/dl-machine.h
5471 (elf_machine_runtime_setup): Use ElfW(Addr).
5473 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5474 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5475 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5476 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5477 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5478 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5479 (R_AARCH64_TLS_DTPMOD): This.
5480 (R_AARCH64_TLS_DTPREL64): Rename to ...
5481 (R_AARCH64_TLS_DTPREL): This.
5482 (R_AARCH64_TLS_TPREL64): Rename to ...
5483 (R_AARCH64_TLS_TPREL): This.
5484 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5485 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5486 R_AARCH64_TLS_TPREL64.
5487 (elf_machine_rela): Likewise.
5489 2014-11-21 Torvald Riegel <triegel@redhat.com>
5491 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5492 by setting it to 0. 64b atomics are not supported currently.
5494 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5497 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5498 search domain names.
5500 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5504 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5506 * posix/tst-getaddrinfo5.c: New.
5507 * posix/Makefile (tests): Add it.
5509 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5513 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5514 after parsing line but before break_if_match.
5515 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5516 if there is a protocol mismatch.
5518 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5520 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5521 because the potential race is on the user-supplied stream.
5523 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5525 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5526 string literal if not passed a buffer.
5527 * manual/job.texi (ctermid): Update reasoning, note deviation
5528 from posix, suggest mtasurace when not passed a buffer, for
5529 future non-preliminary safety notes.
5531 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5533 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5534 of not passing it a buffer.
5535 Reported by Peng Haitao.
5537 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5539 * manual/Makefile ($(objpfx)stamp-summary): Require
5540 check-safety.sh to pass.
5541 * manual/check-safety.sh: Wish for verification that every
5542 @deftypefn and @deftypefun is followed by a @safety remark.
5544 2014-11-20 Roland McGrath <roland@hack.frob.com>
5546 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5548 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5549 PTHREAD_CANCEL_ASYNCHRONOUS.
5550 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5553 * nptl/default-sched.h: New file.
5554 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5555 * nptl/pthread_create.c: Include it.
5556 (__pthread_create_2_1): Use collect_default_sched instead of making
5557 Linux syscalls here directly.
5559 2014-11-20 Torvald Riegel <triegel@redhat.com>
5561 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5562 __pthread_once): Use C11 atomics.
5564 2014-11-20 Torvald Riegel <triegel@redhat.com>
5566 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5568 2014-11-20 Torvald Riegel <triegel@redhat.com>
5570 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5571 atomic_thread_fence_acquire, atomic_thread_fence_release,
5572 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5573 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5574 atomic_compare_exchange_weak_relaxed,
5575 atomic_compare_exchange_weak_acquire,
5576 atomic_compare_exchange_weak_release,
5577 atomic_exchange_acquire, atomic_exchange_release,
5578 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5579 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5580 atomic_fetch_and_acquire,
5581 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5583 2014-11-20 Torvald Riegel <triegel@redhat.com>
5585 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5586 USE_ATOMIC_COMPILER_BUILTINS): Define.
5587 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5588 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5589 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5590 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5591 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5592 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5593 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5594 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5595 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5596 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5597 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5598 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5599 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5600 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5601 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5602 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5603 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5604 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5605 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5606 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5607 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5608 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5609 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5610 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5611 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5612 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5613 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5614 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5615 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5616 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5617 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5618 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5619 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5620 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5621 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5622 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5623 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5624 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5625 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5626 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5628 2014-11-19 Roland McGrath <roland@hack.frob.com>
5630 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5631 the sched_priority value here. It was already checked when the user
5632 called pthread_attr_setschedparam.
5634 * nptl/tst-bad-schedattr.c: New file.
5635 * nptl/Makefile (tests): Add it.
5637 2014-11-19 Carlos O'Donell <carlos@redhat.com>
5638 Florian Weimer <fweimer@redhat.com>
5639 Joseph Myers <joseph@codesourcery.com>
5640 Adam Conrad <adconrad@0c3.net>
5641 Andreas Schwab <schwab@suse.de>
5642 Brooks <bmoses@google.com>
5645 * wordexp-test.c (__dso_handle): Add prototype.
5646 (__register_atfork): Likewise.
5647 (__app_register_atfork): New function.
5648 (registered_forks): New global.
5649 (register_fork): New function.
5650 (test_case): Add 3 new tests for WRDE_CMDSUB.
5651 (main): Call __app_register_atfork.
5652 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5653 fork count is non-zero fail the test.
5654 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5656 (parse_dollars): Remove check for WRDE_NOCMD.
5657 (parse_dquote): Likewise.
5659 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5661 * Makeconfig (built-modules): List non-library modules to be
5663 (module-cppflags): Include libc-modules.h for
5664 everything except shlib-versions.v.i.
5666 (before-compile): Add libc-modules.h.
5667 ($(common-objpfx)libc-modules.h,
5668 $(common-objpfx)libc-modules.stmp): New targets.
5669 (common-generated): Add libc-modules.h and libc-modules.stmp.
5670 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5671 * include/libc-symbols.h: Don't include libc-modules.h.
5672 * include/libc-modules.h: Remove file.
5673 * scripts/gen-libc-modules.awk: New script to generate
5675 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5676 Depend on libc-modules.stmp.
5678 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5680 * Makeconfig (in-module): Get value of libof set for the
5682 (CPPFLAGS): Use $(in-module).
5683 * Makerules: Don't suffix routine names for nonlib.
5684 * include/libc-modules.h: New file.
5685 * include/libc-symbols.h: Include libc-modules.h
5686 (IS_IN): New macro to replace IS_IN_* macros.
5687 * elf/Makefile: Set libof-* for each routine.
5688 * elf/rtld-Rules: Likewise.
5689 * extra-modules.mk: Likewise.
5690 * iconv/Makefile: Likewise.
5691 * iconvdata/Makefile: Likewise.
5692 * locale/Makefile: Likewise.
5693 * malloc/Makefile: Likewise.
5694 * nss/Makefile: Likewise.
5695 * sysdeps/gnu/Makefile: Likewise.
5696 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5697 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5698 * sysdeps/s390/s390-64/Makefile: Likewise.
5699 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5700 CPPFLAGS for nscd instead of nonlib.
5702 2014-11-18 Roland McGrath <roland@hack.frob.com>
5704 * nptl/createthread.c: New file.
5706 * nptl/createthread.c: Moved ...
5707 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5709 * nptl/createthread.c: Add proper top-line comment.
5710 (do_clone): Folded into ...
5711 (create_thread): ... here. Take new arguments STOPPED_START and
5712 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5713 increment __nptl_threads, do event-reporting logic, do
5714 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5715 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5716 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5717 just send SIGCANCEL.
5718 * nptl/pthread_create.c: Forward-declare create_thread before
5719 including createthread.c.
5720 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5721 declaration, and new macro START_THREAD_SELF to replace argument.
5722 Remove return statement.
5723 (report_thread_creation): New function.
5724 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5725 synchronization logic, and __nptl_nthreads increment here, around
5726 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5727 PD->parent_cancelhandling here, before create_thread. When
5728 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5729 __deallocate_stack, and ENOMEM translation here.
5731 2014-11-18 Joseph Myers <joseph@codesourcery.com>
5734 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5735 (mptwo): Rename to __mptwo.
5736 (__inv): Use __mptwo instead of mptwo.
5737 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5738 (mptwo): Rename to __mptwo.
5739 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5740 of mpone and __mptwo instead of mptwo.
5741 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5743 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5744 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5745 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5746 of mpone and __mptwo instead of mptwo.
5747 (__mpranred): Use __mpone instead of mpone.
5748 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5750 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5751 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5752 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5753 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5754 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5755 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5756 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5757 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5758 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5759 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5760 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5761 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5762 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5763 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5764 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5765 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5766 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5767 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5768 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5770 2014-11-18 Tom de Vries <tom@codesoucery.com>
5772 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5773 replace BSD Handler xref with BSD Signal Handling.
5775 2014-11-17 Richard Henderson <rth@redhat.com>
5777 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5778 (_FP_PACK_RAW_2): Remove.
5779 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5780 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5781 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5782 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5783 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5784 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5785 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5786 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5787 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5788 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5789 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5790 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5791 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5792 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5793 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5794 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5796 2014-11-14 Roland McGrath <roland@hack.frob.com>
5798 * signal/signal.h [__USE_MISC]
5799 (struct sigvec): Remove type.
5800 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5801 (sigvec): Remove declaration.
5802 * sysdeps/posix/sigvec.c: Moved ...
5803 * signal/sigvec.c: ... here, replacing old file.
5804 (struct sigvec): New type, copied from old signal.h definition.
5805 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5806 (__sigvec): Convert definition to prototype.
5807 (sigvec): Replace weak_alias with compat_symbol.
5808 * signal/Versions (libc: GLIBC_2.21): New version set.
5809 * include/signal.h: Remove __sigvec declaration.
5810 * sysdeps/unix/bsd/sigvec.c: Remove file.
5811 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5812 * manual/signal.texi (BSD Handler): Remove subsection.
5813 Move siginterrupt up to ...
5814 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5815 (Blocking in BSD): Fold subsection into its parent.
5816 * NEWS: Mention sigvec removal.
5818 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5820 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5821 (DLA_FMS): Make definition conditional only on [__FMA4__].
5822 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5825 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5826 Make definition conditional only on [PROF].
5827 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5829 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5830 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5832 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5834 * include/signal.h (__sigpause): Move declaration above call to
5836 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5838 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5839 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5841 2014-11-14 David S. Miller <davem@davemloft.net>
5843 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5844 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5846 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5848 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5849 * configure: Regenerated.
5850 * manual/install.texi (Tools for Compilation): Document a
5851 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5852 compiler verified to work.
5853 * INSTALL: Regenerated.
5855 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5856 redeclare with asm name.
5857 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5858 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5859 including <string.h>.
5860 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5861 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5862 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5863 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5864 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5865 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5866 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5868 2014-11-13 Joseph Myers <joseph@codesourcery.com>
5870 * stdlib/strtol.c (__strtol): Use prototype definition.
5873 * stdlib/strtol.c (SYM__): New macro.
5875 (__strtol): Likewise.
5876 (strtol): Rename to __strtol and define as weak alias of
5877 __strtol. Use libc_hidden_weak.
5879 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5881 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5882 Use numbered labels in inline assembly.
5884 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5886 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5887 Add setjmp LIBC_PROBE.
5888 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5890 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5891 Add longjmp, longjmp_target LIBC_PROBE.
5892 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5895 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5897 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5898 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5899 to get rid of unused variable warning.
5901 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5903 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5904 Check for unwind_backtrace == NULL only in SHARED case.
5905 (__backchain_backtrace): Compile only in SHARED case.
5906 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5908 (__backchain_backtrace): Declare as static.
5910 2014-11-12 Roland McGrath <roland@hack.frob.com>
5912 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5913 (__libc_multiple_threads_ptr): Variable moved ...
5914 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5916 2014-11-12 Joseph Myers <joseph@codesourcery.com>
5918 * conform/GlibcConform.pm: New file.
5919 * conform/conformtest.pl: Use GlibcConform module.
5920 * conform/linknamespace.pl: New file.
5921 * conform/list-header-symbols.pl: Likewise.
5922 * conform/Makefile (linknamespace-symlists-base): New variable.
5923 (linknamespace-symlists-tests): Likewise.
5924 (linknamespace-header-base): Likewise.
5925 (linknamespace-header-tests): Likewise.
5926 (tests-special): Add new tests.
5927 ($(linknamespace-symlists-tests)): New rule.
5928 (linknamespace-libs): New variable.
5929 ($(objpfx)symlist-stdlibs): New rule.
5930 ($(linknamespace-header-tests)): Likewise.
5931 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5932 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5933 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5934 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5935 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5936 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5937 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5938 (test-xfail-ISO/math.h/linknamespace): Likewise.
5939 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5940 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5941 (test-xfail-ISO/time.h/linknamespace): Likewise.
5942 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5943 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5944 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5945 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5946 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5947 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5948 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5949 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5950 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5951 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5952 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5953 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5954 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5955 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5956 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5957 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5958 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5959 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5960 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5961 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5962 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5963 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5964 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5965 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5966 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5967 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5968 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5969 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5970 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5971 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5972 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5973 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5974 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5975 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5976 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5977 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5978 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5979 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5980 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5981 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5982 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5983 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5984 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5985 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5986 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5987 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5988 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5989 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5990 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5991 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5992 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5993 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5994 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5995 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5996 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5997 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5998 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5999 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6000 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6001 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6002 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6003 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6004 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6005 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6006 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6007 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6008 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6009 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6010 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6011 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6012 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6013 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6014 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6015 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6016 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6017 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6018 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6019 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6020 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6021 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6022 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6023 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6024 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6025 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6026 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6027 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6028 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6029 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6030 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6031 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6032 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6033 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6034 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6035 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6036 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6037 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6038 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6039 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6040 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6041 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6042 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6043 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6044 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6045 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6046 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6047 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6048 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6049 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6050 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6051 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6052 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6053 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6054 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6055 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6056 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6057 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6058 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6059 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6060 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6061 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6062 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6063 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6064 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6065 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6066 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6067 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6068 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6069 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6070 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6071 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6072 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6073 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6074 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6075 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6076 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6077 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6078 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6079 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6080 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6081 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6082 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6083 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6084 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6085 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6086 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6087 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6088 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6089 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6090 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6091 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6094 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6098 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6099 (memmem): Rename to __memmem and define as weak alias of
6100 __memmem. Use libc_hidden_weak.
6101 (__memmem): Use libc_hidden_def.
6102 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6103 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6107 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6108 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6109 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6110 and define as weak alias of __fgets_unlocked. Use
6112 (__fgets_unlocked): Use libc_hidden_def.
6113 * include/stdio.h (__fgets_unlocked): Declare. Use
6115 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6116 __fgets_unlocked instead of fgets_unlocked.
6117 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6118 (GET_NPROCS_CONF_PARSER): Likewise.
6119 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6120 (GET_NPROCS_CONF_PARSER): Likewise.
6123 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6124 weak alias of __wmemset. Use libc_hidden_weak.
6125 (__wmemset): Use libc_hidden_def.
6126 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6127 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6131 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6132 with asm name __mempcpy.
6133 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6136 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6137 and define as weak alias of __rawmemchr.
6138 (__rawmemchr): Do not define as strong alias of rawmemchr.
6141 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6143 (qsort): Call __qsort_r instead of qsort_r.
6144 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6145 (__qsort_r): Declare. Call libc_hidden_proto.
6146 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6148 * nscd/gai.c (__qsort_r): Define to qsort_r.
6149 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6150 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6151 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6154 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6155 define as weak alias of __malloc_info.
6158 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6159 as weak alias of __rewinddir. Don't use libc_hidden_def.
6160 (__rewinddir): Use libc_hidden_def.
6161 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6162 as weak alias of __rewinddir. Don't use libc_hidden_def.
6163 (__rewinddir): Use libc_hidden_def.
6164 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6165 weak alias of __rewinddir. Don't use libc_hidden_def.
6166 (__rewinddir): Use libc_hidden_def.
6167 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6168 (__rewinddir): Use libc_hidden_proto.
6169 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6171 (__getcwd): Use __rewinddir instead of rewinddir.
6174 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6175 alias of __fileno. Use libc_hidden_weak.
6176 (__fileno): Use libc_hidden_def.
6177 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6178 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6180 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6182 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6183 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6185 (fread_unlocked): Don't use libc_hidden_ver.
6186 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6187 and define as weak alias of __fread_unlocked. Don't use
6189 (__fread_unlocked): Use libc_hidden_def.
6190 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6191 (ftello): Don't use libc_hidden_proto.
6192 (__ftello): Declare. Use libc_hidden_proto.
6193 (fread_unlocked): Don't use libc_hidden_proto.
6194 (__fread_unlocked): Declare. Use libc_hidden_proto.
6195 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6196 and __ftello instead of fileno, fread_unlocked and ftello.
6198 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6200 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6202 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6204 (_dl_start_user): Likewise.
6205 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6207 2014-11-12 Carlos O'Donell <carlos@redhat.com>
6208 Siddhesh Poyarekar <siddhesh@redhat.com>
6210 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6211 Move argv and envp down instead of moving argc up.
6212 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6214 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
6217 * test-skeleton.c (main): Return successful if one of
6218 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6219 * string/tst-strcoll-overflow.c: Define expected status.
6221 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6224 * locale/iso-639.def: Define Bhili and Tulu language codes.
6226 2014-11-11 Alan Hayward <alan.hayward@arm.com>
6228 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6230 2014-11-10 Renlin Li <Renlin.Li@arm.com>
6233 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6235 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6237 * configure.ac: Updated check of minimal required version to
6239 * manual/install.texi (Tools for Compilation): Updated version
6241 * configure: Regenerated.
6242 * INSTALL: Likewise.
6244 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6246 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6249 2014-11-07 Joseph Myers <joseph@codesourcery.com>
6251 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6252 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6253 (__waitpid): Don't define as alias. Use libc_hidden_def not
6255 (waitpid): Define as alias of __waitpid.
6256 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6258 (__waitpid): Don't define as alias. Use libc_hidden_def not
6260 (waitpid): Define as alias of __waitpid.
6261 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6262 __libc_waitpid alias.
6263 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6264 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6266 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6267 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6268 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6270 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6272 (__waitpid): Don't define as alias. Use libc_hidden_def not
6274 (waitpid): Define as alias of __waitpid.
6276 2014-11-06 Carlos O'Donell <carlos@redhat.com>
6278 * manual/llio.texi: Add comment that write safety has been
6281 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6282 (localplt-build-dso): Add elf/ld.so.
6283 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6284 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6287 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6292 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6293 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6294 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6295 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6296 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6297 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6298 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6299 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6300 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6301 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6302 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6304 2014-11-05 Joseph Myers <joseph@codesourcery.com>
6307 * include/libc-symbols.h (INTUSE): Remove macro.
6309 (INTVARDEF): Likewise.
6310 (_INTVARDEF): Likewise.
6311 (INTDEF2): Likewise.
6312 (INTVARDEF2): Likewise.
6313 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6314 rtld_hidden_def instead of INTVARDEF.
6315 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6316 (_dl_starting_up_internal): Remove declaration.
6317 (_dl_starting_up): Use rtld_hidden_proto.
6318 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6320 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6321 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6323 * elf/dl-writev.h (_dl_writev): Likewise.
6324 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6325 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6326 _dl_starting_up_internal.
6328 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6330 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6333 2014-11-05 Will Newton <will.newton@linaro.org>
6335 * benchtests/Makefile: (bench-malloc): Add malloc thread
6336 scalability benchmark.
6337 * benchtests/bench-malloc-threads.c: New file.
6339 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
6341 * sysdeps/aarch64/strchrnul.S: New file.
6343 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6345 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6347 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6349 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6351 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6353 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6355 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6358 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
6360 * catgets/test-gencat.c: Use test-skeleton.c.
6361 * catgets/tst-catgets.c: Likewise.
6362 * csu/tst-empty.c: Likewise.
6363 * elf/tst-audit2.c: Likewise.
6364 * elf/tst-global1.c: Likewise.
6365 * elf/tst-pathopt.c: Likewise.
6366 * elf/tst-piemod1.c: Likewise.
6367 * elf/tst-tls10.c: Likewise.
6368 * elf/tst-tls11.c: Likewise.
6369 * elf/tst-tls12.c: Likewise.
6370 * gnulib/tst-gcc.c: Likewise.
6371 * iconvdata/tst-e2big.c: Likewise.
6372 * iconvdata/tst-loading.c: Likewise.
6373 * iconv/tst-iconv1.c: Likewise.
6374 * iconv/tst-iconv2.c: Likewise.
6375 * inet/test-inet6_opt.c: Likewise.
6376 * inet/tst-gethnm.c: Likewise.
6377 * inet/tst-network.c: Likewise.
6378 * inet/tst-ntoa.c: Likewise.
6379 * intl/tst-codeset.c: Likewise.
6380 * intl/tst-gettext2.c: Likewise.
6381 * intl/tst-gettext3.c: Likewise.
6382 * intl/tst-ngettext.c: Likewise.
6383 * intl/tst-translit.c: Likewise.
6384 * io/test-stat.c: Likewise.
6385 * libio/test-fmemopen.c: Likewise.
6386 * libio/tst-freopen.c: Likewise.
6387 * libio/tst-sscanf.c: Likewise.
6388 * libio/tst-ungetwc1.c: Likewise.
6389 * libio/tst-ungetwc2.c: Likewise.
6390 * libio/tst-widetext.c: Likewise.
6391 * localedata/tst-ctype.c: Likewise.
6392 * localedata/tst-digits.c: Likewise.
6393 * localedata/tst-leaks.c: Likewise.
6394 * localedata/tst-mbswcs1.c: Likewise.
6395 * localedata/tst-mbswcs2.c: Likewise.
6396 * localedata/tst-mbswcs3.c: Likewise.
6397 * localedata/tst-mbswcs4.c: Likewise.
6398 * localedata/tst-mbswcs5.c: Likewise.
6399 * localedata/tst-setlocale.c: Likewise.
6400 * localedata/tst-trans.c: Likewise.
6401 * localedata/tst-wctype.c: Likewise.
6402 * localedata/tst-xlocale1.c: Likewise.
6403 * login/tst-grantpt.c: Likewise.
6404 * malloc/tst-calloc.c: Likewise.
6405 * malloc/tst-malloc.c: Likewise.
6406 * malloc/tst-mallocstate.c: Likewise.
6407 * malloc/tst-mcheck.c: Likewise.
6408 * malloc/tst-mtrace.c: Likewise.
6409 * malloc/tst-obstack.c: Likewise.
6410 * math/atest-exp2.c: Likewise.
6411 * math/atest-exp.c: Likewise.
6412 * math/atest-sincos.c: Likewise.
6413 * math/test-matherr.c: Likewise.
6414 * math/test-misc.c: Likewise.
6415 * math/test-powl.c: Likewise.
6416 * math/tst-definitions.c: Likewise.
6417 * misc/tst-dirname.c: Likewise.
6418 * misc/tst-efgcvt.c: Likewise.
6419 * misc/tst-fdset.c: Likewise.
6420 * misc/tst-hsearch.c: Likewise.
6421 * misc/tst-mntent2.c: Likewise.
6422 * nptl/tst-sem7.c: Likewise.
6423 * nptl/tst-sem8.c: Likewise.
6424 * nptl/tst-sem9.c: Likewise.
6425 * nss/test-netdb.c: Likewise.
6426 * posix/tst-fnmatch.c: Likewise.
6427 * posix/tst-getlogin.c: Likewise.
6428 * posix/tst-gnuglob.c: Likewise.
6429 * posix/tst-mmap.c: Likewise.
6430 * pwd/tst-getpw.c: Likewise.
6431 * resolv/tst-inet_ntop.c: Likewise.
6432 * rt/tst-timer.c: Likewise.
6433 * stdio-common/test-fseek.c: Likewise.
6434 * stdio-common/test-popen.c: Likewise.
6435 * stdio-common/test-vfprintf.c: Likewise.
6436 * stdio-common/tst-cookie.c: Likewise.
6437 * stdio-common/tst-fileno.c: Likewise.
6438 * stdio-common/tst-gets.c: Likewise.
6439 * stdio-common/tst-obprintf.c: Likewise.
6440 * stdio-common/tst-perror.c: Likewise.
6441 * stdio-common/tst-sprintf2.c: Likewise.
6442 * stdio-common/tst-sprintf3.c: Likewise.
6443 * stdio-common/tst-sprintf.c: Likewise.
6444 * stdio-common/tst-swprintf.c: Likewise.
6445 * stdio-common/tst-tmpnam.c: Likewise.
6446 * stdio-common/tst-unbputc.c: Likewise.
6447 * stdio-common/tst-wc-printf.c: Likewise.
6448 * stdlib/tst-environ.c: Likewise.
6449 * stdlib/tst-fmtmsg.c: Likewise.
6450 * stdlib/tst-limits.c: Likewise.
6451 * stdlib/tst-rand48-2.c: Likewise.
6452 * stdlib/tst-rand48.c: Likewise.
6453 * stdlib/tst-random2.c: Likewise.
6454 * stdlib/tst-random.c: Likewise.
6455 * stdlib/tst-strtol.c: Likewise.
6456 * stdlib/tst-strtoll.c: Likewise.
6457 * stdlib/tst-tls-atexit.c: Likewise.
6458 * stdlib/tst-xpg-basename.c: Likewise.
6459 * string/test-ffs.c: Likewise.
6460 * string/tst-bswap.c: Likewise.
6461 * string/tst-inlcall.c: Likewise.
6462 * string/tst-strtok.c: Likewise.
6463 * string/tst-strxfrm.c: Likewise.
6464 * sysdeps/x86_64/tst-audit10.c: Likewise.
6465 * sysdeps/x86_64/tst-audit3.c: Likewise.
6466 * sysdeps/x86_64/tst-audit4.c: Likewise.
6467 * sysdeps/x86_64/tst-audit5.c: Likewise.
6468 * time/tst-ftime_l.c: Likewise.
6469 * time/tst-getdate.c: Likewise.
6470 * time/tst-mktime3.c: Likewise.
6471 * time/tst-mktime.c: Likewise.
6472 * time/tst-posixtz.c: Likewise.
6473 * time/tst-strptime2.c: Likewise.
6474 * time/tst-strptime3.c: Likewise.
6475 * wcsmbs/tst-btowc.c: Likewise.
6476 * wcsmbs/tst-mbrtowc.c: Likewise.
6477 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6478 * wcsmbs/tst-wchar-h.c: Likewise.
6479 * wcsmbs/tst-wcpncpy.c: Likewise.
6480 * wcsmbs/tst-wcrtomb.c: Likewise.
6481 * wcsmbs/tst-wcsnlen.c: Likewise.
6482 * wcsmbs/tst-wcstof.c: Likewise.
6484 2014-11-04 Joseph Myers <joseph@codesourcery.com>
6487 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6489 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6491 (_dl_mcount): Use rtld_hidden_proto.
6492 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6494 * elf/rtld.c (_rtld_global_ro): Likewise.
6497 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6498 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6499 of _dl_init_internal.
6500 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6501 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6502 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6503 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6504 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6505 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6506 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6507 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6508 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6509 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6510 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6511 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6512 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6513 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6514 * sysdeps/tile/dl-start.S (_start): Likewise.
6515 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6516 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6519 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6520 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6521 (rtld_progname): Make macro definition unconditional.
6522 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6524 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6525 (dl_main): Likewise.
6526 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6527 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6528 instead of _dl_argv_internal.
6529 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6530 __GI__dl_argv instead of INTUSE(_dl_argv).
6531 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6532 __GI__dl_argv instead of _dl_argv_internal.
6534 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6535 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6537 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6538 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6540 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6541 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6543 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6544 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6546 2014-11-04 Andreas Schwab <schwab@suse.de>
6548 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6550 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6552 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6553 mtvsrd instruction in binary form.
6555 2014-11-03 Andreas Schwab <schwab@suse.de>
6558 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6559 for less than MB_LEN_MAX use a local buffer of that size.
6560 * libio/tst-fputws.c: New file.
6561 * libio/Makefile (tests): Add tst-fputws.
6563 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6565 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6566 the size of the fpu_fr.fpu_dregs[] array.
6568 2014-11-01 Joseph Myers <joseph@codesourcery.com>
6570 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6571 (__nanosleep): Do not define as alias.
6572 (nanosleep): Define as alias of __nanosleep.
6573 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6574 __libc_nanosleep name.
6576 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6578 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6579 install.texi in comment.
6581 2014-10-31 Torvald Riegel <triegel@redhat.com>
6583 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6584 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6585 ... add here and use lwsync or sync ...
6586 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6587 ... and add here using lwsync.
6589 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6591 * elf/dl-machine-reject-phdr.h: New file.
6592 * elf/dl-load.c: #include that.
6593 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6594 if that returned true.
6596 2014-10-31 Roland McGrath <roland@hack.frob.com>
6599 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6600 gen-as-const-headers chunk. Add a big scare comment after the last
6601 safe place to touch before-compile.
6603 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6605 * manual/install.texi (Tools for Compilation): Update autoconf
6606 version requirements.
6607 * INSTALL: Regenerated.
6609 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6610 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6611 (__libc_pselect): Likewise.
6614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6619 2014-10-31 Torvald Riegel <triegel@redhat.com>
6621 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6622 correct barrier instruction.
6623 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6625 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6628 2014-10-30 Roland McGrath <roland@hack.frob.com>
6630 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6631 after defining inlines. Instead, just use parens to defeat macro
6632 expansion of __isctype in its declaration.
6634 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6636 * include/sys/uio.h (__libc_readv): Remove declaration.
6637 (__libc_writev): Likewise.
6638 * misc/readv.c (__libc_readv): Rename to __readv.
6639 (__readv): Do not define as alias.
6640 (readv): Define as alias of __readv.
6641 * misc/writev.c (__libc_writev): Rename to __writev.
6642 (__writev): Do not define as alias.
6643 (writev): Define as alias of __writev.
6644 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6645 (__readv): Do not define as alias.
6646 (readv): Define unconditionally as alias of __readv.
6647 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6648 (__writev): Do not define as alias.
6649 (writev): Define unconditionally as alias of __writev.
6650 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6652 (writev): Do not define __libc_writev name.
6654 2014-10-30 Roland McGrath <roland@hack.frob.com>
6656 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6657 (convert_charseq): New function, broken out of ...
6658 (use_from_charmap): ... here. Call it.
6659 (use_to_charmap): Use convert_charseq and free instead of duplicating
6660 its code with a variable-length stack struct.
6662 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6664 * include/fcntl.h (__libc_creat): Remove declaration.
6665 * io/creat.c (__libc_creat): Rename to creat.
6666 (creat): Do not define as alias.
6667 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6668 of creat instead of __libc_creat.
6669 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6671 (creat): Do not define as alias.
6672 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6674 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6676 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6679 2014-10-29 Carlos O'Donell <carlos@redhat.com>
6681 * manual/llio.texi: Add comments discussing why write() may be
6682 considered MT-unsafe on Linux.
6684 2014-10-28 Carlos O'Donell <carlos@redhat.com>
6686 * dl-load.c (local_strdup): Remove.
6687 (expand_dynamic_string_token): Use __strdup.
6688 (decompose_rpath): Likewise.
6689 (_dl_map_object): Likewise.
6691 2014-10-28 Joseph Myers <joseph@codesourcery.com>
6694 * sysdeps/generic/unwind-dw2-fde.c
6695 (__register_frame_info_bases_internal): Do not declare.
6696 (__register_frame_info_table_bases_internal): Likewise.
6697 (__deregister_frame_info_bases_internal): Likewise.
6698 (__register_frame_info_bases): Declare and use hidden_proto before
6699 definition. Use hidden_def instead of INTDEF.
6700 (__register_frame_info_table_bases): Likewise.
6701 (__deregister_frame_info_bases): Likewise.
6702 (__register_frame_info): Do not use INTUSE.
6703 (__register_frame): Likewise.
6704 (__register_frame_info_table): Likewise.
6705 (__register_frame_table): Likewise.
6706 (__deregister_frame_info): Likewise.
6707 (__deregister_frame): Likewise.
6709 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6711 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6712 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6714 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6716 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6719 2014-10-27 Joseph Myers <joseph@codesourcery.com>
6722 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6723 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6724 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6725 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6726 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6727 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6728 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6729 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6730 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6731 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6732 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6733 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6734 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6736 (setfsuid): Likewise.
6737 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6738 (setfsuid): Likewise.
6739 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6740 (setfsuid): Likewise.
6741 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6743 (setfsuid): Likewise.
6744 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6745 (setfsuid): Likewise.
6746 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6748 (setfsuid): Likewise.
6750 2014-10-27 Andreas Schwab <schwab@suse.de>
6753 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6754 check for Slow_SSE4_2 feature bit.
6755 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6756 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6757 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6758 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6760 2014-10-24 Roland McGrath <roland@hack.frob.com>
6762 * configure.ac: Validate compiler version with a empirical test of
6763 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6765 * configure: Regenerated.
6767 * inet/htons.c (htons): Prototypify.
6768 * inet/htonl.c (htonl): Likewise.
6770 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6772 * string/strncat.c (strncat): Improve performance by using strlen.
6774 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6776 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6778 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6780 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6781 Call libc_fetestexcept_aarch64.
6783 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6785 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6786 Call libc_feholdexcept_aarch64.
6788 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6790 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6791 Call get_rounding_mode.
6793 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6795 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6798 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6800 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6803 2014-10-24 Joseph Myers <joseph@codesourcery.com>
6806 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6807 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6808 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6809 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6810 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6811 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6812 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6813 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6814 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6815 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6816 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6817 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6818 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6819 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6820 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6821 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6822 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6823 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6824 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6825 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6826 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6827 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6828 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6829 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6830 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6831 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6832 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6833 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6834 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6835 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6836 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6837 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6838 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6839 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6840 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6841 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6842 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6843 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6844 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6845 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6846 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6848 (geteuid): Likewise.
6851 (getresgid): Likewise.
6852 (getresuid): Likewise.
6853 (getgroups): Likewise.
6854 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6855 (geteuid): Likewise.
6858 (getresgid): Likewise.
6859 (getresuid): Likewise.
6860 (getgroups): Likewise.
6861 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6862 (geteuid): Likewise.
6865 (getresgid): Likewise.
6866 (getresuid): Likewise.
6867 (getgroups): Likewise.
6868 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6870 (geteuid): Likewise.
6873 (getresgid): Likewise.
6874 (getresuid): Likewise.
6875 (getgroups): Likewise.
6876 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6877 (geteuid): Likewise.
6880 (getresgid): Likewise.
6881 (getresuid): Likewise.
6882 (getgroups): Likewise.
6883 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6885 (geteuid): Likewise.
6888 (getgroups): Likewise.
6891 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6892 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6893 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6894 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6895 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6896 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6897 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6898 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6899 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6900 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6901 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6902 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6903 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6905 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6908 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6912 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6915 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6920 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6922 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6925 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6927 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6930 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6932 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6933 Remove unused include.
6935 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6937 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6938 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6939 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6940 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6942 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6943 Helge Deller <deller@gmx.de>
6946 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6947 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6948 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6950 2014-10-23 Joseph Myers <joseph@codesourcery.com>
6953 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6954 Remove macro definition.
6955 (__ashrdi3_v_glibc20): Likewise.
6956 (__lshrdi3_v_glibc20): Likewise.
6957 (__cmpdi2_v_glibc20): Likewise.
6958 (__ucmpdi2_v_glibc20): Likewise.
6959 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6960 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6961 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6962 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6963 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6964 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6966 2014-10-22 Roland McGrath <roland@hack.frob.com>
6968 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6969 old GNU extension [0] syntax.
6970 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6971 alloca rather than an array member with variable length.
6972 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6973 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6974 (parse_opt): ... here. Likewise use alloca there.
6975 Validate the -i argument before checking for rootness.
6976 (send_shutdown): New function, broken out of ...
6977 (parse_opt): ... here.
6979 2014-10-22 Roland McGrath <roland@hack.frob.com>
6981 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6982 macro to get at the _rt_local_ro field.
6983 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6984 ([PIC] case) or _dl_hwcap ([!PIC] case).
6985 * sysdeps/arm/setjmp.S: Likewise.
6987 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6988 * sysdeps/arm/configure.ac: New check to define it.
6989 * sysdeps/arm/configure: Regenerated.
6990 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6991 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6992 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6993 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6994 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6995 Use move/movt pair instead of a load.
6996 (LDST_GLOBAL): Macro removed.
6997 (LDR_GLOBAL): New macro replaces it.
6998 (LDR_HIDDEN): New macro.
6999 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7000 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7002 * setjmp/tst-setjmp-static.c: New file.
7003 * setjmp/Makefile (tests): Add it.
7004 (tests-static): New variable.
7006 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
7009 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7011 2014-10-21 Joseph Myers <joseph@codesourcery.com>
7014 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7016 2014-10-21 Roland McGrath <roland@hack.frob.com>
7018 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7020 2014-10-20 Roland McGrath <roland@hack.frob.com>
7022 * io/fts.c (dirent_not_directory): New function.
7023 (fts_build): Call it.
7025 2014-10-20 Roland McGrath <roland@hack.frob.com>
7027 * nptl/version.c (__nptl_main): Use normal __write rather than
7029 (banner): Update copyright years.
7031 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7033 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7034 * nptl/pthread_cond_timedwait.c: Likewise.
7035 * nptl/pthread_mutex_timedlock.c: Likewise.
7036 * nptl/sem_timedwait.c: Likewise.
7038 * sysdeps/nptl/bits/libc-lock.h
7039 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7040 (__libc_lock_init_recursive): Return void, not 0.
7041 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7042 (__libc_rwlock_init): Likewise.
7043 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7045 2014-10-20 Torvald Riegel <triegel@redhat.com>
7048 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7049 (__pthread_once_slow): ... here.
7050 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7051 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7053 2014-10-20 Torvald Riegel <triegel@redhat.com>
7056 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7057 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7058 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7059 * nptl/pthread_once.c (__pthread_once): Likewise.
7062 2014-10-20 Joseph Myers <joseph@codesourcery.com>
7065 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7067 (writev): Use __libc_writev as strong name.
7068 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7069 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7071 2014-10-17 Roland McGrath <roland@hack.frob.com>
7073 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7075 * sysdeps/i386/nptl/tls.h
7076 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7077 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7079 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7080 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7081 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7082 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7083 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7084 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7086 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7087 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7089 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7091 (__pthread_mutex_init): ... here. Call it.
7092 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7093 Conditionalize PI cases on [__NR_futex].
7094 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7095 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7096 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7098 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7099 conditional on [SIGSETXID].
7100 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7101 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7102 is defined. Likewise for SIGSETXID.
7103 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7104 Conditionalize definitions on [SIGSETXID].
7105 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7106 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7107 unblocking on [SIGCANCEL].
7109 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7110 [__NR_set_robust_list].
7112 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7114 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7115 (do_compare): Likewise.
7117 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
7120 * string/strcoll_l.c: Don't include stdio.h.
7121 (coll_seq): Remove members idxarr and rulearr.
7122 (get_next_seq_cached): Remove function.
7123 (get_next_seq): Likewise.
7124 (get_next_seq_nocache): Rename to get_next_seq.
7125 (do_compare): Remove function.
7126 (do_compare_nocache): Rename to do_compare.
7127 (STRCOLL): Remove weight and rules cache.
7129 2014-10-16 Roland McGrath <roland@hack.frob.com>
7131 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7132 * sysdeps/arm/sfp-machine.h: ... to here.
7133 * sysdeps/arm/Implies: Remove arm/soft-fp.
7135 2014-10-14 Joseph Myers <joseph@codesourcery.com>
7137 * conform/data/sys/utsname.h-data (*_t): Allow.
7138 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7139 [POSIX] (WEXITED): Do not expect constant.
7140 [POSIX] (WSTOPPED): Likewise.
7141 [POSIX] (WNOHANG): Likewise.
7142 [POSIX] (WNOWAIT): Likewise.
7143 [POSIX] (siginfo_t): Do not expect type or elements.
7144 [POSIX] (pid_t): Do not expect type.
7145 [POSIX] (signal.h): Do not allow header.
7146 [POSIX] (sys/resource.h): Likewise.
7147 [POSIX] (si_*): Do not allow pattern.
7148 [POSIX] (W*): Likewise.
7149 [POSIX] (P_*): Likewise.
7150 [POSIX] (BUS_*): Likewise.
7151 [POSIX] (CLD_*): Likewise.
7152 [POSIX] (FPE_*): Likewise.
7153 [POSIX] (ILL_*): Likewise.
7154 [POSIX] (POLL_*): Likewise.
7155 [POSIX] (SEGV_*): Likewise.
7156 [POSIX] (SI_*): Likewise.
7157 [POSIX] (TRAP_*): Likewise.
7158 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7161 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7164 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7165 infinite loop when __recvmsg returns 0.
7167 2014-10-10 Joseph Myers <joseph@codesourcery.com>
7169 * CANCEL-FCT-WAIVE: Remove file.
7170 * CANCEL-FILE-WAIVE: Likewise.
7173 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7174 instead of INTVARDEF.
7175 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7176 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7177 rtld_hidden_data_def instead of INTVARDEF.
7178 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7179 * elf/dl-deps.c (expand_dst): Likewise.
7180 * elf/dl-load.c (_dl_dst_count): Likewise.
7181 (_dl_dst_substitute): Likewise.
7182 (decompose_rpath): Likewise.
7183 (_dl_init_paths): Likewise.
7184 (open_path): Likewise.
7185 (_dl_map_object): Likewise.
7186 * elf/rtld.c (dl_main): Likewise.
7187 (process_dl_audit): Likewise.
7188 (process_envvars): Likewise.
7189 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7191 (__libc_enable_secure): Use rtld_hidden_proto.
7193 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7196 (add_path): New function broken out of _dl_rtld_di_serinfo.
7197 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7199 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7201 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7202 parentheses around macro arguments.
7203 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7204 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7205 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7206 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7207 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7208 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7209 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7210 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7211 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7212 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7213 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7214 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7215 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7216 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7217 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7218 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7219 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7220 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7221 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7222 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7223 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7224 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7225 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7226 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7227 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7228 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7229 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7230 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7231 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7232 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7233 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7234 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7235 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7236 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7237 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7238 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7240 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7241 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7242 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7243 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7244 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7245 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7246 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7247 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7248 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7249 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7250 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7251 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7252 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7253 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7254 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7255 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7256 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7257 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7258 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7259 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7260 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7261 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7262 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7263 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7264 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7265 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7266 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7267 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7268 (_FP_FRAC_SRS_1): Likewise.
7269 (_FP_FRAC_CLZ_1): Likewise.
7270 (_FP_MUL_MEAT_1_imm): Likewise.
7271 (_FP_MUL_MEAT_1_wide): Likewise.
7272 (_FP_MUL_MEAT_1_hard): Likewise.
7273 (_FP_SQRT_MEAT_1): Likewise.
7274 (_FP_FRAC_ASSEMBLE_1): Likewise.
7275 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7276 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7277 (__FP_CLZ_2): Likewise.
7278 (_FP_MUL_MEAT_2_wide): Likewise.
7279 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7280 (_FP_MUL_MEAT_2_gmp): Likewise.
7281 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7282 (_FP_SQRT_MEAT_2): Likewise.
7283 (_FP_FRAC_ASSEMBLE_2): Likewise.
7284 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7285 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7286 (_FP_FRAC_CLZ_4): Likewise.
7287 (_FP_MUL_MEAT_4_wide): Likewise.
7288 (_FP_MUL_MEAT_4_gmp): Likewise.
7289 (_FP_SQRT_MEAT_4): Likewise.
7290 (_FP_FRAC_ASSEMBLE_4): Likewise.
7291 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7292 * soft-fp/op-common.h (_FP_CMP): Likewise.
7293 (_FP_CMP_EQ): Likewise.
7294 (_FP_CMP_UNORD): Likewise.
7295 (_FP_TO_INT): Likewise.
7296 (_FP_FROM_INT): Likewise.
7297 [!__FP_CLZ] (__FP_CLZ): Likewise.
7298 (_FP_DIV_HELP_imm): Likewise.
7299 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7301 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7302 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7303 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7304 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7305 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7306 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7307 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7308 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7309 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7310 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7311 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7312 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7313 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7314 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7315 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7316 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7317 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7318 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7319 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7320 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7321 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7322 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7323 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7324 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7325 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7326 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7327 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7328 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7329 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7330 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7331 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7332 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7333 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7334 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7335 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7336 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7337 (FP_UNPACK_RAW_SP): Likewise.
7338 (FP_PACK_RAW_S): Likewise.
7339 (FP_PACK_RAW_SP): Likewise.
7340 (FP_UNPACK_S): Likewise.
7341 (FP_UNPACK_SP): Likewise.
7342 (FP_UNPACK_SEMIRAW_S): Likewise.
7343 (FP_UNPACK_SEMIRAW_SP): Likewise.
7344 (FP_PACK_S): Likewise.
7345 (FP_PACK_SP): Likewise.
7346 (FP_PACK_SEMIRAW_S): Likewise.
7347 (FP_PACK_SEMIRAW_SP): Likewise.
7348 (_FP_SQRT_MEAT_S): Likewise.
7349 (FP_CMP_S): Likewise.
7350 (FP_CMP_EQ_S): Likewise.
7351 (FP_CMP_UNORD_S): Likewise.
7352 (FP_TO_INT_S): Likewise.
7353 (FP_FROM_INT_S): Likewise.
7355 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7357 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7358 (FP_EX_INVALID_IMZ): Likewise.
7359 (FP_EX_INVALID_IMZ_FMA): Likewise.
7360 (FP_EX_INVALID_ISI): Likewise.
7361 (FP_EX_INVALID_ZDZ): Likewise.
7362 (FP_EX_INVALID_IDI): Likewise.
7363 (FP_EX_INVALID_SQRT): Likewise.
7364 (FP_EX_INVALID_CVI): Likewise.
7365 (FP_EX_INVALID_VC): Likewise.
7366 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7367 "invalid" exceptions.
7368 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7369 (_FP_ADD_INTERNAL): Likewise.
7370 (_FP_MUL): Likewise.
7371 (_FP_FMA): Likewise.
7372 (_FP_DIV): Likewise.
7373 (_FP_CMP_CHECK_NAN): Likewise.
7374 (_FP_SQRT): Likewise.
7375 (_FP_TO_INT): Likewise.
7376 (FP_EXTEND): Likewise.
7378 2014-10-09 Allan McRae <allan@archlinux.org>
7380 * po/fr.po: Update French translation from translation project.
7382 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7385 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7387 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7388 (__cxa_atexit): Use libc_hidden_proto.
7389 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7392 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7394 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7395 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7396 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7397 [!_ISOMAC] (__iswctype_internal): Likewise.
7398 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7399 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7401 (fcntl): Remove __fcntl_internal alias.
7402 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7403 __connect_internal alias.
7404 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7407 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7408 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7410 (_FP_CHECK_FLUSH_ZERO): New macro.
7411 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7412 (_FP_CMP): Likewise.
7413 (_FP_CMP_EQ): Likewise.
7414 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7416 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7417 (FP_TRUNC): Likewise.
7419 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7420 treated as invalid conversion, not as normal exponent.
7422 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7423 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7424 (_FP_CMP_EQ): Likewise.
7425 (_FP_CMP_UNORD): Likewise.
7426 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7427 (FP_CMP_EQ_D): Likewise.
7428 (FP_CMP_UNORD_D): Likewise.
7429 * soft-fp/extended.h (FP_CMP_E): Likewise.
7430 (FP_CMP_EQ_E): Likewise.
7431 (FP_CMP_UNORD_E): Likewise.
7432 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7433 (FP_CMP_EQ_Q): Likewise.
7434 (FP_CMP_UNORD_Q): Likewise.
7435 * soft-fp/single.h (FP_CMP_S): Likewise.
7436 (FP_CMP_EQ_S): Likewise.
7437 (FP_CMP_UNORD_S): Likewise.
7438 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7439 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7440 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7441 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7442 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7443 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7444 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7445 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7446 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7447 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7448 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7449 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7450 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7452 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7454 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7455 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7457 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7459 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7460 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7461 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7462 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7464 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7466 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7467 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7469 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7471 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7472 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7473 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7474 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7477 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7478 a subnormal result, set the underflow exception if trapping on
7479 underflow is enabled.
7480 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7481 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7482 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7484 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7485 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7486 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7487 * soft-fp/extendxftf2.c (__extendxftf2): Use
7488 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7490 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7491 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7492 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7493 FP_HANDLE_EXCEPTIONS.
7494 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7495 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7496 FP_HANDLE_EXCEPTIONS.
7497 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7498 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7499 FP_HANDLE_EXCEPTIONS.
7500 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7501 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7502 FP_HANDLE_EXCEPTIONS.
7504 2014-10-08 Joseph Myers <joseph@codesourcery.com>
7507 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7508 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7510 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7511 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7513 (__adjtimex): Define using libc_hidden_ver.
7514 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7516 (ntp_gettime): Call __adjtimex directly.
7517 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7519 (ntp_gettimex): Call __adjtimex directly.
7520 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7521 __adjtimex_internal alias.
7523 2014-10-08 Roland McGrath <roland@hack.frob.com>
7526 * nscd/nscd.c (more_help): Rewrite list of tables collection
7527 using xstrdup and asprintf.
7529 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7531 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7532 Roland McGrath <roland@hack.frob.com>
7534 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7535 (do_lookup_unique): ... local function 'enter' here; update callers.
7537 2014-10-06 Joseph Myers <joseph@codesourcery.com>
7539 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7540 compat_symbol calls on [SHARED].
7541 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7542 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7544 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7545 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7546 (oldsetrlimit): Remove.
7547 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7549 (lchown): New syscall entry.
7550 (oldsetrlimit): Remove.
7551 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7552 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7553 (oldsetrlimit): Remove.
7554 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7557 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7558 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7559 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7560 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7561 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7562 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7564 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7569 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7571 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7572 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7573 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7574 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7575 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7577 (__old_sem_post): Likewise.
7579 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
7581 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7582 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7583 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7584 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7585 Use INLINE_VSYSCALL macro.
7586 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7587 __vdso_clock_gettime.
7588 * sysdeps/unix/sysv/linux/tile/init-first.c
7589 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7590 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7591 __vdso_clock_gettime.
7593 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7594 to set up frame more cleanly.
7596 * sysdeps/tile/memcmp.c: New file.
7598 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7600 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7601 * sysdeps/tile/tilegx/strcasestr.c: New file.
7602 * sysdeps/tile/tilegx/strnlen.c: New file.
7603 * sysdeps/tile/tilegx/strstr.c: New file.
7605 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7607 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
7609 * nptl/tst-setuid3.c: Write errors to stdout.
7611 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7614 (preload): New functions broken out of _dl_map_object_deps.
7615 (_dl_map_object_deps): Remove a nested function. Update call sites.
7617 2014-10-01 Joseph Myers <joseph@codesourcery.com>
7620 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7621 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7623 2014-10-01 Steve Ellcey <sellcey@mips.com>
7625 * sysdeps/mips/strcmp.S: New.
7627 2014-09-30 Joseph Myers <joseph@codesourcery.com>
7630 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7632 (mkdirat): Likewise.
7633 (readlinkat): Likewise.
7634 (renameat): Likewise.
7635 (symlinkat): Likewise.
7636 (unlinkat): Likewise.
7637 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7638 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7639 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7640 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7641 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7642 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7643 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7645 2014-09-30 Will Newton <will.newton@linaro.org>
7647 * math/math.h: Define long double math functions if
7648 _LIBC_TEST is defined.
7649 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7651 * localedata/Makefile: Move assignment to tests-special
7652 into an ifdef testing run-built-tests.
7653 * timezone/Makefile: Likewise.
7655 2014-09-29 Joseph Myers <joseph@codesourcery.com>
7657 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7658 with $(BASH) not $(SHELL).
7660 2014-09-29 Carlos O'Donell <carlos@redhat.com>
7661 Matthew LeGendre <legendre1@llnl.gov>
7664 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7667 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7669 * stdio-common/printf_fp.c
7670 (hack_digit): New function, broken out of ...
7671 (__printf_fp): ... local function here. Update call sites.
7672 hack_digit now takes an additional parameter that is a pointer
7673 to a struct of the referenced locals. Those locals moved inside
7674 the struct and references updated.
7676 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7678 * aclocal.m4: Require autoconf 2.69.
7679 * configure: Regenerated.
7680 * sysdeps/aarch64/configure: Likewise.
7681 * sysdeps/alpha/configure: Likewise.
7682 * sysdeps/arm/armv7/configure: Likewise.
7683 * sysdeps/arm/configure: Likewise.
7684 * sysdeps/ia64/configure: Likewise.
7685 * sysdeps/mach/configure: Likewise.
7686 * sysdeps/mips/configure: Likewise.
7687 * sysdeps/s390/configure: Likewise.
7688 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7691 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7693 * sysdeps/ia64/configure.ac: Likewise.
7695 2014-09-26 Joseph Myers <joseph@codesourcery.com>
7697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7698 specify symbol version for ld.so. Do not include entry for
7700 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7701 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7702 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7705 * Makeconfig [$(build-shared) = yes]
7706 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7708 [$(build-shared) = yes && $(soversions.mk-done) = t]
7709 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7710 [$(build-shared) = yes && $(soversions.mk-done) = t]
7711 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7713 [$(build-shared) = yes && $(soversions.mk-done) = t]
7714 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7716 [$(build-shared) = yes && $(soversions.mk-done) = t]
7717 (common-generated): Don't append gnu/lib-names.h and
7718 gnu/lib-names.stmp here.
7719 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7720 (lib-names-h-abi): New variable.
7721 [$(build-shared) = yes && $(soversions.mk-done) = t]
7722 (lib-names-stmp-abi): Likewise.
7723 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7724 abi-variants] (before-compile): Append
7725 $(common-objpfx)$(lib-names-h-abi).
7726 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7727 abi-variants] (common-generated): Append gnu/lib-names.h.
7728 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7729 abi-variants] (install-others-nosubdir): Depend on
7730 $(inst_includedir)/$(lib-names-h-abi).
7731 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7732 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7733 [$(build-shared) = yes && $(soversions.mk-done) = t]
7734 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7735 [$(build-shared) = yes && $(soversions.mk-done) = t]
7736 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7737 [$(build-shared) = yes && $(soversions.mk-done) = t]
7738 (common-generated): Append $(lib-names-h-abi) and
7739 $(lib-names-stmp-abi).
7740 * scripts/lib-names.awk: Do not handle multi being set.
7741 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7743 (abi-lp64_be-ld-soname): Likewise.
7744 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7746 (abi-hard-ld-soname): Likewise.
7747 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7748 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7750 (abi-o32_hard-ld-soname): Likewise.
7751 (abi-o32_soft_2008-ld-soname): Likewise.
7752 (abi-o32_hard_2008-ld-soname): Likewise.
7753 (abi-n32_soft-ld-soname): Likewise.
7754 (abi-n32_hard-ld-soname): Likewise.
7755 (abi-n32_soft_2008-ld-soname): Likewise.
7756 (abi-n32_hard_2008-ld-soname): Likewise.
7757 (abi-n64_soft-ld-soname): Likewise.
7758 (abi-n64_hard-ld-soname): Likewise.
7759 (abi-n64_soft_2008-ld-soname): Likewise.
7760 (abi-n64_hard_2008-ld-soname): Likewise.
7761 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7763 (abi-64-v2-ld-soname): Likewise.
7764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7766 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7768 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7770 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7772 (abi-64-ld-soname): Likewise.
7773 (abi-x32-ld-soname): Likewise.
7774 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7776 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7778 2014-09-23 Joseph Myers <joseph@codesourcery.com>
7781 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7782 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7783 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7784 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7785 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7786 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7787 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7788 syscall entry for GLIBC_2.2 symbol version.
7789 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7792 (setrlimit): Likewise.
7793 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7796 2014-09-23 Will Newton <will.newton@linaro.org>
7798 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7799 _LINUX_ARM_SYSDEP_H include guard too.
7800 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7803 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7805 * sysdeps/unix/sysv/linux/eventfd.c:
7806 Make first argument unsigned.
7807 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7808 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7810 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
7812 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7813 * socket/sys/socket.h: Likewise
7814 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7816 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7818 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7820 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
7822 * time/tst-ftime.c: New test.
7823 * time/Makefile (tests): Add tst-ftime.
7825 2014-09-17 Joseph Myers <joseph@codesourcery.com>
7827 * soft-fp/extended.h: Fix comment formatting.
7828 * soft-fp/op-1.h: Likewise.
7829 * soft-fp/op-2.h: Likewise.
7830 * soft-fp/op-4.h: Likewise.
7831 * soft-fp/op-8.h: Likewise.
7832 * soft-fp/op-common.h: Likewise.
7833 * soft-fp/soft-fp.h: Likewise.
7835 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7837 2014-09-16 Joseph Myers <joseph@codesourcery.com>
7840 * Makeconfig (soversions-default-setname): Remove variable.
7841 ($(common-objpfx)soversions.i): Don't pass default_setname to
7843 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7844 oldest_abi to abi-versions.awk.
7845 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7846 * config.make.in (oldest-abi): Remove variable.
7847 * configure.ac (--enable-oldest-abi): Remove configure option.
7848 * configure: Regenerated.
7849 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7851 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7852 * scripts/soversions.awk: Do not handle default_setname variable.
7853 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7855 * sysdeps/mach/hurd/configure: Regenerated.
7856 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7858 * sysdeps/unix/sysv/linux/configure: Regenerated.
7860 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7862 * elf/Makefile (CFLAGS-interp.c): Remove.
7863 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7865 * elf/interp.c: Include generated runtime-linker.h
7867 * Makerules (lib%.so): Don't include $(+interp) in
7869 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7870 * dlfcn/eval.c: Remove file.
7872 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7876 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7880 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7882 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7883 Jakub Jelinek <jakub@redhat.com>
7886 * libio/stdio.h: Check definition of __fortify_function
7887 instead of __extern_always_inline to include bits/stdio2.h.
7888 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7889 check if __extern_always_inline is defined.
7890 [__USE_MISC || __USE_XOPEN]: Likewise.
7891 [__USE_ISOC99] Likewise.
7892 * misc/sys/cdefs.h (__fortify_function): Define only if
7893 __extern_always_inline is defined.
7894 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7895 __extern_always_inline and __extern_inline only for g++-4.3
7896 and newer or a compatible gcc.
7898 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7901 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7902 last change to handle zero prefix length.
7904 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7906 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7909 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7912 2014-09-13 Allan McRae <allan@archlinux.org>
7914 * po/ru.po: Update Russian translation from translation project.
7916 2014-09-12 Roland McGrath <roland@hack.frob.com>
7918 * locale/programs/locale.c (show_locale_vars): Inline local function
7919 into its sole call site. Clean up some style nits.
7920 (print_item): New function, broken out of ...
7921 (show_info): ... local function here. Clean up style nits.
7923 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7925 (set_class_defaults): ... local function set_default here.
7926 Define set_default as a macro locally to pass constant parameters.
7927 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7928 rather than a shared local.
7930 * stdlib/rpmatch.c (try): New function, broken out of ...
7931 (rpmatch): ... local function here. Also, prototypify definition.
7933 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7935 * scripts/soversions.awk: Do not handle configuration names.
7936 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7937 vendor and os variables to soversions.awk.
7938 * configure.ac: Do not modify gnu-* host_os.
7939 * configure: Regenerated
7940 * shlib-versions: Remove first column with configuration names.
7941 * nptl/shlib-versions: Likewise.
7942 * nptl_db/shlib-versions: Likewise.
7943 * sysdeps/hppa/shlib-versions: Likewise.
7944 * sysdeps/m68k/shlib-versions: Likewise.
7945 * sysdeps/mach/hurd/shlib-versions: Likewise.
7946 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7947 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7948 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7949 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7950 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7951 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7952 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7953 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7956 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7957 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7958 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7959 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7960 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7961 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7962 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7963 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7966 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7969 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7971 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7973 * shlib-versions: Remove OS-specific entries. Moved to files in
7975 * sysdeps/mach/hurd/shlib-versions: New file.
7976 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7978 * nptl/shlib-versions: Remove architecture-specific entries.
7979 Moved to files in sysdeps.
7980 * shlib-versions: Likewise.
7981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7983 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7984 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7985 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7986 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7988 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7989 (UDP_NO_CHECK6_RX): Likewise.
7991 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7993 * sysdeps/posix/sysconf.c (__sysconf): Spell
7994 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7996 2014-08-12 Florian Weimer <fweimer@redhat.com>
7998 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8000 * iconv/Versions (__gconv_transliterate): Export for use from
8002 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8003 (struct __gconv_trans_data, __gconv_trans_fct,
8004 __gconv_trans_context_fct, __gconv_trans_query_fct,
8005 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8007 (struct __gconv_step_data): Remove __trans member.
8008 (__gconv_transliterate): Declaration moved from gconv_int.h. No
8009 longer hidden. Remove unused trans_data argument.
8010 * iconv/gconv_int.h (struct trans_struct): Remove definition.
8011 (__gconv_translit_find): Remove declaration.
8012 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
8014 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8015 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8016 trans_data argument. Add hidden definition.
8017 (__gconv_translit_find): Remove.
8018 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8019 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8020 * iconv/skeleton.c: Remove transliteration initialization.
8021 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8022 __gconv_step_data initialization.
8023 * libio/iofwide.c (__libio_translit_): Remove.
8024 (_IO_fwide): Adjust struct __gconv_step_data initialization.
8025 * wcsmbs/btowc.c (__btowc): Likewise.
8026 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8027 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8028 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8029 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8030 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8031 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8032 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8033 * wcsmbs/wctob.c (wctob): Likewise.
8035 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8038 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8039 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8041 * sysdeps/x86/Makefile: Adjust.
8043 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8044 Roland McGrath <roland@hack.frob.com>
8046 * locale/weight.h: Add include guard.
8047 (findidx): Make static rather than auto; take new parameters
8048 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8049 * locale/weightwc.h: Likewise.
8050 * posix/fnmatch_loop.c
8051 (FCT): Change type of EXTRA from int32_t to wint_t.
8052 Don't include either header inside the function.
8053 Call FINDIDX rather than findidx, and pass new arguments.
8054 #undef FINDIDX at the end of the file.
8055 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8056 FINDIDX before including fnmatch_loop.c for the non-wide version.
8057 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8058 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8059 for the wide version.
8060 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8061 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8062 Pass new arguments to findidx.
8063 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8064 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8065 Don't #include it inside the function. Pass new arguments to findidx.
8066 * posix/regex_internal.h
8067 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8068 (re_string_elem_size_at): Don't #include it inside the function.
8069 Pass new arguments to findidx.
8070 * string/strcoll_l.c: #include WEIGHT_H at top level.
8071 (get_next_seq): Don't #include it inside the function.
8072 Pass new arguments to findidx.
8073 (get_next_seq_nocache): Likewise.
8074 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8075 (STRXFRM): Don't #include it inside the function.
8076 Pass new arguments to findidx.
8078 2014-09-11 Florian Weimer <fweimer@redhat.com>
8081 * malloc/malloc.c (unlink): Turn asserts into a call to
8084 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
8087 * libio/wfileops (do_ftell_wide): Free OUT.
8089 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8091 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8093 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8096 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8097 group if the current group is empty.
8099 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8101 * benchtests/bench-memset.c (test_main): Add more test from size
8102 from 32 to 512 bytes.
8103 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8104 Add POWER8 memset object.
8105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8106 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8107 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8109 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8111 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8112 multiarch POWER8 memset optimization.
8113 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8114 POWER8 memset optimization.
8116 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8117 Remove bzero multiarch objects.
8118 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8119 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8120 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8121 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8123 [__bzero]: Redefine to specific name.
8124 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8125 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8126 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8128 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8129 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8131 2014-09-10 Florian Weimer <fweimer@redhat.com>
8133 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8134 warnings into errors.
8136 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8137 __cxa_thread_atexit_impl prototype.
8139 2014-09-09 Steve Ellcey <sellcey@mips.com>
8141 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8142 Fix capitalization of error message.
8144 2014-09-09 Steve Ellcey <sellcey@mips.com>
8146 * sysdeps/mips/preconfigure: Modify ABI tests.
8148 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8150 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8152 2014-09-07 Roland McGrath <roland@hack.frob.com>
8153 Carlos O'Donell <carlos@systemhalted.org>
8155 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8156 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8157 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8158 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8159 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8160 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8161 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8162 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8163 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8164 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8165 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8166 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8167 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8168 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8169 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8170 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8171 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8172 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8173 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8174 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8175 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8176 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8177 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8178 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8179 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8180 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8181 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8182 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8183 Deconditionalize the code that was previously under [RESET_PID].
8184 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8185 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8186 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8187 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8190 2014-09-08 Allan McRae <allan@archlinux.org>
8192 * version.h (RELEASE): Set to "development".
8193 (VERSION): Set to "2.20.90"
8195 2014-09-07 Allan McRae <allan@archlinux.org
8197 * version.h (RELEASE): Set to "stable".
8198 (VERSION): Set to "2.20"
8199 * include/features.h (__GLIBC_MINOR__): Set to 20.
8201 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8204 * po/ko.po: Update Korean translation from translation project.
8206 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8209 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8210 macro for handling signed relocations.
8212 2014-09-03 Florian Weimer <fweimer@redhat.com>
8215 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8216 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8218 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8219 * iconvdata/ibm935.c (BODY): Likewise.
8220 * iconvdata/ibm937.c (BODY): Likewise.
8221 * iconvdata/ibm939.c (BODY): Likewise.
8222 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8224 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8226 * iconvdata/run-iconv-test.sh: New test loop for checking for
8229 2014-09-02 Khem Raj <raj.khem@gmail.com>
8231 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8234 2014-09-01 Allan McRae <allan@archlinux.org>
8236 * po/eo.po: Update Esperanto translation from translation project.
8238 * po/ca.po: Update Catalan translation from translation project.
8240 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8242 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8245 2014-08-27 Mark Wielaard <mjw@redhat.com>
8248 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8249 to call set_thread_area instead of hand written asm.
8250 (__NR_set_thread_area): Removed define.
8251 (TLS_FLAG_WRITABLE): Likewise.
8252 (__ASSUME_SET_THREAD_AREA): Remove check.
8253 (TLS_EBX_ARG): Remove define.
8254 (TLS_LOAD_EBX): Likewise.
8256 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8258 Simplify atomicity of socket creation in bind.
8260 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8261 looking up the name after linking the file.
8263 2014-08-27 Allan McRae <allan@archlinux.org>
8265 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8267 2014-08-26 Florian Weimer <fweimer@redhat.com>
8270 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8271 trans_compare, open_translit, __gconv_translit_find):
8272 Remove module loading code.
8274 2014-08-26 Allan McRae <allan@archlinux.org>
8276 * po/vi.po: Update Vietnamese translation from translation project.
8278 * po/uk.po: Update Ukrainian translation from translation project.
8280 * po/fr.po: Update French translation from translation project.
8282 * po/ru.po: Update Russian translation from translation project.
8284 * po/pl.po: Update Polish translation from translation project.
8286 * po/cs.po: Update Czech translation from translation project.
8288 * po/de.po: Update German translation from translation project.
8290 * po/bg.po: Update Bulgarian translation from translation project.
8292 * po/sv.po: Update Sweedish translation from translation project.
8294 * po/nl.po: Update Dutch translation from translation project.
8296 * po/es.po: Update Spanish translation from translation project.
8298 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8300 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8302 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8303 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8304 (CPPFLAGS-iconvconfig): Likewise.
8305 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8307 * include/libc-symbols.h: Remove unnecessary check for
8309 * nptl/pthreadP.h: Likewise.
8310 * sysdeps/aarch64/setjmp.S: Likewise.
8311 * sysdeps/alpha/setjmp.S: Likewise.
8312 * sysdeps/arm/sysdep.h: Likewise.
8313 * sysdeps/i386/setjmp.S: Likewise.
8314 * sysdeps/m68k/setjmp.c: Likewise.
8315 * sysdeps/posix/getcwd.c: Likewise.
8316 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8317 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8318 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8319 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8320 * sysdeps/sh/sh3/setjmp.S: Likewise.
8321 * sysdeps/sh/sh4/setjmp.S: Likewise.
8322 * sysdeps/unix/alpha/sysdep.h: Likewise.
8323 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8324 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8325 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8326 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8329 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8330 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8331 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8332 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8333 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8334 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8336 * sysdeps/x86_64/setjmp.S: Likewise.
8338 2014-08-13 Joseph Myers <joseph@codesourcery.com>
8341 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8343 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8344 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8346 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8348 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8351 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8352 and __x86_64__ when disabling x87 inline functions.
8354 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8357 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8358 asm statement with __cpuid_count.
8360 2014-08-12 Mike Frysinger <vapier@gentoo.org>
8362 * configure.ac: Change __ehdr_start code to dereference the struct.
8363 Run readelf on the output to look for relocations.
8364 * configure: Regenerated.
8366 2014-08-12 Joseph Myers <joseph@codesourcery.com>
8369 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8371 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8373 2014-08-12 Roland McGrath <roland@hack.frob.com>
8375 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8377 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8380 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8381 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8383 2014-08-12 Sean Anderson <seanga2@gmail.com>
8385 * malloc/malloc.c: Fix typo in comment.
8387 2014-08-09 Allan McRae <allan@archlinux.org>
8389 * Regenerate libc.po.
8391 2014-08-08 Mike Frysinger <vapier@gentoo.org>
8393 * intl/tst-gettext2.sh: Check every lang file for creation.
8395 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8397 * sysdeps/aarch64/fpu/math_private.h
8398 (libc_feholdsetround_noex_aarch64_ctx): New function.
8400 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8402 * sysdeps/arm/armv6/strcpy.S (strcpy):
8403 Fix performance issue in misaligned cases.
8405 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8407 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8408 Move definition from termios.h.
8409 (struct termio): Likewise.
8410 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8411 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8412 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8413 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8415 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8416 Move definition to ioctl-types.h
8417 (struct termio): Likewise.
8418 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8419 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8420 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8421 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8424 2014-08-05 Richard Henderson <rth@redhat.com>
8426 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8428 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8430 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8431 Use __feraiseexcept.
8432 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8433 Protect libm symbols with IS_IN_libm.
8435 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8437 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8439 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8441 2014-08-04 Will Newton <will.newton@linaro.org>
8443 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8446 2014-08-04 Mike Frysinger <vapier@gentoo.org>
8448 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8449 variants for each function.
8451 2014-08-04 Roland McGrath <roland@hack.frob.com>
8453 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8455 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8456 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8458 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8459 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8460 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8461 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8462 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8463 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8464 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8465 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8466 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8467 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8468 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8469 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8470 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8471 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8472 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8473 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8474 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8475 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8476 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8477 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8478 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8479 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8480 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8481 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8482 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8483 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8484 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8485 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8486 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8487 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8488 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8489 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8490 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8491 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8492 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8493 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8494 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8495 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8496 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8497 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8498 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8499 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8500 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8501 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8502 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8503 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8504 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8505 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8506 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8507 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8508 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8509 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8510 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8512 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8513 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8515 2014-08-04 Roland McGrath <roland@hack.frob.com>
8517 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8518 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8519 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8520 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8521 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8522 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8524 2014-08-04 Roland McGrath <roland@hack.frob.com>
8526 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8527 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8528 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8529 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8531 2014-08-04 Roland McGrath <roland@hack.frob.com>
8533 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8534 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8535 (__libc_vfork): Define function under this name.
8536 (__vfork): Define as an alias.
8537 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8538 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8540 2014-08-04 Roland McGrath <roland@hack.frob.com>
8542 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8543 that was previously under [RESET_PID].
8544 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8546 2014-08-04 Andreas Schwab <schwab@suse.de>
8548 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8550 2014-08-03 Mike Frysinger <vapier@gentoo.org>
8552 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8555 2014-08-01 Roland McGrath <roland@hack.frob.com>
8557 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8559 2014-08-01 Richard Henderon <rth@redhat.com>
8561 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8562 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8563 typo in exact zero test.
8564 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8565 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8566 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8568 2014-08-01 Roland McGrath <roland@hack.frob.com>
8570 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8571 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8572 * sysdeps/arm/sysdep.h: ... here.
8573 [!__ASSEMBLER__]: Include <stdint.h>.
8575 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8577 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8578 (HAVE_WCTYPE_H): Likewise.
8579 (HAVE_ISWCTYPE): Likewise.
8580 (ENABLE_NLS): Likewise.
8581 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8582 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8584 * posix/regex_internal.c: Check if DEBUG is defined and is
8587 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8588 (HAVE_MBSRTOWCS): Likewise.
8589 * posix/fnmatch.c: Include string.h unconditionally.
8591 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8593 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8596 2014-07-31 Roland McGrath <roland@hack.frob.com>
8598 * sysdeps/generic/safe-fatal.h: New file.
8599 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8600 * nptl/forward.c: Include it.
8601 (__pthread_unwind): Use __safe_fatal as default action, rather
8602 than a bogus use of INTERNAL_SYSCALL that could never work.
8604 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8605 * configure.ac (libc_cv_builtin_trap): New test.
8606 * configure: Regenerated.
8607 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8608 (ABORT_INSTRUCTION): Define using __builtin_trap.
8610 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8611 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8612 * sysdeps/nptl/nptl-signals.h: New file.
8613 * nptl/pthreadP.h: Include <nptl-signals.h>.
8615 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8617 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8618 (ONE_DIRECTION): Define.
8619 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8620 (ONE_DIRECTION): Define.
8621 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8622 (ONE_DIRECTION): Define.
8624 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8626 * sysdeps/s390/Makefile: Delete file.
8627 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8628 * sysdeps/s390/__longjmp.c: Delete file.
8629 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8630 Remove fields __flags and __reserved.
8631 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8633 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8634 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8635 * sysdeps/s390/rtld-setjmp.S: Likewise.
8636 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8637 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8638 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8639 * sysdeps/s390/s390-32/setjmp.S: ... here.
8641 (__sigsetjmp): Remove setting __flags field.
8642 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8643 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8644 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8645 * sysdeps/s390/s390-64/setjmp.S: ... here.
8647 (__sigsetjmp): Remove setting __flags field.
8648 * sysdeps/s390/setjmp.S: Delete file.
8649 * sysdeps/s390/sigjmp.c: Likewise.
8650 * sysdeps/s390/v1-longjmp.c: Likewise.
8651 * sysdeps/s390/v1-setjmp.h: Likewise.
8652 * sysdeps/s390/v1-sigjmp.c: Likewise.
8653 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8654 Remove v1-longjmp_chk.
8655 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8656 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8657 Include debug/longjmp_chk.c and add versioning.
8658 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8659 Include nptl/pt-longjmp.c and add versioning.
8660 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8661 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8662 Include __longjmp.c.
8663 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8665 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8666 (__getcontext): Remove setting __flags field.
8668 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8669 Don't restore upper high grps.
8670 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8672 (__swapcontext): Remove setting uc_flags field.
8673 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8675 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8676 Include __longjmp.c.
8677 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8679 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8680 (__getcontext): Remove setting __flags field.
8682 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8683 (__swapcontext): Remove setting uc_flags field.
8684 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8685 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8686 Remove fields uc_high_gprs and __reserved.
8687 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8688 New file with reverted content.
8689 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8690 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8692 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8695 2014-07-31 Andreas Schwab <schwab@suse.de>
8697 * config.h.in (HAVE_IFUNC): Define to 0.
8698 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8701 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8704 memmove-avx-unaligned, memcpy-avx-unaligned and
8705 mempcpy-avx-unaligned.
8706 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8707 Add tests for AVX memcpy functions.
8708 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8709 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8711 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8712 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8714 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8715 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8717 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8718 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8719 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8721 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8724 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8727 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
8730 * manual/llio.texi: Add section about open file description locks.
8731 * manual/examples/ofdlocks.c: Example of open file description
8733 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8734 F_OFD_SETLK, and F_OFD_SETLKW.
8736 2014-07-23 Allan McRae <allan@archlinux.org>
8738 * po/es.po: Update Spanish translation from translation project.
8740 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8742 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8744 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8747 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8748 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8749 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8751 2014-07-17 Joseph Myers <joseph@codesourcery.com>
8754 * math/fesetenv.c (__fesetenv)
8755 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8756 * math/feupdateenv.c (__feupdateenv)
8757 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8759 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8760 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8761 (__ASSUME_SOCKETCALL): Do not define.
8763 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8764 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8765 (__ASSUME_SOCKETCALL): Do not define.
8766 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8767 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8768 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8769 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8770 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8771 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8772 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8773 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8775 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8776 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8777 (__ASSUME_SOCKETCALL): Do not define.
8778 (__ASSUME_IPC64): Define unconditionally.
8779 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8780 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8781 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8782 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8783 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8784 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8785 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8788 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8789 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8790 (__ASSUME_SOCKETCALL): Do not define.
8791 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8792 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8793 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8794 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8795 (__ASSUME_REQUEUE_PI): Define unconditionally.
8796 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8797 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8798 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8799 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8800 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8801 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8803 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8804 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8805 (__ASSUME_SOCKETCALL): Do not define.
8806 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8807 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8808 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8809 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8810 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8811 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8813 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8814 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8815 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8816 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8817 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8818 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8819 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8820 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8821 (__ASSUME_GETCPU_SYSCALL): Likewise.
8823 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8824 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8825 cases for individual architectures.
8826 * sysdeps/gnu/configure: Regenerated.
8827 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8828 LIBC_SLIBDIR_RTLDDIR.
8829 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8830 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8831 LIBC_SLIBDIR_RTLDDIR.
8832 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8834 LIBC_SLIBDIR_RTLDDIR.
8835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8837 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8838 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8840 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8841 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8843 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8844 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8845 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8846 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8848 * sysdeps/aarch64/shlib-versions: Move to ...
8849 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8850 * sysdeps/alpha/shlib-versions: Move to ...
8851 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8852 * sysdeps/arm/shlib-versions: Move to ...
8853 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8854 * sysdeps/hppa/shlib-versions: Move all contents except for
8855 libgcc_s entry to ...
8856 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8858 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8859 * sysdeps/ia64/shlib-versions: Move to ...
8860 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8862 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8863 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8864 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8865 * sysdeps/microblaze/shlib-versions: Move to ...
8866 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8867 * sysdeps/mips/shlib-versions: Move to ...
8868 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8870 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8871 * sysdeps/tile/shlib-versions: Move to ...
8872 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8873 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8875 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8876 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8878 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8880 2014-07-17 Will Newton <will.newton@linaro.org>
8882 * sysdeps/arm/bits/atomic.h
8883 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8884 (__arch_compare_and_exchange_bool_16_int): Likewise.
8885 (__arch_compare_and_exchange_bool_64_int): Likewise.
8887 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8888 into an #else block.
8890 2014-07-16 Roland McGrath <roland@hack.frob.com>
8892 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8893 just Linux configurations. Test empirically that the compiler sets
8894 __ARM_EABI__, rather than using the tuple to decide.
8895 * sysdeps/arm/preconfigure: Regenerated.
8896 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8897 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8898 contents appended ...
8899 * sysdeps/arm/configure.ac: ... here.
8900 * sysdeps/arm/configure: Regenerated.
8902 2014-07-15 Roland McGrath <roland@hack.frob.com>
8904 * nptl/pthread_kill.c: New file.
8905 * nptl/pthread_sigmask.c: New file.
8906 * nptl/pthread_sigqueue.c: New file.
8908 * sysdeps/nptl/lowlevellock.h: New file.
8909 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8910 * sysdeps/nptl/lowlevellock-futex.h: New file.
8912 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8913 Remove dead declarations.
8915 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8917 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8918 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8920 * sysdeps/x86_64/configure.ac: Likewise.
8921 * sysdeps/i386/configure: Regenerated.
8922 * sysdeps/x86_64/configure: Likewise.
8923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8924 memset-avx2 only if config-cflags-avx2 is yes.
8925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8926 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8928 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8929 only if HAVE_AVX2_SUPPORT is defined.
8930 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8932 2014-07-14 Alan Modra <amodra@gmail.com>
8935 * elf/elf.h (DT_PPC64_NUM): Correct value.
8936 * NEWS: Add to fixed bug list.
8938 2014-07-13 Jim Meyering <meyering@fb.com>
8941 regex: don't deref NULL upon heap allocation failure
8942 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8943 failure in one more place.
8944 To trigger the segfault, configure grep -with-included-regex,
8945 build it, and run these commands:
8946 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8948 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8950 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8952 2014-07-11 Richard Henderson <rth@redhat.com>
8954 * sysdeps/aarch64/libm-test-ulps: Update.
8956 2014-07-10 Florian Weimer <fweimer@redhat.com>
8959 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8960 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8961 (__nptl_setxid): Initialize error member. Call
8962 __nptl_setxid_error.
8963 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8964 * nptl/descr.h (struct xid_command): Add error member.
8965 * nptl/tst-setuid3.c: New file.
8966 * nptl/Makefile (tests): Add it.
8968 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8970 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8972 (__lll_trylock): Use __lll_base_trylock.
8973 (__lll_cond_trylock): Likewise.
8975 2014-07-10 Roland McGrath <roland@hack.frob.com>
8977 * nptl/pthread_create.c (start_thread): Use atomic_or and
8978 lll_futex_wake directly rather than lll_robust_dead.
8979 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8980 (lll_robust_dead): Macro removed.
8981 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8982 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8983 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8984 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8985 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8986 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8987 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8988 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8989 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8990 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8991 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8992 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8993 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8994 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8995 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8997 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8998 Use atomic_compare_and_exchange_val_acq directly rather than
9000 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9001 (__lll_robust_trylock, lll_robust_trylock): Removed.
9002 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9003 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9004 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9005 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9006 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9007 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9008 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9009 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9010 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9011 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9012 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9013 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9014 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9015 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9017 2014-07-02 Florian Weimer <fweimer@redhat.com>
9019 * manual/locale.texi (Locale Names): New section documenting
9020 locale name syntax. Adjust menu and node chaining accordingly.
9021 (Choosing Locale): Reference Locale Names, Locale Categories.
9022 Mention setting LC_ALL=C. Reflect that name syntax is now
9024 (Locale Categories): New section title. Reference Locale Names.
9025 LC_ALL is an environment variable, but not a category.
9026 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9027 description, now in Locale Name. Reference that section. Locale
9028 name syntax is now documented.
9030 2014-07-02 Florian Weimer <fweimer@redhat.com>
9033 * locale/findlocale.c (name_present, valid_locale_name): New
9035 (_nl_find_locale): Use the loc_name variable to store name
9036 candidates. Call name_present and valid_locale_name to check and
9037 validate locale names. Return an error if the locale is invalid.
9039 2014-07-02 Florian Weimer <fweimer@redhat.com>
9041 * locale/setlocale.c (setlocale): Use strdup for allocating
9042 composite name copy.
9044 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9046 Sync up with gnulib.
9047 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9048 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9049 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9050 and _GL_ARG_NONNULL.
9051 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9052 [!_LIBC]: Include code for Windows and Cygwin.
9053 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9054 Include prototype for int strerror_r.
9055 [!_LIBC] (is_open): New function.
9056 (flush_stdout): New function.
9057 (print_errno_message): Use it.
9059 (error_at_line): Likewise.
9060 (error_tail) Add function attribute macros. Use
9063 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9065 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9067 * io/ftw.c: Include sys/param.h unconditionally.
9069 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9072 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9074 (freecache): New function to free CACHE on exit.
9076 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9079 2014-07-09 David S. Miller <davem@davemloft.net>
9081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9083 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9084 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9085 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9086 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9087 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9088 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9089 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9090 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9091 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9092 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9093 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9094 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9095 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9097 2014-07-09 Andreas Schwab <schwab@suse.de>
9099 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9101 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9102 (do_test): Likewise.
9104 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9106 2014-07-09 Will Newton <will.newton@linaro.org>
9108 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9109 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9110 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9111 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9112 * sysdeps/hppa/start.S (_start): Likewise.
9114 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9116 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9118 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9121 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9123 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9124 after checking that it is non-NULL.
9126 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9128 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9130 * sysdeps/powerpc/memmove.c: Remove file.
9131 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9132 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9133 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9134 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9135 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9136 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9137 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9138 string memmove instead of removed powerpc one.
9140 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9141 [weak_alias]: Fix compiler warning due trailing data.
9142 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9143 [weak_alias]: Likewise.
9144 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9145 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9147 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9148 (__libc_ifunc_impl_list): Add memmove functions.
9150 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9152 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9154 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9156 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9158 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9160 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9162 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9164 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9166 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9168 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9170 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9172 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9174 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9176 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9178 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9180 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9182 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9184 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9187 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9189 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9190 to avoid alignment traps in non-cacheable memory.
9191 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9193 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9195 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9196 file: multiarch power7 memmove.
9197 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9198 multiarch default memmove.
9199 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9200 multiarch memove for powerpc32/power4.
9202 * string/bcopy.c: Use full path to include memmove.c.
9203 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9205 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9206 bcopy for powerpc64.
9207 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9208 bcopy for powerpc64.
9209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9210 and memmove implementations.
9211 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9212 optimized multiarch memmove for POWER7/powerpc64.
9213 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9214 default multiarch memmove for powerpc64.
9215 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9216 multiarch for powerpc64.
9217 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9218 for POWER7/powerpc64.
9219 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9220 memmove for POWER7/powerpc64.
9222 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9225 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9226 __ELF_NATIVE_CLASS equal to 64.
9228 2014-07-07 Roland McGrath <roland@hack.frob.com>
9230 * sysdeps/nptl/lowlevellock.h: File removed.
9232 * NEWS: NPTL is no longer an add-on!
9233 * nptl/internaltypes.h: Moved ...
9234 * sysdeps/nptl/internaltypes.h: ... here.
9235 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9236 * sysdeps/nptl/fork.c: Likewise.
9237 * sysdeps/nptl/gai_misc.h: Likewise.
9238 * sysdeps/nptl/librt-cancellation.c: Likewise.
9239 * sysdeps/nptl/jmp-unwind.c: Likewise.
9240 * sysdeps/nptl/setxid.h: Likewise.
9241 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9242 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9243 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9244 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9245 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9246 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9247 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9248 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9249 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9250 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9251 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9252 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9253 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9254 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9255 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9256 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9257 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9258 * nptl/Makeconfig: Moved ...
9259 * sysdeps/nptl/Makeconfig: ... here.
9260 * nptl/configure: File removed.
9261 * nptl/ANNOUNCE: File removed.
9262 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9263 * sysdeps/unix/sysv/linux/configure: Regenerated.
9265 * nptl/Makefile (routines): Add libc_pthread_init,
9266 libc_multiple_threads, register-atfork and unregister-atfork.
9267 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9268 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9269 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9270 pthread-pi-defines.sym, structsem.sym.
9271 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9272 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9273 [$(subdir) = nptl] (tests): Add tst-setgetname.
9274 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9275 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9276 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9277 [!LIBC_SIGACTION]: Remove aliases.
9278 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9279 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9280 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9281 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9282 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9283 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9284 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9285 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9286 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9287 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9288 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9289 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9290 __libc_allocate_rtsig_private.
9291 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9292 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9293 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9294 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9295 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9296 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9297 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9298 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9299 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9300 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9301 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9302 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9303 * nptl/internaltypes.h: ... here.
9304 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9305 * sysdeps/nptl/jmp-unwind.c: ... here.
9306 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9307 * nptl/libc-lowlevellock.c: ... here.
9308 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9309 * nptl/libc_multiple_threads.c: ... here.
9310 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9311 * nptl/libc_pthread_init.c: ... here.
9312 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9313 * nptl/lowlevelbarrier.sym: ... here.
9314 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9315 * nptl/lowlevelcond.sym: ... here.
9316 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9317 * nptl/lowlevellock.c: ... here.
9318 * nptl/lowlevellock.h: Moved ...
9319 * sysdeps/nptl/lowlevellock.h: ... here.
9320 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9321 * nptl/lowlevelrobustlock.c: ... here.
9322 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9323 * nptl/lowlevelrobustlock.sym: ... here.
9324 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9325 * nptl/lowlevelrwlock.sym: ... here.
9326 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9327 * nptl/pt-fork.c: ... here.
9328 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9329 * nptl/pthread-pi-defines.sym: ... here.
9330 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9331 * nptl/pthread_attr_getaffinity.c: ... here.
9332 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9333 * nptl/pthread_attr_setaffinity.c: ... here.
9334 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9335 * nptl/pthread_mutex_cond_lock.c: ... here.
9336 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9338 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9339 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9340 * nptl/pthread_once.c: ... here, replacing old file.
9341 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9342 * nptl/pthread_yield.c: ... here.
9343 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9344 * nptl/register-atfork.c: ... here.
9345 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9346 * nptl/sem_post.c: ... here.
9347 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9348 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9349 * nptl/sem_timedwait.c: ... here.
9350 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9351 * nptl/sem_trywait.c: ... here.
9352 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9353 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9354 * nptl/sem_wait.c: ... here.
9355 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9356 * nptl/structsem.sym: ... here.
9357 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9358 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9359 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9360 * nptl/unregister-atfork.c: ... here.
9361 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9362 * nptl/unwindbuf.sym: ... here.
9363 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9364 * sysdeps/nptl/fork.c: ... here.
9365 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9366 * sysdeps/nptl/fork.h: ... here.
9367 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9368 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9369 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9370 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9371 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9372 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9373 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9374 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9375 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9376 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9377 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9378 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9379 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9380 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9381 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9382 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9383 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9384 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9385 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9386 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9387 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9388 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9389 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9390 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9391 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9392 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9393 * sysdeps/unix/sysv/linux/raise.c: ... here.
9394 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9395 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9396 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9397 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9398 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9399 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9400 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9401 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9402 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9403 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9404 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9405 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9406 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9407 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9408 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9410 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9412 * sysdeps/generic/memcopy.h: Add comment for
9413 MEMCPY_OK_FOR_FWD_MEMMOVE.
9415 2014-07-04 Will Newton <will.newton@linaro.org>
9417 * string/memchr.c: Merge from gnulib.
9418 [_LIBC]: Remove conditionals.
9419 (__ptr_t): Remove define.
9420 (LONG_MAX_32_BITS): Likewise.
9421 (LONG_MAX): Likewise.
9422 (MEMCHR): Use ANSI prototype and optimize algorithm.
9424 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9426 2014-07-03 Roland McGrath <roland@hack.frob.com>
9428 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9429 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9431 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9432 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9433 in a bare environment with no <stdlib.h> installed.
9434 * sysdeps/nptl/configure: Regenerated.
9436 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9438 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9439 AC_EGREP_CPP for kernel header checks, so they only succeed if
9440 including <linux/version.h> actually works right.
9441 * sysdeps/unix/sysv/linux/configure: Regenerated.
9443 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9444 value so it's not diagnosed as unused.
9446 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9447 thing) with "ifeq ($(subdir),rt)".
9449 2014-07-03 Richard Henderson <rth@redhat.com>
9451 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9452 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9453 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9455 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9456 (math_force_eval): New.
9458 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9459 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9461 * sysdeps/alpha/fpu/s_round.c: Remove file.
9462 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9464 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9465 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9466 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9467 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9468 (_dl_start, print_statistics): Likewise.
9469 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9470 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9472 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9473 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9474 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9475 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9476 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9477 (HP_SMALL_TIMING_AVAIL): Define.
9478 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9479 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9480 (HP_SMALL_TIMING_AVAIL): Define.
9481 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9482 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9484 * sysdeps/aarch64/hp-timing.h: New file.
9486 * sysdeps/generic/hp-timing.h: Remove dead comment.
9487 * sysdeps/generic/hp-timing-common.h: New file.
9488 * sysdeps/alpha/hp-timing.h: Include it.
9489 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9490 * sysdeps/i386/i686/hp-timing.h: Likewise.
9491 * sysdeps/ia64/hp-timing.h: Likewise.
9492 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9493 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9494 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9495 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9496 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9497 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9500 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9501 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9502 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9503 * elf/rtld.c (_dl_start_final): Likewise.
9504 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9505 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9506 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9507 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9508 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9509 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9510 (HP_TIMING_DIFF_INIT): Remove.
9511 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9512 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9513 (HP_TIMING_DIFF_INIT): Remove.
9514 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9515 * sysdeps/i386/i686/hp-timing.c: Remove file.
9516 * sysdeps/x86_64/hp-timing.c: Remove file.
9517 * sysdeps/ia64/hp-timing.c: Remove file.
9518 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9519 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9520 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9521 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9523 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9524 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9525 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9526 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9527 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9528 (HP_TIMING_ACCUM): Remove.
9529 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9530 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9531 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9533 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9534 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9535 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9536 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9537 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9538 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9539 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9540 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9542 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9544 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9546 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9548 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9550 Sync up with gettext.
9551 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9552 [_MSC_VER]: Include malloc.h
9553 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9554 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9555 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9556 TEMP_FAILURE_RETRY. Cast return of alloca.
9557 [!_LIBC] Call gl_rwlock_init.
9558 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9560 2014-07-02 Roland McGrath <roland@hack.frob.com>
9562 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9563 before checking its value.
9565 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9567 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9569 * debug/memcpy_chk.c: Don't include pagecopy.h.
9570 * debug/mempcpy_chk.c: Likewise.
9571 * string/memcpy.c: Likewise.
9572 * string/memmove.c: Likewise.
9573 * sysdeps/powerpc/memmove.c: Likewise.
9574 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9575 definition of PAGE_COPY_FWD_MAYBE here...
9576 * sysdeps/generic/pagecopy.h: ... from here.
9577 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9579 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9580 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9582 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9583 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9585 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9586 (__libc_ifunc_impl_list): Likewise.
9587 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9588 multiarch strcat for PPC64.
9589 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9590 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9592 2014-07-02 Roland McGrath <roland@hack.frob.com>
9594 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9596 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9598 * intl/loadmsgcat.c: Remove declaration of
9599 get_sysdep_segment_value.
9600 (get_sysdep_segment_value): Use ISO C style.
9601 (_nl_load_domain): Use ISO C style. Get rid of redundant
9602 semicolon. Fix typo and formatting in comment.
9603 (_nl_unload_domain): Use ISO C style.
9605 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9607 2014-07-02 Will Newton <will.newton@linaro.org>
9609 * malloc/obstack.c: Merge from gnulib master.
9610 [HAVE_CONFIG_H]: Remove conditional code.
9611 [!_LIBC]: Include config.h.
9612 [!ELIDE_CODE]: Don't include inttypes.h, include
9613 stdint.h unconditionally.
9614 (print_and_abort): Mark as _Noreturn.
9615 (_obstack_allocated_p): Mark as __attribute_pure__.
9616 (obstack_free): Rename to __obstack_free.
9617 [!__attribute__]: Remove conditional code.
9618 * malloc/obstack.h: Merge from gnulib master.
9619 [__cplusplus]: Move conditional down.
9620 [!__attribute_pure__]: Define __attribute_pure__ here
9621 if it is not already defined.
9622 (_obstack_memory_used): Mark as __attribute_pure__.
9623 [!__obstack_free]: Define as obstack_free.
9624 [__GNUC__]: Remove check for ancient NeXT gcc.
9626 2014-07-02 Will Newton <will.newton@linaro.org>
9627 Paul Eggert <eggert@cs.ucla.edu>
9629 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9631 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9633 * resolv/gethnamaddr.c: Add comment warning that the file is
9636 2014-07-01 Carlos O'Donell <carlos@redhat.com>
9638 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9641 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9642 entry for aio_cancel and aio_cancel64.
9643 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9644 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9645 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9646 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9647 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9648 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9649 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9650 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9651 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9652 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9653 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9654 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9655 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9657 2014-07-01 Roland McGrath <roland@hack.frob.com>
9659 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9660 * nptl/pthread_mutex_lock.c: Likewise.
9661 * nptl/pthread_mutex_timedlock.c: Likewise.
9662 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9664 2014-07-01 Richard henderson <rth@redhat.com>
9666 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9667 (__isnan, __isnanl): Remove.
9668 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9670 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9672 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9674 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9676 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9678 * resolv/nss_dns/dns-host.c (getanswer_r)
9679 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9681 2014-07-01 Joseph Myers <joseph@codesourcery.com>
9683 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9684 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9686 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9687 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9689 2014-07-01 Roland McGrath <roland@hack.frob.com>
9691 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9692 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9694 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9695 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9697 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9698 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9700 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9701 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9703 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9704 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9705 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9706 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9708 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9709 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9710 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9711 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9712 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9714 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9716 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9717 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9718 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9719 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9720 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9721 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9722 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9723 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9724 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9725 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9726 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9727 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9728 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9729 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9730 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9731 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9732 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9733 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9734 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9735 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9737 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9738 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9739 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9740 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9741 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9742 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9743 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9744 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9746 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9748 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9749 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9750 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9753 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9757 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9759 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9760 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9762 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9764 * sysdeps/arm/libm-test-ulps: Regenerated.
9766 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9767 Roland McGrath <roland@hack.frob.com>
9769 * test-skeleton.c (signal_handler): Kill the whole process group
9770 before killing the child individually.
9771 (main): Report any failure on `setpgid'.
9773 2014-06-30 Roland McGrath <roland@hack.frob.com>
9775 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9776 from _TLS_H to _ARM_NPTL_TLS_H.
9777 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9778 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9780 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9783 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9784 (__expm1l): Return argument unchanged when small but not
9787 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9789 (_FP_UNPACK_RAW_1_P): Likewise.
9790 (_FP_PACK_RAW_1): Likewise.
9791 (_FP_PACK_RAW_1_P): Likewise.
9792 (_FP_MUL_MEAT_1_wide): Likewise.
9793 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9794 (_FP_MUL_MEAT_1_hard): Likewise.
9795 (_FP_DIV_MEAT_1_imm): Likewise.
9796 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9797 (_FP_DIV_MEAT_1_udiv): Likewise.
9798 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9799 (_FP_UNPACK_RAW_2): Likewise.
9800 (_FP_UNPACK_RAW_2_P): Likewise.
9801 (_FP_PACK_RAW_2): Likewise.
9802 (_FP_PACK_RAW_2_P): Likewise.
9803 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9804 (_FP_MUL_MEAT_2_wide): Likewise.
9805 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9806 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9807 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9808 (_FP_MUL_MEAT_2_gmp): Likewise.
9809 (_FP_DIV_MEAT_2_udiv): Likewise.
9810 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9811 (_FP_FRAC_SRL_4): Likewise.
9812 (_FP_FRAC_SRST_4): Likewise.
9813 (_FP_FRAC_SRS_4): Likewise.
9814 (_FP_UNPACK_RAW_4): Likewise.
9815 (_FP_UNPACK_RAW_4_P): Likewise.
9816 (_FP_PACK_RAW_4): Likewise.
9817 (_FP_PACK_RAW_4_P): Likewise.
9818 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9819 (_FP_MUL_MEAT_4_wide): Likewise.
9820 (_FP_MUL_MEAT_4_gmp): Likewise.
9821 (umul_ppppmnnn): Likewise.
9822 (_FP_DIV_MEAT_4_udiv): Likewise.
9823 (__FP_FRAC_ADD_4): Likewise.
9824 (__FP_FRAC_SUB_3): Likewise.
9825 (__FP_FRAC_SUB_4): Likewise.
9826 (__FP_FRAC_DEC_3): Likewise.
9827 (__FP_FRAC_DEC_4): Likewise.
9828 (__FP_FRAC_ADDI_4): Likewise.
9829 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9830 (_FP_FRAC_SRL_8): Likewise.
9831 (_FP_FRAC_SRS_8): Likewise.
9833 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9835 (FP_UNPACK_RAW_EP): Likewise.
9836 (FP_PACK_RAW_E): Likewise.
9837 (FP_PACK_RAW_EP): Likewise.
9838 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9839 (_FP_ISSIGNAN): Likewise.
9840 (_FP_ADD_INTERNAL): Likewise.
9841 (_FP_FMA): Likewise.
9842 (_FP_CMP): Likewise.
9843 (_FP_SQRT): Likewise.
9844 (_FP_TO_INT): Likewise.
9845 (_FP_FROM_INT): Likewise.
9846 (FP_EXTEND): Likewise.
9847 (_FP_DIV_MEAT_N_loop): Likewise.
9849 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9851 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9854 2014-06-29 Joseph Myers <joseph@codesourcery.com>
9857 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9858 result with correct sign in case of exponents that produce
9859 overflow except for X very close to 1.
9861 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9863 mktime: merge #if/#ifdef usage from glibc
9864 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9865 as that works with both Glibc's and Gnulib's style.
9866 See thread starting at Siddhesh Poyarekar's bug report at:
9867 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9869 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9871 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9872 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9873 * sysdeps/tile/tilegx/memmove.c: Remove file.
9875 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9877 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9878 abi-name definition.
9879 * scripts/soversions.awk: Do not handle or generate ABI lines.
9880 * shlib-versions: Remove ABI entries.
9881 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9882 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9884 2014-06-27 Roland McGrath <roland@hack.frob.com>
9886 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9887 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9888 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9889 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9890 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9891 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9892 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9894 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9896 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9897 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9898 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9899 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9900 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9901 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9902 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9903 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9904 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9905 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9906 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9907 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9908 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9910 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9911 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9912 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9913 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9914 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9915 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9917 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9918 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9920 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9921 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9922 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9923 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9925 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9926 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9927 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9928 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9929 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9930 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9931 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9932 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9934 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9935 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9936 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9937 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9939 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9940 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9942 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9943 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9944 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9945 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9947 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9949 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9950 Identical file removed.
9951 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9953 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9954 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9955 Identical file removed.
9956 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9957 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9958 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9960 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9961 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9962 Identical file removed.
9963 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9964 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9965 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9966 Identical file removed.
9967 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9968 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9969 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9970 Identical file removed.
9971 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9972 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9973 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9974 Identical file removed.
9975 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9977 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9978 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9979 Identical file removed.
9980 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9982 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9983 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9984 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9985 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9986 Identical file removed.
9987 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9989 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9991 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9992 Identical file removed.
9993 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9995 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9996 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9997 Identical file removed.
9998 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10000 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10001 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10002 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10003 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10004 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10005 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10007 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10008 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10009 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10011 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10012 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10013 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10014 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10015 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10017 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
10020 * nscd/nscd.c (monitor_child): Return exit status of child
10021 instead of return value from wait syscall.
10023 2014-06-27 Joseph Myers <joseph@codesourcery.com>
10025 * configure.ac (libc_commonpagesize): Remove variable.
10026 (libc_relro_required): Likewise.
10027 (libc_cv_z_relro): Remove configure test.
10028 * configure: Regenerated.
10029 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10031 (libc_relro_required): Likewise.
10032 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10033 (libc_relro_required): Likewise.
10034 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10035 (libc_relro_required): Likewise.
10036 * sysdeps/arm/preconfigure: Regenerated.
10037 * sysdeps/ia64/preconfigure: Remove file.
10038 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10040 (libc_relro_required): Likewise.
10044 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10045 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10046 recompute overflowing results in original rounding mode.
10047 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10048 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10049 recompute overflowing results in original rounding mode.
10050 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10051 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10052 recompute overflowing results in original rounding mode.
10053 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10054 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10055 recompute overflowing results in original rounding mode.
10056 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10057 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10058 recompute overflowing results in original rounding mode.
10059 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10060 (libc_feholdsetround_ctx): New macro.
10061 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10062 * sysdeps/i386/fpu/libm-test-ulps: Update.
10063 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10065 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10067 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10068 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10069 corresponding .cpsetup call.
10071 2014-06-26 Roland McGrath <roland@hack.frob.com>
10073 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10074 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10075 * sysdeps/arm/Makefile [$(subdir) = csu]
10076 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10077 (static-only-routines): Add aeabi_read_tp here.
10078 (shared-only-routines): Add libc-aeabi_read_tp here.
10079 (CFLAGS-libc-start.c): Add -fexceptions here.
10080 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10081 (sysdep_routines, static-only-routines, shared-only-routines):
10082 Don't add to these here.
10083 (CFLAGS-libc-start.c): Likewise.
10085 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10086 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10087 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10088 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10089 * sysdeps/arm/Makefile [$(subdir) = rt]
10090 (librt-sysdep_routines, librt-shared-only-routines):
10091 Append rt-aeabi_unwind_cpp_pr1 here.
10092 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10093 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10094 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10095 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10096 Append nptl-aeabi_unwind_cpp_pr1 here.
10097 (tests): Filter out tst-cleanupx4 here.
10098 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10099 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10100 Don't do those here.
10102 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10104 * scripts/list-sources.sh: Do not handle ports specially.
10106 2014-06-26 Roland McGrath <roland@hack.frob.com>
10108 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10109 * sysdeps/arm/feupdateenv.c: Likewise.
10111 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10113 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10115 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10116 trailing whitespace removed.
10117 * scripts/config.guess: Update to version 2014-03-23.
10118 * scripts/config.sub: Update to version 2014-05-01
10119 * scripts/install-sh: Update to version 2013-12-25.23.
10120 * scripts/move-if-change: Update from gnulib.
10122 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10124 * debug/memmove_chk.c: Remove pagecopy.h include.
10126 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10128 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10129 identical to gnulib mktime.
10131 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10133 * configure.ac: Do not test for machine being rs6000. Do not test
10134 for powerpc*-*soft.
10135 * configure: Regenerated.
10138 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10140 * configure: Regenerated.
10141 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10142 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10143 Remove configure test.
10144 * sysdeps/arm/configure: Regenerated.
10145 * sysdeps/nptl/configure.ac: Do not check
10146 libc_cv_asm_cfi_directives.
10147 * sysdeps/nptl/configure: Regenerated.
10148 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10149 * sysdeps/x86_64/nptl/configure: Remove generated file.
10150 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10152 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10154 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10156 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10157 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10158 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10161 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10162 instead of whether it is defined.
10163 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10164 * sysdeps/hppa/dl-machine.h: Likewise.
10165 * sysdeps/ia64/dl-machine.h: Likewise.
10166 * sysdeps/m68k/dl-machine.h: Likewise.
10167 * sysdeps/microblaze/dl-machine.h: Likewise.
10168 * sysdeps/mips/dl-machine.: Likewise.
10169 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10170 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10171 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10172 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10173 * sysdeps/sh/dl-machine.h: Likewise.
10174 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10175 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10176 * sysdeps/tile/dl-machine.h: Likewise.
10177 * sysdeps/x86_64/dl-machine.h: Likewise.
10179 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10181 (verify_persistent_db): Likewise.
10183 2014-06-26 Roland McGrath <roland@hack.frob.com>
10185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10186 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10188 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10191 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10194 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10196 Identical file removed.
10197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10198 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10200 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10202 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10204 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10206 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10209 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10211 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10213 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10216 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10218 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10219 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10220 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10222 Identical file removed.
10223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10224 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10226 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10229 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10232 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10234 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10236 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10238 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10240 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10241 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10243 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10244 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10246 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10248 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10251 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10253 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10255 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10257 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10258 * sysdeps/unix/sysv/linux/s390/Versions
10259 (libpthread: GLIBC_2.19): New version set.
10260 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10261 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10262 (librt: GLIBC_2.3.3): New version set.
10263 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10264 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10265 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10266 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10267 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10268 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10269 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10270 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10271 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10272 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10273 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10274 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10275 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10276 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10277 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10278 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10279 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10280 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10281 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10282 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10283 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10284 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10285 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10286 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10287 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10288 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10289 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10290 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10291 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10292 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10293 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10294 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10295 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10296 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10297 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10298 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10299 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10300 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10301 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10302 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10303 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10304 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10305 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10306 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10307 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10309 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10310 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10311 (__libc_vfork): Define the function under this name.
10312 [!NOT_IN_libc] (__vfork): Make this an alias.
10313 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10314 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10315 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10316 (__libc_vfork): Define the function under this name.
10317 [!NOT_IN_libc] (__vfork): Make this an alias.
10318 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10319 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10320 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10321 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10322 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10323 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10325 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10326 code that was previously under [RESET_PID].
10327 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10328 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10329 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10331 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10332 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10333 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10334 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10335 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10336 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10337 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10338 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10339 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10340 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10341 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10343 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10344 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10345 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10346 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10347 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10348 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10349 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10350 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10351 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10352 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10353 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10354 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10355 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10356 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10357 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10358 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10359 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10360 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10361 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10362 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10363 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10364 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10365 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10366 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10367 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10368 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10369 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10370 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10371 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10373 2014-06-25 Roland McGrath <roland@hack.frob.com>
10375 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10376 that was previously under [RESET_PID].
10377 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10379 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10381 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10382 not undefine and redefine.
10383 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10384 [O_CLOEXEC]: Make code unconditional.
10385 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10386 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10387 <kernel-features.h>.
10388 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10389 conditional variable definition.
10390 (shm_open) [O_CLOEXEC]: Make code unconditional.
10391 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10394 * configure.ac (USE_REGPARMS): Don't define here.
10395 * configure: Regenerated.
10396 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10397 * sysdeps/i386/configure: Regenerated.
10399 * nptl/createthread.c: Don't include kernel-features.h.
10400 * nptl/pthread_cancel.c: Likewise.
10401 * nptl/pthread_condattr_setclock.c: Likewise.
10402 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10403 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10404 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10405 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10406 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10407 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10408 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10409 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10410 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10411 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10412 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10413 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10414 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10415 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10416 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10417 * nscd/gai.c: Likewise.
10418 * nss/nss_db/db-open.c: Likewise.
10419 * sysdeps/generic/ldsodefs.h: Likewise.
10420 * sysdeps/sh/nptl/tls.h: Likewise.
10421 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10422 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10423 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10424 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10425 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10426 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10427 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10428 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10429 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10430 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10431 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10432 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10433 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10434 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10435 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10436 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10437 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10438 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10439 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10440 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10441 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10442 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10443 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10444 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10445 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10446 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10447 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10448 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10449 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10450 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10451 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10452 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10453 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10454 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10455 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10456 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10457 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10458 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10459 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10460 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10461 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10462 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10463 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10464 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10465 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10466 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10467 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10468 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10469 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10470 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10471 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10472 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10473 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10474 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10475 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10476 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10477 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10478 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10501 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10502 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10503 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10504 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10505 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10506 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10507 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10508 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10509 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10510 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10511 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10512 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10513 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10514 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10515 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10516 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10517 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10518 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10519 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10520 * sysdeps/unix/sysv/linux/system.c: Likewise.
10521 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10522 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10523 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10524 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10525 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10526 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10527 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10529 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10530 * configure: Regenerated.
10531 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10533 * configure.ac (base_machine): Do not set specially for particular
10535 * configure: Regenerated.
10536 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10537 settings from configure.ac.
10538 * sysdeps/i386/preconfigure: New file.
10539 * sysdeps/s390/preconfigure: Likewise.
10540 * sysdeps/sh/preconfigure: Likewise.
10541 * sysdeps/sparc/preconfigure: Likewise.
10543 2014-06-25 Roland McGrath <roland@hack.frob.com>
10545 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10546 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10547 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10548 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10549 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10550 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10551 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10552 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10553 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10554 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10555 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10556 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10557 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10558 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10559 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10560 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10561 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10562 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10563 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10565 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10566 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10567 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10568 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10569 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10570 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10571 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10572 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10573 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10574 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10575 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10576 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10577 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10578 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10579 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10580 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10581 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10582 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10583 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10584 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10585 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10586 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10587 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10588 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10589 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10590 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10591 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10592 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10593 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10594 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10595 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10596 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10597 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10598 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10599 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10600 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10601 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10602 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10605 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10607 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10610 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10613 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10615 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10618 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10620 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10622 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10624 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10627 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10630 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10632 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10635 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10637 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10639 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10641 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10643 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10646 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10649 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10651 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10654 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10656 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10658 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10660 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10663 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10666 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10668 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10671 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10673 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10674 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10675 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10677 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10679 * timezone/checktab.awk: Update from tzcode 2014e.
10680 * timezone/private.h: Likewise.
10681 * timezone/tzfile.h: Likewise.
10682 * timezone/zdump.c: Likewise.
10683 * timezone/zic.c: Likewise.
10685 * sysdeps/unix/sysv/linux/kernel-features.h
10686 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10687 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10688 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10689 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10690 Remove conditional code.
10692 2014-06-25 Will Newton <will.newton@linaro.org>
10694 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10695 (_dl_arm_cap_flags): Add HWCAP2 values.
10696 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10697 (_DL_HWCAP_COUNT): Increase to 37.
10698 (_DL_HWCAP_LAST): New define.
10699 (_DL_HWCAP2_LAST): New define.
10700 (_dl_procinfo): Add support for printing
10702 (_dl_string_hwcap): Use _dl_hwcap_string.
10704 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10708 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10710 * README: Do not mention ports directory.
10712 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10714 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10715 <kernel-features.h>.
10716 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10717 conditional variable definition.
10718 (__futimes): Update comment.
10719 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10720 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10723 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10724 arguments close to 0.
10725 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10727 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10729 * math/auto-libm-test-in: Add more tests of exp10.
10730 * math/auto-libm-test-out: Regenerated.
10731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10733 * sysdeps/unix/sysv/linux/kernel-features.h
10734 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10735 * sysdeps/unix/sysv/linux/readv.c: Do not include
10736 <kernel-features.h>.
10737 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10738 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10739 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10741 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10743 * sysdeps/unix/sysv/linux/writev.c: Do not include
10744 <kernel-features.h>.
10745 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10746 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10747 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10749 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10752 2014-06-25 Will Newton <will.newton@linaro.org>
10754 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10755 comment changes throughout the file. Remove checks
10756 for HAVE_*_H definitions that are not required.
10757 (__gen_tempname): Call abort if an unknown kind value is
10760 2014-06-25 Andreas Schwab <schwab@suse.de>
10763 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10764 scalbln, scalblnf, scalblnl in libc.
10766 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10769 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10770 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10771 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10773 2014-06-24 Roland McGrath <roland@hack.frob.com>
10775 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10776 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10777 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10778 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10780 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10781 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10783 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10784 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10785 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10786 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10787 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10788 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10789 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10790 * sysdeps/x86/bits/semaphore.h: ... here.
10791 * sysdeps/x86/nptl/elide.h: Moved ...
10792 * sysdeps/x86/elide.h: ... here.
10793 * sysdeps/x86_64/nptl/Implies: File removed.
10794 * sysdeps/i386/nptl/Implies: File removed.
10796 2014-06-24 Joseph Myers <joseph@codesourcery.com>
10799 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10800 return the argument for normal arguments with exponent below -64.
10801 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10803 * math/auto-libm-test-in: Add another test of expm1.
10804 * math/auto-libm-test-out: Regenerated.
10807 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10808 calling __erfcl for arguments at least 16.
10809 * math/auto-libm-test-in: Add more tests of erf.
10810 * math/auto-libm-test-out: Regenerated.
10812 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10813 individual architectures.
10814 * sysdeps/unix/sysv/linux/configure: Regenerated.
10815 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10816 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10817 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10818 (ldd_rewrite_script): Define variable.
10819 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10824 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10825 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10826 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10827 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10828 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10829 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10830 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10831 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10833 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10836 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10837 Rename member __data.d to __data.__elision_data.
10839 2014-06-24 Wilco <wdijkstr@arm.com>
10841 * NEWS: Add 16918 to fixed bug list.
10843 2014-06-24 Wilco <wdijkstr@arm.com>
10845 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10847 2014-06-24 Wilco <wdijkstr@arm.com>
10849 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10850 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10851 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10852 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10853 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10854 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10855 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10858 2014-06-24 Wilco <wdijkstr@arm.com>
10860 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10862 2014-06-24 Wilco <wdijkstr@arm.com>
10864 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10865 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10866 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10867 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10869 2014-06-24 Wilco <wdijkstr@arm.com>
10872 * sysdeps/arm/feupdateenv.c (feupdateenv):
10873 Rewrite to reduce FPSCR accesses and fix return value.
10875 2014-06-24 Wilco <wdijkstr@arm.com>
10877 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10878 Optimize to avoid unnecessary FPSCR writes.
10879 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10880 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10881 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10882 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10884 2014-06-24 Wilco <wdijkstr@arm.com>
10886 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10887 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10888 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10889 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10890 Call libc_fetestexcept_vfp.
10891 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10892 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10893 __SOFTFP__ ifdef so that they can be built for softfp.
10895 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10897 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10898 argument type signed char.
10900 * Makerules (check-abi): Dump diff of symlist if the test
10903 2014-06-23 Roland McGrath <roland@hack.frob.com>
10905 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10908 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10909 Remove unused variable ST.
10911 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10915 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10916 small arguments before calling __expm1.
10917 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10918 small arguments before calling __expm1f.
10919 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10920 small arguments before calling __expm1l.
10921 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10923 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10924 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10925 spurious underflow for some cosh tests.
10926 * math/auto-libm-test-out: Regenerated.
10927 * sysdeps/i386/fpu/libm-test-ulps: Update.
10930 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10931 (__ieee754_y1): Set errno if return value overflows.
10932 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10933 (__ieee754_y1f): Set errno if return value overflows.
10934 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10935 (__ieee754_y1l): Set errno if return value overflows.
10936 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10937 (__ieee754_y1l): Set errno if return value overflows.
10938 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10939 * math/auto-libm-test-out: Regenerated.
10941 * math/gen-auto-libm-tests.c: Document use of
10942 ignore-zero-inf-sign.
10943 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10944 (input_flags): Add ignore-zero-inf-sign.
10945 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10946 * math/gen-libm-test.pl (generate_testfile): Handle
10947 ignore-zero-inf-sign.
10948 * math/auto-libm-test-in: Mark some cpow tests with
10949 ignore-zero-inf-sign and some with xfail-rounding.
10950 * math/auto-libm-test-out: Regenerated.
10951 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10952 * sysdeps/i386/fpu/libm-test-ulps: Update.
10953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10956 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10957 overflowing or underflowing operations take place with sign of
10959 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10960 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10961 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10962 (__ieee754_pow): Recompute overflowing and underflowing results in
10963 original rounding mode.
10964 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10965 (__powl_helper): Allow negative argument X and scale negated value
10966 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10967 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10968 overflowing or underflowing operations take place with sign of
10970 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10972 * math/auto-libm-test-in: Add more tests of pow.
10973 * math/auto-libm-test-out: Regenerated.
10974 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10975 (pow_tonearest_test_data): Remove.
10976 (pow_test_tonearest): Likewise.
10977 (pow_towardzero_test_data): Likewise.
10978 (pow_test_towardzero): Likewise.
10979 (pow_downward_test_data): Likewise.
10980 (pow_test_downward): Likewise.
10981 (pow_upward_test_data): Likewise.
10982 (pow_test_upward): Likewise.
10983 (main): Don't call removed functions.
10984 * sysdeps/i386/fpu/libm-test-ulps: Update.
10985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10987 2014-06-23 Roland McGrath <roland@hack.frob.com>
10989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11163 2014-06-23 Will Newton <will.newton@linaro.org>
11164 Wilco <wdijkstr@arm.com>
11166 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11167 implementation. Include get-rounding-mode.h.
11168 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11169 [!libc_feholdsetround_noex_ctx]: Define
11170 libc_feholdsetround_noex_ctx.
11171 [!libc_feholdsetround_noexf_ctx]: Define
11172 libc_feholdsetround_noexf_ctx.
11173 [!libc_feholdsetround_noexl_ctx]: Define
11174 libc_feholdsetround_noexl_ctx.
11175 (libc_feholdsetround_ctx): New function.
11176 (libc_feresetround_ctx): New function.
11177 (libc_feholdsetround_noex_ctx): New function.
11178 (libc_feresetround_noex_ctx): New function.
11180 2014-06-23 Roland McGrath <roland@hack.frob.com>
11182 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11183 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11184 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11185 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11186 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11187 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11189 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11190 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11191 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11192 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11193 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11194 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11195 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11196 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11197 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11198 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11199 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11201 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11203 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11204 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11205 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11206 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11207 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11209 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11210 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11211 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11212 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11213 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11214 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11215 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11216 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11218 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11219 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11221 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11222 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11223 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11224 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11226 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11227 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11228 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11229 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11230 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11231 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11232 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11233 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11234 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11235 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11237 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11239 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11240 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11241 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11242 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11243 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11244 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11245 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11246 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11247 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11248 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11249 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11250 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11251 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11253 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11254 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11255 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11256 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11257 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11258 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11260 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11261 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11262 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11263 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11264 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11266 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11267 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11268 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11269 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11270 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11271 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11272 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11273 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11274 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11275 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11276 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11277 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11278 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11279 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11280 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11281 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11282 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11283 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11284 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11285 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11286 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11287 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11288 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11289 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11290 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11291 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11292 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11293 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11295 2014-06-23 Joseph Myers <joseph@codesourcery.com>
11297 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11298 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11299 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11300 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11301 (IPV6_PMTUDISC_INTERFACE): Likewise.
11302 (IPV6_PMTUDISC_OMIT): Likewise.
11304 2014-06-23 Andreas Schwab <schwab@suse.de>
11306 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11307 Remove unused errout label.
11309 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11311 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11312 macro: hardware supports Vector Crypto instructions.
11314 2014-06-23 Will Newton <will.newton@linaro.org>
11316 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11317 rather than __builtin_expect.
11319 * elf/dl-lookup.c (undefined_msg): Remove variable.
11320 (_dl_lookup_symbol_x): Replace undefined_msg with string
11323 * elf/dl-lookup.c (do_lookup_unique): New function.
11324 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11325 to a separate function.
11327 2014-06-23 Andreas Schwab <schwab@suse.de>
11330 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11331 before reading the next line.
11333 2014-06-23 Will Newton <will.newton@linaro.org>
11335 * test-skeleton.c (signal_handler): Use printf and %m
11336 rather than perror. Use printf rather than fprintf to
11337 stderr. Use puts rather than fputs to stderr.
11340 2014-06-22 Ludovic Courtès <ludo@gnu.org>
11342 * nscd/nscd.c (thread_info_t): Remove typedef.
11343 (thread_info): Remove variable.
11345 2014-06-21 Allan McRae <allan@archlinux.org>
11347 * NEWS: Mention CVE-2014-4043.
11349 2014-06-20 Roland McGrath <roland@hack.frob.com>
11351 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11352 * nptl/smp.h: ... here.
11354 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11356 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11357 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11358 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11359 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11361 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11362 * nptl/stack-aliasing.h: New file.
11363 * sysdeps/i386/i686/stack-aliasing.h: New file.
11364 * sysdeps/i386/i686/nptl/Makefile: File removed.
11365 * sysdeps/x86_64/stack-aliasing.h: New file.
11366 * sysdeps/x86_64/nptl/Makefile
11367 (CFLAGS-pthread_create.c): Variable removed.
11369 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11370 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11372 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11373 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11376 2014-06-21 Joseph Myers <joseph@codesourcery.com>
11378 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11379 (__ASSUME_SIGFRAME_V2): Remove macro.
11380 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11381 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11382 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11383 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11384 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11385 Declare as function. Remove conditional macro definitions.
11386 (__default_rt_sa_restorer): Likewise.
11387 (__default_sa_restorer_v1): Remove declaration.
11388 (__default_sa_restorer_v2): Likewise.
11389 (__default_rt_sa_restorer_v1): Likewise.
11390 (__default_rt_sa_restorer_v2): Likewise.
11391 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11392 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11393 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11395 2014-06-20 Roland McGrath <roland@hack.frob.com>
11397 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11398 (libpthread-routines): Add sysdep.
11399 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11400 * sysdeps/unix/sysv/linux/sparc/Versions
11401 (libpthread: GLIBC_2.3.3): New version set.
11402 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11403 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11404 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11405 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11406 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11407 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11409 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11410 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11411 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11412 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11413 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11414 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11415 * sysdeps/sparc/nptl/sem_init.c: ... here.
11416 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11417 * sysdeps/sparc/nptl/sem_post.c: ... here.
11418 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11419 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11420 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11421 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11422 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11423 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11424 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11425 (libpthread-routines): Add cpu_relax.
11426 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11428 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11429 (librt: GLIBC_2.3.3): New version set.
11430 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11431 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11432 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11433 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11434 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11435 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11436 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11437 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11439 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11440 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11441 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11442 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11443 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11444 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11445 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11446 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11447 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11448 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11450 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11452 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11454 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11456 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11458 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11460 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11462 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11464 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11466 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11468 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11470 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11472 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11473 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11475 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11477 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11479 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11480 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11481 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11484 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11486 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11487 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11488 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11490 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11492 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11493 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11494 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11495 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11496 * nscd/nscd.c: Likewise.
11497 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11498 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11499 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11500 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11502 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11503 <kernel-features.h>.
11504 (init_mq_netlink): Remove conditional have_sock_cloexec
11505 definitions. Remove code conditional on have_sock_cloexec < 0.
11506 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11507 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11508 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11509 <kernel-features.h>.
11510 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11511 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11513 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11515 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11516 Add tests for memset_chk and memset.
11518 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11521 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11524 * elf/tst-dl-iter-static.c: New file.
11525 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11527 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11530 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11532 * sysdeps/unix/sysv/linux/kernel-features.h
11533 (__ASSUME_F_GETOWN_EX): Remove macro.
11534 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11535 <kernel-features.h>.
11536 (miss_F_GETOWN_EX): Remove variable or macro.
11537 (do_fcntl): Do not check miss_F_GETOWN_EX.
11538 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11540 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11542 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11543 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11544 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11546 * sysdeps/unix/sysv/linux/kernel-features.h
11547 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11548 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11549 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11550 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11552 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11555 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11556 Fix calculation of the symbol's value.
11557 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11558 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11559 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11560 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11561 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11562 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11563 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11564 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11565 (modules-names): Add `tst-armtlsdescmod',
11566 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11567 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11568 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11569 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11570 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11571 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11572 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11573 ($(objpfx)tst-armtlsdescloc): New dependency.
11574 ($(objpfx)tst-armtlsdescextnow): Likewise.
11575 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11576 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11577 TLS scheme support.
11578 * sysdeps/arm/configure: Regenerate.
11580 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11582 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11583 (__atfct_seterrno_2): Likewise.
11584 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11585 <kernel-features.h>.
11586 (__ASSUME_ATFCTS): Do not undefine and redefine.
11587 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11588 (__have_atfcts): Remove conditional definition.
11589 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11590 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11591 unreachable if [__ASSUME_ATFCTS].
11592 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11593 not undefine and redefine.
11594 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11595 <kernel-features.h>.
11596 (faccessat) [__NR_faccessat]: Make code unconditional.
11597 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11598 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11599 <kernel-features.h>.
11600 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11601 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11602 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11603 <kernel-features.h>.
11604 (fchownat) [__NR_fchownat]: Make code unconditional.
11605 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11606 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11607 <kernel-features.h>.
11608 (futimesat) [__NR_futimesat]: Make code unconditional.
11609 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11610 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11611 <kernel-features.h>.
11612 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11613 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11614 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11615 <kernel-features.h>.
11616 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11617 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11618 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11619 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11620 <kernel-features.h>.
11621 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11622 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11623 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11624 <kernel-features.h>.
11625 (linkat) [__NR_linkat]: Make code unconditional.
11626 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11627 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11628 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11629 <kernel-features.h>.
11630 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11631 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11632 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11633 <kernel-features.h>.
11634 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11635 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11636 * sysdeps/unix/sysv/linux/openat.c: Do not include
11637 <kernel-features.h>.
11638 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11639 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11640 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11641 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11642 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11643 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11644 <kernel-features.h>.
11645 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11646 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11647 result of INLINE_SYSCALL directly, not via int variable.
11648 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11649 <kernel-features.h>.
11650 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11651 (renameat) [__NR_renameat]: Make code unconditional.
11652 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11653 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11654 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11655 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11656 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11657 (__ASSUME_ATFCTS): Do not undefine and redefine.
11658 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11659 <kernel-features.h>.
11660 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11661 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11662 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11663 <kernel-features.h>.
11664 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11665 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11666 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11667 (__ASSUME_ATFCTS): Do not undefine and redefine.
11668 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11669 <kernel-features.h>.
11670 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11671 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11672 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11673 <kernel-features.h>.
11674 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11675 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11677 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11679 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11681 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11684 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11685 constructed tree before returning error.
11686 * posix/bug-regexp36.c: Expand test case.
11688 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11691 * math/libm-test.inc (scalbln_test_date):
11692 Add errno expectations.
11693 * math/w_scalblnf.c: New File.
11694 Add wrapper which checks for setting errno to ERANGE.
11695 Add weak_alias for corresponding scalbln function.
11696 * math/w_scalbln.c: Likewise.
11697 * math/w_scalblnl.c: Likewise.
11698 * math/Makefile (libm-calls): Add w_scalbln.
11699 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11700 Remove weak_alias for corresponding scalbln function.
11701 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11702 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11703 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11704 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11705 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11706 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11707 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11708 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11709 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11710 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11711 Remove long_double_symbol for scalblnl function in libm, libc.
11712 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11713 Add wrapper which checks for setting errno to ERANGE.
11714 Add long_double_symbol for scalblnl function in libm, libc.
11715 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11716 Remove long_double_symbol for scalblnl in libm.
11717 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11718 Add wrapper which checks for setting errno to ERANGE.
11719 Add long_double_symbol for scalblnl function in libm.
11720 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11721 Do not use wrapper because of own implementation.
11723 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11725 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11726 3 bytes for __pad1 for x32.
11727 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11729 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11730 H.J. Lu <hongjiu.lu@intel.com>
11732 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11733 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11734 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11735 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11736 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11738 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11741 * posix/regcomp.c (parse_expression): Deallocate partially
11742 constructed tree before returning error.
11743 * posix/Makefile.c (tests): Add bug-regex36.
11744 (generated): Add bug-regex36.mtrace.
11745 (tests-special): Add $(objpfx)bug-regex36-mem.out
11746 (bug-regex36-ENV): New variable.
11747 ($(objpfx)bug-regex36-mem.out): New rule.
11748 * posix/bug-regex36.c: New file.
11750 2014-06-19 Will Newton <will.newton@linaro.org>
11752 * malloc/malloc.c (systrim): If extra is zero then return
11755 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11757 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11759 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
11761 * sysdeps/aarch64/strchr.S: New file.
11763 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11766 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11767 from arguments -2 or below.
11768 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11769 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11771 2014-06-18 Andreas Schwab <schwab@suse.de>
11774 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11775 of a bracket expr not to run off the end of the string.
11776 * posix/Makefile (tests): Add tst-fnmatch3.
11777 * posix/tst-fnmatch3.c: New file.
11779 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11781 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11782 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11783 [$(cross-compiling) = no]: Likewise.
11784 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11785 [$(cross-compiling) = no]: Likewise.
11787 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11790 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11791 double, adjusted for any remainder from the high double.
11792 * math/libm-test.inc (nearbyint): Add tests.
11795 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11797 * nptl/sysdeps/powerpc/Makefile: Moved ...
11798 * sysdeps/powerpc/nptl/Makefile: ... here.
11799 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11800 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11801 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11802 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11803 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11804 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11805 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11806 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11807 * nptl/sysdeps/powerpc/tls.h: Moved ...
11808 * sysdeps/powerpc/nptl/tls.h: ... here.
11810 2014-06-16 Joseph Myers <joseph@codesourcery.com>
11813 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11814 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11815 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11816 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11817 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11818 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11819 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11820 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11821 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11823 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11825 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11827 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11829 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11832 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11835 2014-06-16 Florian Weimer <fweimer@redhat.com>
11838 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11839 non-executed part of the test.
11841 2014-06-16 Andreas Schwab <schwab@suse.de>
11843 * string/bits/string2.h (strdup, strndup): Update feature guard.
11845 2014-06-14 David S. Miller <davem@davemloft.net>
11847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11849 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11851 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11852 that was previously under [RESET_PID].
11853 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11855 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11856 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11857 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11858 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11859 (__libc_vfork): New strong alias.
11860 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11862 2014-06-14 Andi Kleen <ak@linux.intel.com>
11864 * sysdeps/generic/elide.h: New file.
11866 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11868 * Makefile (installed-headers): Adjust path of pthread.h header.
11870 2014-06-13 Roland McGrath <roland@hack.frob.com>
11872 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11873 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11874 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11875 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11877 * nptl/sysdeps/s390/Makefile: Moved ...
11878 * sysdeps/s390/nptl/Makefile: ... here.
11879 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11880 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11881 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11882 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11883 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11884 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11885 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11886 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11887 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11888 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11889 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11890 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11891 * nptl/sysdeps/s390/tls.h: Moved ...
11892 * sysdeps/s390/nptl/tls.h: ... here.
11894 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11895 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11897 2014-06-13 David S. Miller <davem@davemloft.net>
11899 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11901 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11902 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11903 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11905 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11906 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11907 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11908 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11909 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11910 Remove RESET_PID cpp guards.
11911 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11912 Remove RESET_PID cpp guards.
11913 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11915 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11917 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11920 2014-06-13 Andi Kleen <ak@linux.intel.com>
11922 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11923 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11924 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11925 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11926 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11927 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11928 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11929 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11930 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11931 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11932 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11933 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11934 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11935 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11936 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11937 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11938 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11939 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11940 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11941 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11943 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11944 (pthread_rwlock_rdlock): Add elision.
11945 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11946 (pthread_rwlock_wrlock): Add elision.
11947 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11948 (pthread_rwlock_trywrlock): Add elision.
11949 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11950 (pthread_rwlock_tryrdlock): Add elision.
11951 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11952 (pthread_rwlock_tryrdlock): Add elision unlock.
11953 * nptl/sysdeps/pthread/pthread.h:
11954 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11955 (PTHREAD_RWLOCK_INITIALIZER,
11956 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11957 Handle new elision field.
11958 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11959 * sysdeps/arm/nptl/bits/pthreadtypes.h
11960 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11961 * sysdeps/sh/nptl/bits/pthreadtypes.h
11962 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11963 * sysdeps/tile/nptl/bits/pthreadtypes.h
11964 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11965 * sysdeps/a/nptl/bits/pthreadtypes.h
11966 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11967 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11968 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11969 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11970 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11971 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11972 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11973 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11974 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11975 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11976 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11977 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11978 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11979 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11980 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11981 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11982 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11983 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11984 (elision_init): Set try_xbegin to zero when no RTM.
11985 * sysdeps/x86/nptl/bits/pthreadtypes.h
11986 (pthread_rwlock_t): Change __pad1 to __rwelision.
11987 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11989 2014-06-13 Andi Kleen <ak@linux.intel.com>
11991 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11992 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11993 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11994 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11996 2014-06-13 Meador Inge <meadori@codesourcery.com>
11999 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
12000 that the cached result has been set before returning it.
12002 2014-06-12 Roland McGrath <roland@hack.frob.com>
12004 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12005 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12006 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12007 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12008 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12009 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12011 * nptl/sysdeps/sparc/Makefile: Moved ...
12012 * sysdeps/sparc/nptl/Makefile: ... here.
12013 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12014 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12015 * nptl/sysdeps/sparc/tls.h: Moved ...
12016 * sysdeps/sparc/nptl/tls.h: ... here.
12017 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12018 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12019 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12020 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12021 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12022 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12023 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12024 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12025 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12026 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12027 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12028 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12029 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12030 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12031 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12032 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12033 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12034 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12036 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12037 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12039 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12040 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12042 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12046 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12048 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12049 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12051 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12052 (struct list_links): Type removed.
12053 (struct thread_node, struct timer_node): Replace struct list_links
12054 with struct list_head.
12055 (list_unlink_ip): Likewise.
12056 * sysdeps/pthread/timer_routines.c
12057 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12058 (list_append, list_insbefore): Likewise.
12059 (list_init): Function removed.
12060 (thread_init, init_module): Use INIT_LIST_HEAD instead.
12061 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12062 * sysdeps/pthread/Makefile: ... here, new file.
12064 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12065 * sysdeps/nptl/Implies: ... here.
12066 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12067 * nptl/sysdeps/pthread/list.h: Moved ...
12068 * include/list.h: ... here.
12069 * nptl/sysdeps/pthread/createthread.c: Moved ...
12070 * nptl/createthread.c: ... here.
12071 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12072 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12073 * nptl/pt-longjmp.c: ... here.
12074 * nptl/sysdeps/pthread/Makefile: Moved ...
12075 * sysdeps/nptl/Makefile: ... here.
12076 * nptl/sysdeps/pthread/Subdirs: Moved ...
12077 * sysdeps/nptl/Subdirs: ... here.
12078 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12079 * sysdeps/nptl/aio_misc.h: ... here.
12080 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12081 * sysdeps/nptl/bits/libc-lock.h: ... here.
12082 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12083 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12084 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12085 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12086 * nptl/sysdeps/pthread/configure: Moved ...
12087 * sysdeps/nptl/configure: ... here.
12088 * nptl/sysdeps/pthread/configure.ac: Moved ...
12089 * sysdeps/nptl/configure.ac: ... here.
12090 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12091 * sysdeps/nptl/gai_misc.h: ... here.
12092 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12093 * sysdeps/nptl/librt-cancellation.c: ... here.
12094 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12095 * sysdeps/nptl/malloc-machine.h: ... here.
12096 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12097 * sysdeps/nptl/pthread-functions.h: ... here.
12098 * nptl/sysdeps/pthread/pthread.h: Moved ...
12099 * sysdeps/nptl/pthread.h: ... here.
12100 * nptl/sysdeps/pthread/setxid.h: Moved ...
12101 * sysdeps/nptl/setxid.h: ... here.
12102 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12103 * sysdeps/nptl/sigfillset.c: ... here.
12104 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12105 * sysdeps/nptl/tcb-offsets.h: ... here.
12106 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12107 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12108 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12109 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12110 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12111 * sysdeps/pthread/allocalim.h: ... here.
12112 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12113 * sysdeps/pthread/bits/sigthread.h: ... here.
12114 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12115 * sysdeps/pthread/flockfile.c: ... here.
12116 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12117 * sysdeps/pthread/ftrylockfile.c: ... here.
12118 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12119 * sysdeps/pthread/funlockfile.c: ... here.
12120 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12121 * sysdeps/pthread/posix-timer.h: ... here.
12122 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12123 * sysdeps/pthread/timer_create.c: ... here.
12124 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12125 * sysdeps/pthread/timer_delete.c: ... here.
12126 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12127 * sysdeps/pthread/timer_getoverr.c: ... here.
12128 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12129 * sysdeps/pthread/timer_gettime.c: ... here.
12130 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12131 * sysdeps/pthread/timer_routines.c: ... here.
12132 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12133 * sysdeps/pthread/timer_settime.c: ... here.
12134 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12135 * sysdeps/pthread/tst-timer.c: ... here.
12136 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12137 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12139 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12140 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12142 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12143 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12144 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12145 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12146 Update #include target.
12147 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12148 * sysdeps/i386/i686/nptl/Makefile: ... here.
12149 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12150 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12151 Update #include target.
12152 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12153 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12154 * nptl/sysdeps/i386/Makefile: Moved ...
12155 * sysdeps/i386/nptl/Makefile: ... here.
12156 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12157 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12158 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12159 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12160 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12161 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12162 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12163 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12164 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12165 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12166 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12167 * nptl/sysdeps/i386/tls.h: Moved ...
12168 * sysdeps/i386/nptl/tls.h: ... here.
12170 * sysdeps/sh/Makefile [$(subdir) = csu]
12171 (gen-as-const-headers): Add tcb-offsets.sym.
12172 * nptl/sysdeps/sh/Makefile: File removed.
12173 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12174 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12175 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12176 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12177 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12178 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12179 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12180 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12181 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12182 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12183 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12184 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12185 * nptl/sysdeps/sh/tls.h: Moved ...
12186 * sysdeps/sh/nptl/tls.h: ... here.
12187 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12188 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12189 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12190 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12191 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12192 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12193 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12194 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12195 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12196 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12197 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12198 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12199 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12200 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12201 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12202 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12203 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12204 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12205 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12206 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12207 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12208 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12209 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12210 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12211 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12213 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12214 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12216 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12217 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12218 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12219 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12220 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12221 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12222 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12223 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12224 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12225 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12226 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12227 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12228 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12229 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12230 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12231 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12232 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12233 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12234 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12236 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12238 * posix/spawn_faction_addopen.c: Include string.h.
12240 2014-06-11 Roland McGrath <roland@hack.frob.com>
12242 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12243 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12244 * nptl/sysdeps/x86_64/Makefile: Moved ...
12245 * sysdeps/x86_64/nptl/Makefile: ... here.
12246 * nptl/sysdeps/x86_64/configure: Moved ...
12247 * sysdeps/x86_64/nptl/configure: ... here.
12248 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12249 * sysdeps/x86_64/nptl/configure.ac: ... here.
12250 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12251 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12252 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12253 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12254 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12255 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12256 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12257 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12258 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12259 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12260 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12261 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12262 * nptl/sysdeps/x86_64/tls.h: Moved ...
12263 * sysdeps/x86_64/nptl/tls.h: ... here.
12264 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12265 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12266 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12267 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12269 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12271 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12275 2014-06-11 Joseph Myers <joseph@codesourcery.com>
12277 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12279 [POSIX] (off_t): Likewise.
12280 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12281 [POSIX] (S_ISBLK): Require macro.
12282 [POSIX] (S_ISCHR): Likewise.
12283 [POSIX] (S_ISDIR): Likewise.
12284 [POSIX] (S_ISFIFO): Likewise.
12285 [POSIX] (S_ISREG): Likewise.
12286 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12288 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12290 [POSIX] (time_t): Likewise.
12291 [POSIX] (timer_t): Likewise.
12293 2014-06-11 Florian Weimer <fweimer@redhat.com>
12296 * posix/spawn_int.h (struct __spawn_action): Make the path string
12297 non-const to support deallocation.
12298 * posix/spawn_faction_addopen.c
12299 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12300 * posix/spawn_faction_destroy.c
12301 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12302 path in all spawn_do_open actions.
12303 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12304 posix_spawn_file_actions_addopen.
12306 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12308 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12309 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12310 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12311 conditional code always true.
12312 (__libc_vfork): New alias.
12314 2014-06-11 Roland McGrath <roland@hack.frob.com>
12316 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12317 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12319 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12321 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12322 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12324 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12325 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12327 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12328 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12330 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12332 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12333 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12334 multiarch strcmp for PPC64.
12335 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12336 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12338 multiarch optimizations.
12339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12340 (__libc_ifunc_impl_list): Likewise.
12342 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12344 * benchtests/scripts/validate_benchout.py: New script.
12345 * benchtests/Makefile (bench-func): Call it.
12346 * benchtests/scripts/benchout.schema.json: New file.
12348 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12350 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12351 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12352 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12353 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12354 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12355 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12356 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12357 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12358 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12359 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12360 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12361 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12362 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12363 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12364 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12365 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
12383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
12386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
12388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
12390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
12392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
12394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
12397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
12399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12469 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12470 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12471 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12472 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12473 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12475 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12477 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12478 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12479 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12480 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12481 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12482 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12483 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12484 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12485 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12486 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12487 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12488 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12489 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12491 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12492 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12494 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12495 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12496 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12497 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12499 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12500 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12501 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12502 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12503 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12504 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12505 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12507 2014-06-10 Wilco <wdijkstr@arm.com>
12509 * math/test-fenv-return.c: New file.
12510 * math/Makefile: Add new test test-fenv-return.
12512 2014-06-10 Joseph Myers <joseph@codesourcery.com>
12515 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12516 when x - 1 is zero.
12517 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12518 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12519 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12520 0.0L for an argument of 1.0L.
12521 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12523 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12524 value when x - 1 is zero.
12525 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12526 * sysdeps/i386/fpu/libm-test-ulps: Update.
12527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12529 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12532 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12534 2014-06-09 Roland McGrath <roland@hack.frob.com>
12536 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12537 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12539 2014-06-09 Roland McGrath <roland@hack.frob.com>
12541 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12542 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12544 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12545 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12547 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12548 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12550 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12551 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12553 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12554 if not already defined.
12555 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12556 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12557 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12558 (TLS_INIT_TP): Use it.
12559 (TLS_DEFINE_INIT_TP): New macro.
12560 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12562 2014-06-09 Joseph Myers <joseph@codesourcery.com>
12564 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12566 [POSIX] (IXANY): Likewise.
12567 [POSIX] (OLCUC): Likewise.
12568 [POSIX || POSIX2008] (CBAUD): Do not allow.
12569 [POSIX || POSIX2008] (DEFECHO): Likewise.
12570 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12571 [POSIX || POSIX2008] (ECHOKE): Likewise.
12572 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12573 [POSIX || POSIX2008] (EXTA): Likewise.
12574 [POSIX || POSIX2008] (EXTB): Likewise.
12575 [POSIX || POSIX2008] (FLUSHO): Likewise.
12576 [POSIX || POSIX2008] (LOBLK): Likewise.
12577 [POSIX || POSIX2008] (PENDIN): Likewise.
12578 [POSIX || POSIX2008] (SWTCH): Likewise.
12579 [POSIX || POSIX2008] (VDISCARD): Likewise.
12580 [POSIX || POSIX2008] (VDSUSP): Likewise.
12581 [POSIX || POSIX2008] (VLNEXT): Likewise.
12582 [POSIX || POSIX2008] (VREPRINT): Likewise.
12583 [POSIX || POSIX2008] (VSTATUS): Likewise.
12584 [POSIX || POSIX2008] (VWERASE): Likewise.
12585 (B*): Change to B[0123456789]*.
12586 * conform/data/time.h-data [POSIX || UNIX98]
12587 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12588 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12589 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12590 [POSIX] (tm_*): Do not allow.
12592 2014-06-07 Joseph Myers <joseph@codesourcery.com>
12594 * Makefile (install): Don't set LANGUAGE.
12595 * Makefile.in (install): Likewise.
12596 * assert/Makefile (test-assert-ENV): Remove variable.
12597 (test-assert-perr-ENV): Likewise.
12598 * elf/Makefile (neededtest4-ENV): Likewise.
12599 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12600 [$(cross-compiling) = no]: Don't set LANGUAGE.
12601 * io/ftwtest-sh (LANG): Remove variable.
12602 * libio/Makefile (tst-widetext-ENV): Likewise.
12603 * manual/install.texi (Running make install): Don't refer to
12604 environment settings for make install.
12605 * INSTALL: Regenerated.
12606 * nptl/tst-tls6.sh: Don't set LANG.
12607 * posix/globtest.sh (LANG): Remove variable.
12608 * string/Makefile (tester-ENV): Likewise.
12609 (inl-tester-ENV): Likewise.
12610 (noinl-tester-ENV): Likewise.
12611 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12612 [$(cross-compiling) = no]: Don't set LANGUAGE.
12613 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12614 without explicit environment settings.
12616 2014-06-06 Roland McGrath <roland@hack.frob.com>
12618 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12619 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12620 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12621 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12623 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12625 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12626 other files in the crypt directory.
12627 * crypt/crypt.c: Remove duplicate includes.
12628 * crypt/crypt-entry.c: Likewise.
12629 * crypt/crypt_util.c: Likewise.
12631 2014-06-06 Joseph Myers <joseph@codesourcery.com>
12633 * Makeconfig (run-program-env): New variable.
12634 (run-program-prefix-before-env): Likewise.
12635 (run-program-prefix-after-env): Likewise.
12636 (run-program-prefix): Define in terms of new variables.
12637 (built-program-cmd-before-env): New variable.
12638 (built-program-cmd-after-env): Likewise.
12639 (built-program-cmd): Define in terms of new variables.
12640 (test-program-prefix-before-env): New variable.
12641 (test-program-prefix-after-env): Likewise.
12642 (test-program-prefix): Define in terms of new variables.
12643 (test-program-cmd-before-env): New variable.
12644 (test-program-cmd-after-env): Likewise.
12645 (test-program-cmd): Define in terms of new variables.
12646 * Rules (make-test-out): Use $(run-program-env).
12647 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12648 (help): Do not mention environment variables. Mention
12649 --timeoutfactor option.
12650 (timeoutfactor): New variable.
12651 (blacklist_exports): Remove function.
12652 (exports): Remove variable.
12653 (command): Do not include ${exports}.
12654 * manual/install.texi (Configuring and compiling): Do not mention
12655 test wrappers preserving environment variables. Mention that last
12656 assignment to a variable must take precedence.
12657 * INSTALL: Regenerated.
12658 * benchtests/Makefile (run-bench): Use $(run-program-env).
12659 * catgets/Makefile ($(objpfx)test1.cat): Use
12660 $(built-program-cmd-before-env), $(run-program-env) and
12661 $(built-program-cmd-after-env).
12662 ($(objpfx)test2.cat): Do not specify environment variables
12664 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12665 $(run-program-env) and $(built-program-cmd-after-env).
12666 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12667 $(run-program-env) and $(test-program-cmd-after-env).
12668 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12670 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12671 run_program_env and test_program_cmd_after_env arguments.
12672 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12673 * elf/tst-pathopt.sh: Use run_program_env argument.
12674 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12675 $(test-wrapper-env) and $(run-program-env).
12676 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12677 run_program_env arguments.
12678 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12679 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12680 $(test-program-prefix-before-env), $(run-program-env) and
12681 $(test-program-prefix-after-env).
12682 ($(objpfx)tst-gettext2.out): Likewise.
12683 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12684 run_program_env and test_program_prefix_after_env arguments.
12685 * intl/tst-gettext2.sh: Likewise.
12686 * intl/tst-gettext4.sh: Do not set environment variables
12688 * intl/tst-gettext6.sh: Likewise.
12689 * intl/tst-translit.sh: Likewise.
12690 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12691 $(test-program-prefix-before-env), $(run-program-env) and
12692 $(test-program-prefix-after-env).
12693 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12694 run_program_env and test_program_prefix_after_env arguments.
12695 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12696 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12697 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12698 explicitly with each use of ${test_wrapper_env}.
12699 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12700 $(test-program-prefix-before-env), $(run-program-env) and
12701 $(test-program-prefix-after-env).
12702 * posix/tst-getconf.sh: Do not set environment variables
12704 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12705 run_program_env and test_program_prefix_after_env arguments.
12706 * stdio-common/tst-printf.sh: Do not set environment variables
12708 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12709 $(test-program-prefix-before-env), $(run-program-env) and
12710 $(test-program-prefix-after-env).
12711 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12712 run_program_env and test_program_prefix_after_env arguments.
12713 Split $test calls into $test_pre and $test.
12714 * timezone/Makefile (build-testdata): Use
12715 $(built-program-cmd-before-env), $(run-program-env) and
12716 $(built-program-cmd-after-env).
12718 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12720 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12721 strlen for non SHARED builds.
12723 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12725 * nptl/allocatestack.c (check_list): Inlined function...
12726 (__reclaim_stacks): ... here.
12728 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12731 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12734 2014-06-05 Joseph Myers <joseph@codesourcery.com>
12736 * Rules (make-test-out): Include
12737 LOCPATH=$(common-objpfx)localedata in default environment.
12738 * debug/Makefile (tst-chk1-ENV): Remove variable.
12739 (tst-chk2-ENV): Likewise.
12740 (tst-chk3-ENV): Likewise.
12741 (tst-chk4-ENV): Likewise.
12742 (tst-chk5-ENV): Likewise.
12743 (tst-chk6-ENV): Likewise.
12744 (tst-lfschk1-ENV): Likewise.
12745 (tst-lfschk2-ENV): Likewise.
12746 (tst-lfschk3-ENV): Likewise.
12747 (tst-lfschk4-ENV): Likewise.
12748 (tst-lfschk5-ENV): Likewise.
12749 (tst-lfschk6-ENV): Likewise.
12750 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12751 (tst-iconv7-ENV): Likewise.
12752 * intl/Makefile (LOCPATH-ENV): Likewise.
12753 (tst-codeset-ENV): Likewise.
12754 (tst-gettext3-ENV): Likewise.
12755 (tst-gettext5-ENV): Likewise.
12756 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12757 (tst-fopenloc-ENV): Likewise.
12758 (tst-fgetws-ENV): Remove variable.
12759 (tst-ungetwc1-ENV): Likewise.
12760 (tst-ungetwc2-ENV): Likewise.
12761 (bug-ungetwc2-ENV): Likewise.
12762 (tst-swscanf-ENV): Likewise.
12763 (bug-ftell-ENV): Likewise.
12764 (tst-fgetwc-ENV): Likewise.
12765 (tst-fseek-ENV): Likewise.
12766 (tst-ftell-partial-wide-ENV): Likewise.
12767 (tst-ftell-active-handler-ENV): Likewise.
12768 (tst-ftell-append-ENV): Likewise.
12769 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12770 (tst-regexloc-ENV): Likewise.
12771 (bug-regex1-ENV): Likewise.
12772 (tst-regex-ENV): Likewise.
12773 (tst-regex2-ENV): Likewise.
12774 (bug-regex5-ENV): Likewise.
12775 (bug-regex6-ENV): Likewise.
12776 (bug-regex17-ENV): Likewise.
12777 (bug-regex18-ENV): Likewise.
12778 (bug-regex19-ENV): Likewise.
12779 (bug-regex20-ENV): Likewise.
12780 (bug-regex22-ENV): Likewise.
12781 (bug-regex23-ENV): Likewise.
12782 (bug-regex25-ENV): Likewise.
12783 (bug-regex26-ENV): Likewise.
12784 (bug-regex30-ENV): Likewise.
12785 (bug-regex32-ENV): Likewise.
12786 (bug-regex33-ENV): Likewise.
12787 (bug-regex34-ENV): Likewise.
12788 (bug-regex35-ENV): Likewise.
12789 (tst-rxspencer-ENV): Likewise.
12790 (tst-rxspencer-no-utf8-ENV): Likewise.
12791 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12792 (tst-sscanf-ENV): Likewise.
12793 (tst-swprintf-ENV): Likewise.
12794 (tst-swscanf-ENV): Likewise.
12795 (test-vfprintf-ENV): Likewise.
12796 (scanf13-ENV): Likewise.
12797 (bug14-ENV): Likewise.
12798 (tst-grouping-ENV): Likewise.
12799 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12800 (tst-strtod3-ENV): Likewise.
12801 (tst-strtod4-ENV): Likewise.
12802 (tst-strtod5-ENV): Likewise.
12803 (testmb2-ENV): Likewise./
12804 * string/Makefile (tst-strxfrm-ENV): Likewise.
12805 (tst-strxfrm2-ENV): Likewise.
12806 (bug-strcoll1-ENV): Likewise.
12807 (test-strcasecmp-ENV): Likewise.
12808 (test-strncasecmp-ENV): Likewise.
12809 * time/Makefile (tst-strptime-ENV): Likewise.
12810 (tst-ftime_l-ENV): Likewise.
12811 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12812 (tst-mbrtowc-ENV): Likewise.
12813 (tst-wcrtomb-ENV): Likewise.
12814 (tst-mbrtowc2-ENV): Likewise.
12815 (tst-c16c32-1-ENV): Likewise.
12816 (tst-mbsnrtowcs-ENV): Likewise.
12818 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12820 * manual/resource.texi (How to get information about the memory
12821 subsystem?): Fix typo.
12822 Reported by Peon de la Parra Ivan <peon@keba.com>
12824 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12827 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12828 (pthread_spin_lock): Branch out of spin loop to proper location.
12829 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12830 (pthread_spin_lock): Likewise.
12832 * nptl/tst-spin4.c: New test.
12833 * nptl/Makefile (tests): Add tst-spin4.
12835 2014-06-03 Andreas Schwab <schwab@suse.de>
12838 * resolv/res_send.c (send_dg): Reload file descriptor after
12841 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12843 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12845 2014-06-03 Richard Henderson <rth@redhat.com>
12847 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12848 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12849 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12850 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12851 in the SAVE_PID block.
12852 (__libc_vfork): New alias.
12853 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12855 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12856 child in registers, not on the stack. Remove RESET_PID conditionals.
12857 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12859 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12861 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12863 2014-06-03 Wilco <wdijkstr@arm.com>
12865 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12866 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12867 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12868 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12869 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12872 2014-06-03 Wilco <wdijkstr@arm.com>
12874 * sysdeps/aarch64/fpu/math_private.h
12875 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12876 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12877 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12878 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12881 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12883 * crypt/crypt-private.h: Include ufc-crypt.h.
12884 (__b64_from_24bit): Declare extern.
12885 * crypt/crypt_util.c(__b64_from_24bit): New function.
12886 (b64t): New static const variable.
12887 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12888 (b64t): Remove variable.
12889 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12890 * crypt/sha256-crypt.c: Include crypt-private.h.
12891 (b64t): Remove variable.
12892 (__sha256_crypt_r): Remove b64_from_24bit and replace
12893 with __b64_from_24bit.
12894 * crypt/sha512-crypt.c: Likewise.
12896 2014-06-02 Roland McGrath <roland@hack.frob.com>
12898 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12899 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12900 Label the code __libc_vfork rather than __vfork.
12901 [!NOT_IN_libc] (vfork): Define as weak alias.
12902 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12903 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12904 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12906 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12908 * malloc/malloc.c (malloc_info): Fix format specifier for
12911 2014-06-02 Wilco <wdijkstr@arm.com>
12913 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12916 2014-06-02 Wilco <wdijkstr@arm.com>
12919 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12920 Rewrite to reduce FPCR/FPSR accesses.
12922 2014-06-01 David S. Miller <davem@davemloft.net>
12924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12926 2014-05-31 David S. Miller <davem@davemloft.net>
12928 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12929 to occur in round to nearest mode when |x| >= 2.0
12931 2014-05-30 Richard Henderson <rth@twiddle.net>
12933 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12934 (PSEUDO_RET_NOERRNO): Remove.
12935 (ret): Don't redefine.
12936 (ret_NOERRNO): Define in terms of ret.
12937 (ret_ERRVAL): Likewise.
12939 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12940 use of PSEUDO_RET; perform the error check directly.
12942 2014-05-30 Marko Myllynen <myllynen@redhat.com>
12944 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12947 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12949 * malloc/malloc (malloc_info): Fix formatting.
12951 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12952 Roland McGrath <roland@hack.frob.com>
12954 * malloc/malloc (malloc_info): Also print mmapped statistics.
12956 2014-05-30 Roland McGrath <roland@hack.frob.com>
12958 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12959 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12961 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
12963 * malloc/malloc.c (malloc_info): Inline mi_arena.
12965 2014-05-29 Richard Henderson <rth@twiddle.net>
12967 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12968 Remove comma before expanding ASM_ARGS_##nr.
12969 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12970 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12972 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12973 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12974 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12975 (ASM_ARGS_1): Add leading comma.
12977 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12978 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12979 to __errno_location.
12980 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12981 Remove the expected plt for __errno_location.
12983 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12984 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12987 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12988 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12989 it and break it down.
12990 (DOCARGS_0, DOCARGS_1): Do nothing.
12991 (DOCARGS_2): Update to store into the new stack frame.
12992 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12993 (UNDOCARGS_1): Update to restore from the new stack frame.
12994 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12995 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12997 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12998 (SINGLE_THREAD_P): New parameter for result regno.
12999 (PSEUDO): Update to match; use cbz instead of beq.
13001 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13002 Use ENTRY to define the _nocancel entry point. Share the syscall
13003 and syscall error check paths with the cancel path.
13006 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13007 whitespace; tabs before and after asm mnemonics.
13009 2014-05-29 Eric Wong <normalperson@yhbt.net>
13012 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13013 Call fstat64 or stat64 internally, depending on arguments passed.
13014 Replace stat buffer argument with file descriptor argument.
13015 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13016 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13017 Pass fd to __internal_statvfs instead of calling fstat64.
13018 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13019 Pass fd to __internal_statvfs64 instead of calling fstat64.
13020 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13021 Pass -1 to __internal_statvfs instead of calling stat64.
13022 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13023 Pass -1 to __internal_statvfs64 instead of calling stat64.
13025 2014-05-28 Roland McGrath <roland@hack.frob.com>
13027 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13028 that was previously under [RESET_PID].
13029 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13031 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13032 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13034 2014-05-27 Roland McGrath <roland@hack.frob.com>
13036 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13038 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13039 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13041 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
13043 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13045 2014-05-27 Andreas Schwab <schwab@suse.de>
13047 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13049 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13050 * elf/rtld.c (init_tls, dl_main): Likewise.
13051 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13052 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13053 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13054 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13055 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13056 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13057 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13058 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13059 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13060 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13061 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13062 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13063 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13064 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13065 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13066 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13067 * sysdeps/generic/tls.h: Update description.
13069 2014-05-27 Will Newton <will.newton@linaro.org>
13072 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13073 and restore r2 rather than just restoring.
13075 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13078 * libio/tst-ftell-append.c: New test case.
13079 * libio/Makefile (tests): Add test case.
13080 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13082 * libio/wfileops.c (do_ftell_wide): Likewise.
13084 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13086 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13088 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13092 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13093 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13094 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13095 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13096 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13097 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13098 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13101 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13104 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13105 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13106 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13107 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13108 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13110 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13111 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13113 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13115 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13117 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13118 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13119 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13121 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13122 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13123 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13124 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13126 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13129 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13132 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13135 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13139 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13142 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13147 conditional [RESET_PID].
13148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13149 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13151 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13156 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13157 (__libc_vfork): New strong alias.
13158 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13160 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13165 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13166 (__libc_vfork): New strong alias.
13167 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13169 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13172 2014-05-26 Carlos O'Donell <carlos@redhat.com>
13174 * malloc/malloc.c (mi_arena): New function.
13175 (malloc_info): Remove nested function mi_arena. Call non-nosted
13178 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13180 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13182 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13183 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13184 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13185 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13186 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13187 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13188 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13190 2014-05-26 Andreas Schwab <schwab@suse.de>
13193 * locale/programs/repertoire.c (repertoire_read): Add slash
13194 between I18NPATH element and file name.
13195 * locale/programs/locfile.c (locfile_read): Likewise.
13197 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13199 * nptl/pthread_mutexattr_settype.c
13200 (__pthread_mutexattr_settype):
13201 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13203 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13205 * nptl/tst-mutex5 (do_test):
13206 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13208 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13210 * benchtests/README: Document 'init' directive.
13211 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13213 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13214 (parse_file): Recognize 'init' directive.
13216 2014-05-26 Kyle McMartin <kyle@redhat.com>
13219 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13220 alignment of struct pthread.
13222 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13225 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13226 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13227 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13228 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13230 2014-05-25 Richard Henderson <rth@twiddle.net>
13232 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13233 (SINGLE_THREAD_P_PIC): Remove.
13234 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13235 (SINGLE_THREAD_P_PIC): Remove.
13237 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13238 branch to syscall error ...
13239 (PSEUDO): ... here.
13240 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13241 from __local_syscall_error to .Lsyscall_error.
13242 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13243 (SYSCALL_ERROR): Update label name.
13245 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13246 Do not use DOARGS/UNDOARGS.
13247 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13248 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13249 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13250 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13251 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13253 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13256 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13257 define if !NOT_IN_libc.
13258 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13259 define with non-default symbol versions.
13261 2014-05-23 Richard Henderson <rth@twiddle.net>
13263 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13264 (vfork, __vfork): Define via compat_symbol.
13266 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13267 [!HAVE_IFUNC] (vfork_compat): Remove.
13268 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13270 2014-05-23 Joseph Myers <joseph@codesourcery.com>
13273 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13274 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13277 2014-05-23 Richard Henderson <rth@twiddle.net>
13279 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13280 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13281 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13282 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13284 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13285 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13286 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13287 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13288 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13289 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13290 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13291 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13292 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13293 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13294 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13295 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13296 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13297 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13298 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13299 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13300 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13301 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13302 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13303 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13304 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13305 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13306 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13307 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13308 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13309 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13310 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13311 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13312 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13313 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13314 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13315 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13316 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13317 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13318 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13319 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13320 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13321 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13322 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13323 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13324 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13325 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13326 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13327 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13328 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13329 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13330 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13331 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13332 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13333 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13334 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13335 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13336 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13337 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13338 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13339 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13341 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13342 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13343 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13344 before exiting on error.
13345 (__libc_vfork): New strong alias.
13346 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13347 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13349 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13350 that was previously under [RESET_PID].
13351 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13353 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13355 2014-05-23 Joseph Myers <joseph@codesourcery.com>
13358 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13359 value when x - 1 is zero.
13360 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13361 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13362 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13363 0.0L for an argument of 1.0L.
13364 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13366 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13367 value when x - 1 is zero.
13368 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13369 * sysdeps/i386/fpu/libm-test-ulps: Update.
13370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13372 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13374 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13375 alphasort and versionsort.
13377 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13379 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13381 [copysignf]: Likewise.
13383 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13385 * crypt/md5-crypt.c: Fix formatting.
13387 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13389 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13390 (b64_from_24bit): New function.
13392 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13394 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13395 libc_hidden_builtin_def to ifunc.
13396 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13397 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13399 2014-05-21 Roland McGrath <roland@hack.frob.com>
13401 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13402 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13404 2014-05-21 Joseph Myers <joseph@codesourcery.com>
13406 * nscd/Depend (linuxthreads): Remove.
13408 * resolv/Depend (linuxthreads): Remove.
13409 * rt/Depend (linuxthreads): Remove.
13411 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13412 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13413 $(common-objpfx)elf/.
13414 (link-libc-before-gnulib): Likewise.
13415 (elfobjdir): Remove variable.
13416 * Makefile (install): Use $(elf-objpfx) instead of
13417 $(common-objpfx)elf/.
13418 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13420 (link-libc-deps): Likewise.
13421 ($(common-objpfx)libc.so): Likewise.
13422 ($(common-objpfx)linkobj/libc.so): Likewise.
13423 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13424 instead of $(common-objpfx)elf/.
13425 (symbolic-link-list): Likewise.
13426 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13427 [$(cross-compiling) = no]: Likewise.
13428 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13430 (static-gnulib-arch): Likewise.
13431 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13432 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13433 $(common-objpfx)elf/.
13435 2014-05-21 Richard Henderson <rth@redhat.com>
13437 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13438 (SINGLE_THREAD_P): Use the correct width load. Fold
13439 into the ldr offset.
13441 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13442 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13444 2014-05-20 Joseph Myers <joseph@codesourcery.com>
13446 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13447 (libgcc_s_resume): Use __attribute_used__.
13448 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13451 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13453 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13454 optimization when used with float constants.
13456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13458 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13461 * locale/nl_langinfo_l.c: Make direct reference to every
13462 _nl_current_CATEGORY symbol.
13463 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13464 (tests-static): Add tst-langinfo-static.
13465 (tests-special): Add tst-langinfo-static.out.
13466 ($(objpfx)tst-langinfo.out): Redirect output.
13467 ($(objpfx)tst-langinfo-static.out): New.
13468 * localedata/tst-langinfo.sh: Send output to stdout.
13469 * localedata/tst-langinfo-static.c: New file.
13472 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13473 when the shift amount is modulo the limb size.
13475 2014-05-20 Richard Henderson <rth@redhat.com>
13478 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13479 Change type of sa_flags from unsigned int to int.
13482 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13484 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13486 2014-05-20 Will Newton <will.newton@linaro.org>
13488 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13489 Test the return value of the system call in the nocancel case.
13491 2014-05-20 Will Newton <will.newton@linaro.org>
13492 Yvan Roux <yvan.roux@linaro.org>
13494 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13495 #include of asm/ptrace.h.
13496 (PTRACE_GET_THREAD_AREA): Remove #undef.
13497 (PTRACE_GETHBPREGS): Likewise.
13498 (PTRACE_SETHBPREGS): Likewise.
13499 (struct user_regs_struct): New structure.
13500 (struct user_fpsimd_struct): New structure.
13501 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13502 #include of asm/ptrace.h and second #include of sys/user.h.
13503 (PTRACE_GET_THREAD_AREA): Remove #undef.
13504 (PTRACE_GETHBPREGS): Likewise.
13505 (PTRACE_SETHBPREGS): Likewise.
13506 (ELF_NGREG): Use new struct user_regs_struct.
13507 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13509 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13511 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13512 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13514 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13517 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13518 membar to avoid block loads/stores to overlap previous stores.
13520 2014-05-17 Richard Henderson <rth@redhat.com>
13522 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13523 Create the __##syscall_name##_nocancel entry point.
13524 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13525 Remove; let the sysdep-cancel.h code create it.
13527 2014-05-17 David S. Miller <davem@davemloft.net>
13529 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13530 Protect with __USE_GNU.
13531 (TIOCSET_TEMPT): Likewise.
13532 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13533 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13534 these are already provided in bits/ioctl-types.h
13536 2014-05-16 Roland McGrath <roland@hack.frob.com>
13538 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13539 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13541 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13542 Use wait4 regardless of [__NR_waitpid].
13544 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13547 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13548 (_FP_NANSIGN_Q): Set the quiet bit.
13550 2014-05-16 Joseph Myers <joseph@codesourcery.com>
13552 * benchtests/Makefile
13553 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13554 not $(common-objpfx)math/libm.so.
13555 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13556 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13557 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13558 $(common-objpfx)dlfcn/libdl.so.
13559 ($(objpfx)tst-audit8): Depend on $(libm), not
13560 $(common-objpfx)math/libm.so.
13561 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13562 not $(common-objpfx)dlfcn/libdl.so.
13564 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13565 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13566 [$(build-shared) = yes].
13567 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13568 $(common-objpfx)nptl/libpthread.so.
13569 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13570 $(common-objpfx)math/libm.so$(libm.so-version) or
13571 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13572 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13573 $(common-objpfx)dlfcn/libdl.so.
13574 * setjmp/Makefile (link-libm): Remove variable.
13575 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13576 * stdio-common/Makefile (link-libm): Remove variable.
13577 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13578 * stdlib/Makefile (link-libm): Remove variable.
13579 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13580 ($(objpfx)tst-strtod-round): Likewise.
13581 ($(objpfx)tst-tininess): Likewise.
13582 ($(objpfx)tst-strtod-underflow): Likewise.
13583 ($(objpfx)tst-strtod6): Likewise.
13584 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13585 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13586 $(common-objpfx)dlfcn/libdl.so.
13588 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13590 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13591 BSD terminal modes definitions.
13593 2014-05-16 Roland McGrath <roland@hack.frob.com>
13595 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13596 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13598 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13599 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13600 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13601 Don't do #include_next.
13602 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13603 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13604 Don't do #include_next.
13605 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13606 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13607 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13608 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13610 2014-05-16 Allan McRae <allan@archlinux.org>
13612 * po/sv.po: Update Swedish translation from translation project.
13614 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13617 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13620 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13621 errno if the TIOCGPTN ioctl fails with an error different than
13623 * login/tst-ptsname.c: New file.
13624 * login/Makefile (tests): Add tst-ptsname.
13627 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13630 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13634 herrno to return EAI_AGAIN.
13636 2014-05-14 Roland McGrath <roland@hack.frob.com>
13638 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13639 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13640 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13641 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13642 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13643 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13644 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13645 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13646 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13647 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13648 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13649 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13650 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13651 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13652 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13653 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13654 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13655 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13656 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13657 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13658 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13659 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13660 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13661 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13662 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13663 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13664 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13665 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13666 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13667 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13669 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13671 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13674 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13676 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13678 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13680 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13682 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13684 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13686 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13688 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13690 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13692 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13694 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13696 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13698 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13700 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13703 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13705 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13707 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13709 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13711 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13713 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13715 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13717 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13719 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13721 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13724 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13726 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13728 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13729 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13730 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13731 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13732 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13733 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13734 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13735 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13736 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13737 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13738 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13739 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13740 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13741 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13742 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13743 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13744 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13745 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13746 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13747 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13748 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13749 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13750 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13751 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13752 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13753 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13754 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13755 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13756 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13757 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13758 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13760 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13761 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13763 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13764 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13765 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13766 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13767 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13768 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13770 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13771 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13773 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13774 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13776 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13777 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13779 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13780 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13781 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13782 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13784 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13785 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13786 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13787 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13788 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13789 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13790 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13791 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13793 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13794 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13796 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13798 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13799 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13800 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13801 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13802 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13804 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13806 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13808 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13809 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13810 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13811 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13812 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13813 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13815 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13816 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13818 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13819 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13821 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13822 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13824 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13825 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13826 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13827 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13829 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13830 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13831 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13832 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13833 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13834 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13835 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13836 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13838 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13839 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13841 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13843 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13844 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13845 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13846 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13847 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13849 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13851 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13853 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13854 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13855 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13856 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13857 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13858 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13859 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13860 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13861 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13862 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13864 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13865 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13867 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13868 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13870 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13871 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13873 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13874 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13875 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13876 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13877 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13878 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13880 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13881 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13882 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13883 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13884 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13885 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13886 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13887 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13889 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13890 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13892 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13894 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13895 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13896 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13897 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13898 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13900 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13902 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13904 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13905 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13906 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13907 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13908 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13909 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13910 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13911 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13912 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13913 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13914 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13916 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13917 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13919 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13920 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13922 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13923 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13924 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13925 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13926 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13927 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13928 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13929 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13930 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13931 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13932 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13933 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13934 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13935 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13936 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13937 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13938 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13939 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13941 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13942 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13943 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13944 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13946 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13947 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13948 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13949 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13950 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13951 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13952 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13953 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13955 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13956 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13958 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13959 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13960 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13961 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13962 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13963 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13964 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13965 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13966 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13967 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13968 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13969 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13970 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13971 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13972 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13973 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13974 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13976 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13977 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13978 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13979 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13980 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13982 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13983 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13984 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13985 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13986 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13987 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13988 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13989 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13990 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13991 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13993 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13994 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13996 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13997 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13998 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13999 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14000 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14001 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14002 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14003 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14004 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14005 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14006 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14007 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14008 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14009 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14010 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14012 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14014 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14016 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14018 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14022 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14028 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14030 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14031 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14032 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14033 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14034 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
14035 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14036 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14037 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14038 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14039 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14040 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14041 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14042 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14043 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14044 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
14046 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14047 that was previously under [RESET_PID].
14048 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14049 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14050 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14052 * sysdeps/i386/nptl/Implies: New file.
14053 * sysdeps/x86_64/nptl/Implies: New file.
14054 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14055 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14056 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14057 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14059 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14060 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14061 (__libc_vfork): New strong alias.
14062 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14063 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14065 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14066 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14067 (__libc_vfork): New strong alias.
14068 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14069 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14071 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14072 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14073 (__libc_vfork): New strong alias.
14074 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14075 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14076 * nptl/pt-vfork.c: New file.
14077 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14078 (libpthread: GLIBC_2.20): New version set (empty).
14080 2014-05-14 Will Newton <will.newton@linaro.org>
14082 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14085 2014-05-14 Joseph Myers <joseph@codesourcery.com>
14088 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14089 arguments with exponent 65 or above.
14090 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14091 arguments 0x1p113L or above.
14092 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14093 to arguments 0x1p107L or above.
14094 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14095 positive arguments with exponent 65 or above.
14096 * math/auto-libm-test-in: Add more tests of log1p.
14097 * math/auto-libm-test-out: Regenerated.
14100 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14101 non-finite arguments is +0.
14102 * math/s_cacosf.c (__cacosf): Likewise.
14103 * math/s_cacosl.c (__cacosl): Likewise.
14104 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14105 * sysdeps/i386/fpu/libm-test-ulps: Update.
14106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14109 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14111 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14112 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14113 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14114 for explicit high bit of mantissa when testing for argument equal
14116 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14117 * sysdeps/i386/fpu/libm-test-ulps: Update.
14118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14121 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14122 (__erf): Scale by 16 instead of 8 in potentially underflowing
14123 case. Ensure exception if result actually underflows.
14124 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14125 (__erff): Scale by 16 instead of 8 in potentially underflowing
14126 case. Ensure exception if result actually underflows.
14127 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14128 (efx8): Remove variable.
14129 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14130 case. Ensure exception if result actually underflows.
14131 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14132 (efx8): Remove variable.
14133 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14134 case. Ensure exception if result actually underflows.
14135 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14136 (efx8): Remove variable.
14137 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14138 case. Ensure exception if result actually underflows.
14139 * math/auto-libm-test-in: Add more tests of erf.
14140 * math/auto-libm-test-out: Regenerated.
14142 2014-05-14 Andreas Schwab <schwab@suse.de>
14144 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14145 Remove code conditionalized on USE___THREAD.
14147 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14148 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14151 2014-05-14 Joseph Myers <joseph@codesourcery.com>
14153 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14154 Define unconditionally.
14155 (__ASSUME_O_CLOEXEC): Likewise.
14156 (__ASSUME_SOCK_CLOEXEC): Likewise.
14157 (__ASSUME_IN_NONBLOCK): Likewise.
14158 (__ASSUME_PIPE2): Likewise.
14159 (__ASSUME_EVENTFD2): Likewise.
14160 (__ASSUME_SIGNALFD4): Likewise.
14161 (__ASSUME_DUP3): Likewise.
14162 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14163 (__ASSUME_DUP3): Do not define.
14164 (__ASSUME_EVENTFD2): Likewise.
14165 (__ASSUME_IN_NONBLOCK): Likewise.
14166 (__ASSUME_O_CLOEXEC): Likewise.
14167 (__ASSUME_PIPE2): Likewise.
14168 (__ASSUME_SIGNALFD4): Likewise.
14169 (__ASSUME_SOCK_CLOEXEC): Likewise.
14170 (__ASSUME_UTIMES): Undefine.
14171 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14172 (__ASSUME_UTIMES): Do not define.
14173 (__ASSUME_O_CLOEXEC): Likewise.
14174 (__ASSUME_SOCK_CLOEXEC): Likewise.
14175 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14176 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14178 (__ASSUME_PIPE2): Likewise.
14179 (__ASSUME_EVENTFD2): Likewise.
14180 (__ASSUME_SIGNALFD4): Likewise.
14181 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14182 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14184 (__ASSUME_EVENTFD2): Likewise.
14185 (__ASSUME_SIGNALFD4): Likewise.
14186 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14187 (__ASSUME_32BITUIDS): Likewise.
14188 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14189 (__ASSUME_IPC64): Likewise.
14190 (__ASSUME_ST_INO_64_BIT): Likewise.
14191 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14192 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14193 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14194 (__ASSUME_UTIMES): Do not define.
14195 (__ASSUME_PSELECT): Likewise.
14196 (__ASSUME_PPOLL): Likewise.
14197 (__ASSUME_O_CLOEXEC): Likewise.
14198 (__ASSUME_SOCK_CLOEXEC): Likewise.
14199 (__ASSUME_IN_NONBLOCK): Likewise.
14200 (__ASSUME_PIPE2): Likewise.
14201 (__ASSUME_EVENTFD2): Likewise.
14202 (__ASSUME_SIGNALFD4): Likewise.
14203 (__ASSUME_DUP3): Likewise.
14204 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14205 (__ASSUME_UTIMES): Likewise.
14206 (__ASSUME_O_CLOEXEC): Likewise.
14207 (__ASSUME_SOCK_CLOEXEC): Likewise.
14208 (__ASSUME_IN_NONBLOCK): Likewise.
14209 (__ASSUME_PIPE2): Likewise.
14210 (__ASSUME_EVENTFD2): Likewise.
14211 (__ASSUME_SIGNALFD4): Likewise.
14212 (__ASSUME_DUP3): Likewise.
14213 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14214 (__ASSUME_UTIMES): Likewise.
14215 (__ASSUME_O_CLOEXEC): Likewise.
14216 (__ASSUME_SOCK_CLOEXEC): Likewise.
14217 (__ASSUME_IN_NONBLOCK): Likewise.
14218 (__ASSUME_PIPE2): Likewise.
14219 (__ASSUME_EVENTFD2): Likewise.
14220 (__ASSUME_SIGNALFD4): Likewise.
14221 (__ASSUME_DUP3): Likewise.
14222 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14224 (__ASSUME_UTIMES): Likewise.
14225 (__ASSUME_EVENTFD2): Likewise.
14226 (__ASSUME_SIGNALFD4): Likewise.
14227 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14228 (__ASSUME_O_CLOEXEC): Likewise.
14229 (__ASSUME_SOCK_CLOEXEC): Likewise.
14230 (__ASSUME_IN_NONBLOCK): Likewise.
14231 (__ASSUME_PIPE2): Likewise.
14232 (__ASSUME_EVENTFD2): Likewise.
14233 (__ASSUME_SIGNALFD4): Likewise.
14234 (__ASSUME_DUP3): Likewise.
14235 (__ASSUME_UTIMES): Undefine.
14237 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14238 feclearexcept. Remove symbol versioning code.
14239 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14240 symbol versioning code.
14241 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14242 symbol versioning code.
14243 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14244 feupdateenv. Remove symbol versioning code.
14245 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14246 fegetexceptflag. Remove symbol versioning code.
14247 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14248 fesetexceptflag. Remove symbol versioning code.
14249 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14250 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14251 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14252 (__posix_fadvise64_l32): Remove prototype.
14253 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14256 2014-05-13 Roland McGrath <roland@hack.frob.com>
14258 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14259 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14260 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14261 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14263 2014-05-13 Sami Kerola <kerolasa@iki.fi>
14265 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14266 current working directory
14268 2014-05-13 Roland McGrath <roland@hack.frob.com>
14270 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14271 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14272 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14273 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14274 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14275 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14276 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14277 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14278 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14279 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14280 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14281 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14282 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14283 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14284 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14285 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14286 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14287 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14288 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14289 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14290 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14291 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14292 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14293 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14294 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14295 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14296 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14297 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14298 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14299 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14300 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14301 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14302 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14303 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14304 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14305 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14306 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14307 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14308 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14309 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14310 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14311 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14313 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14314 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14316 * sysdeps/unix/sysv/linux/arm/Makefile
14317 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14318 Add rt-aeabi_unwind_cpp_pr1.
14319 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14320 Add nptl-aeabi_unwind_cpp_pr1.
14321 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14322 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14323 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14324 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14325 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14326 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14328 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14329 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14330 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14331 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14333 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14334 Deconditionalize the code that was previously under [RESET_PID].
14335 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14337 * sysdeps/generic/exit-thread.h: New file.
14338 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14339 * include/unistd.h (__exit_thread): Remove declaration.
14340 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14341 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14342 * csu/libc-start.c: Include <exit-thread.h>.
14343 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14344 * nptl/pthread_create.c: Include <exit-thread.h>.
14345 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14346 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14347 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14348 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14349 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14350 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14351 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14352 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14353 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14354 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14355 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14356 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14357 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14358 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14359 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14360 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14361 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14363 2014-05-13 Andreas Schwab <schwab@suse.de>
14365 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14367 2014-05-12 Joseph Myers <joseph@codesourcery.com>
14369 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14370 (__ASSUME_UTIMES): Do not condition on kernel version.
14371 (__ASSUME_PSELECT): Define unconditionally.
14372 (__ASSUME_PPOLL): Likewise.
14373 (__ASSUME_ATFCTS): Likewise.
14374 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14375 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14376 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14377 (__ASSUME_UTIMENSAT): Define unconditionally.
14378 (__ASSUME_PRIVATE_FUTEX): Likewise.
14379 (__ASSUME_FALLOCATE): Likewise.
14380 (__ASSUME_O_CLOEXEC): Likewise.
14381 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14382 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14383 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14384 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14385 (__ASSUME_IN_NONBLOCK): Likewise.
14386 (__ASSUME_PIPE2): Likewise.
14387 (__ASSUME_EVENTFD2): Likewise.
14388 (__ASSUME_SIGNALFD4): Likewise.
14389 (__ASSUME_DUP3): Likewise.
14390 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14391 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14392 (__ASSUME_AT_RANDOM): Likewise.
14393 (__ASSUME_PREADV): Likewise.
14394 (__ASSUME_PWRITEV): Likewise.
14395 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14396 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14397 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14398 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14399 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14400 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14401 (__ASSUME_O_CLOEXEC): Define unconditionally.
14402 (__ASSUME_PSELECT): Do not undefine conditionally.
14403 (__ASSUME_PPOLL): Likewise.
14404 (__ASSUME_ATFCTS): Likewise.
14405 (__ASSUME_SET_ROBUST_LIST): Likewise.
14406 (__ASSUME_UTIMENSAT): Likewise.
14407 (__ASSUME_FDATASYNC): Define unconditionally.
14408 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14409 (__ASSUME_SIGFRAME_V2): Likewise.
14410 )__ASSUME_EVENTFD2): Likewise.
14411 (__ASSUME_SIGNALFD4): Likewise.
14412 (__ASSUME_PSELECT): Do not undefine conditionally.
14413 (__ASSUME_PPOLL): Likewise.
14414 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14415 (__ASSUME_PSELECT): Define unconditionally.
14416 (__ASSUME_PPOLL): Likewise.
14417 (__ASSUME_O_CLOEXEC): Likewise.
14418 (__ASSUME_SOCK_CLOEXEC): Likewise.
14419 (__ASSUME_IN_NONBLOCK): Likewise.
14420 (__ASSUME_PIPE2): Likewise.
14421 (__ASSUME_EVENTFD2): Likewise.
14422 (__ASSUME_SIGNALFD4): Likewise.
14423 (__ASSUME_DUP3): Likewise.
14424 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14425 (__ASSUME_O_CLOEXEC): Likewise.
14426 (__ASSUME_SOCK_CLOEXEC): Likewise.
14427 (__ASSUME_IN_NONBLOCK): Likewise.
14428 (__ASSUME_PIPE2): Likewise.
14429 (__ASSUME_EVENTFD2): Likewise.
14430 (__ASSUME_SIGNALFD4): Likewise.
14431 (__ASSUME_DUP3): Likewise.
14432 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14433 (__ASSUME_EVENTFD2): Likewise.
14434 (__ASSUME_SIGNALFD4): Likewise.
14435 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14437 2014-05-12 Andreas Schwab <schwab@suse.de>
14440 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14441 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14442 than maximum RPC packet size.
14443 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14444 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14445 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14446 (_nss_nis_getservbyport_r): Likewise.
14448 2014-05-12 Will Newton <will.newton@linaro.org>
14450 * malloc/Makefile (tests): Add tst-mallopt.
14451 * malloc/tst-mallopt.c: New file.
14453 2014-05-09 Roland McGrath <roland@hack.frob.com>
14455 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14456 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14458 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14460 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14461 (tst-tlsmod6.so): Likewise.
14463 2014-05-09 Roland McGrath <roland@hack.frob.com>
14465 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14467 2014-05-09 Joseph Myers <joseph@codesourcery.com>
14470 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14471 and <dl-procinfo.h>.
14472 (__fegetenv): Save SSE state in envp->__eip if supported.
14473 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14474 envp->__eip if supported.
14475 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14476 and <dl-procinfo.h>.
14477 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14478 __data_offset and __data_selector in environment to 0. Set SSE
14479 state if supported.
14480 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14482 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14484 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14486 2014-05-09 Will Newton <will.newton@linaro.org>
14488 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14489 and libc_relro_required for ARM.
14490 * sysdeps/arm/preconfigure: Regenerate.
14492 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14493 Stefan Liebler <stli@linux.vnet.ibm.com>
14495 * config.make.in (enable-lock-elision): New Makefile variable.
14496 * configure.ac: Likewise.
14497 * configure: Regenerate.
14498 * sysdeps/s390/configure.ac:
14499 Add check for gcc transactions support.
14500 * sysdeps/s390/configure: Regenerate.
14501 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14502 Build elision files if enabled.
14503 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14504 Add lock elision support for s390.
14505 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14506 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14507 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14508 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14509 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14510 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14511 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14513 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14515 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14517 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14519 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14520 (__lll_timedlock_elision, __lll_lock_elision)
14521 (__lll_unlock_elision, __lll_trylock_elision)
14522 (lll_timedlock_elision, lll_lock_elision)
14523 (lll_unlock_elision, lll_trylock_elision): Add.
14524 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14525 (pthread_mutex_t): Add lock elision support for s390.
14527 2014-05-14 Wilco <wdijkstr@arm.com>
14529 * sysdeps/arm/fclrexcpt.c: Cleanup.
14530 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14531 * sysdeps/arm/feenablxcpt.c: Cleanup.
14532 * sysdeps/arm/fegetenv.c: Cleanup.
14533 * sysdeps/arm/fegetexcept.c: Cleanup.
14534 * sysdeps/arm/fegetround.c: Cleanup.
14535 * sysdeps/arm/feholdexcpt.c: Cleanup.
14536 * sysdeps/arm/fesetenv.c: Cleanup.
14537 * sysdeps/arm/fesetround.c: Cleanup.
14538 * sysdeps/arm/feupdateenv.c: Cleanup.
14539 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14540 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14541 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14542 * sysdeps/arm/ftestexcept.c: Cleanup.
14543 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14544 * sysdeps/arm/setfpucw.c: Cleanup.
14546 2014-05-09 Will Newton <will.newton@linaro.org>
14548 * sysdeps/arm/armv7/strcmp.S: New file.
14549 * NEWS: Mention addition of ARMv7 optimized strcmp.
14551 2014-05-08 Roland McGrath <roland@hack.frob.com>
14553 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14554 look for %.ac rather than %.in.
14556 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14557 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14558 * sysdeps/mach/hurd/configure: Regenerated.
14559 * sysdeps/unix/sysv/linux/configure: Regenerated.
14561 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14563 2014-05-07 Steve Ellcey <sellcey@mips.com>
14566 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14570 2014-05-07 Andreas Schwab <schwab@suse.de>
14572 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14573 when skipping over non-matching result from nscd.
14575 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
14578 * nptl/sockperf.c (client): Check socket return value.
14581 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14582 nscd security class.
14584 2014-05-06 Roland McGrath <roland@hack.frob.com>
14586 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14587 * sysdeps/arm/unwind.h: ... here.
14589 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14592 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14595 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14597 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14598 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14599 multiarch strncpy for PPC64.
14600 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14601 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14602 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14603 multiarch optimizations.
14604 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14605 (__libc_ifunc_impl_list): Likewise.
14606 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14607 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14608 multiarch stpncpy for PPC64.
14609 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14610 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14612 2014-05-06 Andreas Schwab <schwab@suse.de>
14615 * gmon/mcount.c (_MCOUNT_DECL): Use
14616 atomic_compare_and_exchange_bool_acq instead of
14617 catomic_compare_and_exchange_bool_acq.
14619 2014-05-05 Roland McGrath <roland@hack.frob.com>
14621 * elf/Makefile (others, install-bin): Remove pldd.
14622 (pldd-modules): Variable removed.
14623 ($(objpfx)pldd): Target removed.
14624 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14625 (others, install-bin): Append pldd here.
14626 ($(objpfx)pldd): New target.
14628 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14629 to 0, so the first #if test emitted later doesn't see it undefined.
14630 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14631 * sysdeps/gnu/errlist.c: Regenerated.
14633 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14635 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14636 [libc_hidden_builtin_def]: Define to empty value.
14637 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14638 [libc_hidden_builtin_def]: Likewise.
14639 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14640 [libc_hidden_builtin_def]: Likewise.
14641 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14642 [libc_hidden_builtin_def]: Likewise.
14643 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14644 __redirect_memcpy and define ifunc as default hidden symbol.
14645 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14646 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14648 2014-05-04 Adam Conrad <adconrad@0c3.net>
14650 * locale/iso-4217.def: Reintroduce XDR currency.
14652 2014-05-04 Allan McRae <allan@archlinux.org>
14654 * po/eo.po: Update Esperanto translation from translation project.
14656 2014-05-02 Carlos O'Donell <carlos@redhat.com>
14658 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14659 and FEATURE_INDEX_MAX to 1.
14660 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14662 2014-05-01 Steve Ellcey <sellcey@mips.com>
14664 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14665 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14666 * iconvdata/big5.c (ONE_DIRECTION): Define.
14667 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14668 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14669 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14670 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14671 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14672 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14673 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14674 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14675 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14676 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14677 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14678 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14679 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14680 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14681 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14682 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14683 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14684 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14685 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14686 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14687 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14688 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14689 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14690 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14691 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14692 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14693 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14694 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14695 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14696 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14697 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14698 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14699 * iconvdata/johab.c (ONE_DIRECTION): Define.
14700 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14701 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14702 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14703 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14704 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14705 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14706 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14707 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14708 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14709 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14711 2014-05-01 Roland McGrath <roland@hack.frob.com>
14713 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14714 (_IO_JUMPS_OFFSET): Define to 0.
14716 * nptl/sysdeps/pthread/bits/libc-lock.h
14717 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14718 (__libc_lock_define_initialized_recursive): Always define using
14719 initializer. Modern compilers treat uninitialized (implicit zero) and
14720 explicit zero initializers the same (i.e. put the datum in bss).
14722 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14724 * nscd/nscd-client.h: Include <string.h>.
14726 2014-05-01 David S. Miller <davem@davemloft.net>
14729 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14730 multiple zero bytes exist at the end of a string.
14731 Reported by Aurelien Jarno <aurelien@aurel32.net>
14733 * string/test-strcmp.c (check): Add explicit test for situations where
14734 there are multiple zero bytes after the first.
14736 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14739 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14740 when compiling wprintf.
14741 * stdio-common/tstdiomisc.c (t3): New function.
14744 2014-05-01 Steve Ellcey <sellcey@mips.com>
14746 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14747 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14748 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14749 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14751 2014-05-01 Steve Ellcey <sellcey@mips.com>
14753 * stdlib/longlong.h: Updated from GCC.
14755 2014-05-01 Will Newton <will.newton@linaro.org>
14756 Bernard Ogden <bernie.ogden@linaro.org>
14758 * NEWS: Update fixed bug list.
14761 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14763 2014-04-30 David S. Miller <davem@davemloft.net>
14765 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14766 (libc_feholdexcept_setround_sparc_ctx): New function.
14767 (libc_fesetenv_sparc_ctx): Likewise.
14768 (libc_feupdateenv_sparc_ctx): Likewise.
14769 (libc_feholdsetround_sparc_ctx): Likewise.
14770 (libc_feholdexcept_setround_ctx): Define.
14771 (libc_feholdexcept_setroundf_ctx): Likewise.
14772 (libc_feholdexcept_setroundl_ctx): Likewise.
14773 (libc_fesetenv_ctx): Likewise.
14774 (libc_fesetenvf_ctx): Likewise.
14775 (libc_fesetenvl_ctx): Likewise.
14776 (libc_feupdateenv_ctx): Likewise.
14777 (libc_feupdateenvf_ctx): Likewise.
14778 (libc_feupdateenvl_ctx): Likewise.
14779 (libc_feresetround_ctx): Likewise.
14780 (libc_feresetroundf_ctx): Likewise.
14781 (libc_feresetroundl_ctx): Likewise.
14782 (libc_feholdsetround_ctx): Likewise.
14783 (libc_feholdsetroundf_ctx): Likewise.
14784 (libc_feholdsetroundl_ctx): Likewise.
14786 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14787 with __USE_GNU instead of XOPEN cpp guards.
14789 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14792 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14793 with XOPEN cpp guards.
14795 2014-04-30 Julian Brown <julian@codesourcery.com>
14798 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14801 2014-04-30 Joseph Myers <joseph@codesourcery.com>
14804 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14806 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14807 * sysdeps/unix/sysv/linux/configure: Regenerated.
14808 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14809 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14810 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14811 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14812 * README: Update reference to required Linux kernel version.
14813 * manual/install.texi (Linux): Update reference to required Linux
14814 kernel headers version.
14815 * INSTALL: Regenerated.
14817 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14819 [POSIX] (limits.h): Likewise.
14820 [POSIX] (math.h): Likewise.
14821 [POSIX] (sys/wait.h): Likewise.
14822 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14824 [POSIX] (stddef.h): Do not allow header inclusion.
14826 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14828 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14830 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14832 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14833 Return immediately after lll_futex_wake.
14835 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14838 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14840 (datahead_init_pos): Call datahead_init_common early.
14841 (datahead_init_neg): Likewise.
14843 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14844 datahead_init_neg): New functions.
14845 * nscd/aicache.c (addhstaiX): Use them.
14846 * nscd/grpcache.c (cache_addgr): Likewise.
14847 * nscd/hstcache.c (cache_addhst): Likewise.
14848 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14849 * nscd/netgroupcache.c (do_notfound): Likewise.
14850 (addgetnetgrentX): Likewise.
14851 (addinnetgrX): Likewise.
14852 * nscd/pwdcache.c (cache_addpw): Likewise.
14853 * nscd/servicescache.c (cache_addserv): Likewise.
14855 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14856 Atsushi Onoe <atsushi@onoe.org>
14861 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14862 one response is valid.
14863 * resolv/res_send.c (send_dg): Check for validity of other
14864 response if the current response is a referral.
14866 2014-04-29 Steve Ellcey <sellcey@mips.com>
14868 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14870 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14873 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14874 Always divide by positive zero when computing -Inf result.
14875 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14876 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14878 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14880 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14881 FPSCR if value do not change.
14882 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14883 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14884 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14885 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14886 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14887 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14890 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14892 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14893 * sysdeps/unix/sysv/linux/hppa: Move directory from
14894 ports/systeps/unix/sysv/linux/hppa.
14895 * README: Update listing for hppa-*-linux-gnu.
14897 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
14900 * manual/stdio.texi (Hook functions): Fix types of stream hook
14903 * socket/sys/socket.h: Fix typo in comment.
14905 2014-04-28 Wilco <wdijkstr@arm.com>
14907 * sysdeps/arm/fenv_private.h: New file.
14908 * sysdeps/arm/math_private.h: New file.
14909 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14911 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14913 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14915 (La_x86_64_retval): Likewise.
14917 2014-04-24 Ian Bolton <ian.bolton@arm.com>
14919 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14920 fpsr if value didn't change.
14921 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14922 to fpcr if value didn't change.
14923 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14924 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14925 fpsr or fpcr if value didn't change.
14926 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14927 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14928 fpcr if value didn't change.
14929 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14930 to fpsr if value didn't change.
14932 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14934 * nptl/tst-sem3.c: Use test-skeleton.c
14935 (main): Rename to do_test. Use return instead of
14937 * nptl/tst-sem4.c: Use test-skeleton.c
14938 (main): Rename to do_test.
14940 2014-04-22 David S. Miller <davem@davemloft.net>
14942 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14943 (struct sigaction): New struct member __glibc_reserved0, change
14944 type of sa_flags to int.
14946 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14948 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14949 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14951 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14953 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14954 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14956 2014-04-22 Will Newton <will.newton@linaro.org>
14957 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14959 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14960 (__longjmp): Add longjmp and longjmp_target SystemTap
14962 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14963 (__sigsetjmp): Add setjmp SystemTap probe.
14965 2014-04-17 Carlos O'Donell <carlos@redhat.com>
14967 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14968 match manual order.
14970 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14972 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14974 * sysdeps/powerpc/fpu/fenv_private.h
14975 (libc_feholdexcept_setroundl_ctx): Define to
14976 libc_feholdexcept_setround_ppc_ctx.
14977 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14978 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14979 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14980 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14982 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14984 * sysdeps/aarch64/math-tests.h: New file.
14986 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14988 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14991 Check and set bit_AVX2_Usable.
14992 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14994 (bit_AVX2): Likewise.
14995 (index_AVX2_Usable): Likewise.
14996 (CPUID_AVX2): Likewise.
14997 (HAS_AVX2): Likewise.
14999 2014-04-17 Will Newton <will.newton@linaro.org>
15001 * manual/setjmp.texi (System V contexts): Add note that
15002 calling setcontext on a context created by a call to a
15003 signal handler is undefined. Update text to note that
15004 setcontext from a signal handler is possible but not
15008 * stdlib/tst-setcontext.c: Include signal.h.
15009 (main): Check that the signal stack before and
15010 after swapcontext is the same.
15012 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15013 Re-implement to restore registers in user code and avoid
15014 rt_sigreturn system call.
15016 2014-04-17 Wilco <wdijkstr@arm.com>
15018 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15019 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15020 * math/test-fenv.c: Skip exception trap tests on targets which only
15021 support non-stop mode.
15023 2014-04-17 Ian Bolton <ian.bolton@arm.com>
15024 Wilco Dijkstra <wilco.dijkstra@arm.com>
15026 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15027 (libc_feholdsetround_aarch64_ctx)
15028 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15029 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15030 (libc_feresetround_ctx, libc_feresetroundf_ctx)
15031 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15032 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15033 (libc_feresetround_noexl_ctx): Define.
15035 2014-04-16 Richard Henderson <rth@redhat.com>
15037 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15039 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15042 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15043 const from the non-libc, non-ldso copy.
15045 * sysdeps/alpha/libm-test-ulps: Regenerate.
15047 2014-04-16 Ian Bolton <ian.bolton@arm.com>
15048 Wilco Dijkstra <wilco.dijkstra@arm.com>
15050 * sysdeps/aarch64/fpu/math_private.h: New file.
15052 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15054 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15056 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15059 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15060 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15061 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15062 Intel MPX bound registers before _dl_profile_fixup.
15063 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15064 registers after _dl_profile_fixup. Save and restore bound
15065 registers bnd0/bnd1 when calling _dl_call_pltexit.
15066 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15067 (LR_BND_OFFSET): Likewise.
15068 (LRV_BND0_OFFSET): Likewise.
15069 (LRV_BND1_OFFSET): Likewise.
15071 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15073 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15075 * sysdeps/mach/hurd/i386/tls.h: ... here.
15076 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15077 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15080 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15082 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15084 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15086 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15088 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15091 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15092 * sysdeps/s390/configure: Regenerate.
15095 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15096 Set round-to-nearest internally to reduce error accumulation.
15098 2014-04-16 Alan Modra <amodra@gmail.com>
15102 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15103 * math/libm-test.inc (frexp_test_data): Add tests.
15104 * NEWS: Update fixed bug list.
15106 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15108 * benchtests/Makefile: Depend on libraries in build directory.
15109 (bench-math): Separate out math tests.
15110 (bench-pthread): Separate out pthread tests.
15111 (bench): Include math and pthread tests.
15113 2014-04-14 Carlos O'Donell <carlos@redhat.com>
15116 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15117 _dl_debug_initialize.
15119 * configure.ac: Remove SELinux header check.
15120 * configure: Regenerate.
15121 * nscd/selinux.c (perms): Array of const char* to permission names.
15122 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15123 default policy. Call string_to_security_class and string_to_av_perm to
15124 translate strings. Enforce default policy and call avs_has_perm with
15125 results of translated strings.
15127 2014-04-13 David S. Miller <davem@davemloft.net>
15129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15131 2014-04-12 Allan McRae <allan@archlinux.org>
15134 * manual/string.texi (Collation Functions): Fix qsort argument
15136 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15138 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15140 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15141 Make the test a no-op if there are no exceptions defined.
15143 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15145 * elf/Makefile (tests): make tst-dlopen-aout conditional on
15146 enable-hardcoded-path-in-tests
15148 2014-04-11 Will Newton <will.newton@linaro.org>
15150 * benchtests/Makefile (extra-objs): Add json-lib.o.
15151 (bench-func): Tidy up JSON output.
15152 * benchtests/bench-skeleton.c: Include json-lib.h.
15153 (main): Use JSON library functions to do output of
15155 * benchtests/bench-timing-type.c (main): Output the
15156 timing type simply, leaving formatting to the user.
15157 * benchtests/json-lib.c: New file.
15158 * benchtests/json-lib.h: Likewise.
15160 2014-04-11 Torvald Riegel <triegel@redhat.com>
15163 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15164 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15165 memory barriers. Add comments.
15166 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15167 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15168 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15169 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15170 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15171 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15173 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15175 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15176 * sysdeps/s390/s390-64/configure.ac: ... this ...
15177 * sysdeps/s390/configure.ac: ... to here.
15178 * sysdeps/s390/s390-32/configure: Delete file.
15179 * sysdeps/s390/s390-64/configure: Delete file.
15180 * sysdeps/s390/configure: Regenerate.
15182 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15184 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15186 2014-04-11 Will Newton <will.newton@linaro.org>
15188 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15189 to zero if it is not defined elsewhere. (mtrim): Test
15190 the value of MALLOC_DEBUG with #if rather than #ifdef.
15192 2014-04-10 Torvald Riegel <triegel@redhat.com>
15194 * benchtests/pthread_once-inputs: New file.
15195 * benchtests/pthread_once-source.c: New file.
15196 * benchtests/README: Update documentation.
15198 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15199 H.J. Lu <hongjiu.lu@intel.com>
15202 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15203 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15204 * sysdeps/x86_64/configure: Regenerated.
15205 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15207 (REGISTER_SAVE_RAX): Likewise.
15208 (REGISTER_SAVE_RCX): Likewise.
15209 (REGISTER_SAVE_RDX): Likewise.
15210 (REGISTER_SAVE_RSI): Likewise.
15211 (REGISTER_SAVE_RDI): Likewise.
15212 (REGISTER_SAVE_R8): Likewise.
15213 (REGISTER_SAVE_R9): Likewise.
15214 (REGISTER_SAVE_BND0): Likewise.
15215 (REGISTER_SAVE_BND1): Likewise.
15216 (REGISTER_SAVE_BND2): Likewise.
15217 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15218 bound registers when calling _dl_fixup.
15220 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15222 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
15223 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15225 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15226 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15227 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15228 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15229 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15230 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15231 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15233 2014-04-09 Peter Brett <peter@peter-b.co.uk>
15236 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15237 pathconf(_PC_NAME_MAX).
15239 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15241 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15242 Remove macro usage.
15243 (__PTHREAD_SPINS): Move definition to ...
15244 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15245 (__PTHREAD_SPINS): ... here.
15246 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15247 (__PTHREAD_SPIN): Likewise.
15248 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15249 (__PTHREAD_SPIN): Likewise.
15250 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15251 (__PTHREAD_SPIN): Likewise.
15252 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15253 (__PTHREAD_SPIN): Likewise.
15254 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15255 (__PTHREAD_SPIN): Likewise.
15256 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15257 (__PTHREAD_SPIN): Likewise.
15258 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15259 (__PTHREAD_SPIN): Likewise.
15260 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15261 (__PTHREAD_SPIN): Likewise.
15262 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15263 (__PTHREAD_SPIN): Likewise.
15264 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15265 (__PTHREAD_SPIN): Likewise.
15266 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15267 (__PTHREAD_SPIN): Likewise.
15268 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15269 (__PTHREAD_SPIN): Likewise.
15271 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15272 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15273 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15274 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15276 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15277 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15278 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15279 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15280 correct imply path.
15281 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15282 strlen symbol for non multi-arch builds.
15283 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15284 missing hidden_def and weak_alias.
15286 2014-04-08 Carlos O'Donell <carlos@redhat.com>
15288 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15290 2014-04-07 Will Newton <will.newton@linaro.org>
15292 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15293 and contents. [!_LIBC] Remove #ifndef and contents.
15294 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15295 * string/memccpy.c (__memccpy): Use ANSI prototype.
15296 * string/memfrob.c (memfrob): Likewise.
15297 * string/strcoll.c (STRCOLL): Likewise.
15298 * string/strlen.c (strlen): Likewise.
15299 * string/strtok.c (STRTOK): Likewise.
15300 * string/strcat.c: Remove unused #include of memcopy.h.
15301 (strcat): Use ANSI prototype.
15302 * string/strchr.c: Remove unused #include of memcopy.h.
15303 (strchr): Use ANSI prototype.
15304 * string/strcmp.c: Remove unused #include of memcopy.h.
15305 (strcmp): Use ANSI prototype.
15306 * string/strcpy.c: Remove unused #include of memcopy.h.
15307 (strcpy): Use ANSI prototype.
15309 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15311 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15312 * config.make.in (config-extra-cppflags): Set it from
15313 libc_extra_cppflags.
15314 * configure.ac (libc_extra_cflags): Make it accumulate over
15315 configure fragments.
15316 (libc_extra_cppflags): New flag.
15317 * configure. Regenerate.
15318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15319 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15320 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15324 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15325 result for FE_DOWNWARD rounding mode.
15326 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15330 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15332 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15333 in function argument name.
15335 2014-04-03 David Svoboda <svoboda@cert.org>
15338 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15341 2014-04-03 Roland McGrath <roland@hack.frob.com>
15343 * elf/dl-unmap-segments.h: New file.
15344 * sysdeps/generic/ldsodefs.h
15345 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15346 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15347 * elf/dl-fptr.c: Likewise.
15348 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15349 * sysdeps/aarch64/tlsdesc.c: Likewise.
15350 * sysdeps/arm/tlsdesc.c: Likewise.
15351 * sysdeps/i386/tlsdesc.c: Likewise.
15352 * sysdeps/tile/dl-runtime.c: Likewise.
15353 * sysdeps/x86_64/tlsdesc.c: Likewise.
15354 * elf/dl-load.h: New file.
15355 * elf/dl-load.c: Include it.
15356 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15357 Macros moved to dl-load.h.
15358 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15359 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15360 Use _dl_unmap_segments in place of __munmap.
15361 Break out segment-mapping loop into ...
15362 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15364 2014-04-03 Will Newton <will.newton@linaro.org>
15366 * elf/dl-lookup.c (do_lookup_x): Remove comment
15367 referring to nested function and move variable
15368 declarations down to before first use.
15370 2014-04-02 Joseph Myers <joseph@codesourcery.com>
15374 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15376 * math/s_catanf.c (__catanf): Likewise.
15377 * math/s_catanh.c (__catanh): Likewise.
15378 * math/s_catanhf.c (__catanhf): Likewise.
15379 * math/s_catanhl.c (__catanhl): Likewise.
15380 * math/s_catanl.c (__catanl): Likewise.
15381 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15382 by positive zero when computing -Inf result.
15383 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15384 (catanh_test): Likewise.
15385 * sysdeps/i386/fpu/libm-test-ulps: Update.
15386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15389 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15390 instead of using underflowing value in computing result.
15391 * math/s_clog10.c (__clog10): Likewise.
15392 * math/s_clog10f.c (__clog10f): Likewise.
15393 * math/s_clog10l.c (__clog10l): Likewise.
15394 * math/s_clogf.c (__clogf): Likewise.
15395 * math/s_clogl.c (__clogl): Likewise.
15396 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15397 (clog10_test): Likewise.
15398 * sysdeps/i386/fpu/libm-test-ulps: Update.
15399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15401 2014-04-02 Alan Modra <amodra@gmail.com>
15404 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15405 output when value is near a power of two. Use int64_t for lx and
15406 remove casts. Use decimal rather than hex exponent constants.
15407 Don't use long double multiplication when double will suffice.
15408 * math/libm-test.inc (nextafter_test_data): Add tests.
15409 * NEWS: Add 16739 and 16786 to bug list.
15411 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15413 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15415 2014-04-01 Will Newton <will.newton@linaro.org>
15417 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15418 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15420 2014-04-01 Florian Weimer <fweimer@redhat.com>
15423 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15424 * nptl/tst-setuid2.c: New file.
15425 * nptl/Makefile (xtests): Add tst-setuid2.
15427 2014-04-01 Alan Modra <amodra@gmail.com>
15430 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15432 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15436 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15437 set errno as appropriate.
15438 * math/w_scalbf.c (__scalbf): Likewise.
15439 * math/w_scalbl.c (__scalbl): Likewise.
15440 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15441 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15442 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15443 Add more NaN tests.
15446 * math/w_atan2.c: Include <errno.h>.
15447 (__atan2): Set errno for result underflowing to zero.
15448 * math/w_atan2f.c: Include <errno.h>.
15449 (__atan2f): Set errno for result underflowing to zero.
15450 * math/w_atan2l.c: Include <errno.h>.
15451 (__atan2l): Set errno for result underflowing to zero.
15452 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15454 * math/auto-libm-test-out: Regenerated.
15456 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15458 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15459 Encode instruction correctly in little endian.
15460 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15462 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15464 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15466 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15469 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15472 * sysdeps/unix/sysv/linux/kernel-features.h
15473 [__sparc__ && !__arch64__ && !__sparc_v9__]
15474 (__ASSUME_SET_ROBUST_LIST): Do not define.
15475 [__sparc__ && !__arch64__ && !__sparc_v9__]
15476 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15477 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15479 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15480 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15481 (__ASSUME_REQUEUE_PI): Likewise.
15482 (__ASSUME_SET_ROBUST_LIST): Likewise.
15483 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15484 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15486 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15487 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15489 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15491 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15493 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15494 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15496 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15497 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15501 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15502 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15503 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15505 2014-03-31 Will Newton <will.newton@linaro.org>
15507 * benchtests/Makefile (bench): Add ffs and ffsll to list
15509 * benchtests/ffs-inputs: New file.
15510 * benchtests/ffsll-inputs: Likewise.
15512 2014-03-29 Joseph Myers <joseph@codesourcery.com>
15515 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15516 too large before casting to int.
15517 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15518 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15519 * math/libm-test.inc (scalb_test_data): Add more tests.
15521 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15523 * benchtests/Makefile (DETAILED_OPT): New make option.
15524 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15526 * benchtests/bench-skeleton.c: Include stdbool.h.
15527 (main): Store and print timings per input.
15528 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15529 member to each argument value.
15530 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15531 (_print_arg_data): Initialize per-input timing to 0.
15533 * benchtests/Makefile (timing-type): New binary.
15534 (bench-clean): Also remove bench-timing-type.
15535 (bench): New target for timing-type.
15536 (bench-func): Print output in JSON format.
15537 * benchtests/bench-skeleton.c (main): Print output in JSON
15539 * benchtests/bench-timing-type.c: New file.
15540 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15541 (TIMING_PRINT_STATS): Remove.
15542 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15545 * benchtests/bench-modf.c: Remove.
15546 * benchtests/modf-inputs: New inputs file.
15548 2014-03-28 Joseph Myers <joseph@codesourcery.com>
15551 * math/s_clog10.c (M_PI_LOG10E): New macro.
15552 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15553 imaginary parts are 0.
15554 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15555 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15556 imaginary parts are 0.
15557 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15558 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15559 imaginary parts are 0.
15560 * math/libm-test.inc (clog10_test_data): Update expected results
15561 for when real and imaginary parts are 0.
15563 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15565 * elf/dl-load.c: Finish conversion of __builtin_expect into
15566 __glibc_{un}likely.
15568 2014-03-27 Joseph Myers <joseph@codesourcery.com>
15571 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15572 1+x for argument with exponent below -67.
15573 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15575 * math/auto-libm-test-in: Add more tests of exp.
15576 * math/auto-libm-test-out: Regenerated.
15578 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15581 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15582 (nscd_getnetgrent): Use it.
15585 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15588 2014-03-27 Andi Kleen <ak@linux.intel.com>
15590 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15591 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15592 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15593 (lll_robust_unlock): Remove out of line section. Use cfi
15595 (LLL_STUB_UNWIND_INFO*): Remove.
15596 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15597 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15598 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15599 (lll_robust_unlock): Remove out of line section. Use cfi
15601 (LLL_STUB_UNWIND_INFO*): Remove.
15603 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15606 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15609 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15611 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15613 2014-03-26 Joseph Myers <joseph@codesourcery.com>
15616 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15618 * math/test-fenv-preserve.c: New file.
15619 * math/Makefile (tests): Add test-fenv-preserve.
15621 2014-03-26 Will Newton <will.newton@linaro.org>
15623 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15625 2014-03-25 Roland McGrath <roland@hack.frob.com>
15627 * scripts/versionlist.awk: Partition the version sets and emit all
15628 GLIBC_* (sorted) before all others (sorted).
15630 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15632 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15633 GLIBC_2.2.5 version.
15635 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15637 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15640 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15645 2014-03-25 Andreas Schwab <schwab@suse.de>
15647 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15648 label to be used after in6ailist is initialized.
15650 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15652 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15653 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15655 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15659 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15661 (fp_formats): Update initializers.
15662 (init_fp_formats): Initialize new field.
15663 (output_for_one_input_case): Allow underflow for results up to
15665 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15666 * math/auto-libm-test-in: Don't mark some underflows from asin and
15668 * math/auto-libm-test-out: Regenerated.
15669 * sysdeps/i386/fpu/libm-test-ulps: Update.
15670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15672 2014-03-25 Andreas Schwab <schwab@suse.de>
15674 * libio/Makefile (tst-ftell-partial-wide-ENV)
15675 (tst-ftell-active-handler-ENV): Define.
15677 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15679 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15681 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15683 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15685 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15687 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15688 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15689 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15691 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15694 * elf/dl-load.c (open_verify): Add mode parameter.
15695 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15696 (open_path): Change from boolean 'secure' to complete flag 'mode'
15697 (_dl_map_object): Adjust.
15698 * elf/Makefile (tests): Add tst-dlopen-aout.
15699 * elf/tst-dlopen-aout.c: New test.
15701 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15704 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15705 (struct stat): Rename member pad0 to __glibc_reserved0.
15708 * sysdeps/s390/s390-32/bits/wordsize.h
15709 (__WORDSIZE32_SIZE_ULONG): New define.
15710 * sysdeps/s390/s390-64/bits/wordsize.h
15711 (__WORDSIZE32_SIZE_ULONG): Likewise.
15712 * sysdeps/generic/stdint.h (SIZE_MAX):
15713 Define as UL if __WORDSIZE32_SIZE_ULONG.
15716 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15717 (__glibc_reserved0): New variable.
15718 (sa_flags): Change type to int.
15720 * posix/Makefile (before-compile): Use += before-compile instead
15723 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15724 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15726 2014-03-20 Andreas Schwab <schwab@suse.de>
15729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15730 non-matching result from nscd.
15732 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15734 * scripts/bench.py: Moved to ...
15735 * benchtests/scripts/bench.py: ... here.
15736 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15738 2014-03-24 Andreas Schwab <schwab@suse.de>
15741 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15742 alloca_account and account alloca use for struct in6ailist.
15744 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15747 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15748 rounding mode to recompute results that overflow to infinity or
15750 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15752 * math/auto-libm-test-out: Regenerated.
15753 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15754 (ccosh_test): Likewise.
15755 (csin_test_data): Use plus_oflow.
15756 (csin_test): Use ALL_RM_TEST.
15757 (csinh_test_data): Use plus_oflow.
15758 (csinh_test): Use ALL_RM_TEST.
15759 * sysdeps/i386/fpu/libm-test-ulps: Update.
15760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15762 2014-03-21 Joseph Myers <joseph@codesourcery.com>
15764 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15765 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15766 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15769 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15770 when x - 1 is zero.
15771 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15772 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15773 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15774 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15776 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15777 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15779 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15780 * sysdeps/i386/fpu/libm-test-ulps: Update.
15781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15783 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15785 * scripts/bench.pl: Remove file.
15786 * scripts/bench.py: New benchmark script.
15787 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15788 * benchtests/README: Mention python dependency.
15789 * scripts/pylintrc: New file.
15790 * scripts/pylint: New file.
15792 * bits/mathdef.h: Use #ifdef instead of #if.
15793 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15794 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15795 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15796 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15797 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15798 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15800 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15801 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15803 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15804 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15805 and strpbrk-ppc64 objects.
15806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15807 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15808 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15809 multiarch strpbrk for POWER7.
15810 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15811 multiarch strpbrk for PPC64.
15812 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15814 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15815 strpbrk for POWER7.
15817 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15819 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15820 (atan_test): Likewise.
15821 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15822 (atanh_test): Use ALL_RM_TEST.
15823 (atan2_test_data): Likewise.
15824 (cabs_test): Likewise.
15825 (cacosh_test): Likewise.
15826 (carg_test): Likewise.
15827 (casin_test): Likewise.
15828 (casinh_test): Likewise.
15829 (cbrt_test): Likewise.
15830 (csqrt_test): Likewise.
15831 (erf_test): Likewise.
15832 (erfc_test): Likewise.
15833 (pow10_test): Likewise.
15834 (exp2_test): Likewise.
15835 (hypot_test): Likewise.
15836 (j0_test): Likewise.
15837 (j1_test): Likewise.
15838 (lgamma_test): Likewise.
15839 (gamma_test): Likewise.
15840 (sincos_test): Likewise.
15841 (tanh_test): Likewise.
15842 (y0_test): Likewise.
15843 (y1_test): Likewise.
15844 * sysdeps/i386/fpu/libm-test-ulps: Update.
15845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15847 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15849 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15850 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15851 and strcspn-ppc64 objects.
15852 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15853 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15854 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15855 multiarch strcspn for POWER7.
15856 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15857 multiarch strcspn for PPC64.
15858 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15860 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15861 strcspn for POWER7.
15863 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15865 * math/gen-libm-test.pl (generate_testfile): Expect only function
15866 name as argument to AUTO_TESTS_* and pass results for all rounding
15867 modes to parse_args.
15868 (parse_auto_input): Separate inputs of automatic tests from
15869 outputs before storing in %auto_tests.
15870 * math/libm-test.inc (acos_test_data): Update call to
15872 (acos_test): Use ALL_RM_TEST.
15873 (acos_tonearest_test_data): Remove.
15874 (acos_test_tonearest): Likewise.
15875 (acos_towardzero_test_data): Likewise.
15876 (acos_test_towardzero): Likewise.
15877 (acos_downward_test_data): Likewise.
15878 (acos_test_downward): Likewise.
15879 (acos_upward_test_data): Likewise.
15880 (acos_test_upward): Likewise.
15881 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15882 (asin_test_data): Likewise.
15883 (asin_test): Use ALL_RM_TEST.
15884 (asin_tonearest_test_data): Remove.
15885 (asin_test_tonearest): Likewise.
15886 (asin_towardzero_test_data): Likewise.
15887 (asin_test_towardzero): Likewise.
15888 (asin_downward_test_data): Likewise.
15889 (asin_test_downward): Likewise.
15890 (asin_upward_test_data): Likewise.
15891 (asin_test_upward): Likewise.
15892 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15893 (atan_test_data): Likewise.
15894 (atanh_test_data): Likewise.
15895 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15896 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15897 (carg_test_data): Likewise.
15898 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15899 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15900 (ccosh_test_data): Likewise.
15901 (cexp_test_data): Likewise.
15902 (clog_test_data): Likewise.
15903 (clog10_test_data): Likewise.
15904 (cos_test_data): Update call to AUTO_TESTS_f_f.
15905 (cos_test): Use ALL_RM_TEST.
15906 (cos_tonearest_test_data): Remove.
15907 (cos_test_tonearest): Likewise.
15908 (cos_towardzero_test_data): Likewise.
15909 (cos_test_towardzero): Likewise.
15910 (cos_downward_test_data): Likewise.
15911 (cos_test_downward): Likewise.
15912 (cos_upward_test_data): Likewise.
15913 (cos_test_upward): Likewise.
15914 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15915 (cosh_test): Use ALL_RM_TEST.
15916 (cosh_tonearest_test_data): Remove.
15917 (cosh_test_tonearest): Likewise.
15918 (cosh_towardzero_test_data): Likewise.
15919 (cosh_test_towardzero): Likewise.
15920 (cosh_downward_test_data): Likewise.
15921 (cosh_test_downward): Likewise.
15922 (cosh_upward_test_data): Likewise.
15923 (cosh_test_upward): Likewise.
15924 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15925 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15926 (ctan_test_data): Likewise.
15927 (ctan_test): Use ALL_RM_TEST.
15928 (ctan_tonearest_test_data): Remove.
15929 (ctan_test_tonearest): Likewise.
15930 (ctan_towardzero_test_data): Likewise.
15931 (ctan_test_towardzero): Likewise.
15932 (ctan_downward_test_data): Likewise.
15933 (ctan_test_downward): Likewise.
15934 (ctan_upward_test_data): Likewise.
15935 (ctan_test_upward): Likewise.
15936 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15937 (ctanh_test): Use ALL_RM_TEST.
15938 (ctanh_tonearest_test_data): Remove.
15939 (ctanh_test_tonearest): Likewise.
15940 (ctanh_towardzero_test_data): Likewise.
15941 (ctanh_test_towardzero): Likewise.
15942 (ctanh_downward_test_data): Likewise.
15943 (ctanh_test_downward): Likewise.
15944 (ctanh_upward_test_data): Likewise.
15945 (ctanh_test_upward): Likewise.
15946 (erf_test_data): Update call to AUTO_TESTS_f_f.
15947 (erfc_test_data): Likewise.
15948 (exp_test_data): Likewise.
15949 (exp_test): Use ALL_RM_TEST.
15950 (exp_tonearest_test_data): Remove.
15951 (exp_test_tonearest): Likewise.
15952 (exp_towardzero_test_data): Likewise.
15953 (exp_test_towardzero): Likewise.
15954 (exp_downward_test_data): Likewise.
15955 (exp_test_downward): Likewise.
15956 (exp_upward_test_data): Likewise.
15957 (exp_test_upward): Likewise.
15958 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15959 (exp10_test): Use ALL_RM_TEST.
15960 (exp10_tonearest_test_data): Remove.
15961 (exp10_test_tonearest): Likewise.
15962 (exp10_towardzero_test_data): Likewise.
15963 (exp10_test_towardzero): Likewise.
15964 (exp10_downward_test_data): Likewise.
15965 (exp10_test_downward): Likewise.
15966 (exp10_upward_test_data): Likewise.
15967 (exp10_test_upward): Likewise.
15968 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15969 (expm1_test_data): Likewise.
15970 (expm1_test): Use ALL_RM_TEST.
15971 (expm1_tonearest_test_data): Remove.
15972 (expm1_test_tonearest): Likewise.
15973 (expm1_towardzero_test_data): Likewise.
15974 (expm1_test_towardzero): Likewise.
15975 (expm1_downward_test_data): Likewise.
15976 (expm1_test_downward): Likewise.
15977 (expm1_upward_test_data): Likewise.
15978 (expm1_test_upward): Likewise.
15979 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15980 (fma_test): Use ALL_RM_TEST.
15981 (fma_towardzero_test_data): Remove.
15982 (fma_test_towardzero): Likewise.
15983 (fma_downward_test_data): Likewise.
15984 (fma_test_downward): Likewise.
15985 (fma_upward_test_data): Likewise.
15986 (fma_test_upward): Likewise.
15987 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15988 (j0_test_data): Update call to AUTO_TESTS_f_f.
15989 (j1_test_data): Likewise.
15990 (jn_test_data): Update call to AUTO_TESTS_if_f.
15991 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15992 (log_test_data): Update call to AUTO_TESTS_f_f.
15993 (log10_test_data): Likewise.
15994 (log1p_test_data): Likewise.
15995 (log2_test_data): Likewise.
15996 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15997 (pow_tonearest_test_data): Likewise.
15998 (sin_test_data): Update call to AUTO_TESTS_f_f.
15999 (sin_test): Use ALL_RM_TEST.
16000 (sin_tonearest_test_data): Remove.
16001 (sin_test_tonearest): Likewise.
16002 (sin_towardzero_test_data): Likewise.
16003 (sin_test_towardzero): Likewise.
16004 (sin_downward_test_data): Likewise.
16005 (sin_test_downward): Likewise.
16006 (sin_upward_test_data): Likewise.
16007 (sin_test_upward): Likewise.
16008 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16009 (sinh_test_data): Update call to AUTO_TESTS_f_f.
16010 (sinh_test): Use ALL_RM_TEST.
16011 (sinh_tonearest_test_data): Remove.
16012 (sinh_test_tonearest): Likewise.
16013 (sinh_towardzero_test_data): Likewise.
16014 (sinh_test_towardzero): Likewise.
16015 (sinh_downward_test_data): Likewise.
16016 (sinh_test_downward): Likewise.
16017 (sinh_upward_test_data): Likewise.
16018 (sinh_test_upward): Likewise.
16019 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16020 (sqrt_test): Use ALL_RM_TEST.
16021 (sqrt_tonearest_test_data): Remove.
16022 (sqrt_test_tonearest): Likewise.
16023 (sqrt_towardzero_test_data): Likewise.
16024 (sqrt_test_towardzero): Likewise.
16025 (sqrt_downward_test_data): Likewise.
16026 (sqrt_test_downward): Likewise.
16027 (sqrt_upward_test_data): Likewise.
16028 (sqrt_test_upward): Likewise.
16029 (tan_test_data): Update call to AUTO_TESTS_f_f.
16030 (tan_test): Use ALL_RM_TEST.
16031 (tan_tonearest_test_data): Remove.
16032 (tan_test_tonearest): Likewise.
16033 (tan_towardzero_test_data): Likewise.
16034 (tan_test_towardzero): Likewise.
16035 (tan_downward_test_data): Likewise.
16036 (tan_test_downward): Likewise.
16037 (tan_upward_test_data): Likewise.
16038 (tan_test_upward): Likewise.
16039 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16040 (tgamma_test_data): Likewise.
16041 (y0_test_data): Likewise.
16042 (y1_test_data): Likewise.
16043 (yn_test_data): Update call to AUTO_TESTS_if_f.
16044 (main): Do not call removed functions.
16046 2014-03-19 Joseph Myers <joseph@codesourcery.com>
16048 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16049 (ldexp_test_data): Remove.
16050 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16052 (scalb_test): Use ALL_RM_TEST.
16054 2014-03-19 Andreas Schwab <schwab@suse.de>
16056 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16058 2014-03-19 Joseph Myers <joseph@codesourcery.com>
16061 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16062 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16063 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16064 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16065 (__ASSUME_PREADV): Undefine.
16066 (__ASSUME_PWRITEV): Likewise.
16068 2014-03-18 Roland McGrath <roland@hack.frob.com>
16070 * bits/mman-linux.h: Add comment about non-Linux use.
16071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16072 bits/mman-linux.h resting place.
16074 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16075 * bits/mman-linux.h: ... here.
16077 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16079 * conform/conformtest.pl: Add standard definition when calling C
16080 preprocessor on data files.
16081 (checknamespace): Remove unused variable.
16083 2014-03-18 Joseph Myers <joseph@codesourcery.com>
16085 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16086 minus_oflow, plus_uflow and minus_uflow in expected results.
16087 * math/libm-test.inc (scalbn_test_data): Add more tests of
16088 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16090 (scalbn_test): Use ALL_RM_TEST.
16091 (scalbln_test_data): Add more tests of negative arguments. Use
16092 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16093 (scalbln_test): Use ALL_RM_TEST.
16095 2014-03-18 Roland McGrath <roland@hack.frob.com>
16097 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16099 2014-03-18 Will Newton <will.newton@linaro.org>
16101 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16102 inaccurate comment.
16104 2014-03-18 Joseph Myers <joseph@codesourcery.com>
16106 * Makerules [!subdir] (check-abi): Exit with error status if a
16109 2014-03-17 Joseph Myers <joseph@codesourcery.com>
16111 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16112 for rint. Include results for all rounding modes.
16113 (nearbyint_test): Use ALL_RM_TEST.
16114 (rint_test_data): Include all tests used for nearbyint.
16116 2014-03-17 Will Newton <will.newton@linaro.org>
16118 * nptl/sysdeps/pthread/pthread.h: Revert previous
16121 * sysdeps/generic/ldsodefs.h: Revert previous
16124 * libio/genops.c: Revert previous change.
16125 * libio/libioP.h: Likewise.
16126 * stdio-common/vfprintf.c: Likewise.
16128 * sysdeps/generic/math_private.h: Revert previous
16131 * sysdeps/generic/math_private.h: Check whether
16132 HAVE_RM_CTX is defined with #ifdef rather
16135 * argp/argp-fmtstream.h: Check whether
16136 __STRICT_ANSI__ is defined with #ifdef rather
16138 * argp/argp.h: Likewise.
16140 * libio/genops.c: Check whether
16141 _IO_JUMPS_OFFSET is defined with #ifdef rather
16143 * libio/libioP.h: Likewise.
16144 * stdio-common/vfprintf.c: Likewise.
16146 * sysdeps/generic/ldsodefs.h: Check whether
16147 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16150 * nptl/sysdeps/pthread/pthread.h: Check
16151 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16154 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16156 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16158 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16162 * libio/fileops.c (_IO_file_open): Seek to end of file but
16163 don't cache the offset.
16164 (get_file_offset): Remove function.
16165 (do_ftell): Use cached offset when available.
16166 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16167 don't cache the offset.
16168 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16170 (do_one_test): Call it.
16171 (do_ftell_test): Fix up expected old offset for a+ mode.
16172 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16175 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16176 up test status with function return status.
16177 (do_write_test): Likewise.
16178 (do_append_test): Likewise.
16180 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16181 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16184 2014-03-17 Joseph Myers <joseph@codesourcery.com>
16186 * math/gen-libm-test.pl (parse_args): Handle results specified for
16187 each rounding mode separately.
16188 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16189 tests and results from lrint_tonearest_test_data,
16190 lrint_towardzero_test_data, lrint_downward_test_data and
16191 lrint_upward_test_data.
16192 (lrint_test): Use ALL_RM_TEST.
16193 (lrint_tonearest_test_data): Remove.
16194 (lrint_test_tonearest): Likewise.
16195 (lrint_towardzero_test_data): Likewise.
16196 (lrint_test_towardzero): Likewise.
16197 (lrint_downward_test_data): Likewise.
16198 (lrint_test_downward): Likewise.
16199 (lrint_upward_test_data): Likewise.
16200 (lrint_test_upward): Likewise.
16201 (llrint_test_data): Merge in per-rounding-mode tests and results
16202 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16203 llrint_downward_test_data and llrint_upward_test_data.
16204 (llrint_test): Use ALL_RM_TEST.
16205 (llrint_tonearest_test_data): Remove.
16206 (llrint_test_tonearest): Likewise.
16207 (llrint_towardzero_test_data): Likewise.
16208 (llrint_test_towardzero): Likewise.
16209 (llrint_downward_test_data): Likewise.
16210 (llrint_test_downward): Likewise.
16211 (llrint_upward_test_data): Likewise.
16212 (llrint_test_upward): Likewise.
16213 (rint_test_data): Merge in per-rounding-mode tests and results
16214 from rint_tonearest_test_data, rint_towardzero_test_data,
16215 rint_downward_test_data and rint_upward_test_data. Add
16216 per-rounding-mode results for tests not in those arrays.
16217 (rint_test): Use ALL_RM_TEST.
16218 (rint_tonearest_test_data): Remove.
16219 (rint_test_tonearest): Likewise.
16220 (rint_towardzero_test_data): Likewise.
16221 (rint_test_towardzero): Likewise.
16222 (rint_downward_test_data): Likewise.
16223 (rint_test_downward): Likewise.
16224 (rint_upward_test_data): Likewise.
16225 (rint_test_upward): Likewise.
16226 (main): Don't call removed functions.
16228 2014-03-14 Roland McGrath <roland@hack.frob.com>
16230 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16231 "Compiled on ..." crapola. It is anti-useful.
16233 2014-03-14 Joseph Myers <joseph@codesourcery.com>
16235 * scripts/evaluate-test.sh: Handle fourth argument to determine
16236 whether test run should stop on failure.
16237 * Makeconfig (stop-on-test-failure): New variable.
16238 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16239 $(stop-on-test-failure).
16240 * Makefile (tests): Give a summary of results from testing and
16241 exit with failure status if they include an ERROR or FAIL.
16242 (xtests): Likewise.
16243 * manual/install.texi (Configuring and compiling): Mention
16244 stop-on-test-failure=y.
16245 * INSTALL: Regenerated.
16247 2014-03-14 Roland McGrath <roland@hack.frob.com>
16249 * scripts/versionlist.awk: New file.
16250 * Makerules [$(build-shared) = yes]
16251 (postclean-generated): Add Versions.def, not Versions.def.v and
16253 ($(common-objpfx)Versions.def.v.i): Target removed.
16254 ($(common-objpfx)Versions.def): New target.
16255 ($(common-objpfx)Versions.all): Depend on that rather that
16256 $(common-objpfx)Versions.def.v.
16257 * Versions.def: File removed.
16259 * Makeconfig (+gccwarn): Add -Wundef.
16260 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16261 a dl-sysdep.h breaking its contract.
16262 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16263 * include/stackinfo.h: New file.
16264 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16265 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16266 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16267 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16268 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16269 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16270 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16271 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16272 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16273 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16274 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16275 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16276 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16277 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16278 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16280 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16283 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16285 * math/libm-test.inc (round_test_data): Add more tests.
16288 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16290 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16293 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16295 * math/libm-test.inc (ceil_test_data): Add more tests.
16297 * math/libm-test.inc (trunc_test_data): Add more tests related to
16300 2014-03-14 Roland McGrath <roland@hack.frob.com>
16302 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16303 with #if rather than #ifdef.
16304 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16306 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16308 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16309 first. Disable AVX-512 GCC support if assembler doesn't support
16311 * sysdeps/x86_64/configure: Regenerated.
16313 2014-03-13 Carlos O'Donell <carlos@redhat.com>
16315 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16316 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16317 (__old_pthread_attr_setstack): Likewise.
16318 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16319 [!_STACK_GROWS_DOWN]: Likewise.
16321 2014-03-13 Mike Frysinger <vapier@gentoo.org>
16323 * config.make.in (have-bash2): Delete.
16324 * configure.ac (libc_cv_have_bash2): Delete.
16325 * configure: Regenerate.
16326 * elf/Makefile (common-ldd-rewrite): Rename to ...
16327 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16328 (sh-ldd-rewrite): Delete.
16329 (bash-ldd-rewrite): Delete.
16330 (have-bash2): Delete checks.
16331 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16334 * config.make.in (have-ksh): Delete.
16336 * configure.ac (libc_cv_have_ksh): Delete.
16337 * configure: Regenerate.
16339 * elf/Makefile: Delete $(have-ksh) check.
16340 ($(objpfx)sotruss): Change KSH to BASH.
16341 * elf/sotruss.ksh: Rename to ...
16342 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16343 function style to match POSIX. Drop ksh vim mode setting.
16345 * manual/time.texi (Specifying the Time Zone with TZ): Change
16346 Tuesday to Thursday.
16348 * debug/tst-longjmp_chk2.c: Update header comment.
16349 (stackoverflow_handler): Add comment. Call assert on pass value.
16351 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16354 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16355 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16356 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16357 (La_x86_64_vector): Add zmm.
16358 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16359 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16360 ($(objpfx)tst-audit10): New target.
16361 ($(objpfx)tst-audit10.out): Likewise.
16362 (tst-audit10-ENV): New.
16363 (AVX512-CFLAGS): Likewise.
16364 (CFLAGS-tst-audit10.c): Likewise.
16365 (CFLAGS-tst-auditmod10a.c): Likewise.
16366 (CFLAGS-tst-auditmod10b.c): Likewise.
16367 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16368 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16369 * sysdeps/x86_64/configure: Regenerated.
16370 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16371 AVX-512 zmm register support.
16372 (_dl_x86_64_save_sse): Likewise.
16373 (_dl_x86_64_restore_sse): Likewise.
16374 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16375 size vector registers.
16376 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16377 (ZMM_SIZE): Likewise.
16378 * sysdeps/x86_64/tst-audit10.c: New file.
16379 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16380 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16382 2014-03-13 Roland McGrath <roland@hack.frob.com>
16384 * configure.ac (HAVE_EHDR_START): New check.
16385 * configure: Regenerated.
16386 * config.h.in (HAVE_EHDR_START): New #undef.
16387 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16388 assuming the lowest-addressed segment maps the start of the file.
16390 2014-03-13 Joseph Myers <joseph@codesourcery.com>
16392 * INSTALL: Regenerated.
16394 2014-03-13 Will Newton <will.newton@linaro.org>
16396 * manual/setjmp.texi (System V contexts): Improve
16397 clarity and grammar of documentation.
16399 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16402 * elf/Makefile (tests): Add tst-pie2.
16403 (tests-pie): Add tst-pie2.
16404 * elf/tst-pie2.c: New file.
16405 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16407 * elf/rtld.c (map_doit): Load executable as lt_executable.
16408 (dl_main): Likewise.
16410 2014-03-12 Joseph Myers <joseph@codesourcery.com>
16413 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16414 (__ASSUME_PSELECT): Undefine.
16416 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16419 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16420 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16422 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16423 selector for static builds.
16425 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16428 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16431 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16433 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16434 IFUNC selector for static builds.
16436 2014-03-11 Joseph Myers <joseph@codesourcery.com>
16438 * sysdeps/mips/math_private.h [__mips_hard_float]
16439 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16440 libc_feresetround_mips_ctx.
16441 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16442 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16443 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16446 * math/s_nextafter.c (__nextafter): Do not return value from
16447 overflowing computation.
16448 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16449 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16450 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16452 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16454 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16455 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16457 2014-03-11 Roland McGrath <roland@hack.frob.com>
16459 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16460 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16461 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16462 the new mov targetting sp.
16464 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16467 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16468 Define it for static builds as well.
16469 (NO_BZERO_IMPL): Likewise.
16471 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16473 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16474 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16475 multiarch strspn for PPC64.
16476 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16477 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16479 (__libc_ifunc_impl_list): Likewise.
16480 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16481 multiarch optimizations
16482 * string/strspn.c (strspn): Using macro to redefine symbol name.
16484 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16485 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16487 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16488 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16489 multiarch strncat for PPC64.
16490 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16491 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16493 (__libc_ifunc_impl_list): Likewise.
16494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16495 multiarch optimizations
16497 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16500 * nscd/nscd.service: Make service type forking.
16502 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16504 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16505 sign in non default rounding modes.
16506 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16508 2014-03-08 Joseph Myers <joseph@codesourcery.com>
16510 * math/libm-test.inc (ALL_RM_TEST): New macro.
16511 (ceil_test): Use ALL_RM_TEST.
16512 (cimag_test): Likewise.
16513 (conj_test): Likewise.
16514 (copysign_test): Likewise.
16515 (cproj_test): Likewise.
16516 (creal_test): Likewise.
16517 (fabs_test): Likewise.
16518 (floor_test): Likewise.
16519 (fmax_test): Likewise.
16520 (fmin_test): Likewise.
16521 (fmod_test): Likewise.
16522 (fpclassify_test): Likewise.
16523 (frexp_test): Likewise.
16524 (ilogb_test): Likewise.
16525 (isfinite_test): Likewise.
16526 (finite_test): Likewise.
16527 (isgreater_test): Likewise.
16528 (isgreaterequal_test): Likewise.
16529 (isinf_test): Likewise.
16530 (isless_test): Likewise.
16531 (islessequal_test): Likewise.
16532 (islessgreater_test): Likewise.
16533 (isnan_test): Likewise.
16534 (isnormal_test): Likewise.
16535 (issignaling_test): Likewise.
16536 (isunordered_test): Likewise.
16537 (logb_test): Likewise.
16538 (logb_downward_test_data): Remove.
16539 (logb_test_downward): Likewise.
16540 (lround_test): Use ALL_RM_TEST.
16541 (llround_test): Likewise.
16542 (modf_test): Likewise.
16543 (nexttoward_test): Likewise.
16544 (remainder_test): Likewise.
16545 (drem_test): Likewise.
16546 (remainder_tonearest_test_data): Likewise.
16547 (remainder_test_tonearest): Likewise.
16548 (drem_test_tonearest): Likewise.
16549 (remainder_towardzero_test_data): Likewise.
16550 (remainder_test_towardzero): Likewise.
16551 (drem_test_towardzero): Likewise.
16552 (remainder_downward_test_data): Likewise.
16553 (remainder_test_downward): Likewise.
16554 (drem_test_downward): Likewise.
16555 (remainder_upward_test_data): Likewise.
16556 (remainder_test_upward): Likewise.
16557 (drem_test_upward): Likewise.
16558 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16559 (round_test): Use ALL_RM_TEST.
16560 (signbit_test): Likewise.
16561 (trunc_test): Likewise.
16562 (significand_test): Likewise.
16563 (main): Don't call removed functions.
16565 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16568 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16569 || __USE_XOPEN2K8].
16570 (ILL_ILLOPN): Likewise.
16571 (ILL_ILLADR): Likewise.
16572 (ILL_ILLTRP): Likewise.
16573 (ILL_PRVOPC): Likewise.
16574 (ILL_PRVREG): Likewise.
16575 (ILL_COPROC): Likewise.
16576 (ILL_BADSTK): Likewise.
16577 (FPE_INTDIV): Likewise.
16578 (FPE_INTOVF): Likewise.
16579 (FPE_FLTDIV): Likewise.
16580 (FPE_FLTOVF): Likewise.
16581 (FPE_FLTUND): Likewise.
16582 (FPE_FLTRES): Likewise.
16583 (FPE_FLTINV): Likewise.
16584 (FPE_FLTSUB): Likewise.
16585 (SEGV_MAPERR): Likewise.
16586 (SEGV_ACCERR): Likewise.
16587 (BUS_ADRALN): Likewise.
16588 (BUS_ADRERR): Likewise.
16589 (BUS_OBJERR): Likewise.
16590 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16591 (TRAP_TRACE): Likewise.
16592 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16594 (CLD_KILLED): Likewise.
16595 (CLD_DUMPED): Likewise.
16596 (CLD_TRAPPED): Likewise.
16597 (CLD_STOPPED): Likewise.
16598 (CLD_CONTINUED): Likewise.
16599 (POLL_IN): Likewise.
16600 (POLL_OUT): Likewise.
16601 (POLL_MSG): Likewise.
16602 (POLL_ERR): Likewise.
16603 (POLL_PRI): Likewise.
16604 (POLL_HUP): Likewise.
16605 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16607 (ILL_ILLOPN): Likewise.
16608 (ILL_ILLADR): Likewise.
16609 (ILL_ILLTRP): Likewise.
16610 (ILL_PRVOPC): Likewise.
16611 (ILL_PRVREG): Likewise.
16612 (ILL_COPROC): Likewise.
16613 (ILL_BADSTK): Likewise.
16614 (FPE_INTDIV): Likewise.
16615 (FPE_INTOVF): Likewise.
16616 (FPE_FLTDIV): Likewise.
16617 (FPE_FLTOVF): Likewise.
16618 (FPE_FLTUND): Likewise.
16619 (FPE_FLTRES): Likewise.
16620 (FPE_FLTINV): Likewise.
16621 (FPE_FLTSUB): Likewise.
16622 (SEGV_MAPERR): Likewise.
16623 (SEGV_ACCERR): Likewise.
16624 (BUS_ADRALN): Likewise.
16625 (BUS_ADRERR): Likewise.
16626 (BUS_OBJERR): Likewise.
16627 (BUS_MCEERR_AR): Likewise.
16628 (BUS_MCEERR_AO): Likewise.
16629 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16630 (TRAP_TRACE): Likewise.
16631 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16633 (CLD_KILLED): Likewise.
16634 (CLD_DUMPED): Likewise.
16635 (CLD_TRAPPED): Likewise.
16636 (CLD_STOPPED): Likewise.
16637 (CLD_CONTINUED): Likewise.
16638 (POLL_IN): Likewise.
16639 (POLL_OUT): Likewise.
16640 (POLL_MSG): Likewise.
16641 (POLL_ERR): Likewise.
16642 (POLL_PRI): Likewise.
16643 (POLL_HUP): Likewise.
16644 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16645 (ILL_ILLOPN): Likewise.
16646 (ILL_ILLADR): Likewise.
16647 (ILL_ILLTRP): Likewise.
16648 (ILL_PRVOPC): Likewise.
16649 (ILL_PRVREG): Likewise.
16650 (ILL_COPROC): Likewise.
16651 (ILL_BADSTK): Likewise.
16652 (FPE_INTDIV): Likewise.
16653 (FPE_INTOVF): Likewise.
16654 (FPE_FLTDIV): Likewise.
16655 (FPE_FLTOVF): Likewise.
16656 (FPE_FLTUND): Likewise.
16657 (FPE_FLTRES): Likewise.
16658 (FPE_FLTINV): Likewise.
16659 (FPE_FLTSUB): Likewise.
16660 (SEGV_MAPERR): Likewise.
16661 (SEGV_ACCERR): Likewise.
16662 (BUS_ADRALN): Likewise.
16663 (BUS_ADRERR): Likewise.
16664 (BUS_OBJERR): Likewise.
16665 (BUS_MCEERR_AR): Likewise.
16666 (BUS_MCEERR_AO): Likewise.
16667 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16668 (TRAP_TRACE): Likewise.
16669 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16671 (CLD_KILLED): Likewise.
16672 (CLD_DUMPED): Likewise.
16673 (CLD_TRAPPED): Likewise.
16674 (CLD_STOPPED): Likewise.
16675 (CLD_CONTINUED): Likewise.
16676 (POLL_IN): Likewise.
16677 (POLL_OUT): Likewise.
16678 (POLL_MSG): Likewise.
16679 (POLL_ERR): Likewise.
16680 (POLL_PRI): Likewise.
16681 (POLL_HUP): Likewise.
16682 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16684 (ILL_ILLOPN): Likewise.
16685 (ILL_ILLADR): Likewise.
16686 (ILL_ILLTRP): Likewise.
16687 (ILL_PRVOPC): Likewise.
16688 (ILL_PRVREG): Likewise.
16689 (ILL_COPROC): Likewise.
16690 (ILL_BADSTK): Likewise.
16691 (ILL_BADIADDR): Likewise.
16692 (ILL_BREAK): Likewise.
16693 (FPE_INTDIV): Likewise.
16694 (FPE_INTOVF): Likewise.
16695 (FPE_FLTDIV): Likewise.
16696 (FPE_FLTOVF): Likewise.
16697 (FPE_FLTUND): Likewise.
16698 (FPE_FLTRES): Likewise.
16699 (FPE_FLTINV): Likewise.
16700 (FPE_FLTSUB): Likewise.
16701 (FPE_DECOVF): Likewise.
16702 (FPE_DECDIV): Likewise.
16703 (FPE_DECERR): Likewise.
16704 (FPE_INVASC): Likewise.
16705 (FPE_INVDEC): Likewise.
16706 (SEGV_MAPERR): Likewise.
16707 (SEGV_ACCERR): Likewise.
16708 (SEGV_PSTKOVF): Likewise.
16709 (BUS_ADRALN): Likewise.
16710 (BUS_ADRERR): Likewise.
16711 (BUS_OBJERR): Likewise.
16712 (BUS_MCEERR_AR): Likewise.
16713 (BUS_MCEERR_AO): Likewise.
16714 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16715 (TRAP_TRACE): Likewise.
16716 (TRAP_BRANCH): Likewise.
16717 (TRAP_HWBKPT): Likewise.
16718 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16720 (CLD_KILLED): Likewise.
16721 (CLD_DUMPED): Likewise.
16722 (CLD_TRAPPED): Likewise.
16723 (CLD_STOPPED): Likewise.
16724 (CLD_CONTINUED): Likewise.
16725 (POLL_IN): Likewise.
16726 (POLL_OUT): Likewise.
16727 (POLL_MSG): Likewise.
16728 (POLL_ERR): Likewise.
16729 (POLL_PRI): Likewise.
16730 (POLL_HUP): Likewise.
16731 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16732 (ILL_ILLOPN): Likewise.
16733 (ILL_ILLADR): Likewise.
16734 (ILL_ILLTRP): Likewise.
16735 (ILL_PRVOPC): Likewise.
16736 (ILL_PRVREG): Likewise.
16737 (ILL_COPROC): Likewise.
16738 (ILL_BADSTK): Likewise.
16739 (FPE_INTDIV): Likewise.
16740 (FPE_INTOVF): Likewise.
16741 (FPE_FLTDIV): Likewise.
16742 (FPE_FLTOVF): Likewise.
16743 (FPE_FLTUND): Likewise.
16744 (FPE_FLTRES): Likewise.
16745 (FPE_FLTINV): Likewise.
16746 (FPE_FLTSUB): Likewise.
16747 (SEGV_MAPERR): Likewise.
16748 (SEGV_ACCERR): Likewise.
16749 (BUS_ADRALN): Likewise.
16750 (BUS_ADRERR): Likewise.
16751 (BUS_OBJERR): Likewise.
16752 (BUS_MCEERR_AR): Likewise.
16753 (BUS_MCEERR_AO): Likewise.
16754 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16755 (TRAP_TRACE): Likewise.
16756 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16758 (CLD_KILLED): Likewise.
16759 (CLD_DUMPED): Likewise.
16760 (CLD_TRAPPED): Likewise.
16761 (CLD_STOPPED): Likewise.
16762 (CLD_CONTINUED): Likewise.
16763 (POLL_IN): Likewise.
16764 (POLL_OUT): Likewise.
16765 (POLL_MSG): Likewise.
16766 (POLL_ERR): Likewise.
16767 (POLL_PRI): Likewise.
16768 (POLL_HUP): Likewise.
16769 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16770 (ILL_ILLOPN): Likewise.
16771 (ILL_ILLADR): Likewise.
16772 (ILL_ILLTRP): Likewise.
16773 (ILL_PRVOPC): Likewise.
16774 (ILL_PRVREG): Likewise.
16775 (ILL_COPROC): Likewise.
16776 (ILL_BADSTK): Likewise.
16777 (FPE_INTDIV): Likewise.
16778 (FPE_INTOVF): Likewise.
16779 (FPE_FLTDIV): Likewise.
16780 (FPE_FLTOVF): Likewise.
16781 (FPE_FLTUND): Likewise.
16782 (FPE_FLTRES): Likewise.
16783 (FPE_FLTINV): Likewise.
16784 (FPE_FLTSUB): Likewise.
16785 (SEGV_MAPERR): Likewise.
16786 (SEGV_ACCERR): Likewise.
16787 (BUS_ADRALN): Likewise.
16788 (BUS_ADRERR): Likewise.
16789 (BUS_OBJERR): Likewise.
16790 (BUS_MCEERR_AR): Likewise.
16791 (BUS_MCEERR_AO): Likewise.
16792 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16793 (TRAP_TRACE): Likewise.
16794 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16796 (CLD_KILLED): Likewise.
16797 (CLD_DUMPED): Likewise.
16798 (CLD_TRAPPED): Likewise.
16799 (CLD_STOPPED): Likewise.
16800 (CLD_CONTINUED): Likewise.
16801 (POLL_IN): Likewise.
16802 (POLL_OUT): Likewise.
16803 (POLL_MSG): Likewise.
16804 (POLL_ERR): Likewise.
16805 (POLL_PRI): Likewise.
16806 (POLL_HUP): Likewise.
16807 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16808 (ILL_ILLOPN): Likewise.
16809 (ILL_ILLADR): Likewise.
16810 (ILL_ILLTRP): Likewise.
16811 (ILL_PRVOPC): Likewise.
16812 (ILL_PRVREG): Likewise.
16813 (ILL_COPROC): Likewise.
16814 (ILL_BADSTK): Likewise.
16815 (FPE_INTDIV): Likewise.
16816 (FPE_INTOVF): Likewise.
16817 (FPE_FLTDIV): Likewise.
16818 (FPE_FLTOVF): Likewise.
16819 (FPE_FLTUND): Likewise.
16820 (FPE_FLTRES): Likewise.
16821 (FPE_FLTINV): Likewise.
16822 (FPE_FLTSUB): Likewise.
16823 (SEGV_MAPERR): Likewise.
16824 (SEGV_ACCERR): Likewise.
16825 (BUS_ADRALN): Likewise.
16826 (BUS_ADRERR): Likewise.
16827 (BUS_OBJERR): Likewise.
16828 (BUS_MCEERR_AR): Likewise.
16829 (BUS_MCEERR_AO): Likewise.
16830 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16831 (TRAP_TRACE): Likewise.
16832 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16834 (CLD_KILLED): Likewise.
16835 (CLD_DUMPED): Likewise.
16836 (CLD_TRAPPED): Likewise.
16837 (CLD_STOPPED): Likewise.
16838 (CLD_CONTINUED): Likewise.
16839 (POLL_IN): Likewise.
16840 (POLL_OUT): Likewise.
16841 (POLL_MSG): Likewise.
16842 (POLL_ERR): Likewise.
16843 (POLL_PRI): Likewise.
16844 (POLL_HUP): Likewise.
16845 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16846 (ILL_ILLOPN): Likewise.
16847 (ILL_ILLADR): Likewise.
16848 (ILL_ILLTRP): Likewise.
16849 (ILL_PRVOPC): Likewise.
16850 (ILL_PRVREG): Likewise.
16851 (ILL_COPROC): Likewise.
16852 (ILL_BADSTK): Likewise.
16853 (ILL_DBLFLT): Likewise.
16854 (ILL_HARDWALL): Likewise.
16855 (FPE_INTDIV): Likewise.
16856 (FPE_INTOVF): Likewise.
16857 (FPE_FLTDIV): Likewise.
16858 (FPE_FLTOVF): Likewise.
16859 (FPE_FLTUND): Likewise.
16860 (FPE_FLTRES): Likewise.
16861 (FPE_FLTINV): Likewise.
16862 (FPE_FLTSUB): Likewise.
16863 (SEGV_MAPERR): Likewise.
16864 (SEGV_ACCERR): Likewise.
16865 (BUS_ADRALN): Likewise.
16866 (BUS_ADRERR): Likewise.
16867 (BUS_OBJERR): Likewise.
16868 (BUS_MCEERR_AR): Likewise.
16869 (BUS_MCEERR_AO): Likewise.
16870 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16871 (TRAP_TRACE): Likewise.
16872 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16874 (CLD_KILLED): Likewise.
16875 (CLD_DUMPED): Likewise.
16876 (CLD_TRAPPED): Likewise.
16877 (CLD_STOPPED): Likewise.
16878 (CLD_CONTINUED): Likewise.
16879 (POLL_IN): Likewise.
16880 (POLL_OUT): Likewise.
16881 (POLL_MSG): Likewise.
16882 (POLL_ERR): Likewise.
16883 (POLL_PRI): Likewise.
16884 (POLL_HUP): Likewise.
16885 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16886 (ILL_ILLOPN): Likewise.
16887 (ILL_ILLADR): Likewise.
16888 (ILL_ILLTRP): Likewise.
16889 (ILL_PRVOPC): Likewise.
16890 (ILL_PRVREG): Likewise.
16891 (ILL_COPROC): Likewise.
16892 (ILL_BADSTK): Likewise.
16893 (FPE_INTDIV): Likewise.
16894 (FPE_INTOVF): Likewise.
16895 (FPE_FLTDIV): Likewise.
16896 (FPE_FLTOVF): Likewise.
16897 (FPE_FLTUND): Likewise.
16898 (FPE_FLTRES): Likewise.
16899 (FPE_FLTINV): Likewise.
16900 (FPE_FLTSUB): Likewise.
16901 (SEGV_MAPERR): Likewise.
16902 (SEGV_ACCERR): Likewise.
16903 (BUS_ADRALN): Likewise.
16904 (BUS_ADRERR): Likewise.
16905 (BUS_OBJERR): Likewise.
16906 (BUS_MCEERR_AR): Likewise.
16907 (BUS_MCEERR_AO): Likewise.
16908 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16909 (TRAP_TRACE): Likewise.
16910 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16912 (CLD_KILLED): Likewise.
16913 (CLD_DUMPED): Likewise.
16914 (CLD_TRAPPED): Likewise.
16915 (CLD_STOPPED): Likewise.
16916 (CLD_CONTINUED): Likewise.
16917 (POLL_IN): Likewise.
16918 (POLL_OUT): Likewise.
16919 (POLL_MSG): Likewise.
16920 (POLL_ERR): Likewise.
16921 (POLL_PRI): Likewise.
16922 (POLL_HUP): Likewise.
16923 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16924 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16927 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16928 before #include of <time.h>.
16929 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16930 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16931 (test-xfail-UNIX98/sched.h/conform): Likewise.
16933 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16935 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16936 error absence of trapping exception support.
16937 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16939 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16941 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16942 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16943 * timezone/Makefile (testdata): Move definition above include of
16945 (test-zones): New variable.
16946 (tests-special): Add zone files.
16947 (build-testdata): Use $(evaluate-test).
16949 * elf/Makefile (tests-special): Rename tests to end with .out.
16950 ($(objpfx)noload-mem): Likewise.
16951 ($(objpfx)tst-leaks1-mem): Likewise.
16952 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16953 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16954 $(objpfx)test-iconvconfig.out.
16955 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16956 set -e inside subshell and redirect output to file.
16957 * iconvdata/Makefile (generated): Rename tests to end with .out.
16959 (tests-special): Rename tests to end with .out.
16960 ($(objpfx)mtrace-tst-loading): Likewise.
16961 * intl/Makefile (generated): Likewise.
16962 (tests-special): Likewise.
16963 ($(objpfx)mtrace-tst-gettext): Likewise.
16964 * misc/Makefile (generated): Likewise.
16965 (tests-special): Likewise.
16966 ($(objpfx)tst-error1-mem): Likewise.
16967 * nptl/Makefile (tests-special): Likewise.
16968 ($(objpfx)tst-stack3-mem): Likewise.
16969 (generated): Likewise.
16970 * posix/Makefile (generated): Likewise.
16971 (tests-special): Likewise.
16972 (xtests-special): Likewise.
16973 ($(objpfx)tst-fnmatch-mem): Likewise.
16974 ($(objpfx)bug-regex2-mem): Likewise.
16975 ($(objpfx)bug-regex14-mem): Likewise.
16976 ($(objpfx)bug-regex21-mem): Likewise.
16977 ($(objpfx)bug-regex31-mem): Likewise.
16978 ($(objpfx)tst-vfork3-mem): Likewise.
16979 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16980 ($(objpfx)tst-pcre-mem): Likewise.
16981 ($(objpfx)tst-boost-mem): Likewise.
16982 ($(objpfx)bug-ga2-mem): Likewise.
16983 ($(objpfx)bug-glob2-mem): Likewise.
16984 * resolv/Makefile (generate): Likewise.
16985 (tests-special): Likewise.
16986 (xtests-special): Likewise.
16987 (generated): Likewise.
16988 ($(objpfx)mtrace-tst-leaks): Likewise.
16989 ($(objpfx)mtrace-tst-leaks2): Likewise.
16991 * scripts/merge-test-results.sh: New file.
16992 * Makefile (tests-special-notdir): New variable.
16993 (tests): Run merge-test-results.sh.
16994 (xtests): Likewise.
16995 * Rules (tests-special-notdir): New variable.
16996 (xtests-special-notdir): Likewise.
16997 (tests): Run merge-test-results.sh
16998 (xtests): Likewise.
17000 * Makeconfig (test-xfail-name): New variable.
17001 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17002 compute variable name for expected failures.
17003 * conform/Makefile (conformtest-headers-data): New variable.
17004 (conformtest-standards): Likewise.
17005 (conformtest-headers-ISO): Likewise.
17006 (conformtest-headers-ISO99): Likewise.
17007 (conformtest-headers-ISO11): Likewise.
17008 (conformtest-headers-POSIX): Likewise.
17009 (conformtest-headers-XPG3): Likewise.
17010 (conformtest-headers-XPG4): Likewise.
17011 (conformtest-headers-UNIX98): Likewise.
17012 (conformtest-headers-XOPEN2K): Likewise.
17013 (conformtest-headers-POSIX2008): Likewise.
17014 (conformtest-headers-XOPEN2K8): Likewise.
17015 (conformtest-header-list-base): Likewise.
17016 (conformtest-header-list-tests): Likewise.
17017 (conformtest-header-base): Likewise.
17018 (conformtest-header-tests): Likewise.
17019 (tests-special): Add $(conformtest-header-list-tests). If
17020 [$(fast-check) && !$(cross-compiling)], add
17021 $(conformtest-header-tests) instead of
17022 $(objpfx)run-conformtest.out.
17023 (generated): Add $(conformtest-header-list-base). If
17024 [$(fast-check) && !$(cross-compiling)], add
17025 $(conformtest-header-base). Remove previous setting.
17026 ($(conformtest-header-list-tests)): New target.
17027 (test-xfail-run-conformtest): Remove variable.
17028 ($(objpfx)run-conformtest.out): Remove target.
17029 (test-xfail-ISO11/complex.h/conform): New variable.
17030 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17031 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17032 (test-xfail-XPG3/varargs.h/conform): Likewise.
17033 (test-xfail-XPG4/varargs.h/conform): Likewise.
17034 (test-xfail-UNIX98/varargs.h/conform): Likewise.
17035 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17036 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17037 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17038 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17039 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17040 (test-xfail-XPG3/ftw.h/conform): Likewise.
17041 (test-xfail-XPG3/grp.h/conform): Likewise.
17042 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17043 (test-xfail-XPG3/limits.h/conform): Likewise.
17044 (test-xfail-XPG3/pwd.h/conform): Likewise.
17045 (test-xfail-XPG3/search.h/conform): Likewise.
17046 (test-xfail-XPG3/signal.h/conform): Likewise.
17047 (test-xfail-XPG3/stdio.h/conform): Likewise.
17048 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17049 (test-xfail-XPG3/string.h/conform): Likewise.
17050 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17051 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17052 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17053 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17054 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17055 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17056 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17057 (test-xfail-XPG3/termios.h/conform): Likewise.
17058 (test-xfail-XPG3/time.h/conform): Likewise.
17059 (test-xfail-XPG3/unistd.h/conform): Likewise.
17060 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17061 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17062 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17063 (test-xfail-XPG4/netdb.h/conform): Likewise.
17064 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17065 (test-xfail-XPG4/signal.h/conform): Likewise.
17066 (test-xfail-XPG4/stdio.h/conform): Likewise.
17067 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17068 (test-xfail-XPG4/stropts.h/conform): Likewise.
17069 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17070 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17071 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17072 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17073 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17074 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17075 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17076 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17077 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17078 (test-xfail-XPG4/termios.h/conform): Likewise.
17079 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17080 (test-xfail-XPG4/unistd.h/conform): Likewise.
17081 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17082 (test-xfail-POSIX/sched.h/conform): Likewise.
17083 (test-xfail-POSIX/signal.h/conform): Likewise.
17084 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17085 (test-xfail-POSIX/tar.h/conform): Likewise.
17086 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17087 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17088 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17089 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17090 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17091 (test-xfail-UNIX98/sched.h/conform): Likewise.
17092 (test-xfail-UNIX98/signal.h/conform): Likewise.
17093 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17094 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17095 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17096 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17097 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17098 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17099 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17100 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17101 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17102 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17103 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17104 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17105 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17106 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17107 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17108 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17109 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17110 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17111 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17112 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17113 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17114 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17115 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17116 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17117 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17118 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17119 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17120 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17121 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17122 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17123 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17124 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17125 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17126 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17127 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17128 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17129 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17130 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17131 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17132 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17133 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17134 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17135 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17136 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17137 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17138 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17139 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17140 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17141 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17142 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17143 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17144 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17145 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17146 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17147 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17148 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17149 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17150 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17151 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17152 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17153 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17154 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17155 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17156 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17157 (conformtest-cc-flags): Likewise.
17158 ($(conformtest-header-tests): New target.
17159 * conform/check-header-lists.sh: New file.
17160 * conform/run-conformtest.sh: Remove.
17162 * conform/conformtest.pl: Allow ' and \ in values given for
17164 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17166 [POSIX] (sys/types.h): Likewise.
17167 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17169 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17171 * conform/data/signal.h-data (SIGIO): Remove expectation.
17172 [XPG3] (SIGBUS): Do not expect.
17173 [POSIX || XPG3] (SIGPOLL): Likewise.
17174 [POSIX || XPG3] (SIGPROF): Likewise.
17175 [POSIX || XPG3] (SIGSYS): Likewise.
17176 [XPG3] (SIGTRAP): Likewise.
17177 [POSIX || XPG3] (SIGURG): Likewise.
17178 [POSIX || XPG3] (SIGVTALRM): Likewise.
17179 [POSIX || XPG3] (SIGXCPU): Likewise.
17180 [POSIX || XPG3] (SIGXFSZ): Likewise.
17181 [POSIX] (SA_SIGINFO): Expect.
17182 [XPG3] (siginfo_t): Do not expect type or contents.
17183 [POSIX] (si_pid): Do not expect element.
17184 [POSIX] (si_uid): Likewise.
17185 [POSIX] (si_addr): Likewise.
17186 [POSIX] (si_status): Likewise.
17187 [POSIX] (si_band): Likewise.
17188 [XPG4] (si_value): Likewise.
17189 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17190 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17191 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17192 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17193 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17194 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17195 [POSIX || XPG3] (ILL_COPROC): Likewise.
17196 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17197 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17198 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17199 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17200 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17201 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17202 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17203 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17204 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17205 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17206 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17207 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17208 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17209 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17210 [POSIX || XPG3] (CLD_EXITED): Likewise.
17211 [POSIX || XPG3] (CLD_KILLED): Likewise.
17212 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17213 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17214 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17215 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17216 [POSIX || XPG3] (POLL_IN): Likewise.
17217 [POSIX || XPG3] (POLL_OUT): Likewise.
17218 [POSIX || XPG3] (POLL_MSG): Likewise.
17219 [POSIX || XPG3] (POLL_ERR): Likewise.
17220 [POSIX || XPG3] (POLL_PRI): Likewise.
17221 [POSIX || XPG3] (POLL_HUP): Likewise.
17222 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17223 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17224 (SIG*): Do not allow.
17225 [XPG3] (si_*): Likewise.
17226 [XPG3] (SI_*): Likewise.
17227 [XPG3 || XPG4] (sigev_*): Likewise.
17228 [XPG3 || XPG4] (SIGEV_*): Likewise.
17229 [XPG3 || XPG4] (sival_*): Likewise.
17230 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17231 [POSIX || XPG3] (BUS_*): Likewise.
17232 [POSIX || XPG3] (CLD_*): Likewise.
17233 [POSIX || XPG3] (FPE_*): Likewise.
17234 [POSIX || XPG3] (ILL_*): Likewise.
17235 [POSIX || XPG3] (POLL_*): Likewise.
17236 [POSIX || XPG3] (SEGV_*): Likewise.
17237 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17238 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17239 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17240 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17241 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17242 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17243 Specify type and value.
17244 (TVERSLEN): Likewise.
17245 (REGTYPE): Likewise.
17246 (AREGTYPE): Likewise.
17247 (LNKTYPE): Likewise.
17248 (SYMTYPE): Likewise.
17249 (CHRTYPE): Likewise.
17250 (BLKTYPE): Likewise.
17251 (DIRTYPE): Likewise.
17252 (FIFOTYPE): Likewise.
17253 (CONTTYPE): Likewise.
17257 (TUREAD): Likewise.
17258 (TUWRITE): Likewise.
17259 (TUEXEC): Likewise.
17260 (TGREAD): Likewise.
17261 (TGWRITE): Likewise.
17262 (TGEXEC): Likewise.
17263 (TOREAD): Likewise.
17264 (TOWRITE): Likewise.
17265 (TOEXEC): Likewise.
17266 [POSIX] (TSVTX): Expect constant.
17268 2014-03-06 Joseph Myers <joseph@codesourcery.com>
17270 * Makefile (tests): Change dependencies to ....
17271 (tests-special): ... additions to this variable.
17272 (tests): Depend on $(tests-special).
17273 * Makerules (check-abi-list): New variable.
17274 (check-abi): Depend on $(check-abi-list).
17275 [$(subdir) = elf] (tests-special): Add
17276 $(objpfx)check-abi-libc.out.
17277 [$(build-shared) = yes && subdir] (tests-special): Add
17279 [$(build-shared) = yes && subdir] (tests): Do not depend on
17281 * Rules (tests): Depend on $(tests-special).
17282 (xtests): Depend on $(xtests-special).
17283 * catgets/Makefile (tests): Change dependencies to ....
17284 (tests-special): ... additions to this variable.
17285 * conform/Makefile (tests): Change dependencies to ....
17286 (tests-special): ... additions to this variable.
17287 * elf/Makefile (tests): Change dependencies to ....
17288 (tests-special): ... additions to this variable.
17289 * grp/Makefile (tests): Change dependencies to ....
17290 (tests-special): ... additions to this variable.
17291 * iconv/Makefile (xtests): Change dependencies to ....
17292 (xtests-special): ... additions to this variable.
17293 * iconvdata/Makefile (tests): Change dependencies to ....
17294 (tests-special): ... additions to this variable.
17295 * intl/Makefile (tests): Change dependencies to ....
17296 (tests-special): ... additions to this variable. Also add
17297 $(objpfx)tst-gettext.out.
17298 * io/Makefile (tests): Change dependencies to ....
17299 (tests-special): ... additions to this variable.
17300 * libio/Makefile (tests): Change dependencies to ....
17301 (tests-special): ... additions to this variable.
17302 * malloc/Makefile (tests): Change dependencies to ....
17303 (tests-special): ... additions to this variable.
17304 * misc/Makefile (tests): Change dependencies to ....
17305 (tests-special): ... additions to this variable.
17306 * nptl/Makefile (tests): Change dependencies to ....
17307 (tests-special): ... additions to this variable.
17308 * nptl_db/Makefile (tests): Change dependencies to ....
17309 (tests-special): ... additions to this variable.
17310 * posix/Makefile (tests): Change dependencies to ....
17311 (tests-special): ... additions to this variable.
17312 (xtests): Change dependencies to ....
17313 (xtests-special): ... additions to this variable.
17314 * resolv/Makefile (tests): Change dependencies to ....
17315 (tests-special): ... additions to this variable.
17316 (xtests): Change dependencies to ....
17317 (xtests-special): ... additions to this variable.
17318 * stdio-common/Makefile (tests): Change dependencies to ....
17319 (tests-special): ... additions to this variable.
17320 (do-tst-unbputc): Remove target.
17321 (do-tst-printf): Likewise.
17322 * stdlib/Makefile (tests): Change dependencies to ....
17323 (tests-special): ... additions to this variable.
17324 * string/Makefile (tests): Change dependencies to ....
17325 (tests-special): ... additions to this variable.
17326 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17327 (tests-special): ... additions to this variable.
17329 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17331 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17333 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17334 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17336 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17337 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17338 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17339 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17340 * conform/data/libgen.h-data [XPG3]: Likewise.
17341 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17342 * conform/data/ndbm.h-data [XPG3]: Likewise.
17343 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17344 * conform/data/netdb.h-data [XPG3]: Likewise.
17345 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17346 * conform/data/poll.h-data [XPG3]: Likewise.
17347 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17348 * conform/data/strings.h-data [XPG3]: Likewise.
17349 * conform/data/stropts.h-data [XPG3]: Likewise.
17350 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17351 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17352 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17354 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17355 * conform/data/sys/time.h-data [XPG3]: Likewise.
17356 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17357 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17358 * conform/data/sys/un.h-data [XPG3]: Likewise.
17359 * conform/data/syslog.h-data [XPG3]: Likewise.
17360 * conform/data/ucontext.h-data [XPG3]: Likewise.
17361 * conform/data/utmpx.h-data [XPG3]: Likewise.
17362 * conform/data/varargs.h-data [UNIX98]: Enable file.
17364 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17366 * math/libm-test.inc (struct test_f_f_data): Move expected results
17367 into structure for each rounding mode.
17368 (struct test_ff_f_data): Likewise.
17369 (struct test_ff_f_data_nexttoward): Likewise.
17370 (struct test_fi_f_data): Likewise.
17371 (struct test_fl_f_data): Likewise.
17372 (struct test_if_f_data): Likewise.
17373 (struct test_fff_f_data): Likewise.
17374 (struct test_c_f_data): Likewise.
17375 (struct test_f_f1_data): Likewise.
17376 (struct test_fF_f1_data): Likewise.
17377 (struct test_ffI_f1_data): Likewise.
17378 (struct test_c_c_data): Likewise.
17379 (struct test_cc_c_data): Likewise.
17380 (struct test_f_i_data): Likewise.
17381 (struct test_ff_i_data): Likewise.
17382 (struct test_f_l_data): Likewise.
17383 (struct test_f_L_data): Likewise.
17384 (struct test_fFF_11_data): Likewise.
17386 (RM_FE_DOWNWARD): Likewise.
17387 (RM_FE_TONEAREST): Likewise.
17388 (RM_FE_TOWARDZERO): Likewise.
17389 (RM_FE_UPWARD): Likewise.
17390 (RUN_TEST_LOOP_f_f): Update references to expected results.
17391 (RUN_TEST_LOOP_2_f): Likewise.
17392 (RUN_TEST_LOOP_fff_f): Likewise.
17393 (RUN_TEST_LOOP_c_f): Likewise.
17394 (RUN_TEST_LOOP_f_f1): Likewise.
17395 (RUN_TEST_LOOP_fF_f1): Likewise.
17396 (RUN_TEST_LOOP_fI_f1): Likewise.
17397 (RUN_TEST_LOOP_ffI_f1): Likewise.
17398 (RUN_TEST_LOOP_c_c): Likewise.
17399 (RUN_TEST_LOOP_cc_c): Likewise.
17400 (RUN_TEST_LOOP_f_i): Likewise.
17401 (RUN_TEST_LOOP_f_i_tg): Likewise.
17402 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17403 (RUN_TEST_LOOP_f_b): Likewise.
17404 (RUN_TEST_LOOP_f_b_tg): Likewise.
17405 (RUN_TEST_LOOP_f_l): Likewise.
17406 (RUN_TEST_LOOP_f_L): Likewise.
17407 (RUN_TEST_LOOP_fFF_11): Likewise.
17408 * math/gen-libm-test.pl (parse_args): Output four copies of
17409 expected results for each test.
17411 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17412 (__ASSUME_UTIMES): Remove.
17413 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17414 (__ASSUME_UTIMES): Likewise.
17416 * math/gen-auto-libm-tests.c: Update comment on output format.
17417 (output_for_one_input_case): Generate before-rounding and
17418 after-rounding information as conditions on output flags not
17419 floating-point format.
17420 * math/auto-libm-test-out: Regenerated.
17421 * math/gen-libm-test.pl (cond_value): New function.
17422 (or_cond_value): Use cond_value.
17423 (generate_testfile): Handle conditional exceptions.
17425 2014-03-05 Joseph Myers <joseph@codesourcery.com>
17427 * math/libm-test.inc (max_valid_error): New variable.
17428 (init_max_error): Take new argument specifying whether function
17429 results are exactly determined. Set max_valid_error and bound
17430 other variables for errors based on this argument.
17431 (set_max_error): Do not record results above max_valid_error.
17432 (check_float_internal): Only accept errors of up to 0.5ulps if
17433 also at most max_valid_error.
17434 (START): Take new argument EXACT and pass it to init_max_error.
17435 (acos_test): Update call to START.
17436 (acos_test_tonearest): Likewise.
17437 (acos_test_towardzero): Likewise.
17438 (acos_test_downward): Likewise.
17439 (acos_test_upward): Likewise.
17440 (acosh_test): Likewise.
17441 (asin_test): Likewise.
17442 (asin_test_tonearest): Likewise.
17443 (asin_test_towardzero): Likewise.
17444 (asin_test_downward): Likewise.
17445 (asin_test_upward): Likewise.
17446 (asinh_test): Likewise.
17447 (atan_test): Likewise.
17448 (atanh_test): Likewise.
17449 (atan2_test): Likewise.
17450 (cabs_test): Likewise.
17451 (cacos_test): Likewise.
17452 (cacosh_test): Likewise.
17453 (carg_test): Likewise.
17454 (casin_test): Likewise.
17455 (casinh_test): Likewise.
17456 (catan_test): Likewise.
17457 (catanh_test): Likewise.
17458 (cbrt_test): Likewise.
17459 (ccos_test): Likewise.
17460 (ccosh_test): Likewise.
17461 (ceil_test): Likewise.
17462 (cexp_test): Likewise.
17463 (cimag_test): Likewise.
17464 (clog_test): Likewise.
17465 (clog10_test): Likewise.
17466 (conj_test): Likewise.
17467 (copysign_test): Likewise.
17468 (cos_test): Likewise.
17469 (cos_test_tonearest): Likewise.
17470 (cos_test_towardzero): Likewise.
17471 (cos_test_downward): Likewise.
17472 (cos_test_upward): Likewise.
17473 (cosh_test): Likewise.
17474 (cosh_test_tonearest): Likewise.
17475 (cosh_test_towardzero): Likewise.
17476 (cosh_test_downward): Likewise.
17477 (cosh_test_upward): Likewise.
17478 (cpow_test): Likewise.
17479 (cproj_test): Likewise.
17480 (creal_test): Likewise.
17481 (csin_test): Likewise.
17482 (csinh_test): Likewise.
17483 (csqrt_test): Likewise.
17484 (ctan_test): Likewise.
17485 (ctan_test_tonearest): Likewise.
17486 (ctan_test_towardzero): Likewise.
17487 (ctan_test_downward): Likewise.
17488 (ctan_test_upward): Likewise.
17489 (ctanh_test): Likewise.
17490 (ctanh_test_tonearest): Likewise.
17491 (ctanh_test_towardzero): Likewise.
17492 (ctanh_test_downward): Likewise.
17493 (ctanh_test_upward): Likewise.
17494 (erf_test): Likewise.
17495 (erfc_test): Likewise.
17496 (exp_test): Likewise.
17497 (exp_test_tonearest): Likewise.
17498 (exp_test_towardzero): Likewise.
17499 (exp_test_downward): Likewise.
17500 (exp_test_upward): Likewise.
17501 (exp10_test): Likewise.
17502 (exp10_test_tonearest): Likewise.
17503 (exp10_test_towardzero): Likewise.
17504 (exp10_test_downward): Likewise.
17505 (exp10_test_upward): Likewise.
17506 (pow10_test): Likewise.
17507 (exp2_test): Likewise.
17508 (expm1_test): Likewise.
17509 (expm1_test_tonearest): Likewise.
17510 (expm1_test_towardzero): Likewise.
17511 (expm1_test_downward): Likewise.
17512 (expm1_test_upward): Likewise.
17513 (fabs_test): Likewise.
17514 (fdim_test): Likewise.
17515 (floor_test): Likewise.
17516 (fma_test): Likewise.
17517 (fma_test_towardzero): Likewise.
17518 (fma_test_downward): Likewise.
17519 (fma_test_upward): Likewise.
17520 (fmax_test): Likewise.
17521 (fmin_test): Likewise.
17522 (fmod_test): Likewise.
17523 (fpclassify_test): Likewise.
17524 (frexp_test): Likewise.
17525 (hypot_test): Likewise.
17526 (ilogb_test): Likewise.
17527 (isfinite_test): Likewise.
17528 (finite_test): Likewise.
17529 (isgreater_test): Likewise.
17530 (isgreaterequal_test): Likewise.
17531 (isinf_test): Likewise.
17532 (isless_test): Likewise.
17533 (islessequal_test): Likewise.
17534 (islessgreater_test): Likewise.
17535 (isnan_test): Likewise.
17536 (isnormal_test): Likewise.
17537 (issignaling_test): Likewise.
17538 (isunordered_test): Likewise.
17539 (j0_test): Likewise.
17540 (j1_test): Likewise.
17541 (jn_test): Likewise.
17542 (ldexp_test): Likewise.
17543 (lgamma_test): Likewise.
17544 (gamma_test): Likewise.
17545 (lrint_test): Likewise.
17546 (lrint_test_tonearest): Likewise.
17547 (lrint_test_towardzero): Likewise.
17548 (lrint_test_downward): Likewise.
17549 (lrint_test_upward): Likewise.
17550 (llrint_test): Likewise.
17551 (llrint_test_tonearest): Likewise.
17552 (llrint_test_towardzero): Likewise.
17553 (llrint_test_downward): Likewise.
17554 (llrint_test_upward): Likewise.
17555 (log_test): Likewise.
17556 (log10_test): Likewise.
17557 (log1p_test): Likewise.
17558 (log2_test): Likewise.
17559 (logb_test): Likewise.
17560 (logb_test_downward): Likewise.
17561 (lround_test): Likewise.
17562 (llround_test): Likewise.
17563 (modf_test): Likewise.
17564 (nearbyint_test): Likewise.
17565 (nextafter_test): Likewise.
17566 (nexttoward_test): Likewise.
17567 (pow_test): Likewise.
17568 (pow_test_tonearest): Likewise.
17569 (pow_test_towardzero): Likewise.
17570 (pow_test_downward): Likewise.
17571 (pow_test_upward): Likewise.
17572 (remainder_test): Likewise.
17573 (drem_test): Likewise.
17574 (remainder_test_tonearest): Likewise.
17575 (drem_test_tonearest): Likewise.
17576 (remainder_test_towardzero): Likewise.
17577 (drem_test_towardzero): Likewise.
17578 (remainder_test_downward): Likewise.
17579 (drem_test_downward): Likewise.
17580 (remainder_test_upward): Likewise.
17581 (drem_test_upward): Likewise.
17582 (remquo_test): Likewise.
17583 (rint_test): Likewise.
17584 (rint_test_tonearest): Likewise.
17585 (rint_test_towardzero): Likewise.
17586 (rint_test_downward): Likewise.
17587 (rint_test_upward): Likewise.
17588 (round_test): Likewise.
17589 (scalb_test): Likewise.
17590 (scalbn_test): Likewise.
17591 (scalbln_test): Likewise.
17592 (signbit_test): Likewise.
17593 (sin_test): Likewise.
17594 (sin_test_tonearest): Likewise.
17595 (sin_test_towardzero): Likewise.
17596 (sin_test_downward): Likewise.
17597 (sin_test_upward): Likewise.
17598 (sincos_test): Likewise.
17599 (sinh_test): Likewise.
17600 (sinh_test_tonearest): Likewise.
17601 (sinh_test_towardzero): Likewise.
17602 (sinh_test_downward): Likewise.
17603 (sinh_test_upward): Likewise.
17604 (sqrt_test): Likewise.
17605 (sqrt_test_tonearest): Likewise.
17606 (sqrt_test_towardzero): Likewise.
17607 (sqrt_test_downward): Likewise.
17608 (sqrt_test_upward): Likewise.
17609 (tan_test): Likewise.
17610 (tan_test_tonearest): Likewise.
17611 (tan_test_towardzero): Likewise.
17612 (tan_test_downward): Likewise.
17613 (tan_test_upward): Likewise.
17614 (tanh_test): Likewise.
17615 (tgamma_test): Likewise.
17616 (trunc_test): Likewise.
17617 (y0_test): Likewise.
17618 (y1_test): Likewise.
17619 (yn_test): Likewise.
17620 (significand_test): Likewise.
17622 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17623 individual tests in comment.
17624 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17625 (prev_max_error): New variable.
17626 (prev_real_max_error): Likewise.
17627 (prev_imag_max_error): Likewise.
17628 (compare_ulp_data): Don't refer to test names in comment.
17629 (find_test_ulps): Remove function.
17630 (find_function_ulps): Likewise.
17631 (find_complex_function_ulps): Likewise.
17632 (init_max_error): Take function name as argument. Look up ulps
17634 (print_ulps): Remove function.
17635 (print_max_error): Use prev_max_error instead of calling
17636 find_function_ulps.
17637 (print_complex_max_error): Use prev_real_max_error and
17638 prev_imag_max_error instead of calling find_complex_function_ulps.
17639 (check_float_internal): Take max_ulp parameter instead of calling
17640 find_test_ulps. Don't call print_ulps.
17641 (check_float): Update call to check_float_internal.
17642 (check_complex): Update calls to check_float_internal.
17643 (START): Pass argument to init_max_error.
17644 * math/gen-libm-test.pl (%results): Don't include "kind"
17646 (parse_ulps): Don't handle ulps of individual tests.
17647 (print_ulps_file): Likewise.
17648 (output_ulps): Likewise.
17649 * math/README.libm-test: Update.
17650 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17652 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17653 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17654 * sysdeps/arm/libm-test-ulps: Likewise.
17655 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17656 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17657 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17658 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17659 * sysdeps/microblaze/libm-test-ulps: Likewise.
17660 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17661 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17662 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17663 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17664 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17665 * sysdeps/sh/libm-test-ulps: Likewise.
17666 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17667 * sysdeps/tile/libm-test-ulps: Likewise.
17668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17670 2014-03-04 Joseph Myers <joseph@codesourcery.com>
17672 * math/libm-test.inc (print_complex_max_error): Check separately
17673 whether real and imaginary errors are within allowed range and
17674 pass 0 to print_complex_function_ulps instead of value within
17677 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17679 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17681 (get_handles_fopen): Likewise.
17682 (do_write_test): Likewise.
17684 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17686 * libio/fileops.c (do_ftell): Use cached offset when
17688 * libio/iofwide.c (do_ftell_wide): Likewise.
17689 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17691 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17694 * libio/libioP.h (get_file_offset): New function.
17695 * libio/fileops.c (get_file_offset): Likewise.
17696 (do_ftell): Likewise.
17697 (_IO_new_file_seekoff): Split out ftell logic.
17698 * libio/wfileops.c (do_ftell_wide): Likewise.
17699 (_IO_wfile_seekoff): Split out ftell logic.
17700 * libio/tst-ftell-active-handler.c: New test case.
17701 * libio/Makefile (tests): Add it.
17703 2014-03-03 Roland McGrath <roland@hack.frob.com>
17705 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17706 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17708 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17711 * nscd/connections.c (nscd_init): Call do_exit.
17712 (start_threads): Call do_exit and notify_parent.
17713 (begin_drop_privileges): Call do_exit.
17714 (finish_drop_privileges): Likewise.
17715 * nscd/selinux.c (preserve_capabilities): Likewise.
17716 (install_real_capabilities): Likewise.
17717 (nscd_selinux_enabled): Likewise.
17718 (avc_create_thread): Likewise.
17719 (avc_alloc_lock): Likewise.
17720 (nscd_avc_init): Likewise.
17721 * nscd/nscd.c (parent_fd): New static variable.
17722 (main): Create a pipe between parent and child processes.
17723 Skip closing parent_fd.
17724 (monitor_child): New function.
17725 (do_exit): Likewise.
17726 (notify_parent): Likewise.
17727 * nscd/nscd.h (notify_parent): Likewise.
17728 (do_exit): Likewise.
17730 2014-03-03 Carlos O'Donell <carlos@redhat.com>
17732 * malloc/malloc.c (__libc_calloc): Revert last change.
17734 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17738 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17740 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17744 (__libc_ifunc_impl_list): Likewise.
17745 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17746 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17747 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17748 * string/strrchr.c: Define STRRCHR.
17750 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
17752 * benchtest/bench-strtok.c (simple_strtok): Delete.
17753 (strtok_string): Use as benchmark.
17754 * string/strtok (STRTOK): New macro.
17756 2014-02-28 Carlos O'Donell <carlos@redhat.com>
17758 * manual/threads.texi: Add header and standard comments to all
17761 * elf/dl-lookup.c (check_match): New function.
17762 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17763 (do_lookup_x): Remove nested function check_match. Use non-nested
17764 function check_match.
17766 2014-02-28 Roland McGrath <roland@hack.frob.com>
17768 * csu/Makefile (generated, before-compile): Use += rather than =.
17769 * catgets/Makefile (generated, generated-dirs): Likewise.
17770 * debug/Makefile (generated): Likewise.
17771 * dlfcn/Makefile (generated): Likewise.
17772 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17773 * iconvdata/Makefile (before-compile, generated): Likewise.
17774 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17775 * libio/Makefile (generated): Likewise.
17776 * malloc/Makefile (generated): Likewise.
17777 * manual/Makefile (generated, generated-dirs): Likewise.
17778 * misc/Makefile (generated): Likewise.
17779 * posix/Makefile (generated): Likewise.
17780 * resolv/Makefile (generated): Likewise.
17781 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17782 * timezone/Makefile (generated, generated-dirs): Likewise.
17784 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17786 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17788 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17789 power8 implementation.
17790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17791 file: POWER8 llround ifunc implementation.
17792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17793 (__lllround): Add POWER8 implementation.
17794 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17795 POWER8 llround implementation.
17797 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17798 power8 implementation.
17799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17800 file: POWER8 llrint ifunc implementation.
17801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17802 Add POWER8 implementation.
17803 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17804 POWER8 llrint implementation.
17806 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17807 power8 implementation.
17808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17809 file: POWER8 finite ifunc implementation.
17810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17811 Add POWER8 implementation.
17812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17814 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17815 POWER8 finite implementation.
17816 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17818 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17819 power8 implementation.
17820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17821 file: POWER8 isinf ifunc implementation.
17822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17823 POWER8 implementation.
17824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17826 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17827 isinf implementation.
17828 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17830 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17831 (INIT_ARCH): Add hwcap2 initialization.
17832 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17833 power8 implementation.
17834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17835 file: POWER8 isnan ifunc implementation.
17836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17837 POWER8 implementation.
17838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17840 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17841 isnan implementation.
17842 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17844 2014-02-27 Joey Ye <joey.ye@arm.com>
17846 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17847 (_FP_NANFRAC_Q): Set to zero.
17849 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17852 * math/auto-libm-test-in: New test inputs.
17853 * math/auto-libm-test-out: Regenerate.
17854 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17857 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17859 2014-02-27 Joseph Myers <joseph@codesourcery.com>
17861 * scripts/evaluate-test.sh: Take new argument indicating whether
17862 failure is expected.
17863 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17864 indicating whether failure is expected.
17865 * conform/Makefile (test-xfail-run-conformtest): New variable.
17866 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17868 * posix/Makefile (test-xfail-annexc): New variable.
17869 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17871 2014-02-26 Joseph Myers <joseph@codesourcery.com>
17873 * argp/Makefile: Include Makeconfig immediately after defining
17875 * assert/Makefile: Likewise.
17876 * benchtests/Makefile: Likewise.
17877 * catgets/Makefile: Likewise.
17878 * conform/Makefile: Likewise.
17879 * crypt/Makefile: Likewise.
17880 * csu/Makefile: Likewise.
17881 (all): Remove target.
17882 * ctype/Makefile: Include Makeconfig immediately after defining
17884 * debug/Makefile: Likewise.
17885 * dirent/Makefile: Likewise.
17886 * dlfcn/Makefile: Likewise.
17887 * gmon/Makefile: Likewise.
17888 * gnulib/Makefile: Likewise.
17889 * grp/Makefile: Likewise.
17890 * gshadow/Makefile: Likewise.
17891 * hesiod/Makefile: Likewise.
17892 * hurd/Makefile: Likewise.
17893 (all): Remove target.
17894 * iconvdata/Makefile: Include Makeconfig immediately after
17896 * inet/Makefile: Likewise.
17897 * intl/Makefile: Likewise.
17898 * io/Makefile: Likewise.
17899 * libio/Makefile: Likewise.
17900 (all): Remove target.
17901 * locale/Makefile: Include Makeconfig immediately after defining
17903 * login/Makefile: Likewise.
17904 * mach/Makefile: Likewise.
17905 (all): Remove target.
17906 * malloc/Makefile: Include Makeconfig immediately after defining
17908 (all): Remove target.
17909 * manual/Makefile: Include Makeconfig immediately after defining
17911 * math/Makefile: Likewise.
17912 * misc/Makefile: Likewise.
17913 * nis/Makefile: Likewise.
17914 * nss/Makefile: Likewise.
17915 * po/Makefile: Likewise.
17916 (all): Remove target.
17917 * posix/Makefile: Include Makeconfig immediately after defining
17919 * pwd/Makefile: Likewise.
17920 * resolv/Makefile: Likewise.
17921 * resource/Makefile: Likewise.
17922 * rt/Makefile: Likewise.
17923 * setjmp/Makefile: Likewise.
17924 * shadow/Makefile: Likewise.
17925 * signal/Makefile: Likewise.
17926 * socket/Makefile: Likewise.
17927 * soft-fp/Makefile: Likewise.
17928 * stdio-common/Makefile: Likewise.
17929 * stdlib/Makefile: Likewise.
17930 * streams/Makefile: Likewise.
17931 * string/Makefile: Likewise.
17932 * sunrpc/Makefile: Likewise.
17933 (all): Remove target.
17934 * sysvipc/Makefile: Include Makeconfig immediately after defining
17936 * termios/Makefile: Likewise.
17937 * time/Makefile: Likewise.
17938 * timezone/Makefile: Likewise.
17939 (all): Remove target.
17940 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17942 * wctype/Makefile: Likewise.
17944 2014-02-26 Steve Ellcey <sellcey@mips.com>
17946 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17947 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17948 (libc_feholdexcept_setround_mips): Ditto.
17949 (libc_feholdsetround): New.
17950 (libc_feholdsetroundf): New.
17951 (libc_feholdsetroundl): New.
17952 (libc_feupdateenv_test_mips): New.
17953 (libc_feupdateenv_test): New.
17954 (libc_feupdateenv_testf): New.
17955 (libc_feupdateenv_testl): New.
17956 (libc_feresetround): New.
17957 (libc_feresetroundf): New.
17958 (libc_feresetroundl): New.
17959 (libc_fetestexcept_mips): New.
17960 (libc_fetestexcept): New.
17961 (libc_fetestexceptf): New.
17962 (libc_fetestexceptl): New.
17963 (HAVE_RM_CTX): New.
17964 (libc_feholdexcept_setround_mips_ctx): New.
17965 (libc_feholdexcept_setround_ctx): New.
17966 (libc_feholdexcept_setroundf_ctx): New.
17967 (libc_feholdexcept_setroundl_ctx): New.
17968 (libc_fesetenv_mips_ctx): New.
17969 (libc_fesetenv_ctx): New.
17970 (libc_fesetenv_ctxf): New.
17971 (libc_fesetenv_ctxl): New.
17972 (libc_feupdateenv_mips_ctx): New.
17973 (libc_feupdateenv_ctx): New.
17974 (libc_feupdateenvf_ctx): New.
17975 (libc_feupdateenvl_ctx): New.
17976 (libc_feholdsetround_mips_ctx): New.
17977 (libc_feholdsetround_ctx): New.
17978 (libc_feholdsetroundf_ctx): New.
17979 (libc_feholdsetroundl_ctx): New.
17980 (libc_feresetround_mips_ctx): New.
17981 (libc_feresetround_ctx): New.
17982 (libc_feresetroundf_ctx): New.
17983 (libc_feresetroundl_ctx): New.
17985 2014-02-26 Carlos O'Donell <carlos@redhat.com>
17987 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17989 * manual/ipc.texi: New file.
17990 * manual/Makefile (chapters): Add ipc.
17991 * manual/job.texi: Add "Inter-Process Communication" to next.
17992 * manual/process.texi: Add "Inter-Process Communication" to prev.
17994 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17998 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
18000 * malloc/malloc.c (__libc_calloc): Simplify implementation.
18002 * manual/arith.texi: Fix spaces after sentences.
18003 * manual/charset.texi: Likewise.
18004 * manual/errno.texi: Likewise.
18005 * manual/install.texi: Likewise.
18006 * manual/llio.texi: Likewise.
18007 * manual/locale.texi: Likewise.
18008 * manual/maint.texi: Likewise.
18009 * manual/math.texi: Likewise.
18010 * manual/memory.texi: Likewise.
18011 * manual/message.texi: Likewise.
18012 * manual/probes.texi: Likewise.
18013 * manual/resource.texi: Likewise.
18014 * manual/signal.texi: Likewise.
18015 * manual/socket.texi: Likewise.
18016 * manual/stdio.texi: Likewise.
18017 * manual/string.texi: Likewise.
18018 * manual/time.texi: Likewise.
18019 * manual/users.texi: Likewise.
18021 2014-02-25 Carlos O'Donell <carlos@redhat.com>
18024 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18025 _DEFAULT_SOURCE is defined.
18027 2014-02-25 Ulrich Drepper <drepper@gmail.com>
18028 Carlos O'Donell <carlos@redhat.com>
18031 * elf/dl-tls.c (_dl_count_modids): New function.
18032 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18033 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18034 audit library and increment generation counter.
18035 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18036 * elf/tst-audit9.c: New file.
18037 * elf/tst-auditmod9a.c: New file.
18038 * elf/tst-auditmod9b.c: New file.
18039 * elf/Makefile: Add rules to build and run tst-audit9.
18041 2014-02-25 Florian Weimer <fweimer@redhat.com>
18044 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18046 2014-02-25 Will Newton <will.newton@linaro.org>
18048 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18049 (__longjmp): Restore sp and lr before restoring callee
18050 saved registers. Add longjmp and longjmp_target
18051 SystemTap probe point.
18052 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18053 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18054 Define to zero to match jmpbuf layout.
18055 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18056 (__sigsetjmp): Save sp and lr before saving callee
18057 saved registers. Add setjmp SystemTap probe point.
18059 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18061 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18063 2014-02-24 Andreas Schwab <schwab@suse.de>
18066 * elf/pldd.c (wait_for_ptrace_stop): New function.
18067 (main): Call it after attaching.
18069 2014-02-22 Roland McGrath <roland@hack.frob.com>
18071 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18072 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18073 Versions files is now verboten.
18074 * hurd/Versions (libc: GLIBC_2.0):
18075 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18076 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18077 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18078 * mach/Versions: Likewise.
18080 * csu/Versions: Remove unused %include.
18081 * resolv/Versions: Likewise.
18083 2014-02-21 Joseph Myers <joseph@codesourcery.com>
18085 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18086 ($(objpfx)check-local-headers.out): Likewise.
18087 ($(objpfx)begin-end-check.out): Likewise.
18088 * Makerules (check-abi-%.out): Likewise.
18089 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18090 ($(objpfx)test2.cat): Likewise.
18091 ($(objpfx)de/libc.cat): Likewise.
18092 ($(objpfx)test-gencat.out): Likewise.
18093 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18094 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18095 ($(objpfx)noload-mem): Likewise.
18096 ($(objpfx)tst-pathopt.out): Likewise.
18097 ($(objpfx)tst-rtld-load-self.out): Likewise.
18098 ($(objpfx)tst-array1-cmp.out): Likewise.
18099 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18100 ($(objpfx)tst-array2-cmp.out): Likewise.
18101 ($(objpfx)tst-array3-cmp.out): Likewise.
18102 ($(objpfx)tst-array4-cmp.out): Likewise.
18103 ($(objpfx)tst-array5-cmp.out): Likewise.
18104 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18105 ($(objpfx)check-textrel.out): Likewise.
18106 ($(objpfx)check-execstack.out): Likewise.
18107 ($(objpfx)check-localplt.out): Likewise.
18108 ($(objpfx)order2-cmp.out): Likewise.
18109 ($(objpfx)tst-leaks1-mem): Likewise.
18110 ($(objpfx)tst-leaks1-static-mem): Likewise.
18111 ($(objpfx)tst-initorder-cmp.out): Likewise.
18112 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18113 ($(objpfx)tst-unused-dep.out): Likewise.
18114 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18115 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18116 * iconv/Makefile (test-iconvconfig): Likewise.
18117 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18118 ($(objpfx)iconv-test.out): Likewise.
18119 ($(objpfx)tst-tables.out): Likewise.
18120 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18121 ($(objpfx)tst-gettext.out): Likewise.
18122 ($(objpfx)tst-translit.out): Likewise.
18123 ($(objpfx)tst-gettext2.out): Likewise.
18124 ($(objpfx)tst-gettext4.out): Likewise.
18125 ($(objpfx)tst-gettext6.out): Likewise.
18126 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18127 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18128 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18129 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18130 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18131 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18132 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18133 ($(objpfx)wordexp-tst.out): Likewise.
18134 ($(objpfx)annexc.out): Likewise.
18135 ($(objpfx)tst-fnmatch-mem): Likewise.
18136 ($(objpfx)bug-regex2-mem): Likewise.
18137 ($(objpfx)bug-regex14-mem): Likewise.
18138 ($(objpfx)bug-regex21-mem): Likewise.
18139 ($(objpfx)bug-regex31-mem): Likewise.
18140 ($(objpfx)tst-vfork3-mem): Likewise.
18141 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18142 ($(objpfx)tst-pcre-mem): Likewise.
18143 ($(objpfx)tst-boost-mem): Likewise.
18144 ($(objpfx)tst-getconf.out): Likewise.
18145 ($(objpfx)bug-ga2-mem): Likewise.
18146 ($(objpfx)bug-glob2-mem): Likewise.
18147 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18148 ($(objpfx)mtrace-tst-leaks2): Likewise.
18149 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18150 ($(objpfx)tst-printf.out): Likewise.
18151 ($(objpfx)tst-setvbuf1.out): Likewise.
18152 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18153 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18154 ($(objpfx)tst-fmtmsg.out): Likewise.
18155 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18156 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18158 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18159 * bits/sigaction.h [__USE_MISC]: Likewise.
18160 * bits/waitstatus.h: Update #endif comments.
18161 * ctype/ctype.h: Likewise.
18162 * dirent/dirent.h: Likewise.
18163 [__USE_MISC]: Remove redundant conditionals.
18164 * grp/grp.h: Update #endif comments.
18165 [__USE_GNU]: Remove redundant conditionals.
18166 [__USE_MISC]: Likewise.
18167 * inet/netinet/in.h [__USE_GNU]: Likewise.
18168 * io/sys/stat.h [__USE_MISC]: Likewise.
18169 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18170 * libio/bits/stdio.h: Update #endif comments.
18171 [__USE_MISC]: Remove redundant conditionals.
18172 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18173 * libio/stdio.h: Update #endif comments.
18174 [__USE_MISC]: Remove redundant conditionals.
18175 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18176 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18177 * math/math.h: Update #else and #endif comments.
18178 [__USE_MISC]: Remove redundant conditionals.
18179 * misc/sys/uio.h: Update #endif comments.
18180 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18181 * posix/glob.h [__USE_MISC]: Likewise.
18182 * posix/sys/types.h: Update #endif comments.
18183 [__USE_MISC]: Remove redundant conditionals.
18184 * posix/sys/wait.h: Update #endif comments.
18185 [__USE_MISC]: Remove redundant conditionals.
18186 * posix/unistd.h: Update #endif comments.
18187 [__USE_MISC]: Remove redundant conditionals.
18188 * pwd/pwd.h [__USE_GNU]: Likewise.
18189 [__USE_MISC]: Likewise.
18190 * resolv/netdb.h [__USE_GNU]: Likewise.
18191 * signal/signal.h: Update #endif comments.
18192 [__USE_MISC]: Remove redundant conditionals.
18193 * stdlib/stdlib.h: Update #else and #endif comments.
18194 [__USE_MISC]: Remove redundant conditionals.
18195 [__USE_GNU]: Likewise.
18196 * string/bits/string2.h [__USE_MISC]: Likewise.
18197 * string/string.h: Update #endif comments.
18198 [__USE_MISC]: Remove redundant conditionals.
18199 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18201 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18202 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18203 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18205 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18207 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18209 [__USE_MISC]: Remove redundant conditionals.
18210 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18211 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18212 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18213 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18214 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18216 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18217 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18219 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18220 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18222 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18224 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18225 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18227 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18229 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18230 * sysdeps/x86/bits/string.h: Update #endif comments.
18231 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18233 * time/sys/time.h: Update #endif comments.
18234 * time/time.h: Likewise.
18235 [__USE_MISC]: Remove redundant conditionals.
18237 2014-02-21 Yury Gribov <y.gribov@samsung.com>
18240 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18242 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18244 * Versions.def (librt): Add GLIBC_2.17.
18246 2014-02-21 Adam Conrad <adconrad@0c3.net>
18248 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18249 synonym for _SYS_AUXV_H to allow direct inclusion.
18250 * sysdeps/sparc/bits/hwcap.h: Likewise.
18251 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18252 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18253 * sysdeps/sparc/sysdep.h: Likewise.
18255 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18257 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18259 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18261 * benchtests/bench-strrchr.c: Print length instead of position.
18263 2014-02-20 Joseph Myers <joseph@codesourcery.com>
18266 * sysdeps/unix/sysv/linux/kernel-features.h
18267 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18268 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18269 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18270 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18272 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18273 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18274 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18275 (__ASSUME_SENDMMSG): Define instead of using previous
18276 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18277 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18278 (__ASSUME_SENDMMSG_SYSCALL): Define.
18279 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18280 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18282 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18283 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18285 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18286 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18288 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18289 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18290 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18291 [__ASSUME_SENDMMSG]: Change conditionals to
18292 [__ASSUME_SENDMMSG_SOCKETCALL].
18293 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18294 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18296 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18297 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18299 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18300 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18301 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18302 [!__ASSUME_SENDMMSG]: Change conditional to
18303 [!__ASSUME_SENDMMSG_SOCKETCALL].
18304 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18305 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18309 * sysdeps/unix/sysv/linux/kernel-features.h
18310 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18311 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18312 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18313 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18314 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18315 [__i386__ || __sparc__]
18316 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18317 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18318 (__ASSUME_RECVMMSG): Define instead of using previous
18319 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18320 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18321 (__ASSUME_RECVMMSG_SYSCALL): Define.
18322 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18323 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18325 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18326 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18328 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18329 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18331 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18332 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18333 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18334 [__ASSUME_RECVMMSG]: Change condition to
18335 [__ASSUME_RECVMMSG_SOCKETCALL].
18336 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18337 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18339 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18340 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18341 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18343 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18344 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18345 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18346 [!__ASSUME_RECVMMSG]: Change condition to
18347 [!__ASSUME_RECVMMSG_SOCKETCALL].
18348 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18349 (__ASSUME_RECVMMSG_SYSCALL): Define.
18352 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18353 __powerpc__ || __s390__ || __sh__ || __sparc__]
18354 (__ASSUME_SOCKETCALL): Define.
18355 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18356 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18357 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18358 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18359 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18360 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18361 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18362 (__ASSUME_ACCEPT4): Define instead of using previous
18363 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18364 __powerpc__ || __sparc__ || __s390__)] condition.
18365 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18366 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18367 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18368 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18369 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18370 [!__ASSUME_ACCEPT4]: Change condition to
18371 [!__ASSUME_ACCEPT4_SOCKETCALL].
18372 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18373 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18374 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18375 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18376 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18377 __ASSUME_ACCEPT4_SYSCALL.
18378 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18379 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18380 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18381 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18382 __ASSUME_ACCEPT4_SYSCALL.
18383 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18384 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18385 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18386 [__ASSUME_ACCEPT4]: Change condition to
18387 [__ASSUME_ACCEPT4_SOCKETCALL].
18388 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18389 (__ASSUME_SOCKETCALL): Define.
18390 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18391 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18392 (__ASSUME_SOCKETCALL): Define.
18393 (__ASSUME_ACCEPT4): Remove.
18394 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18396 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18397 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18399 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18400 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18402 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18404 (HWCAP_ARM_LPAE): Likewise.
18405 (HWCAP_ARM_EVTSTRM): Likewise.
18406 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18407 Add vpfd32, lpae and evtstrm.
18408 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18411 2014-02-19 Joseph Myers <joseph@codesourcery.com>
18413 * math/auto-libm-test-in: Add tests of clog10.
18414 * math/auto-libm-test-out: Regenerated.
18415 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18416 * sysdeps/i386/fpu/libm-test-ulps: Update.
18417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18419 2014-02-18 Andreas Schwab <schwab@suse.de>
18422 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18423 Store non-zero if the second buffer was newly allocated.
18424 (send_dg): Likewise.
18425 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18426 to send_vc and send_dg.
18427 (res_nsend): Pass NULL for ansp2_malloced.
18428 * resolv/res_query.c (__libc_res_nquery): Add parameter
18429 answerp2_malloced and pass it down to __libc_res_nsend.
18430 (res_nquery): Pass additional NULL to __libc_res_nquery.
18431 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18432 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18433 second answer buffer if answerp2_malloced was set.
18434 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18435 (__libc_res_nquerydomain): Add parameter
18436 answerp2_malloced and pass it down to __libc_res_nquery.
18437 (res_nquerydomain): Pass additional NULL to
18438 __libc_res_nquerydomain.
18439 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18440 additional NULL to __libc_res_nsend and __libc_res_nquery.
18441 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18442 additional NULL to __libc_res_nsearch.
18443 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18444 parameter of __libc_res_nsearch to check for separately allocated
18446 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18448 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18449 additional NULL to __libc_res_nquery.
18450 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18451 __libc_res_nsearch.
18452 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18453 * include/resolv.h: Update prototypes of __libc_res_nquery,
18454 __libc_res_nsearch, __libc_res_nsend.
18456 2014-02-18 Joseph Myers <joseph@codesourcery.com>
18458 * math/auto-libm-test-in: Add tests of fma.
18459 * math/auto-libm-test-out: Regenerated.
18460 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18461 (fma_towardzero_test_data): Likewise.
18462 (fma_downward_test_data): Likewise.
18463 (fma_upward_test_data): Likewise.
18464 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18466 (rounding_modes): Add values for new field.
18467 (func_calc_method): Add value mpfr_fff_f.
18468 (func_calc_desc): Add mpfr_fff_f union field.
18469 (test_function): Add field exact_args.
18470 (FUNC): Add macro argument EXACT_ARGS.
18471 (FUNC_mpfr_f_f): Update call to FUNC.
18472 (FUNC_mpfr_f_f): Likewise.
18473 (FUNC_mpfr_ff_f): Likewise.
18474 (FUNC_mpfr_if_f): Likewise.
18475 (FUNC_mpc_c_f): Likewise.
18476 (FUNC_mpc_c_c): Likewise.
18477 (test_functions): Add fma. Update calls to FUNC.
18478 (handle_input_arg): Add argument exact_args.
18479 (add_test): Update call to handle_input_arg.
18480 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18481 (output_for_one_input_case): Update call to calc_generic_results.
18482 Recalculate exact zero results in each rounding mode.
18484 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18485 non-negative before setting low bit.
18486 * math/auto-libm-test-in: Mark one asin test possibly having
18487 spurious underflow.
18488 * math/auto-libm-test-out: Regenerated.
18489 * sysdeps/i386/fpu/libm-test-ulps: Update.
18490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18492 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18494 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18495 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18496 ports/sysdeps/unix/sysv/linux/microblaze.
18497 * README: Add missing listing for microblaze*-*-linux-gnu.
18499 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
18501 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18504 2014-02-16 Mike Frysinger <vapier@gentoo.org>
18506 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18507 * sysdeps/unix/sysv/linux/ia64: Move directory from
18508 ports/sysdeps/unix/sysv/linux/ia64.
18509 * README: Update listing for ia64-*-linux-gnu.
18511 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18512 Joseph Myers <joseph@codesourcery.com>
18514 * Makeconfig (test-name): New variable.
18515 (evaluate-test): Likewise.
18516 * Makerules (do-test-clean): Remove .test-result files.
18517 (common-mostlyclean): Likewise.
18518 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18519 * scripts/evaluate-test.sh: New file.
18521 2014-02-14 Joseph Myers <joseph@codesourcery.com>
18523 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18524 separate $(objpfx)tst-fopenloc-cmp.out and
18525 $(objpfx)tst-fopenloc-mem.out targets.
18526 (tests): Update dependencies.
18527 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18528 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18529 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18530 (tst-rxspencer-no-utf8-ARGS): New variable.
18531 (tst-rxspencer-no-utf8-ENV): Likewise.
18532 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18533 instead of $(objpfx)tst-rxspencer-mem.
18534 ($(objpfx)tst-rxspencer-mem): Change target to
18535 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18536 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18537 * posix/tst-rxspencer-no-utf8.c: New file.
18539 * elf/Makefile ($(objpfx)order.out): Remove rule.
18540 [$(run-built-tests) = yes] (tests): Depend on
18541 $(objpfx)order-cmp.out.
18542 ($(objpfx)order-cmp.out): New rule.
18543 [$(run-built-tests) = yes] (tests): Depend on
18544 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18545 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18546 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18547 $(objpfx)tst-array5-static-cmp.out.
18548 ($(objpfx)tst-array1.out): Remove rule.
18549 ($(objpfx)tst-array1-cmp.out): New rule.
18550 ($(objpfx)tst-array1-static.out): Remove rule.
18551 ($(objpfx)tst-array1-static-cmp.out): New rule.
18552 ($(objpfx)tst-array2.out): Remove rule.
18553 ($(objpfx)tst-array2-cmp.out): New rule.
18554 ($(objpfx)tst-array3.out): Remove rule.
18555 ($(objpfx)tst-array3-cmp.out): New rule.
18556 ($(objpfx)tst-array4.out): Remove rule.
18557 ($(objpfx)tst-array4-cmp.out): New rule.
18558 ($(objpfx)tst-array5.out): Remove rule.
18559 ($(objpfx)tst-array5-cmp.out): New rule.
18560 ($(objpfx)tst-array5-static.out): Remove rule.
18561 ($(objpfx)tst-array5-static-cmp.out): New rule.
18562 [$(run-built-tests) = yes] (tests): Depend on
18563 $(objpfx)order2-cmp.out.
18564 ($(objpfx)order2.out): Remove rule.
18565 ($(objpfx)order2-cmp.out): New rule.
18566 ($(objpfx)tst-initorder.out): Remove rule.
18567 [$(run-built-tests) = yes] (tests): Depend on
18568 $(objpfx)tst-initorder-cmp.out.
18569 ($(objpfx)tst-initorder-cmp.out): New rule.
18570 ($(objpfx)tst-initorder2.out): Remove rule.
18571 [$(run-built-tests) = yes] (tests): Depend on
18572 $(objpfx)tst-initorder2-cmp.out.
18573 ($(objpfx)tst-initorder2-cmp.out): New rule.
18574 [$(run-built-tests) = yes] (tests): Depend on
18575 $(objpfx)tst-unused-dep-cmp.out.
18576 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18577 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18578 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18579 on $(objpfx)tst-setvbuf1-cmp.out.
18580 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18581 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18582 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18583 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18584 ($(objpfx)tst-svc.out): Remove rule.
18585 ($(objpfx)tst-svc-cmp.out): New rule.
18587 2014-02-13 Joseph Myers <joseph@codesourcery.com>
18589 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18590 * ctype/ctype.h [__USE_MISC]: Likewise.
18591 * dirent/dirent.h [__USE_MISC]: Likewise.
18592 * grp/grp.h [__USE_MISC]: Likewise.
18593 * io/fcntl.h [__USE_MISC]: Likewise.
18594 * io/sys/stat.h [__USE_MISC]: Likewise.
18595 * libio/stdio.h [__USE_MISC]: Likewise.
18596 * posix/unistd.h [__USE_MISC]: Likewise.
18597 * pwd/pwd.h [__USE_MISC]: Likewise.
18598 * stdlib.h [__USE_MISC]: Likewise.
18599 * string/bits/string2.h [__USE_MISC]: Likewise.
18600 * string/string.h [__USE_MISC]: Likewise.
18601 * time/time.h [__USE_MISC]: Likewise.
18603 2014-02-13 Andreas Schwab <schwab@suse.de>
18606 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18607 second answer buffer if it was separately allocated.
18609 2014-02-12 Joseph Myers <joseph@codesourcery.com>
18611 * sysdeps/mips/math-tests.h: Include <features.h>.
18612 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18613 (ROUNDING_TESTS_long_double): Do not define.
18614 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18615 (EXCEPTION_TESTS_long_double): Likewise.
18616 * sysdeps/mips/mips64/libm-test-ulps: Update.
18618 * include/features.h (__USE_BSD): Remove macro definitions.
18619 (__USE_SVID): Likewise.
18620 (_BSD_SOURCE): Likewise.
18621 (_SVID_SOURCE): Likewise.
18622 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18623 from definition of _DEFAULT_SOURCE.
18624 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18626 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18627 * bits/mman.h [__USE_BSD]: Likewise.
18628 * bits/termios.h [__USE_BSD]: Likewise.
18629 * bits/waitstatus.h [__USE_BSD]: Likewise.
18630 * ctype/ctype.h [__USE_SVID]: Likewise.
18631 * dirent/dirent.h [__USE_BSD]: Likewise.
18632 * grp/grp.h [__USE_SVID]: Likewise.
18633 [__USE_BSD]: Likewise.
18634 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18635 * io/fcntl.h [__USE_BSD]: Likewise.
18636 * io/ftw.h [__USE_BSD]: Likewise.
18637 * io/sys/stat.h [__USE_BSD]: Likewise.
18638 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18639 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18640 * libio/stdio.h [__USE_SVID]: Likewise.
18641 [__USE_BSD]: Likewise.
18642 * math/math.h [__USE_SVID]: Likewise.
18643 [__USE_BSD]: Likewise.
18644 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18645 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18646 * misc/search.h [__USE_SVID]: Likewise.
18647 * misc/sys/mman.h [__USE_BSD]: Likewise.
18648 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18649 * misc/sys/uio.h [__USE_BSD]: Likewise.
18650 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18651 * posix/glob.h [__USE_BSD]: Likewise.
18652 * posix/regex.h [__USE_BSD]: Likewise.
18653 * posix/sys/types.h [__USE_BSD]: Likewise.
18654 [__USE_SVID]: Likewise.
18655 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18656 * posix/sys/wait.h [__USE_BSD]: Likewise.
18657 [__USE_SVID]: Likewise.
18658 * posix/unistd.h [__USE_BSD]: Likewise.
18659 [__USE_SVID]: Likewise.
18660 * pwd/pwd.h [__USE_SVID]: Likewise.
18661 * resolv/netdb.h [__USE_BSD]: Likewise.
18662 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18663 * signal/signal.h [__USE_BSD]: Likewise.
18664 [__USE_SVID]: Likewise.
18665 * socket/sys/socket.h [__USE_BSD]: Likewise.
18666 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18667 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18668 [__USE_SVID]: Likewise.
18669 * string/bits/string2.h [__USE_BSD]: Likewise.
18670 [__USE_SVID]: Likewise.
18671 * string/bits/string3.h [__USE_BSD]: Likewise.
18672 * string/endian.h [__USE_BSD]: Likewise.
18673 * string/string.h [__USE_SVID]: Likewise.
18674 [__USE_BSD]: Likewise.
18675 * string/strings.h [__USE_BSD]: Likewise.
18676 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18677 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18678 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18679 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18680 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18681 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18683 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18685 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18686 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18688 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18689 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18691 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18693 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18694 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18695 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18697 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18699 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18700 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18701 * termios/termios.h [__USE_BSD]: Likewise.
18702 * time/sys/time.h [__USE_BSD]: Likewise.
18703 * time/time.h [__USE_BSD]: Likewise.
18704 [__USE_SVID]: Likewise.
18706 * Makefile (subdir_targets): Remove subdir_lint.out.
18708 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18709 (do-tst-printf): Likewise.
18710 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18711 $(objpfx)tst-printf.out.
18713 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18715 * Makerules (check-abi-%): Change target to
18716 $(objpfx)check-abi-%.out.
18717 (check-abi target): Update dependencies.
18718 (check-abi-pattern variable): Redirect output of diff to $@.
18719 (check-abi variable): Likewise.
18720 * elf/Makefile (check-abi): Update dependencies.
18722 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18724 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18725 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18727 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18728 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18729 value has largest subnormal exponent.
18730 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18731 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18732 * sysdeps/aarch64/soft-fp/sfp-machine.h
18733 (_FP_TININESS_AFTER_ROUNDING): New macro.
18734 * sysdeps/alpha/soft-fp/sfp-machine.h
18735 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18736 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18738 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18739 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18740 * sysdeps/mips/soft-fp/sfp-machine.h
18741 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18742 * sysdeps/powerpc/soft-fp/sfp-machine.h
18743 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18744 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18746 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18747 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18748 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18749 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18750 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18753 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
18756 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18759 2014-02-12 Richard Henderson <rth@redhat.com>
18761 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18762 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18763 * sysdeps/unix/sysv/linux/alpha: Move directory from
18764 ports/sysdeps/unix/sysv/linux/alpha.
18765 * README: Update listing for alpha-*-linux-gnu.
18767 2014-02-11 Joseph Myers <joseph@codesourcery.com>
18769 * include/features.h: Update comment documenting feature test
18771 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18773 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18774 (_SVID_SOURCE): Likewise.
18775 (_DEFAULT_SOURCE): Update description of default features.
18776 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18778 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18779 (S_ISVTX): Likewise.
18780 * manual/math.texi (Mathematical Constants): Likewise.
18781 * manual/signal.texi (Interrupted Primitives): Likewise.
18782 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18783 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18784 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18785 Don't refer to _SVID_SOURCE in warning text.
18787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18789 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18791 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18792 * sysdeps/mips/dl-lookup.c: Remove.
18793 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18795 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18798 * math/auto-libm-test-in: Add testcase for expl.
18799 * math/auto-libm-test-out: Regenerate.
18800 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18801 calculation of unsafe.
18802 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18804 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18806 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18807 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18808 ports/sysdeps/unix/sysv/linux/aarch64.
18809 * README: Update listing for aarch64*-*-linux-gnu.
18811 2014-02-11 Will Newton <will.newton@linaro.org>
18813 * manual/probes.texi (Mathematical Function Probes): Use
18814 "triggered" instead of "hit".
18816 * manual/probes.texi (Internal Probes): Add documentation
18817 of setjmp, longjmp and longjmp_target probes.
18819 * include/stap-probe.h: Add comment about probe argument
18822 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18823 definition. (tr_where, tr_freehook, tr_mallochook,
18824 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18826 2014-02-11 David S. Miller <davem@davemloft.net>
18828 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18829 processing int_tests.
18831 2014-02-10 Joseph Myers <joseph@codesourcery.com>
18833 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18834 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18835 * sysdeps/unix/sysv/linux/mips: Move directory from
18836 ports/sysdeps/unix/sysv/linux/mips.
18837 * README: Update listing for mips-*-linux-gnu and
18838 mips64-*-linux-gnu.
18840 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18842 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18843 * sysdeps/unix/sysv/linux/m68k: Move directory from
18844 ports/sysdeps/unix/sysv/linux/m68k.
18845 * README: Update listing for m68k-*-linux-gnu.
18847 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18849 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18850 * sysdeps/unix/sysv/linux/generic: Move directory from
18851 ports/sysdeps/unix/sysv/linux/generic.
18852 * sysdeps/unix/sysv/linux/tile: Move directory from
18853 ports/sysdeps/unix/sysv/linux/tile.
18854 * README: Update listing for tile*-*-linux-gnu.
18856 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
18858 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18860 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18861 * catgets/open_catalog.c (__open_catalog): Likewise.
18862 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18863 * debug/confstr_chk.c: Likewise.
18864 * debug/fread_chk.c (__fread_chk): Likewise.
18865 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18866 * debug/getgroups_chk.c: Likewise.
18867 * debug/mbsnrtowcs_chk.c: Likewise.
18868 * debug/mbsrtowcs_chk.c: Likewise.
18869 * debug/mbstowcs_chk.c: Likewise.
18870 * debug/memcpy_chk.c: Likewise.
18871 * debug/memmove_chk.c: Likewise.
18872 * debug/mempcpy_chk.c: Likewise.
18873 * debug/memset_chk.c: Likewise.
18874 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18875 * debug/strcat_chk.c (__strcat_chk): Likewise.
18876 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18877 * debug/strncat_chk.c (__strncat_chk): Likewise.
18878 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18879 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18880 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18881 * debug/wcpncpy_chk.c: Likewise.
18882 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18883 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18884 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18885 * debug/wcsncpy_chk.c: Likewise.
18886 * debug/wcsnrtombs_chk.c: Likewise.
18887 * debug/wcsrtombs_chk.c: Likewise.
18888 * debug/wcstombs_chk.c: Likewise.
18889 * debug/wmemcpy_chk.c: Likewise.
18890 * debug/wmemmove_chk.c: Likewise.
18891 * debug/wmempcpy_chk.c: Likewise.
18892 * debug/wmemset_chk.c: Likewise.
18893 * dirent/scandirat.c (SCANDIRAT): Likewise.
18894 * dlfcn/dladdr1.c (dladdr1): Likewise.
18895 * dlfcn/dladdr.c (dladdr): Likewise.
18896 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18897 * dlfcn/dlerror.c (__dlerror): Likewise.
18898 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18899 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18900 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18901 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18902 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18903 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18904 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18905 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18907 * elf/dl-conflict.c: Likewise.
18908 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18909 * elf/dl-dst.h: Likewise.
18910 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18911 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18912 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18913 * elf/dl-init.c (call_init, _dl_init): Likewise.
18914 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18915 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18916 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18918 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18920 * elf/dl-minimal.c (__libc_memalign): Likewise.
18921 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18922 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18923 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18924 * elf/dl-sym.c (do_sym): Likewise.
18925 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18926 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18927 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18928 * elf/dl-writev.h (_dl_writev): Likewise.
18929 * elf/ldconfig.c (search_dir): Likewise.
18930 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18931 (dl_main): Likewise.
18932 * elf/setup-vdso.h (setup_vdso): Likewise.
18933 * grp/compat-initgroups.c (compat_call): Likewise.
18934 * grp/fgetgrent.c (fgetgrent): Likewise.
18935 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18936 * grp/putgrent.c (putgrent): Likewise.
18937 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18939 * hurd/hurdinit.c: Likewise.
18940 * iconvdata/8bit-gap.c (struct): Likewise.
18941 * iconvdata/ansi_x3.110.c : Likewise.
18942 * iconvdata/big5.c : Likewise.
18943 * iconvdata/big5hkscs.c : Likewise.
18944 * iconvdata/cp1255.c: Likewise.
18945 * iconvdata/cp1258.c : Likewise.
18946 * iconvdata/cp932.c : Likewise.
18947 * iconvdata/euc-cn.c: Likewise.
18948 * iconvdata/euc-jisx0213.c : Likewise.
18949 * iconvdata/euc-jp.c: Likewise.
18950 * iconvdata/euc-jp-ms.c : Likewise.
18951 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18952 * iconvdata/gb18030.c : Likewise.
18953 * iconvdata/gbbig5.c (const): Likewise.
18954 * iconvdata/gbgbk.c: Likewise.
18955 * iconvdata/gbk.c : Likewise.
18956 * iconvdata/ibm1364.c : Likewise.
18957 * iconvdata/ibm930.c : Likewise.
18958 * iconvdata/ibm932.c: Likewise.
18959 * iconvdata/ibm933.c : Likewise.
18960 * iconvdata/ibm935.c : Likewise.
18961 * iconvdata/ibm937.c : Likewise.
18962 * iconvdata/ibm939.c : Likewise.
18963 * iconvdata/ibm943.c: Likewise.
18964 * iconvdata/iso_11548-1.c: Likewise.
18965 * iconvdata/iso-2022-cn.c : Likewise.
18966 * iconvdata/iso-2022-cn-ext.c : Likewise.
18967 * iconvdata/iso-2022-jp-3.c: Likewise.
18968 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18969 * iconvdata/iso-2022-kr.c : Likewise.
18970 * iconvdata/iso646.c (gconv_end): Likewise.
18971 * iconvdata/iso_6937-2.c : Likewise.
18972 * iconvdata/iso_6937.c : Likewise.
18973 * iconvdata/iso8859-1.c: Likewise.
18974 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18975 * iconvdata/shift_jisx0213.c : Likewise.
18976 * iconvdata/sjis.c : Likewise.
18977 * iconvdata/t.61.c : Likewise.
18978 * iconvdata/tcvn5712-1.c : Likewise.
18979 * iconvdata/tscii.c: Likewise.
18980 * iconvdata/uhc.c : Likewise.
18981 * iconvdata/unicode.c (gconv_end): Likewise.
18982 * iconvdata/utf-16.c (gconv_end): Likewise.
18983 * iconvdata/utf-32.c (gconv_end): Likewise.
18984 * iconvdata/utf-7.c (base64): Likewise.
18985 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18986 * iconv/gconv_close.c (__gconv_close): Likewise.
18987 * iconv/gconv_open.c (__gconv_open): Likewise.
18988 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18989 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18990 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18991 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18992 (ucs4le_internal_loop_single): Likewise.
18993 * iconv/iconv.c (iconv): Likewise.
18994 * iconv/iconv_close.c: Likewise.
18995 * iconv/loop.c (SINGLE): Likewise.
18996 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18997 * include/atomic.h: Likewise.
18998 * inet/inet6_option.c (option_alloc): Likewise.
18999 * intl/bindtextdom.c (set_binding_values): Likewise.
19000 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19001 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19002 * intl/localealias.c (read_alias_file): Likewise.
19003 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19004 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19005 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
19006 * libio/fmemopen.c (fmemopen): Likewise.
19007 * libio/iofgets.c (_IO_fgets): Likewise.
19008 * libio/iofgets_u.c (fgets_unlocked): Likewise.
19009 * libio/iofgetws.c (fgetws): Likewise.
19010 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19011 * libio/iogetdelim.c (_IO_getdelim): Likewise.
19012 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19013 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
19014 * locale/findlocale.c (_nl_find_locale): Likewise.
19015 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19016 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19018 * locale/setlocale.c (setlocale): Likewise.
19019 * login/programs/pt_chown.c (main): Likewise.
19020 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19021 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
19022 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19023 (mmap, mmap64, mremap, munmap): Likewise.
19024 * math/e_exp2l.c: Likewise.
19025 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19026 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19027 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19028 * math/s_catan.c (__catan): Likewise.
19029 * math/s_catanf.c (__catanf): Likewise.
19030 * math/s_catanh.c (__catanh): Likewise.
19031 * math/s_catanhf.c (__catanhf): Likewise.
19032 * math/s_catanhl.c (__catanhl): Likewise.
19033 * math/s_catanl.c (__catanl): Likewise.
19034 * math/s_ccosh.c (__ccosh): Likewise.
19035 * math/s_ccoshf.c (__ccoshf): Likewise.
19036 * math/s_ccoshl.c (__ccoshl): Likewise.
19037 * math/s_cexp.c (__cexp): Likewise.
19038 * math/s_cexpf.c (__cexpf): Likewise.
19039 * math/s_cexpl.c (__cexpl): Likewise.
19040 * math/s_clog10.c (__clog10): Likewise.
19041 * math/s_clog10f.c (__clog10f): Likewise.
19042 * math/s_clog10l.c (__clog10l): Likewise.
19043 * math/s_clog.c (__clog): Likewise.
19044 * math/s_clogf.c (__clogf): Likewise.
19045 * math/s_clogl.c (__clogl): Likewise.
19046 * math/s_csin.c (__csin): Likewise.
19047 * math/s_csinf.c (__csinf): Likewise.
19048 * math/s_csinh.c (__csinh): Likewise.
19049 * math/s_csinhf.c (__csinhf): Likewise.
19050 * math/s_csinhl.c (__csinhl): Likewise.
19051 * math/s_csinl.c (__csinl): Likewise.
19052 * math/s_csqrt.c (__csqrt): Likewise.
19053 * math/s_csqrtf.c (__csqrtf): Likewise.
19054 * math/s_csqrtl.c (__csqrtl): Likewise.
19055 * math/s_ctan.c (__ctan): Likewise.
19056 * math/s_ctanf.c (__ctanf): Likewise.
19057 * math/s_ctanh.c (__ctanh): Likewise.
19058 * math/s_ctanhf.c (__ctanhf): Likewise.
19059 * math/s_ctanhl.c (__ctanhl): Likewise.
19060 * math/s_ctanl.c (__ctanl): Likewise.
19061 * math/w_pow.c: Likewise.
19062 * math/w_powf.c: Likewise.
19063 * math/w_powl.c: Likewise.
19064 * math/w_scalb.c (sysv_scalb): Likewise.
19065 * math/w_scalbf.c (sysv_scalbf): Likewise.
19066 * math/w_scalbl.c (sysv_scalbl): Likewise.
19067 * misc/error.c (error_tail): Likewise.
19068 * misc/pselect.c (__pselect): Likewise.
19069 * nis/nis_callback.c (__nis_create_callback): Likewise.
19070 * nis/nis_call.c (__nisfind_server): Likewise.
19071 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19072 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19073 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19074 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19075 * nis/nis_lookup.c (nis_lookup): Likewise.
19076 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
19077 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19078 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
19079 * nis/nis_xdr.c (xdr_endpoint): Likewise.
19080 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19081 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19082 * nis/nss_compat/compat-initgroups.c (add_group)
19083 (internal_getgrent_r): Likewise.
19084 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19085 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19086 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19087 (internal_getspnam_r): Likewise.
19088 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19089 (_nss_nis_getaliasbyname_r): Likewise.
19090 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19091 (_nss_nis_getntohost_r): Likewise.
19092 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19093 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19094 (_nss_nis_getgrgid_r): Likewise.
19095 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19096 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19097 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19098 (_nss_nis_gethostbyname4_r): Likewise.
19099 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19100 (initgroups_netid): Likewise.
19101 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
19102 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19103 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19104 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19105 (_nss_nis_getprotobynumber_r): Likewise.
19106 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19107 (_nss_nis_getsecretkey): Likewise.
19108 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19109 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19110 (_nss_nis_getpwuid_r): Likewise.
19111 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19112 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19113 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19114 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19115 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19116 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
19117 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19119 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19120 (_nss_nisplus_getntohost_r): Likewise.
19121 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19122 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19123 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19124 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
19126 * nis/nss_nisplus/nisplus-initgroups.c
19127 (_nss_nisplus_initgroups_dyn): Likewise.
19128 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19129 (_nss_nisplus_getnetbyaddr_r): Likewise.
19130 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19131 (_nss_nisplus_getprotobynumber_r): Likewise.
19132 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19133 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
19134 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19136 * nis/nss_nisplus/nisplus-service.c
19137 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19138 (_nss_nisplus_getservbyport_r): Likewise.
19139 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19140 (_nss_nisplus_getspnam_r): Likewise.
19141 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19143 * nscd/aicache.c (addhstaiX): Likewise.
19144 * nscd/cache.c (cache_search, prune_cache): Likewise.
19145 * nscd/connections.c (register_traced_file, send_ro_fd)
19146 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19147 (main_loop_epoll): Likewise.
19148 * nscd/grpcache.c (addgrbyX): Likewise.
19149 * nscd/hstcache.c (addhstbyX): Likewise.
19150 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19151 * nscd/mem.c (gc, mempool_alloc): Likewise.
19152 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19153 (addinnetgrX): Likewise.
19154 * nscd/nscd-client.h (__nscd_acquire_maplock)
19155 (__nscd_drop_map_ref): Likewise.
19156 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19157 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19158 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19160 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19161 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19162 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19163 (__nscd_get_map_ref): Likewise.
19164 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
19165 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19167 * nscd/pwdcache.c (addpwbyX): Likewise.
19168 * nscd/selinux.c (preserve_capabilities): Likewise.
19169 * nscd/servicescache.c (addservbyX): Likewise.
19170 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19171 * posix/fnmatch.c (fnmatch): Likewise.
19172 * posix/getopt.c (_getopt_internal_r): Likewise.
19173 * posix/glob.c (glob, glob_in_dir): Likewise.
19174 * posix/wordexp.c (exec_comm_child): Likewise.
19175 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19176 (getanswer_r, gaih_getanswer_slice): Likewise.
19177 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19178 * resolv/res_init.c: Likewise.
19179 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19180 * resolv/res_query.c (__libc_res_nquery): Likewise.
19181 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19183 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19184 * stdio-common/perror.c (perror): Likewise.
19185 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19186 * stdio-common/tmpnam.c (tmpnam): Likewise.
19187 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19188 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19189 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19191 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19192 * stdlib/putenv.c (putenv): Likewise.
19193 * stdlib/setenv.c (__add_to_environ): Likewise.
19194 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19195 * stdlib/strtol_l.c (INTERNAL): Likewise.
19196 * string/memmem.c (memmem): Likewise.
19197 * string/strerror.c (strerror): Likewise.
19198 * string/strnlen.c (__strnlen): Likewise.
19199 * string/test-memmem.c (simple_memmem): Likewise.
19200 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19201 * sunrpc/pm_getport.c (__get_socket): Likewise.
19202 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19203 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19204 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19205 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19207 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19208 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19209 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19210 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19211 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19212 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19214 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19216 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19217 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19218 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19219 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19220 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19222 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19223 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19224 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19225 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19226 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19227 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19229 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19231 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19233 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19234 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19235 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19236 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19237 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19238 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19239 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19240 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19241 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19242 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19243 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19244 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19245 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19246 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19247 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19248 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19250 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19252 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19254 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19256 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19257 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19258 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19260 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19261 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19262 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19263 * sysdeps/posix/sleep.c: Likewise.
19264 * sysdeps/posix/tempname.c: Likewise.
19265 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19266 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19268 * sysdeps/powerpc/powerpc32/dl-machine.h
19269 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
19270 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19271 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19272 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19273 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19275 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
19276 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19277 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19278 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19279 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19280 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19281 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19282 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19283 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19284 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
19285 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19286 (elf_machine_lazy_rel): Likewise.
19287 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19288 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19289 (elf_machine_lazy_rel): Likewise.
19290 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19291 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19292 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19293 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19294 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19295 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19296 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19297 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19299 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19300 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19301 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19302 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19303 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19304 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19305 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19306 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19307 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19308 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19309 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19311 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19312 (__posix_fallocate64_l64): Likewise.
19313 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19314 (posix_fallocate): Likewise.
19315 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19317 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19318 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19319 (getifaddrs_internal): Likewise.
19320 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19321 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19322 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19323 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19324 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19325 (__posix_fallocate64_l64): Likewise.
19326 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19328 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19329 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19330 (__get_clockfreq): Likewise.
19331 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19332 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19333 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19334 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19335 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19336 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19337 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19338 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19340 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19341 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19342 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19343 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19344 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19345 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19346 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19348 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19349 (posix_fallocate): Likewise.
19350 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19351 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19352 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19353 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19354 (elf_machine_rela, elf_machine_rela_relative)
19355 (elf_machine_lazy_rel): Likewise.
19356 * time/asctime.c (asctime_internal): Likewise.
19357 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19358 * time/tzset.c (__tzset_parse_tz): Likewise.
19359 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19360 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19361 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19362 * wcsmbs/wcsmbsload.h: Likewise.
19365 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19367 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19368 (arena_get2): Remove THREAD_STATS conditionals.
19369 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19370 (__malloc_stats, int): Likewise.
19372 2014-02-08 Mike Frysinger <vapier@gentoo.org>
19374 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19375 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19377 * manual/setjmp.texi: Fix typos/grammar errors.
19379 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19380 Only return early when n is <= 0. Delete unused return statement.
19382 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19383 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19384 * debug/tst-longjmp_chk3.c: New file.
19386 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19387 (test_main): Replace code with set_fortify_handler call.
19388 * debug/test-strcpy_chk.c: Likewise.
19389 * debug/tst-chk1.c: Likewise.
19390 * debug/tst-longjmp_chk.c: Likewise.
19391 * test-skeleton.c: Include fcntl.h & paths.h
19392 (set_fortify_handler): Define.
19394 * debug/tst-longjmp_chk.c: Add header comment and include
19395 ../test-skeleton.c.
19396 (do_test): Mark static.
19397 (TEST_FUNCTION): Define.
19399 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19400 (IP_PMTUDISC_INTERFACE): Likewise.
19401 (IP_MULTICAST_IF): Likewise.
19402 (IP_MULTICAST_TTL): Likewise.
19403 (IP_MULTICAST_LOOP): Likewise.
19404 (IP_ADD_MEMBERSHIP): Likewise.
19405 (IP_DROP_MEMBERSHIP): Likewise.
19406 (IP_UNBLOCK_SOURCE): Likewise.
19407 (IP_BLOCK_SOURCE): Likewise.
19408 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19409 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19410 (IP_MSFILTER): Likewise.
19411 (MCAST_JOIN_GROUP): Likewise.
19412 (MCAST_BLOCK_SOURCE): Likewise.
19413 (MCAST_UNBLOCK_SOURCE): Likewise.
19414 (MCAST_LEAVE_GROUP): Likewise.
19415 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19416 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19417 (MCAST_MSFILTER): Likewise.
19418 (IP_MULTICAST_ALL): Likewise.
19419 (IP_UNICAST_IF): Likewise.
19421 * timezone/Makefile: Delete $(have-ksh) check.
19422 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19423 * timezone/tzselect.ksh: Add +x mode bits.
19425 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19426 (ANON_INODE_FS_MAGIC): Likewise.
19427 (BDEVFS_MAGIC): Likewise.
19428 (BINFMTFS_MAGIC): Likewise.
19429 (BTRFS_TEST_MAGIC): Likewise.
19430 (CRAMFS_MAGIC_WEND): Likewise.
19431 (DEBUGFS_MAGIC): Likewise.
19432 (ECRYPTFS_SUPER_MAGIC): Likewise.
19433 (EXT3_SUPER_MAGIC): Likewise.
19434 (EXT4_SUPER_MAGIC): Likewise.
19435 (FUTEXFS_SUPER_MAGIC): Likewise.
19436 (HOSTFS_SUPER_MAGIC): Likewise.
19437 (HUGETLBFS_MAGIC): Likewise.
19438 (MINIX3_SUPER_MAGIC): Likewise.
19439 (MTD_INODE_FS_MAGIC): Likewise.
19440 (NILFS_SUPER_MAGIC): Likewise.
19441 (OPENPROM_SUPER_MAGIC): Likewise.
19442 (PIPEFS_MAGIC): Likewise.
19443 (PSTOREFS_MAGIC): Likewise.
19444 (QNX6_SUPER_MAGIC): Likewise.
19445 (RAMFS_MAGIC): Likewise.
19446 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19447 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19448 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19449 (SECURITYFS_MAGIC): Likewise.
19450 (SELINUX_MAGIC): Likewise.
19451 (SMACK_MAGIC): Likewise.
19452 (SOCKFS_MAGIC): Likewise.
19453 (SQUASHFS_MAGIC): Likewise.
19454 (STACK_END_MAGIC): Likewise.
19455 (TMPFS_MAGIC): Likewise.
19456 (USBDEVICE_SUPER_MAGIC): Likewise.
19457 (V9FS_MAGIC): Likewise.
19458 (XENFS_SUPER_MAGIC): Likewise.
19459 (CRAMFS_MAGIC): Fix typo in comment.
19460 (EXT2_SUPER_MAGIC): Update comment.
19461 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19463 2014-02-08 Joseph Myers <joseph@codesourcery.com>
19465 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19466 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19467 * sysdeps/unix/sysv/linux/arm: Move directory from
19468 ports/sysdeps/unix/sysv/linux/arm.
19469 * README: Update listing for arm-*-linux-gnueabi.
19471 * README: Remove mention of am33.
19473 2014-02-07 Roland McGrath <roland@hack.frob.com>
19475 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19476 than the comma operator, to avoid "rhs of comma has no effect"
19478 (__sigfillset, __sigandset, __sigorset): Likewise.
19479 * include/signal.h (__sigemptyset): Likewise.
19480 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19482 2014-02-07 Allan McRae <allan@archlinux.org>
19484 * version.h (RELEASE): Set to "development".
19485 (VERSION): Set to "2.19.90"
19486 * NEWS: Add 2.20 section.
19488 2014-02-06 Carlos O'Donell <carlos@redhat.com>
19491 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19493 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19495 * manual/contrib.texi: Update entry for Carlos O'Donell,
19496 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19498 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
19500 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19502 * sysdeps/unix/sysv/linux/kernel-features.h
19503 [__LINUX_KERNEL_VERSION >= 0x020621]
19504 (__ASSUME_PROC_PID_TASK_COMM): Define.
19506 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19509 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19510 conversion when destination buffer does not have enough space.
19511 * libio/tst-ftell-partial-wide.c: New test case.
19512 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19514 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19515 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19516 Leonard and Allan McRae.
19518 2014-02-04 David S. Miller <davem@davemloft.net>
19520 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19523 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19552 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19554 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19555 * shlib-versions: Likewise.
19557 2014-02-04 Roland McGrath <roland@hack.frob.com>
19558 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19560 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19561 (abilist-pattern): New variable, set to %-le.abilist.
19563 * Makerules (abilist-pattern): New variable.
19564 (vpath): Use $(abilist-pattern) in place of %.abilist.
19565 (check-abi-% pattern rule): Likewise.
19566 (check-abi, update-abi): Likewise.
19568 2014-02-04 Eric Wong <normalperson@yhbt.net>
19570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19572 2014-02-03 Carlos O'Donell <carlos@redhat.com>
19574 * manual/startup.texi: Add next, previous, and top entries for
19575 the `Program Arguments' and `Environment Variables' nodes.
19577 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
19579 * manual/macros.texi: Add comments before MTASC-safety macros.
19581 * manual/users.texi: Document MTASC-safety properties.
19583 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19584 (pthread_getspecific, pthread_setspecific): Format with
19585 @deftypefun, and add @safety note.
19586 * manual/signal.texi: Move comments that analyze the above
19587 functions to their home place.
19589 2014-02-03 Allan McRae <allan@archlinux.org>
19591 * po/sl.po: Update Slovenian translation from translation project.
19593 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
19595 * manual/time.texi (timegm): Add missing blank after @c.
19596 Reported by Joseph Myers <joseph@codesourcery.com>.
19598 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
19600 * manual/check-safety.sh: New.
19601 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19603 * manual/terminal.texi: Document MTASC-safety properties.
19605 * manual/filesys.texi: Document MTASC-safety properties.
19607 * manual/errno.texi: Document MTASC-safety properties.
19609 * manual/intro.texi: Document safety identifiers and
19612 * manual/string.texi (wcstok): Fix prototype.
19613 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19615 * manual/time.texi: Document MTASC-safety properties.
19617 * manual/string.texi: Document MTASC-safety properties.
19619 * manual/threads.texi: Document MTASC-safety properties.
19621 * manual/stdio.texi: Document MTASC-safety properties.
19623 * manual/syslog.texi: Document MTASC-safety properties.
19625 * manual/sysinfo.texi: Document MTASC-safety properties.
19627 * manual/startup.texi: Document MTASC-safety properties.
19629 * manual/socket.texi: Document MTASC-safety properties.
19631 * manual/signal.texi: Document MTASC-safety properties.
19633 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
19635 * manual/setjmp.texi: Document MTASC-safety properties.
19637 * manual/search.texi: Document MTASC-safety properties.
19639 * manual/resource.texi: Document MTASC-safety properties.
19641 * manual/process.texi: Document MTASC-safety properties.
19643 * manual/platform.texi: Document MTASC-safety properties.
19645 * manual/pipe.texi: Document MTASC-safety properties.
19647 * manual/pattern.texi: Document MTASC-safety properties.
19649 * manual/message.texi: Document MTASC-safety properties.
19652 * manual/memory.texi: Document MTASC-safety properties.
19654 * manual/math.texi: Document MTASC-safety properties.
19656 * manual/locale.texi: Document MTASC-safety properties.
19658 * manual/llio.texi: Document MTASC-safety properties.
19660 * manual/libdl.texi: New.
19662 * manual/lang.texi: Document MTASC-safety properties.
19664 * manual/job.texi: Document MTASC-safety properties.
19666 * manual/getopt.texi: Document MTASC-safety properties.
19668 * manual/ctype.texi: Document MTASC-safety properties.
19670 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19673 * csu/libc-tls.c (static_map): Remove variable.
19674 (__libc_setup_tls): Use main executable's link map for TLS data.
19675 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19676 casing for LM_ID_BASE and GL(dl_nns).
19677 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19678 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19679 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19680 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19681 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19683 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19686 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
19688 * manual/debug.texi: Document MTASC-safety properties.
19690 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19693 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19694 of __x86_64__ when disabling x87 inline functions.
19696 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
19698 * manual/charset.texi: Document MTASC-safety properties.
19700 * manual/crypt.texi: Document MTASC-safety properties.
19702 * manual/conf.texi: Document MTASC-safety properties.
19704 * manual/arith.texi: Document MTASC-safety properties.
19706 * manual/argp.texi: Document MTASC-safety properties.
19708 * manual/macros.texi: Introduce macros to document multi
19709 thread, asynchronous signal and asynchronous cancellation
19711 * manual/intro.texi: Introduce the properties themselves.
19713 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19715 * sysdeps/sh/sh4/Makefile: New file.
19717 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19719 * math/gen-libm-test.pl ($srcdir): New variable.
19720 ($auto_input): Use it.
19722 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19725 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19726 access beyond array bounds when parsing netgroups file.
19728 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19729 the old buffer before realloc.
19731 2014-01-27 Allan McRae <allan@archlinux.org>
19733 * po/fr.po: Update French translation from translation project.
19735 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19737 * sysdeps/sh/libm-test-ulps: Regenerate.
19739 2014-01-24 David S. Miller <davem@davemloft.net>
19741 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19743 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19745 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19746 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19748 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19751 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19752 string pointers after reallocation.
19754 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19756 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19757 __SH4A__ instead of __SH_FPU_ANY__.
19759 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19761 * sysdeps/sh/fpu_control.h: New file.
19762 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19763 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19764 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19765 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19766 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19767 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19768 * sysdeps/sh/sys/ucontext.h: Remove.
19769 * sysdeps/sh/sys: Remove directory.
19771 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19773 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19774 s390/sys/ucontext.h.
19775 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19776 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19778 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19781 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19783 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19786 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19787 Adjust the vDSO correctly for internal calls.
19788 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19790 2014-01-20 Allan McRae <allan@archlinux.org>
19792 * po/ca.po: Update Catalan translation from translation project.
19794 2014-01-16 Mike Frysinger <vapier@gentoo.org>
19796 * sysdeps/s390/sotruss-lib.c: New file.
19798 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19801 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19802 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19803 local calls issues by not having a PLT stub required for IFUNC calls.
19804 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19806 2014-01-16 Joseph Myers <joseph@codesourcery.com>
19808 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19809 * math/test-fpucw-static.c: Likewise.
19811 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19814 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19816 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19818 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19819 implementation for powerpc.
19821 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
19824 * sysdeps/posix/system.c (__libc_system): Do not enable
19825 asynchronous cancellation.
19827 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19830 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19831 handling only for numbers special also in the IEEE case.
19833 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19835 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19837 2014-01-11 Allan McRae <allan@archlinux.org>
19839 * po/bg.po: Update Bulgarian translation from translation project.
19841 * po/de.po: Update German translation from translation project.
19843 2014-01-10 Roland McGrath <roland@hack.frob.com>
19845 * sysdeps/generic/gcc-compat.h: New file.
19847 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19849 * benchtests/asin-inputs: Correct slow inputs.
19850 * benchtests/acos-inputs: Likewise.
19852 2014-01-10 Allan McRae <allan@archlinux.org>
19854 * po:sv.po: Update Swedish translation from translation project.
19856 * po/vi.po: Update Vietnamese translation from translation project.
19858 * po/eo.po: Update Esperanto translation from translation project.
19860 * po/cs.po: Update Czech translation from translation project.
19862 * po/nl.po: Update Dutch translation from translation project.
19864 * po/pl.po: Update Polish translation from translation project.
19866 * po/ru.po: Update Russian translation from translation project.
19868 * po/uk.po: Update Ukrainian translation from translation project.
19870 2014-01-08 Brooks Moses <bmoses@google.com>
19872 * elf/dl-load.c: Fix comment typo.
19874 2014-01-08 Carlos O'Donell <carlos@redhat.com>
19876 * po/header.pot: Rename to...
19877 * po/pot.header: ... this.
19878 * po/Makefile: Use pot.header.
19880 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19881 Maxim Kuvyrkov <maxim@kugelworks.com>
19884 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19885 SRC and DEST against LEN.
19887 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19890 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19892 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19894 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19898 2014-01-08 Joseph Myers <joseph@codesourcery.com>
19901 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19902 for large positive arguments.
19904 2014-01-07 Joseph Myers <joseph@codesourcery.com>
19906 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19908 * math/auto-libm-test-in: Mark various tests with
19909 xfail-rounding:ldbl-128ibm.
19910 * math/auto-libm-test-out: Regenerated.
19913 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19914 Increase overflow threshold.
19916 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
19919 * stdio-common/vfprintf.c: Check for integer overflow.
19921 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19923 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19924 the first argument and return value of __tls_get_addr_internal.
19926 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19928 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19929 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19931 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19933 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19934 * sysdeps/s390/rtld-global-offsets.sym: New file.
19935 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19937 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19938 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19939 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19941 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19942 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19948 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19949 halfs of GPRs for high_gprs contexts.
19950 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19951 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19953 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19955 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19957 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19958 for high GPRs (uc_high_gprs) and for future extensions
19960 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19961 for future extensions (__reserved).
19962 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19964 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19965 SC_HIGHGPRS offset definition.
19966 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19967 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19969 * Versions.def: Add GLIBC_2.19 for libpthread.
19970 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19971 siglongjmp for libpthread with GLIBC_2.19 symver.
19972 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19973 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19974 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19975 * sysdeps/s390/__longjmp.c: New file.
19976 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19977 * sysdeps/s390/longjmp.c: New file.
19978 * sysdeps/s390/setjmp.S: New file.
19979 * sysdeps/s390/sigjmp.S: New file.
19980 * sysdeps/s390/v1-longjmp.c: New file.
19981 * sysdeps/s390/v1-setjmp.h: New file.
19982 * sysdeps/s390/v1-sigjmp.c: New file.
19983 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19984 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19985 GLIBC_2.19 version.
19986 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19987 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19988 versioned symbols for ____longjmp_chk.
19989 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19999 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20000 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20001 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20002 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20003 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20004 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20005 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20006 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20007 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20008 * sysdeps/s390/rtld-__longjmp.c: New file.
20009 * sysdeps/s390/rtld-setjmp.S: New file.
20011 2014-01-06 Joseph Myers <joseph@codesourcery.com>
20014 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20015 Return -__logl (x) for small positive arguments without evaluating
20018 2014-01-06 Mike Frysinger <vapier@gentoo.org>
20020 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20022 (__ptrace_peeksiginfo_args): ... this.
20023 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20024 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20025 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20027 2014-01-06 Allan McRae <allan@archlinux.org>
20029 * inet/netinet/in.h: Fix typo in comment.
20031 2014-01-05 Andreas Jaeger <aj@suse.de>
20033 * sysdeps/i386/fpu/libm-test-ulps: Update.
20035 2014-01-05 Allan McRae <allan@archlinux.org>
20037 * po/libc.pot: Regenerated.
20039 * malloc/memusagestat.c: Fix gettext call formatting.
20041 2014-01-04 Sami Kerola <kerolasa@iki.fi>
20043 * nscd/nscd.c: Improve usage() output.
20045 2014-01-04 Mike Frysinger <vapier@gentoo.org>
20047 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20048 * sysdeps/unix/sysv/linux/configure: Regenerated.
20049 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20050 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20052 2014-01-03 Joseph Myers <joseph@codesourcery.com>
20055 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20056 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20058 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20060 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20061 extra tokens at end of #undef directive.
20062 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20063 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20064 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20066 2014-01-03 Joseph Myers <joseph@codesourcery.com>
20068 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20070 * math/auto-libm-test-in: Mark various tests with
20071 xfail-rounding:ldbl-128ibm.
20072 * math/auto-libm-test-out: Regenerated.
20074 2014-01-02 Joseph Myers <joseph@codesourcery.com>
20077 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20078 numbers with subnormal high part when calculating exponent.
20081 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20085 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20087 (__ieee754_acoshl): Use __log1pl not __log1p.
20089 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
20091 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20092 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20093 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20094 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20095 (reused_arena, arena_get2): Convert to GNU style.
20096 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20097 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20098 (memalign_check, __malloc_set_state): Likewise.
20099 * malloc/mallocbug.c (main): Likewise.
20100 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20101 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20102 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20103 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20104 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20105 (__posix_memalign, malloc_info): Likewise.
20106 * malloc/malloc.h: Likewise.
20107 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20108 (mallochook, memalignhook, reallochook, mabort): Likewise.
20109 * malloc/mcheck.h: Likewise.
20110 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20111 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
20112 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20113 * malloc/morecore.c (__default_morecore): Likewise.
20114 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
20115 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20116 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20117 (print_and_abort): Likewise.
20118 * malloc/obstack.h: Likewise.
20119 * malloc/set-freeres.c (__libc_freeres): Likewise.
20120 * malloc/tst-mallocstate.c (main): Likewise.
20121 * malloc/tst-mtrace.c (main): Likewise.
20122 * malloc/tst-realloc.c (do_test): Likewise.
20124 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20127 * nscd/netgroupcache.c (do_notfound): New function.
20128 (addgetnetgrentX): Use it.
20131 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20132 NSS_STATUS_NOTFOUND.
20134 2014-01-01 Joseph Myers <joseph@codesourcery.com>
20136 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20139 2014-01-01 Allan McRae <allan@archlinux.org>
20141 * scripts/update-copyrights: Update configure input file suffix.
20143 * NEWS: Update copyright year.
20144 * catgets/gencat.c: Likewise.
20145 * csu/version.c: Likewise.
20146 * debug/catchsegv.sh: Likewise.
20147 * debug/pcprofiledump.c: Likewise.
20148 * debug/xtrace.sh: Likewise.
20149 * elf/ldconfig.c: Likewise.
20150 * elf/ldd.bash.in: Likewise.
20151 * elf/pldd.c: Likewise.
20152 * elf/sotruss.ksh: Likewise.
20153 * elf/sprof.c: Likewise.
20154 * iconv/iconv_prog.c: Likewise.
20155 * iconv/iconvconfig.c: Likewise.
20156 * locale/programs/locale.c: Likewise.
20157 * locale/programs/localedef.c: Likewise.
20158 * login/programs/pt_chown.c: Likewise.
20159 * malloc/memusage.sh: Likewise.
20160 * malloc/memusagestat.c: Likewise.
20161 * malloc/mtrace.pl: Likewise.
20162 * manual/libc.texinfo: Likewise.
20163 * nscd/nscd.c: Likewise.
20164 * nss/getent.c: Likewise.
20165 * nss/makedb.c: Likewise.
20166 * posix/getconf.c: Likewise.
20167 * scripts/test-installation.pl: Likewise.
20169 * All files with FSF copyright notices: Update copyright dates
20170 using scripts/update-copyrights.
20171 * intl/plural.c: Regenerated.
20172 * locale/programs/charmap-kw.h: Likewise.
20173 * locale/programs/locfile-kw.h: Likewise.
20175 2013-12-31 Mike Frysinger <vapier@gentoo.org>
20177 * sysdeps/unix/sysv/linux/configure: Regenerated.
20178 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20179 the linux/fanotify.h header.
20180 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20181 HAVE_LINUX_FANOTIFY_H is defined.
20183 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20185 * benchtests/cos-inputs: New inputs.
20186 * benchtests/sin-inputs: Likewise.
20188 * benchtests/atan-inputs: New inputs. Fix name of multiple
20189 precision fallback inputs.
20191 * benchtests/atanh-inputs: New inputs.
20192 * benchtests/tanh-inputs: Likewise.
20194 * benchtests/acosh-inputs: New inputs.
20195 * benchtests/asinh-inputs: Likewise.
20197 * benchtests/cosh-inputs: New inputs.
20198 * benchtests/sinh-inputs: Likewise.
20200 * benchtests/acos-inputs: Add more inputs.
20201 * benchtests/asin-inputs: Likewise.
20203 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
20206 * manual/arith.texi: Fix spelling.
20207 * manual/charset.texi: Likewise.
20208 * manual/errno.texi: Likewise.
20209 * manual/filesys.texi: Likewise.
20210 * manual/lang.texi: Likewise.
20211 * manual/llio.texi: Likewise.
20212 * manual/locale.texi: Likewise.
20213 * manual/message.texi: Likewise.
20214 * manual/resource.texi: Likewise.
20215 * manual/search.texi: Likewise.
20216 * manual/setjmp.texi: Likewise.
20217 * manual/stdio.texi: Likewise.
20218 * manual/string.texi: Likewise.
20219 * manual/sysinfo.texi: Likewise.
20220 * manual/time.texi: Likewise.
20222 2013-12-27 Carlos O'Donell <carlos@redhat.com>
20224 * po/sl.po: New file.
20226 2013-12-27 Mike Frysinger <vapier@gentoo.org>
20228 * .gitignore: Add core/.gdbinit/.gdb_history.
20230 2013-12-27 Allan McRae <allan@archlinux.org>
20233 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20234 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20236 2013-12-24 Brooks Moses <bmoses@google.com>
20238 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20239 all compilers that claim C++98 compliance, not just GCC.
20240 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20243 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20245 * NEWS: Restore accidentally deleted bug-fix entries.
20247 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20248 Ondřej Bílka <neleai@seznam.cz>
20251 * malloc/malloc.c (_int_free): Perform sanity check only if we
20254 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
20257 * manual/stdio.texi (String Input Conversions): Clarify that character
20258 classes are not supported.
20260 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20264 2013-12-22 Joseph Myers <joseph@codesourcery.com>
20267 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20268 Calculate results for small negative arguments directly rather
20269 than using reflection formula with special underflow handling.
20271 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20272 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20273 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20274 (fchflags): Likewise.
20275 (revoke): Likewise.
20276 (setlogin): Likewise.
20277 (sigaltstack): Likewise.
20279 (sigblock): Remove.
20280 (sigsetmask): Likewise.
20282 (waitpid): Likewise.
20283 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20284 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20286 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20287 * sysdeps/unix/bsd/Makefile: ... here.
20288 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20289 * sysdeps/unix/bsd/Versions: ... here.
20290 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20291 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20292 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20293 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20294 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20295 * sysdeps/unix/bsd/sigblock.c: ... here.
20296 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20297 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20298 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20299 * sysdeps/unix/bsd/sigvec.c: ... here.
20300 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20301 * sysdeps/unix/bsd/tcdrain.c: ... here.
20302 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20303 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20304 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20305 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20306 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20307 * sysdeps/unix/bsd/wait.c: ... here.
20308 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20309 * sysdeps/unix/bsd/wait3.c: ... here.
20310 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20311 * sysdeps/unix/bsd/waitpid.c: ... here.
20313 2013-12-21 Joseph Myers <joseph@codesourcery.com>
20316 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20317 round-to-nearest for [!USE_AS_EXPM1L].
20318 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20319 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20320 more tests of exp and exp10. Expect some exp10 tests to miss
20321 exceptions or fail in directed rounding modes.
20322 * math/auto-libm-test-out: Regenerated.
20323 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20324 (exp10_test_tonearest): New function.
20325 (exp10_towardzero_test_data): New array.
20326 (exp10_test_towardzero): New function.
20327 (exp10_downward_test_data): New array.
20328 (exp10_test_downward): New function.
20329 (exp10_upward_test_data): New array.
20330 (exp10_test_upward): New function.
20331 (main): Call the new functions.
20332 * sysdeps/i386/fpu/libm-test-ulps: Update.
20333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20335 2013-12-20 Joseph Myers <joseph@codesourcery.com>
20337 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20338 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20339 * math/auto-libm-test-out: Regenerated.
20340 * math/libm-test.inc (acosh_test_data): Add more tests.
20341 (atanh_test_data): Likewise.
20342 (ceil_test_data): Likewise.
20343 (copysign_test_data): Likewise.
20344 * sysdeps/i386/fpu/libm-test-ulps: Update.
20345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20347 * timezone/checktab.awk: Update from tzcode 2013i.
20348 * timezone/private.h: Likewise.
20349 * timezone/scheck.c: Likewise.
20350 * timezone/tzfile.h: Likewise.
20351 * timezone/tzselect.ksh: Likewise.
20352 * timezone/zdump.c: Likewise.
20353 * timezone/zic.c: Likewise.
20355 * math/auto-libm-test-in: Add tests of cpow.
20356 * math/auto-libm-test-out: Regenerated.
20357 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20358 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20360 (func_calc_desc): Add mpc_cc_c union field.
20361 (test_functions): Add cpow.
20362 (special_fill_2pi): New function.
20363 (special_real_inputs): Add 2pi.
20364 (calc_generic_results): Handle mpc_cc_c.
20365 * sysdeps/i386/fpu/libm-test-ulps: Update.
20366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20368 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20369 csqrt, ctan and ctanh.
20370 * math/auto-libm-test-out: Regenerated.
20371 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20372 (TEST_COND_x86): Likewise.
20373 (ccos_test_data): Use AUTO_TESTS_c_c.
20374 (ccosh_test_data): Likewise.
20375 (cexp_test_data): Likewise.
20376 (clog_test_data): Likewise.
20377 (csqrt_test_data): Likewise.
20378 (ctan_test_data): Likewise.
20379 (ctan_tonearest_test_data): Likewise.
20380 (ctan_towardzero_test_data): Likewise.
20381 (ctan_downward_test_data): Likewise.
20382 (ctan_upward_test_data): Likewise.
20383 (ctanh_test_data): Likewise.
20384 (ctanh_tonearest_test_data): Likewise.
20385 (ctanh_towardzero_test_data): Likewise.
20386 (ctanh_downward_test_data): Likewise.
20387 (ctanh_upward_test_data): Likewise.
20388 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20390 (func_calc_desc): Add mpc_c_c union field.
20391 (FUNC_mpc_c_c): New macro.
20392 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20393 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20395 (special_fill_min_subnorm_p120): New function.
20396 (special_real_inputs): Add min_subnorm_p120.
20397 (calc_generic_results): Handle mpc_c_c.
20398 * sysdeps/i386/fpu/libm-test-ulps: Update.
20399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20401 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20403 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20404 (do_sin_slow): New functions.
20405 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20406 (cslow2, csloww1, csloww2): Use the new functions.
20408 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20409 Use M to change sign of result instead of X. Assume X is
20411 (csloww1): Likewise.
20415 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20416 arguments A and DA.
20420 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20422 (sloww1): Don't adjust sign of DX.
20423 (csloww1): Likewise.
20424 (sloww2): Use X directly and don't adjust sign of DX.
20425 (csloww2): Likewise.
20427 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20429 * math/auto-libm-test-in: Add tests of cabs and carg.
20430 * math/auto-libm-test-out: Regenerated.
20431 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20432 (carg_test_data): Likewise.
20433 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20435 (func_calc_desc): Add mpc_c_f union field.
20436 (test_functions): Add cabs and carg.
20437 (calc_generic_results): Handle mpc_c_f.
20439 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20440 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20441 as a macro and a compat symbol.
20442 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20443 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20444 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20445 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20446 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20447 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20449 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20451 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20453 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20455 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20457 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20459 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20460 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20463 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20467 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20469 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20470 trailing whitespace removed.
20471 * scripts/config.guess: Update to version 2013-11-29.
20472 * scripts/config.sub: Update to version 2013-10-01.
20474 * math/auto-libm-test-in: Add tests of sincos.
20475 * math/auto-libm-test-out: Regenerated.
20476 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20477 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20479 (func_calc_desc): Add mpfr_f_11 union field.
20480 (test_functions): Add sincos.
20481 (calc_generic_results): Handle mpfr_f_11.
20482 * sysdeps/i386/fpu/libm-test-ulps: Update.
20483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20485 2013-12-19 Andreas Schwab <schwab@suse.de>
20487 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20489 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20490 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20491 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20493 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20495 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20496 * sysdeps/i386/fpu/libm-test-ulps: Update.
20497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20500 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20501 round-to-nearest mode when using frndint.
20502 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20503 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20504 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20506 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20508 * math/auto-libm-test-out: Regenerated.
20509 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20510 (TEST_COND_x86): Likewise.
20511 (expm1_tonearest_test_data): New array.
20512 (expm1_test_tonearest): New function.
20513 (expm1_towardzero_test_data): New array.
20514 (expm1_test_towardzero): New function.
20515 (expm1_downward_test_data): New array.
20516 (expm1_test_downward): New function.
20517 (expm1_upward_test_data): New array.
20518 (expm1_test_upward): New function.
20519 (main): Run the new test functions.
20520 * sysdeps/i386/fpu/libm-test-ulps: Update.
20521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20523 * include/features.h: Update comment documenting feature test
20524 macros. Mention _DEFAULT_SOURCE in comment.
20525 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20526 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20527 _BSD_SOURCE and _SVID_SOURCE.
20528 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20529 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20530 !_SVID_SOURCE]: Likewise.
20531 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20532 (__USE_POSIX_IMPLICITLY): Define.
20533 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20534 (_POSIX_SOURCE): Undefine and redefine.
20535 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20536 (_POSIX_C_SOURCE): Likewise.
20537 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20538 (Feature Test Macros): Update documentation of default features.
20540 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20542 * benchtests/Makefile: Add bench-strtok.
20543 * benchtests/bench-strtok.c: New file: strtok benchtest.
20545 2013-12-19 Allan McRae <allan@archlinux.org>
20547 * manual/install.texi: Suppress menu for plain text output.
20548 * INSTALL: Regenerated.
20550 2013-12-18 Brooks Moses <bmoses@google.com>
20553 * misc/getauxval.c: Include errno.h.
20554 (__getauxval): Set errno to ENOENT if the requested type is not
20556 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20557 don't declare with __attribute_const__.
20558 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20559 * manual/startup.texi: Document that getauxval sets errno.
20561 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20563 * math/auto-libm-test-in: Add tests of jn and yn.
20564 * math/auto-libm-test-out: Regenerated.
20565 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20566 (yn_test_data): Likewise.
20567 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20569 (func_calc_desc): Add mpfr_if_f union field.
20570 (FUNC_mpfr_if_f): New macro.
20571 (test_functions): Add jn and yn.
20572 (calc_generic_results): Assert type of second input for
20573 mpfr_ff_f. Handle mpfr_if_f.
20574 (output_for_one_input_case): Disable all checking for arguments
20575 fitting floating-point types in case of an integer argument.
20576 * sysdeps/i386/fpu/libm-test-ulps: Update.
20577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20580 Don't expect fegetround reference in libm.so.
20582 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20584 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20585 $(config-cflags-nofma).
20587 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20589 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20590 * math/auto-libm-test-out: Regenerated.
20593 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20594 to determine exponent and adjust argument to have exponent of -1.
20595 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20597 * math/auto-libm-test-out: Regenerated.
20598 * sysdeps/i386/fpu/libm-test-ulps: Update.
20599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20601 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
20603 * manual/probes.texi: Remove cases when per-thread arenas are
20606 2013-12-18 Andreas Schwab <schwab@suse.de>
20608 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20609 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20610 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20611 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20612 * sysdeps/i386/i686/multiarch/Makefile: Update.
20613 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20615 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20617 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20618 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20620 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20623 Support TZ transition times < 00:00:00.
20624 This is needed for version-3 tz-format files; it supports time
20625 stamps past 2037 for America/Godthab (the only entry in the tz
20626 database for which this change is relevant).
20627 * manual/time.texi (TZ Variable): Document transition times
20628 from -167:59:59 through -00:00:01.
20629 * time/tzset.c (tz_rule): Time of day is now signed.
20630 (__tzset_parse_tz): Parse negative time of day.
20632 Document TZ transition times >= 25:00:00.
20633 * manual/time.texi (TZ Variable): Document transition times from
20634 25:00:00 through 167:59:59. These are already supported, and this
20635 support will help with version-3 tz-format files.
20637 * manual/time.texi (TZ Variable): Modernize North America example
20638 to reflect current (i.e., 2007-and-later) daylight saving rules.
20640 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20642 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20644 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20645 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20646 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20647 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20648 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20649 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20650 * sysdeps/unix/bsd/clock.c: Likewise.
20651 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20652 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20653 * sysdeps/unix/bsd/init-posix.c: Likewise.
20654 * sysdeps/unix/bsd/poll.c: Likewise.
20655 * sysdeps/unix/bsd/ptsname.c: Likewise.
20656 * sysdeps/unix/bsd/seekdir.c: Likewise.
20657 * sysdeps/unix/bsd/setegid.c: Likewise.
20658 * sysdeps/unix/bsd/seteuid.c: Likewise.
20659 * sysdeps/unix/bsd/setgid.c: Likewise.
20660 * sysdeps/unix/bsd/setrgid.c: Likewise.
20661 * sysdeps/unix/bsd/setruid.c: Likewise.
20662 * sysdeps/unix/bsd/setsid.c: Likewise.
20663 * sysdeps/unix/bsd/setuid.c: Likewise.
20664 * sysdeps/unix/bsd/sigaction.c: Likewise.
20665 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20666 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20667 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20668 * sysdeps/unix/bsd/telldir.c: Likewise.
20669 * sysdeps/unix/bsd/times.c: Likewise.
20670 * sysdeps/unix/bsd/usleep.c: Likewise.
20672 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20673 ($(objpfx)libbsd-compat.a): Remove rule.
20675 * include/features.h (__FAVOR_BSD): Do not define.
20676 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20677 features conflicting with POSIX.
20678 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20679 (_BSD_SOURCE): Remove description of not being a subset of other
20680 feature test macros.
20681 * manual/job.texi (getpgrp): Do not document BSD version.
20682 (getpgid): Do not document by reference to BSD getpgrp.
20683 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20684 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20685 * signal/signal.h [__FAVOR_BSD]: Likewise.
20686 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20687 instead of making contents conditional on [__FAVOR_BSD].
20688 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20690 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20692 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20694 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20697 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20698 values below 2**-450, not 2**-500.
20699 * math/auto-libm-test-in: Don't allow spurious underflow from
20701 * math/auto-libm-test-out: Regenerated.
20705 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20706 values of ha and hb and sort them after adjusting subnormal
20708 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20710 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20711 values of ea and eb and sort them after adjusting subnormal
20713 * math/auto-libm-test-in: Do not expect some hypot tests of
20714 subnormals to fail. Add more hypot tests.
20715 * math/auto-libm-test-out: Regenerated.
20717 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20720 * sysdeps/sh/s_fma.c: New file.
20721 * sysdeps/sh/s_fmaf.c: New file.
20722 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20724 * sysdeps/sh/Implies: Add sh/soft-fp.
20726 2013-12-16 Roland McGrath <roland@hack.frob.com>
20728 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20729 level of indirection to members `objname', `errstring', `malloced'.
20730 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20731 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20732 it as the __longjmp argument (just pass 1 instead).
20733 (_dl_catch_error): Initialize C with argument pointers and address of
20734 volatile local ERRCODE rather than copying values out of C at return.
20736 2013-12-16 Joseph Myers <joseph@codesourcery.com>
20738 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20739 * math/auto-libm-test-out: Regenerated.
20740 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20741 (hypot_test_data): Likewise.
20742 (pow_test_data): Likewise.
20743 (pow_tonearest_test_data): Likewise.
20744 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20746 (func_calc_desc): Add mpfr_ff_f union field.
20747 (FUNC_mpfr_ff_f): New macro.
20748 (test_functions): Add atan2, hypot and pow.
20749 (special_fill_min): New function.
20750 (special_fill_minus_min): Likewise.
20751 (special_fill_min_subnorm): Likewise.
20752 (special_fill_minus_min_subnorm): Likewise.
20753 (special_real_inputs): Add min, -min, min_subnorm and
20755 (calc_generic_results): Handle mpfr_ff_f.
20756 * sysdeps/i386/fpu/libm-test-ulps: Update.
20757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20759 2013-12-16 Will Newton <will.newton@linaro.org>
20761 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20762 (Aligned Memory Blocks): Add documentation for aligned_alloc
20763 and suggest it as an alternative to posix_memalign.
20764 (Hooks for Malloc): Document __memalign_hook is also called
20765 for aligned_alloc. (Summary of Malloc): Add summary for
20766 aligned alloc. Document __memalign_hook is also called
20769 2013-12-16 Will Newton <will.newton@linaro.org>
20771 * manual/memory.texi (Malloc Examples): Clarify default
20772 alignment documentation. Suggest posix_memalign rather
20773 than memalign or valloc.
20774 (Aligned Memory Blocks): Remove suggestion to use memalign
20775 or valloc. Remove obsolete comment about BSD.
20776 Document memalign errno values and mark the function obsolete.
20777 Document posix_memalign returned error codes. Mark valloc
20778 as obsolete. (Hooks for Malloc): __memalign_hook is also
20779 called for posix_memalign and valloc.
20780 (Summary of Malloc): Add posix_memalign to function summary.
20781 __memalign_hook is also called for posix_memalign and valloc.
20783 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20785 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20789 (sloww): Use mynumber union. Expand ternary operator into
20790 if-else statements.
20791 (cslow): use mynumber union.
20793 2013-12-16 Allan McRae <allan@archlinux.org>
20795 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20796 * configure: Regenerated.
20798 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20801 * configure.ac: Added --enable-maintainer-mode. Check for
20802 autoconf when enabled.
20803 * configure: Regenerated.
20805 * nscd/nscd.service: New file.
20806 * nscd/nscd.tmpfiles: New file.
20808 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
20811 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20812 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20813 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20814 (strstr): Add __strstr_sse2_unaligned ifunc.
20815 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20816 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20817 (strcasestr): Remove __strcasestr_sse42 ifunc.
20818 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20819 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20822 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20824 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20825 * sysdeps/sh/bits/fenv.h: ... here.
20826 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20828 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20830 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20832 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20833 hypotf multiarch implementations.
20834 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20835 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20836 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20837 multiarch hypot for PPC64.
20838 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20839 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20840 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20841 multiarch hypotf for PPC64.
20843 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20844 modff multiarch implementations.
20845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20848 multiarch modf for PPC64.
20849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20852 multiarch modff for PPC64.
20854 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20855 and logl multiarch implementations.
20856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20859 multiarch logb for PPC64.
20860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20863 multiarch logb for PPC64.
20864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20867 multiarch logb for PPC64.
20869 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20870 isinff multiarch implementation.
20871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20875 multiarch isinf for PPC64.
20876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20879 multiarch isinff for PPC64.
20881 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20882 finitef multiarch implementation.
20883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20887 multiarch finite for PPC64.
20888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20891 multiarch finitef for PPC64.
20893 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20894 lrint multiarch implementation.
20895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20899 multiarch llrint for PPC64.
20900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20901 multiarch lrint for PPC64.
20903 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20904 copysignf multiarch implementation.
20905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20910 multiarch copysign for PPC64.
20911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20912 multiarch copysignf for PPC64.
20914 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20915 multiarch implementation.
20916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20924 multiarch llround for PPC64.
20925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20926 multiarch trunc for PPC64.
20927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20928 multiarch truncf for PPC64.
20930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20931 multiarch implementation.
20932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20940 multiarch llround for PPC64.
20941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20942 multiarch round for PPC64.
20943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20944 multiarch roundf for PPC64.
20946 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20947 multiarch implementation.
20948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20956 multiarch llround for PPC64.
20957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20958 multiarch floor for PPC64.
20959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20960 multiarch floorf for PPC64.
20962 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20963 multiarch implementation.
20964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20972 multiarch llround for PPC64.
20973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20974 multiarch ceil for PPC64.
20975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20976 multiarch ceilf for PPC64.
20978 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20979 multiarch implementation.
20980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20987 multiarch llround for PPC64.
20988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20989 multiarch lround for PPC64.
20991 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20992 multiarch implementation.
20993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21000 multiarch isnan for PPC64.
21001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21002 multiarch isnanf for PPC64.
21004 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21005 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21006 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21007 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21008 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21011 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21012 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21013 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21014 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21017 multiarch implementations.
21018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21019 (__libc_ifunc_impl_list): Likewise.
21020 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21021 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21022 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21023 multiarch stpcpy for PPC64.
21025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21026 multiarch implementations.
21027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21028 (__libc_ifunc_impl_list): Likewise.
21029 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21030 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21031 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21032 multiarch strcpy for PPC64.
21034 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21035 redefine function name.
21036 (_wordcopy_fwd_dest_aligned): Likewise.
21037 (_wordcopy_bwd_aligned): Likewise.
21038 (_wordcopy_bwd_dest_aligned): Likewise.
21039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21040 multiarch implementations.
21041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21042 (__libc_ifunc_impl_list): Likewise.
21043 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21044 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21045 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21046 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21047 multiarch wcscpy for PPC64.
21049 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21050 multiarch implementations.
21051 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21052 (__libc_ifunc_impl_list): Likewise.
21053 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21054 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21055 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21056 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21057 multiarch wcscpy for PPC64.
21059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21060 multiarch implementations.
21061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21062 (__libc_ifunc_impl_list): Likewise.
21063 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21064 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21065 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21066 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21067 multiarch wcsrchr for PPC64.
21069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21070 multiarch implementations.
21071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21072 (__libc_ifunc_impl_list): Likewise.
21073 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21074 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21075 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21076 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21077 multiarch wcschr for PPC64.
21079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21080 multiarch implementations.
21081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21082 (__libc_ifunc_impl_list): Likewise.
21083 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21084 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21085 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21086 multiarch strchrnul for PPC64.
21088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21091 (__libc_ifunc_impl_list): Likewise.
21092 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21093 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21094 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21095 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21101 (__libc_ifunc_impl_list): Likewise.
21102 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21103 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21104 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21105 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21108 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21109 multiarch implementations.
21110 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21111 (__libc_ifunc_impl_list): Likewise.
21112 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21113 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21114 strncasecmp for PPC64.
21115 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21116 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21117 multiarch strncasecmp_l for PPC64.
21119 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21120 multiarch implementations.
21121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21122 (__libc_ifunc_impl_list): Likewise.
21123 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21124 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21125 multiarch strcasecmp for PPC64.
21126 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21128 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21129 multiarch strcasecmp_l for PPC64.
21131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21134 (__libc_ifunc_impl_list): Likewise.
21135 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21136 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21137 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21140 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21142 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21143 (__libc_ifunc_impl_list): Likewise.
21144 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21145 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21146 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21152 (__libc_ifunc_impl_list): Likewise.
21153 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21154 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21155 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21156 rawmemrchr for PPC64.
21158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21161 (__libc_ifunc_impl_list): Likewise.
21162 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21163 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21164 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21170 (__libc_ifunc_impl_list): Likewise.
21171 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21172 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21173 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21176 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21178 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21179 (__libc_ifunc_impl_list): Likewise.
21180 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21181 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21182 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21185 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21186 avoid cretion of __bzero symbol.
21187 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21189 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21191 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21194 multiarch implementations.
21195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21196 (__libc_ifunc_impl_list): Likewise.
21197 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21198 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21199 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21200 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21202 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21203 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21204 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21205 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21206 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21208 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21210 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21214 (__libc_ifunc_impl_list): Likewise.
21215 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21216 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21217 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21218 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21222 multiarch for POWER/PPC64.
21223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21224 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21225 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21226 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21227 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21228 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21229 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21230 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21231 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21234 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21235 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21236 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21237 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21238 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21239 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21240 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21241 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21242 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21243 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21244 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21245 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21246 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21247 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21248 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21257 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21259 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21261 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21263 * benchtests/Makefile (bench): Add exp2 and log2.
21264 (LDLIBS-bench-exp2): Add -lm.
21265 (LDLIBS-bench-log2): Likewise.
21266 * benchtests/exp2-inputs: New inputs file.
21267 * benchtests/log2-inputs: New inputs file.
21268 * benchtests/log-inputs: Add new inputs.
21269 * benchtests/tan-inputs: Likewise.
21271 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21273 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21275 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21276 (csloww2): ... from here.
21278 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21279 instead of structures.
21280 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21281 (POLYNOMIAL): Likewise.
21282 (TAYLOR_SLOW): Likewise.
21288 (sloww1); Likewise.
21289 (sloww2): Likewise.
21290 (bsloww1): Likewise.
21291 (bsloww2): Likewise.
21292 (cslow2): Likewise.
21293 (csloww): Likewise.
21294 (csloww1): Likewise.
21295 (csloww2): Likewise.
21297 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
21299 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21300 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21301 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21302 * malloc/hooks.c (realloc_check): Likewise.
21304 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21305 * malloc/arena.c: Remove PER_THREAD conditional.
21306 [!PER_THREAD]: Remove code.
21307 (ptmalloc_unlock_all2): Likewise.
21308 (ptmalloc_init): Likewise.
21309 (_int_new_arena): Likewise.
21310 (arena_get2): Likewise.
21311 * malloc/hooks.c (__malloc_get_state): Likewise.
21312 (__malloc_set_state): Likewise.
21313 * malloc/malloc.c: Likewise.
21314 (struct malloc_state): Likewise.
21315 (struct malloc_par): Likewise.
21316 (__libc_realloc): Likewise.
21317 (__libc_mallopt): Likewise.
21319 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21321 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21323 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
21325 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21326 macro to a function. Check for zero perturb_byte.
21327 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21329 * malloc/malloc.c: (force_reg): Remove.
21330 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21331 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21332 force_reg by atomic_forced_read.
21333 * malloc/arena.c (ptmalloc_init): Likewise.
21334 * malloc/hooks.c (top_check): Likewise.
21336 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21340 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21344 2013-12-08 Joseph Myers <joseph@codesourcery.com>
21346 * math/auto-libm-test-in: Add tests of lgamma.
21347 * math/auto-libm-test-out: Regenerated.
21348 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21349 (M_LOG_2_SQRT_PIl): Likewise.
21350 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21351 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21353 (func_calc_desc): Add mpfr_f_f1 union field.
21354 (ARGS1): New macro.
21362 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21363 (test_functions): Add lgamma.
21364 (calc_generic_results): Handle mpfr_f_f1.
21365 * sysdeps/i386/fpu/libm-test-ulps: Update.
21366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21368 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21370 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21371 __mpn_add_n for PowerPC64/POWER7.
21372 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21373 __mpn_sub_n for PowerPC64/POWER7.
21375 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21376 __mpn_addmul_1 for PowerPC64.
21377 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21378 __mpn_submul_1 for PowerPC64.
21379 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21381 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21384 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21387 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21389 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21391 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21393 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21394 add multiarch folders.
21395 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21396 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21397 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21398 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21399 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21400 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21401 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21402 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21403 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21404 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21405 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21414 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21420 multiarch __ieee754_hypot for PowerPC32.
21421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21426 multiarch __ieee754_hypotf for PowerPC32.
21428 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21429 long_double_symbol only if __logbl is defined.
21430 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21431 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21432 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21433 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21434 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21435 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21436 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21437 path for implementation.
21438 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21439 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21441 logb, and logbl multiarch implementations for PowerPC32.
21442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21447 multiarch logb for PowerPC32.
21448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21453 multiarch logbf for PowerPC32.
21454 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21458 multiarch logbl implementation for PowerPC32.
21460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21461 and modff multiarch implementations.
21462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21467 multiarch modf for PowerPC32.
21468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21473 multiarch modff for PowerPC32.
21475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21476 and lrintf multiarch implementations.
21477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21482 multiarch lrint for PowerPC32.
21483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21484 file: multiarch lrintf for PowerPC32.
21486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21487 and lroundf multiarch implementations.
21488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21495 multiarch lround for PowerPC32.
21496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21497 file: multiarch lroundf for PowerPC32.
21499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21500 copysign and copysignf multiarch implementations.
21501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21506 file: multiarch copysign for PowerPC32.
21507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21508 file: multiarch copysignf for PowerPC32.
21510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21511 and truncf multiarch implementations.
21512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21517 multiarch trunc for PowerPC32.
21518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21523 multiarch truncf for PowerPC32.
21525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21526 and roundf multiarch implementations.
21527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21532 multiarch round for PowerPC32.
21533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21538 multiarch roundf for PowerPC32.
21540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21541 and floorf multiarch implementations.
21542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21547 multiarch floor for PowerPC32.
21548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21553 multiarch floorf for PowerPC32.
21555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21556 and ceilf multiarch implementations.
21557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21562 multiarch ceil for PowerPC32.
21563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21568 multiarch ceilf for PowerPC32.
21570 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21572 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21573 FINITEF is defined.
21574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21575 and finitef multiarch implementations.
21576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21581 multiarch finite for PowerPC32.
21582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21585 file: multiarch finitef for PowerPC32.
21587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21588 and isinff multiarch implementations.
21589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21594 multiarch isinf for PowerPC32.
21595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21598 multiarch isinff for PowerPC32.
21600 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21601 alias when __isnan is defined.
21602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21603 and isnanf multiarch implementations.
21604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21613 multiarch isnan for PowerPC32.
21614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21619 multiarch isnanf for PowerPC32.
21621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21622 and sqrtf multiarch implementations.
21623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21628 multiarch sqrt for PowerPC32.
21629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21634 multiarch sqrtf for PowerPC32.
21636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21637 and llroundf multiarch implementations.
21638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21645 file: multiarch llround for PowerPC32.
21646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21647 file: multiarch llroundf for PowerPC32.
21649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21650 multiarch PowerPC32 fpu implementations.
21651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21656 multiarch llrint for PowerPC32.
21657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21666 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21668 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21670 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21672 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21673 multiarch wordcopy for PPC32.
21674 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21676 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21677 (__libc_ifunc_impl_list): Likewise.
21678 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21679 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21680 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21681 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21682 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21683 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21685 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21686 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21688 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21690 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21692 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21693 multiarch wcscpy for PPC32.
21694 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21696 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21697 (__libc_ifunc_impl_list): Likewise.
21698 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21699 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21700 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21701 sysdeps/powerpc/power6/wcscpy.c.
21703 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21704 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21706 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21708 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21710 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21711 multiarch wcsrchr for PPC32.
21712 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21714 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21715 (__libc_ifunc_impl_list): Likewise.
21716 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21717 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21718 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21719 sysdeps/powerpc/power6/wcsrchr.c.
21721 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21723 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21725 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21726 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21727 multiarch wcschr for PPc32.
21728 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21730 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21731 (__libc_ifunc_impl_list): Likewise.
21732 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21733 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21734 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21735 sysdeps/powerpc/power6/wcschr.c.
21737 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21738 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21740 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21741 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21742 file: multiarch strchr for PPC32.
21743 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21745 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21746 (__libc_ifunc_impl_list): Likewise.
21748 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21750 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21752 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21754 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21755 multiarch strchrnul for PPC32.
21756 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21758 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21759 (__libc_ifunc_impl_list): Likewise.
21761 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21763 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21764 multiarch strncasecmp for PPC32.
21765 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21767 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21768 multiarch strncasecmp_l for PPC32.
21769 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21770 strncasecmp multiarch objects.
21771 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21772 (__libc_ifunc_impl_list): Likewise.
21774 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21776 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21777 multiarch strncasecmp for PPC32.
21778 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21780 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21781 multiarch strcasecmp_l for PPC32.
21782 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21784 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21785 (__libc_ifunc_impl_list): Likewise.
21787 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21789 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21791 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21792 multiarch strncmp for PPC32.
21793 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21795 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21796 (__libc_ifunc_impl_list): Likewise.
21798 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21799 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21801 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21802 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21803 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21805 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21806 (__libc_ifunc_impl_list): Likewise.
21808 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21810 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21812 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21813 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21815 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21816 (__libc_ifunc_impl_list): Likewise.
21818 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21820 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21822 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21823 multiarch rawmemchr for PPC32.
21824 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21826 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21827 (__libc_ifunc_impl_list): Likewise.
21829 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21831 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21833 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21834 file: memrchr multiarch for PPC32.
21835 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21837 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21838 (__libc_ifunc_impl_list): Likewise.
21840 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21841 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21843 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21844 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21845 multiarch memchr for PPC32.
21846 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21848 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21849 (__libc_ifunc_impl_list): Likewise.
21851 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21852 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21854 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21856 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21857 file: multiarch mempcpy for PPC32.
21858 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21860 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21861 (__libc_ifunc_impl_list): Likewise.
21863 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21864 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21865 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21866 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21867 multiarch bzero for PPC32.
21868 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21870 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21872 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21873 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21874 file: multiarch memset for PPC32.
21875 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21876 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21877 memset multiarch objects.
21878 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21879 (__libc_ifunc_impl_list): Likewise.
21881 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21883 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21884 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21886 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21889 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21890 (__libc_ifunc_impl_list): Likewise.
21892 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21893 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21894 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21896 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21898 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21900 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21901 multiarch memcpy for PPC32.
21902 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21904 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21905 (__libc_ifunc_impl_list): Likewise.
21907 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21908 support multiarch for POWER/PPC32.
21909 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21911 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21913 Implies file to make multiarch folder appers before the fpu and
21914 default folder for power4 configuration.
21916 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21918 * scripts/bench.pl: Append volatile keyword to type.
21920 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21922 * sysdeps/sh/sotruss-lib.c: New file.
21923 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21925 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21929 2013-12-05 Joseph Myers <joseph@codesourcery.com>
21932 * math/w_tgamma.c: Include <errno.h>.
21933 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21934 * math/w_tgammaf.c: Include <errno.h>.
21935 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21936 * math/w_tgammal.c: Include <errno.h>.
21937 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21938 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21939 underflow. Add more tgamma tests.
21940 * math/auto-libm-test-out: Regenerated.
21941 * sysdeps/i386/fpu/libm-test-ulps: Update.
21942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21944 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21945 sin, sinh, tan, tanh, tgamma, y0 and y1.
21946 * math/auto-libm-test-out: Regenerated.
21947 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21948 (TEST_COND_x86): Likewise.
21949 (M_E2l): Remove macro.
21951 (M_2_SQRT_PIl): Likewise.
21952 (M_SQRT_PIl): Likewise.
21953 (M_1_DIV_El): Likewise.
21954 (log_test_data): Use AUTO_TESTS_f_f.
21955 (log10_test_data): Likewise.
21956 (log1p_test_data): Likewise.
21957 (log2_test_data): Likewise.
21958 (sin_test_data): Likewise.
21959 (sin_tonearest_test_data): Likewise.
21960 (sin_towardzero_test_data): Likewise.
21961 (sin_downward_test_data): Likewise.
21962 (sin_upward_test_data): Likewise.
21963 (sinh_test_data): Likewise.
21964 (sinh_tonearest_test_data): Likewise.
21965 (sinh_towardzero_test_data): Likewise.
21966 (sinh_downward_test_data): Likewise.
21967 (sinh_upward_test_data): Likewise.
21968 (tan_test_data): Likewise.
21969 (tan_tonearest_test_data): Likewise.
21970 (tan_towardzero_test_data): Likewise.
21971 (tan_downward_test_data): Likewise.
21972 (tan_upward_test_data): Likewise.
21973 (tanh_test_data): Likewise.
21974 (tgamma_test_data): Likewise.
21975 (y0_test_data): Likewise.
21976 (y1_test_data): Likewise.
21977 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21978 (special_real_inputs): Add pi/4.
21979 * sysdeps/i386/fpu/libm-test-ulps: Update.
21980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21982 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21984 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21985 "longjmp_target" static probes.
21986 (__longjmp): Rename to __longjmp_symbol.
21987 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21988 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21989 on which longjmp to generate.
21990 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21991 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21993 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21994 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21995 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21996 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21997 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21998 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22000 __longjmp_symbol based on which __longjmp to generate.
22001 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22003 (setjmp): Rename to setjmp_symbol.
22004 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22005 (_setjmp): Rename to _setjmp_symbol.
22006 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22007 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22008 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22009 which setjmp to generate.
22010 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22011 "longjmp_target" static probes.
22013 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22015 * benchtests/README: Add note about output arguments.
22016 * benchtests/bench-sincos.c: Remove file.
22017 * benchtests/sincos-inputs: New file.
22018 * scripts/bench.pl: Identify output arguments and define
22019 static variables for them.
22021 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22024 * Makefile (INSTALL): Add install-plain.texi as the primary
22026 * manual/install-plain.texi: New file.
22027 * manual/install.texi: Include node directive only for
22028 non-plaintext output.
22030 2013-12-04 Joseph Myers <joseph@codesourcery.com>
22032 * stdlib/longlong.h: Update from GCC.
22036 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22037 * math/w_j0f.c (y0f): Likewise.
22038 * math/w_j0l.c (__y0l): Likewise.
22039 * math/w_j1.c (y1): Likewise.
22040 * math/w_j1f.c (y1f): Likewise.
22041 * math/w_j1l.c (__y1l): Likewise
22042 * math/w_jn.c (yn): Likewise.
22043 * math/w_jnf.c (ynf): Likewise.
22044 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22045 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22046 value for Bessel function domain errors outside _SVID_ mode.
22047 Adjust sign of return value for yn (negative integer, 0).
22048 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22049 by zero in return for negative x and set sign appropriately for
22051 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22052 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22053 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22054 expectations in error cases.
22055 (y1_test_data): Likewise.
22056 (yn_test_data): Likewise.
22057 * sysdeps/i386/fpu/libm-test-ulps: Update.
22058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22060 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22062 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22063 "64" to "64-v1". Add "64-v2".
22064 (abi-64-options): Rename to ...
22065 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22066 (abi-64-condition): Rename to ...
22067 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22068 (abi-64-ld-soname): Rename to ...
22069 (abi-64-v1-ld-soname): ... this.
22070 (abi-64-v2-options): Define.
22071 (abi-64-v2-condition): Likewise.
22072 (abi-64-v2-ld-soname): Likewise.
22073 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22074 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22079 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22080 Alan Modra <amodra@gmail.com>
22082 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22083 New versions for use with the ELFv2 ABI.
22084 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22085 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22087 (struct La_ppc64v2_retval): Likewise.
22088 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22089 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22090 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22091 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22092 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22093 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22094 Do not save or restore CR.
22095 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22096 (_dl_profile_resolve): Do no save or restore CR. Support extended
22097 return values for ELFv2 ABI. Fix location of FPR return registers.
22098 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22099 updated values for _CALL_ELF == 2.
22100 (La_regs, La_retval, int_retval): Likewise.
22102 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22104 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22105 (FRAME_MIN_SIZE_PARM): Likewise.
22106 (FRAME_BACKCHAIN): Likewise.
22107 (FRAME_CR_SAVE): Likewise.
22108 (FRAME_LR_SAVE): Likewise.
22109 (FRAME_TOC_SAVE): Likewise.
22110 (FRAME_PARM_SAVE): Likewise.
22111 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22112 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22113 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22114 (call_mcount_parm_offset): New macro.
22115 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22116 (PROF): Use symbolic stack frame offsets.
22117 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22118 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22119 Redefine in terms of FRAME_MIN_SIZE.
22120 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22121 (_dl_profile_resolve): Likewise. Update comment.
22122 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22123 symbols stack frame offsets.
22124 (__sigsetjmp): Likewise.
22125 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22126 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22127 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22128 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22131 (FRAME_BACKCHAIN): Remove.
22132 (FRAME_CR_SAVE): Likewise.
22133 (FRAME_LR_SAVE): Likewise.
22134 (FRAME_COMPILER_DW): Likewise.
22135 (FRAME_LINKER_DW): Likewise.
22136 (FRAME_TOC_SAVE): Likewise.
22137 (FRAME_PARM_SAVE): Likewise.
22138 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22139 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22140 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22142 (CHECK_SP): Use symbolic stack frame offsets.
22143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22144 zone" instead of caller's parameter save area for temp storage.
22145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22146 Likewise. Also, use symbolic stack frame offsets.
22147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22148 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22149 our own stack frame instead of the caller's.
22150 (__socket): Use symbolic stack frame offsets.
22152 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22153 Alan Modra <amodra@gmail.com>
22155 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22157 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22158 (PPC64_LOCAL_ENTRY_OFFSET): Define.
22159 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22161 (elf_machine_fixup_plt): Call it.
22162 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22164 (elf_machine_rela): Update call to elf_machine_plt_conflict.
22165 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22166 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
22167 r2 before calling target.
22169 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22170 Alan Modra <amodra@gmail.com>
22172 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22173 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22174 versions of macros to support ELFv2 ABI.
22175 (LOCALENTRY): New macro.
22176 (ENTRY, EALIGN): Use it.
22177 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22178 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22179 fall through into ENTRY entry point.
22180 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22181 Only define if _CALL_ELF != 2.
22183 (elf_machine_matches_host): Verify ABI version matches.
22184 (RTLD_START): Use LOCALENTRY.
22185 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22186 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22187 (PLT_ENTRY_WORDS): New macro.
22188 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22189 (elf_machine_runtime_setup): Support ELFv2 ABI.
22190 (elf_machine_fixup_plt): Likewise.
22191 (elf_machine_plt_conflict): Likewise.
22192 (resolve_ifunc): Likewise.
22193 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22194 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22197 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22199 (makecontext): Support ELFv2 ABI.
22200 * elf/elf.h (EF_PPC64_ABI): Define.
22202 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22204 * sysdeps/powerpc/powerpc64/sysdep.h
22205 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22206 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22207 (ENTRY) [ASSEMBLER]: ... but instead here ...
22208 (EALIGN) [ASSEMBLER]: ... and here.
22209 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22210 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22211 (ENTRY_2) [!ASSEMBLER]: Use it.
22212 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22213 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
22214 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22215 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22216 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22218 Use PPC64_LOAD_FUNCPTR.
22220 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22222 2013-12-04 Alan Modra <amodra@gmail.com>
22224 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22225 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22226 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22227 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22229 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22230 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22231 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22232 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22233 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22234 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22236 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22239 (__makecontext): Fix incorrect CFI when backtracing out of
22240 context created via makecontext.
22241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22242 (__setcontext): Fix incorrect CFI during switch to new context.
22243 (__novec_setcontext): Likewise.
22245 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
22248 * time/strptime_l.c (__strptime_internal): Allow modifiers
22250 * time/tst-strptime.c (day_tests): Add testcase.
22252 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22254 * scripts/bench.pl: Skip over blank lines.
22256 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22259 * manual/time.texi (Calendar Time): Clarify what timezone functions
22262 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22266 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
22268 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22270 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22271 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22272 * debug/memset_chk.c (__memset_chk): Likewise.
22273 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22274 * debug/strncpy_chk.c: Likewise.
22276 2013-12-03 Joseph Myers <joseph@codesourcery.com>
22280 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22281 (__ieee754_exp): For possibly underflowing results, check size of
22282 result and force underflow exception if required.
22283 * math/auto-libm-test-in: Add more tests of exp.
22284 * math/auto-libm-test-out: Regenerated.
22285 * sysdeps/i386/fpu/libm-test-ulps: Update.
22286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22289 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22290 * math/w_exp2f.c (__exp2f): Likewise.
22291 * math/w_exp2l.c (__exp2l): Likewise.
22292 * math/auto-libm-test-in: Do not allow missing errno on exp2
22294 * math/auto-libm-test-out: Regenerated.
22296 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
22299 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22300 handle filename validation.
22301 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22304 2013-12-03 Joseph Myers <joseph@codesourcery.com>
22307 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22308 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22309 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22311 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22312 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22313 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22314 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22315 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22316 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22317 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22318 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22319 Add more erfc tests.
22320 * math/auto-libm-test-out: Regenerated.
22321 * sysdeps/i386/fpu/libm-test-ulps: Update.
22322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22324 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22325 exp2, expm1, j0 and j1.
22326 * math/auto-libm-test-out: Regenerated.
22327 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22328 (erfc_test_data): Likewise.
22329 (exp_test_data): Likewise.
22330 (exp_tonearest_test_data): Likewise.
22331 (exp_towardzero_test_data): Likewise.
22332 (exp_downward_test_data): Likewise.
22333 (exp_upward_test_data): Likewise.
22334 (exp10_test_data): Likewise.
22335 (exp2_test_data): Likewise.
22336 (expm1_test_data): Likewise.
22337 (j0_test_data): Likewise.
22338 (j1_test_data): Likewise.
22339 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22340 (input_flag_type): Add flag_xfail_rounding.
22341 (input_flags): Add xfail-rounding.
22342 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22343 (output_for_one_input_case): Handle flag_xfail_rounding.
22344 * sysdeps/i386/fpu/libm-test-ulps: Update.
22345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22347 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22350 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22353 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22356 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22357 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22358 (STAP_PROBE0): New macro.
22359 (STAP_PROBE1): Likewise.
22360 (STAP_PROBE2): Likewise.
22361 (STAP_PROBE3): Likewise.
22362 (STAP_PROBE4): Likewise.
22364 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
22366 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22368 2013-12-02 Steve Ellcey <sellcey@mips.com>
22370 * benchtests/Makefile (bench): Add sqrt.
22371 (LDLIBS-bench-sqrt): New.
22372 * benchtests/sqrt-input: New.
22374 2013-12-02 Pavel Simerda <psimerda@redhat.com>
22376 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22377 (GAIH_EAI): Likewise.
22378 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22379 (gaih_inet): Likewise.
22380 (getaddrinfo): Don't use GAIH_EAI.
22382 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22383 (struct gaih): Remove definition.
22385 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22387 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22388 Use HERRNOP directly.
22390 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22394 2013-11-30 Joseph Myers <joseph@codesourcery.com>
22396 * math/gen-auto-libm-tests.c (test_functions): Add more
22397 single-argument functions.
22398 (special_fill_pi_2): New function.
22399 (special_fill_minus_pi_2): Likewise.
22400 (special_fill_pi_6): Likewise.
22401 (special_fill_minus_pi_6): Likewise.
22402 (special_fill_pi_3): Likewise.
22403 (special_fill_2pi_3): Likewise.
22404 (special_fill_e): Likewise.
22405 (special_fill_1_e): Likewise.
22406 (special_fill_e_minus_1): Likewise.
22407 (special_real_inputs): Add more special inputs.
22408 (output_for_one_input_case): Do not require ERANGE on underflow to
22409 zero if round-to-nearest result does not underflow to zero, unless
22410 exact results required.
22411 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22412 atan, atanh, cbrt, cos and cosh.
22413 * math/auto-libm-test-out: Regenerated.
22414 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22415 (acos_tonearest_test_data): Likewise.
22416 (acos_towardzero_test_data): Likewise.
22417 (acos_downward_test_data): Likewise.
22418 (acos_upward_test_data): Likewise.
22419 (acosh_test_data): Likewise.
22420 (asin_test_data): Likewise.
22421 (asin_tonearest_test_data): Likewise.
22422 (asin_towardzero_test_data): Likewise.
22423 (asin_upward_test_data): Likewise.
22424 (asinh_test_data): Likewise.
22425 (atan_test_data): Likewise.
22426 (atanh_test_data): Likewise.
22427 (cbrt_test_data): Likewise.
22428 (cos_test_data): Likewise.
22429 (cos_tonearest_test_data): Likewise.
22430 (cos_towardzero_test_data): Likewise.
22431 (cos_downward_test_data): Likewise.
22432 (cos_upward_test_data): Likewise.
22433 (cosh_test_data): Likewise.
22434 (cosh_tonearest_test_data): Likewise.
22435 (cosh_towardzero_test_data): Likewise.
22436 (cosh_downward_test_data): Likewise.
22437 (cosh_upward_test_data): Likewise.
22438 * sysdeps/i386/fpu/libm-test-ulps: Update.
22439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22441 2013-11-29 Joseph Myers <joseph@codesourcery.com>
22444 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22445 * math/w_exp10f.c (__exp10f): Likewise.
22446 * math/w_exp10l.c (__exp10l): Likewise.
22447 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22448 errno settings in existing tests.
22451 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22452 precision control set to double precision.
22453 * sysdeps/i386/fpu/w_sqrt.c: New file.
22454 * math/auto-libm-test-in: Add more tests.
22455 * math/auto-libm-test-out: Update.
22457 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22458 (sqrt_test_tonearest): New function.
22459 (sqrt_towardzero_test_data): New variable.
22460 (sqrt_test_towardzero): New function.
22461 (sqrt_downward_test_data): New variable.
22462 (sqrt_test_downward): New function.
22463 (sqrt_upward_test_data): New variable.
22464 (sqrt_test_upward): New function.
22465 (main): Call the new functions.
22467 * math/gen-auto-libm-tests.c: New file.
22468 * math/auto-libm-test-in: Likewise.
22469 * math/auto-libm-test-out: New generated file.
22470 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22472 (%beautify): Add generated representations of zero.
22473 (top level): Set $auto_input and call parse_auto_input.
22474 (beautify): Remove trailing "f" from hex float constants.
22475 (parse_args): Handle XFAIL_TEST.
22476 (convert_condition): New function.
22477 (or_value): Likewise.
22478 (or_cond_value): Likewise.
22479 (generate_testfile): Handle AUTO_TESTS_* lines.
22480 (parse_auto_input): New function.
22481 * math/libm-test.inc (XFAIL_TEST): New macro.
22482 (ERRNO_UNCHANGED): Update value.
22483 (ERRNO_EDOM): Likewise.
22484 (ERRNO_ERANGE): Likewise.
22485 (IGNORE_RESULT): Likewise.
22486 (TEST_COND_flt_32): New macro.
22487 (TEST_COND_dbl_64): Likewise.
22488 (TEST_COND_ldbl_96_intel): Likewise.
22489 (TEST_COND_ldbl_96_m68k): Likewise.
22490 (TEST_COND_ldbl_128): Likewise.
22491 (TEST_COND_ldbl_128ibm): Likewise.
22492 (TEST_COND_long32): Likewise.
22493 (TEST_COND_long64): Likewise.
22494 (TEST_COND_before_rounding): Likewise.
22495 (TEST_COND_after_rounding): Likewise.
22496 (enable_test): Handle XFAIL_TEST flag.
22497 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22498 with finite results.
22499 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22500 auto-libm-test-out.
22502 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22503 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22506 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22507 __tls_get_addr_internal instead of __tls_get_offset in order to
22508 avoid GOT pointer dependency. Make rtld export
22509 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22510 __tls_get_addr since we are a __tls_get_offset platform.
22511 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22512 GOT pointer being set up before.
22513 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22515 2013-11-28 Joseph Myers <joseph@codesourcery.com>
22517 * manual/math.texi (Errors in Math Functions): Document accuracy
22521 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22522 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22523 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22524 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22525 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22526 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22527 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22528 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22529 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22530 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22531 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22532 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22533 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22534 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22535 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22536 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22538 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22539 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22540 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22541 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22542 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22544 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22546 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22548 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22549 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22550 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22551 atomic-feupdateenv and flt-rounds.
22552 * sysdeps/powerpc/nofpu/Versions (libc): Add
22553 __atomic_feholdexcept, __atomic_feclearexcept,
22554 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22555 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22556 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22557 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22558 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22563 * manual/arith.texi (FP Exceptions): Document that exceptions may
22564 not be raised when matherr is used.
22565 (Math Error Reporting): Document overflow in directed rounding
22566 modes. Document that errno may not be set when finite values are
22567 returned on overflow. Document intent to set errno on underflow
22568 only for underflow to zero.
22571 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22572 round-to-nearest then adjust result for other rounding modes.
22573 * include/fenv.h (fegetround): Use libm_hidden_proto.
22574 * math/fegetround.c (fegetround): Use libm_hidden_def.
22575 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22576 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22577 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22578 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22580 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22581 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22582 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22583 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22585 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22588 * nss/Versions (libnss_files): Add
22589 _nss_files_gethostbyname3_r.
22590 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22592 (HOST_DB_LOOKUP): Remove macro.
22593 (_nss_files_gethostbyname_r): Implement function without the
22594 HOST_DB_LOOKUP macro.
22595 (_nss_files_gethostbyname2_r): Likewise.
22597 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
22599 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22601 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
22603 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22604 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22607 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22609 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22610 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22611 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22612 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22613 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22614 __fe_nomask_env_priv and attribute_hidden.
22615 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22616 (libc_feupdateenv_test_ppc): Likewise.
22617 (libc_feresetround_ppc): Likewise.
22618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22619 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22620 compat_symbol macro.
22621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22622 (__fe_nomask_env): Likewise.
22623 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22625 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22627 * string/Makefile: Remove ifunc tests.
22628 * string/test-string.h: Define TEST_IFUNC.
22629 * string/test-bcopy-ifunc.c: Remove.
22630 * string/test-bzero-ifunc.c: Likewise.
22631 * string/test-memccpy-ifunc.c: Likewise.
22632 * string/test-memchr-ifunc.c: Likewise.
22633 * string/test-memcmp-ifunc.c: Likewise.
22634 * string/test-memcpy-ifunc.c: Likewise.
22635 * string/test-memmem-ifunc.c: Likewise.
22636 * string/test-memmove-ifunc.c: Likewise.
22637 * string/test-mempcpy-ifunc.c: Likewise.
22638 * string/test-memrchr-ifunc.c: Likewise.
22639 * string/test-memset-ifunc.c: Likewise.
22640 * string/test-rawmemchr-ifunc.c: Likewise.
22641 * string/test-stpcpy-ifunc.c: Likewise.
22642 * string/test-stpncpy-ifunc.c: Likewise.
22643 * string/test-strcasecmp-ifunc.c: Likewise.
22644 * string/test-strcasestr-ifunc.c: Likewise.
22645 * string/test-strcat-ifunc.c: Likewise.
22646 * string/test-strchr-ifunc.c: Likewise.
22647 * string/test-strchrnul-ifunc.c: Likewise.
22648 * string/test-strcmp-ifunc.c: Likewise.
22649 * string/test-strcpy-ifunc.c: Likewise.
22650 * string/test-strcspn-ifunc.c: Likewise.
22651 * string/test-strlen-ifunc.c: Likewise.
22652 * string/test-strncasecmp-ifunc.c: Likewise.
22653 * string/test-strncat-ifunc.c: Likewise.
22654 * string/test-strncmp-ifunc.c: Likewise.
22655 * string/test-strncpy-ifunc.c: Likewise.
22656 * string/test-strnlen-ifunc.c: Likewise.
22657 * string/test-strpbrk-ifunc.c: Likewise.
22658 * string/test-strrchr-ifunc.c: Likewise.
22659 * string/test-strspn-ifunc.c: Likewise.
22660 * string/test-strstr-ifunc.c: Likewise.
22662 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22664 * benchtests/Makefile: Remove ifunc tests.
22665 * benchtests/bench-string.h: Define TEST_IFUNC.
22666 * benchtests/bench-bcopy-ifunc.c: Remove.
22667 * benchtests/bench-bzero-ifunc.c: Likewise.
22668 * benchtests/bench-memccpy-ifunc.c: Likewise.
22669 * benchtests/bench-memchr-ifunc.c: Likewise.
22670 * benchtests/bench-memcmp-ifunc.c: Likewise.
22671 * benchtests/bench-memcpy-ifunc.c: Likewise.
22672 * benchtests/bench-memmem-ifunc.c: Likewise.
22673 * benchtests/bench-memmove-ifunc.c: Likewise.
22674 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22675 * benchtests/bench-memrchr-ifunc.c: Likewise.
22676 * benchtests/bench-memset-ifunc.c: Likewise.
22677 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22678 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22679 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22680 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22681 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22682 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22683 * benchtests/bench-strcat-ifunc.c: Likewise.
22684 * benchtests/bench-strchr-ifunc.c: Likewise.
22685 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22686 * benchtests/bench-strcmp-ifunc.c: Likewise.
22687 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22688 * benchtests/bench-strcpy-ifunc.c: Likewise.
22689 * benchtests/bench-strcspn-ifunc.c: Likewise.
22690 * benchtests/bench-strlen-ifunc.c: Likewise.
22691 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22692 * benchtests/bench-strncat-ifunc.c: Likewise.
22693 * benchtests/bench-strncmp-ifunc.c: Likewise.
22694 * benchtests/bench-strncpy-ifunc.c: Likewise.
22695 * benchtests/bench-strnlen-ifunc.c: Likewise.
22696 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22697 * benchtests/bench-strrchr-ifunc.c: Likewise.
22698 * benchtests/bench-strsep-ifunc.c: Likewise.
22699 * benchtests/bench-strspn-ifunc.c: Likewise.
22700 * benchtests/bench-strstr-ifunc.c: Likewise.
22702 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22704 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22706 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22708 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22709 * rt/aio.h: Likewise.
22710 * sysdeps/gnu/bits/utmp.h: Likewise.
22711 * sysdeps/gnu/bits/utmpx.h: Likewise.
22712 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22713 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22714 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22715 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22716 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22717 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22718 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22719 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22720 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22721 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22722 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22723 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22724 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22726 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22727 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22728 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22729 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22730 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22731 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22732 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22733 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22734 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22735 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22736 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22737 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22738 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22739 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22740 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22741 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22742 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22743 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22744 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22745 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22746 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22747 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22748 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22749 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22750 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22751 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22752 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22753 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22755 2013-11-25 Carlos O'Donell <carlos@redhat.com>
22758 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22759 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22761 2013-11-25 Joseph Myers <joseph@codesourcery.com>
22763 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22764 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22767 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22769 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22770 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22771 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22772 (__fesetround): Remove define.
22773 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22774 rounding and exceptions handling.
22775 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22776 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22777 (__fe_nomask_env): Likewise.
22778 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22779 __fegetround instead of fegetround.
22780 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22781 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22783 2013-11-21 Roland McGrath <roland@hack.frob.com>
22785 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22788 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22790 2013-11-21 Meador Inge <meadori@codesourcery.com>
22793 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22794 (encrypt_r): Likewise.
22795 * malloc/obstack.h (obstack_free): Likewise.
22796 * posix/unistd.h (encrypt): Likewise.
22798 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22800 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22801 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22802 DL_CALL_DT_FINI() that call the functions directly.
22803 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22804 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22805 * elf/dl-fini.c: Likewise.
22807 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
22809 * malloc/hooks.c (memalign_check): Add alignment rounding.
22810 * malloc/malloc.c (_mid_memalign): New function.
22811 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22812 Implement by calling _mid_memalign.
22813 * manual/probes.texi (Memory Allocation Probes): Remove
22814 memory_valloc_retry and memory_pvalloc_retry.
22816 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22818 * locale/programs/locarchive.c (open_archive): Add const
22819 qualifier to ARCHIVEFNAME and copy default fname to
22823 * libio/tst-widetext.input: Rename Oriya to Odia.
22824 * locale/iso-639.def: Likewise.
22826 * manual/probes.texi (Mathematical Function Probes): Add
22827 documentation for sin, cos, asin and acos probes.
22828 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22829 (__sin32): Add slowasin probe.
22830 (__cos32): Add slowacos probe.
22831 (__mpsin): Add slowsin probe.
22832 (__mpcos): Add slowcos probe.
22834 2013-11-19 Joseph Myers <joseph@codesourcery.com>
22837 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22838 thread-local __sim_exceptions_thread and global
22839 __sim_exceptions_global.
22840 (__sim_disabled_exceptions): Change to thread-local
22841 __sim_disabled_exceptions_thread and global
22842 __sim_disabled_exceptions_global.
22843 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22844 and global __sim_round_mode_global.
22845 (__simulate_exceptions): Use thread-local floating-point state and
22846 set global state from it as needed.
22847 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22848 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22849 __sim_round_mode_thread.
22850 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22851 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22852 and global __sim_exceptions_global.
22853 (__sim_disabled_exceptions): Change to thread-local
22854 __sim_disabled_exceptions_thread and global
22855 __sim_disabled_exceptions_global.
22856 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22857 and global __sim_round_mode_global.
22858 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22859 (SIM_SET_GLOBAL): Likewise.
22860 * sysdeps/powerpc/soft-fp/sfp-machine.h
22861 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22862 __sim_round_mode_thread.
22863 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22864 __sim_disabled_exceptions_thread.
22865 (__sim_exceptions): Change to __sim_exceptions_thread.
22866 (__sim_disabled_exceptions): Change to
22867 __sim_disabled_exceptions_thread.
22868 (__sim_round_mode): Change to __sim_round_mode_thread.
22869 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22870 thread-local floating-point state and set global state from it as
22872 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22873 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22874 (__sim_disabled_exceptions): Remove extern declaration.
22875 (feenableexcept): Use thread-local floating-point state and set
22876 global state from it as needed.
22877 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22878 extern declaration.
22879 (__sim_disabled_exceptions): Likewise.
22880 (__sim_round_mode): Likewise.
22881 (__fegetenv): Use thread-local floating-point state.
22882 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22883 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22884 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22885 floating-point state and set global state from it as needed.
22886 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22887 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22888 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22890 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22891 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22893 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22894 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22895 Use __sim_round_mode_thread.
22896 * math/test-fenv-tls.c: New file.
22897 * math/Makefile (tests): Add test-fenv-tls.
22898 ($(objpfx)test-fenv-tls): Depend on
22899 $(common-objpfx)nptl/libpthread.so.
22901 2013-11-19 Andreas Schwab <schwab@suse.de>
22903 * locale/programs/locale.c (show_info): Decode wordarray elements.
22904 * locale/categories.def (LC_MONETARY): Add element for
22905 _NL_MONETARY_CRNCYSTR.
22906 * locale/C-monetary.c (conversion_rate): New variable.
22907 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22910 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22912 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22913 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22915 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22917 * elf/Makefile (tst-auxv): New test.
22918 * elf/tst-auxv.c: New
22919 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22921 2013-11-18 Joseph Myers <joseph@codesourcery.com>
22923 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22924 (hidden_proto): Caller changed.
22925 (hidden_tls_proto): New macro.
22926 (libc_hidden_tls_proto): Likewise.
22927 (rtld_hidden_tls_proto): Likewise.
22928 (libm_hidden_tls_proto): Likewise.
22929 (libresolv_hidden_tls_proto): Likewise.
22930 (librt_hidden_tls_proto): Likewise.
22931 (libdl_hidden_tls_proto): Likewise.
22932 (libnss_files_hidden_tls_proto): Likewise.
22933 (libnsl_hidden_tls_proto): Likewise.
22934 (libnss_nisplus_hidden_tls_proto): Likewise.
22935 (libutil_hidden_tls_proto): Likewise.
22937 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
22940 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22941 (decompose_rpath): Defer expansion to fillin_rpath.
22942 (_dl_init_paths): Pass linkmap to fillin_rpath.
22944 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22946 * benchtests/Makefile: Add strsep.
22947 * benchtests/bench-strsep.c: New file: strsep benchtest.
22948 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22950 2013-11-18 Andreas Schwab <schwab@suse.de>
22952 * locale/programs/locale.c (show_info) [case byte]: Check for
22953 '\377' instead of '\177'.
22954 * locale/C-monetary.c (not_available): Always use "\377".
22955 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22956 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22957 detect unavailable sign_posn locale elements.
22958 * locale/localeconv.c (__localeconv): For grouping and
22959 mon_grouping handle "\177" and "\377" like no grouping.
22960 (INT_ELEM): New macro. Use it to set all numeric members.
22961 * locale/programs/ld-monetary.c (monetary_read)
22962 <tok_mon_grouping>: Normalize single -1 to the empty string.
22963 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22966 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22969 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22970 when we match (nil).
22971 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22973 2013-11-16 Joseph Myers <joseph@codesourcery.com>
22975 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22976 (NO_TEST_INLINE): Update value.
22977 (ERRNO_UNCHANGED): Likewise.
22978 (ERRNO_EDOM): Likewise.
22979 (ERRNO_ERANGE): Likewise.
22980 (IGNORE_RESULT): Likewise.
22981 (check_float_internal): Check signs of NaN results if
22982 TEST_NAN_SIGN used.
22983 (check_complex): Pass TEST_NAN_SIGN flag through to second
22984 check_float_internal call.
22985 (copysign_test_data): Add tests with quiet NaNs as second
22986 argument. Use TEST_NAN_SIGN.
22987 (fabs_test_data): Add test of negative quiet NaN argument. Use
22989 (signbit_test_data): Add tests of quiet NaN argument.
22990 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22992 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22994 (parse_args): Handle function results specified as IGNORE.
22995 * math/libm-test.inc (IGNORE_RESULT): New macro.
22996 (check_float_internal): Do not check numerical result if flag
22998 (check_complex): Pass through IGNORE_RESULT to second
22999 check_float_internal call.
23000 (check_int): Do not check numerical result if flag IGNORE_RESULT
23002 (check_long): Likewise.
23003 (check_bool): Likewise.
23004 (check_longlong): Likewise.
23005 (lrint_test_data): Add tests of infinite and NaN arguments.
23006 (lrint_tonearest_test_data): Likewise.
23007 (lrint_towardzero_test_data): Likewise.
23008 (lrint_downward_test_data): Likewise.
23009 (lrint_upward_test_data): Likewise.
23010 (llrint_test_data): Likewise.
23011 (llrint_tonearest_test_data): Likewise.
23012 (llrint_towardzero_test_data): Likewise.
23013 (llrint_downward_test_data): Likewise.
23014 (llrint_upward_test_data): Likewise.
23015 (lround_test_data): Likewise.
23016 (llround_test_data): Likewise.
23018 * math/libm-test.inc (NO_TEST_INLINE): New macro.
23019 (ERRNO_UNCHANGED): Update value.
23020 (ERRNO_EDOM): Likewise.
23021 (ERRNO_ERANGE): Likewise.
23022 (NO_TEST_INLINE_FLOAT): New macro.
23023 (NO_TEST_INLINE_DOUBLE): Likewise.
23024 (enable_test): New function.
23025 (RUN_TEST_f_f): Check enable_test before running test.
23026 (RUN_TEST_2_f): Likewise.
23027 (RUN_TEST_fff_f): Likewise.
23028 (RUN_TEST_c_f): Likewise.
23029 (RUN_TEST_f_f1): Likewise.
23030 (RUN_TEST_fF_f1): Likewise.
23031 (RUN_TEST_fI_f1): Likewise.
23032 (RUN_TEST_ffI_f1): Likewise.
23033 (RUN_TEST_c_c): Likewise.
23034 (RUN_TEST_cc_c): Likewise.
23035 (RUN_TEST_f_i): Likewise.
23036 (RUN_TEST_f_i_tg): Likewise.
23037 (RUN_TEST_ff_i_tg): Likewise.
23038 (RUN_TEST_f_b): Likewise.
23039 (RUN_TEST_f_b_tg): Likewise.
23040 (RUN_TEST_f_l): Likewise.
23041 (RUN_TEST_f_L): Likewise.
23042 (RUN_TEST_fFF_11): Likewise.
23043 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23045 (cosh_test_data): Likewise.
23046 (exp_test_data): Likewise.
23047 (expm1_test_data): Likewise.
23048 (hypot_test_data): Likewise.
23049 (pow_test_data): Likewise.
23050 (sinh_test_data): Likewise.
23051 (tanh_test_data): Likewise.
23052 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23055 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23056 tests with quiet NaN input and output.
23057 (acosh_test_data): Likewise.
23058 (asin_test_data): Likewise.
23059 (asinh_test_data): Likewise.
23060 (atan_test_data): Likewise.
23061 (atanh_test_data): Likewise.
23062 (atan2_test_data): Likewise.
23063 (cbrt_test_data): Likewise.
23064 (cos_test_data): Likewise.
23065 (cosh_test_data): Likewise.
23066 (erf_test_data): Likewise.
23067 (erfc_test_data): Likewise.
23068 (exp_test_data): Likewise.
23069 (exp10_test_data): Likewise.
23070 (exp2_test_data): Likewise.
23071 (expm1_test_data): Likewise.
23072 (hypot_test_data): Likewise.
23073 (j0_test_data): Likewise.
23074 (j1_test_data): Likewise.
23075 (jn_test_data): Likewise.
23076 (lgamma_test_data): Likewise.
23077 (log_test_data): Likewise.
23078 (log10_test_data): Likewise.
23079 (log1p_test_data): Likewise.
23080 (log2_test_data): Likewise.
23081 (pow_test_data): Likewise.
23082 (scalb_test_data): Likewise.
23083 (sin_test_data): Likewise.
23084 (sincos_test_data): Likewise.
23085 (sinh_test_data): Likewise.
23086 (tan_test_data): Likewise.
23087 (tanh_test_data): Likewise.
23088 (tgamma_test_data): Likewise.
23089 (y0_test_data): Likewise.
23090 (y1_test_data): Likewise.
23091 (yn_test_data): Likewise.
23094 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23095 argument being NaN and avoid computations with second argument in
23097 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23098 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23099 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23101 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23103 * locale/iso-639.def: Add Chitwani Tharu (the).
23105 2013-11-14 Andreas Schwab <schwab@suse.de>
23107 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23108 word instead of empty string.
23110 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23113 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23115 (__fe_nomask_env): Likewise.
23117 2013-11-13 Steve Ellcey <sellcey@mips.com>
23119 * benchtests/bench-timing.h: Include time.h.
23121 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23124 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23126 * sysdeps/unix/sysv/linux/configure: Regenerated.
23128 2013-11-13 Joseph Myers <joseph@codesourcery.com>
23131 * stdlib/strtod_l.c (round_and_return): Do not consider
23132 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23133 exponent one less than half the least subnormal exponent.
23134 * stdlib/test-strtod-round-data: Add more tests.
23135 * stdlib/tst-strtod-round.c (tests): Regenerated.
23137 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23140 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23141 (__fe_mask_env): Likewise.
23142 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23143 libm_hidden_proto and add function prototype.
23144 (__fe_mask_env): Add function prototype.
23145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23146 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23148 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23150 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23152 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23154 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
23155 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23157 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23159 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23160 of htab_find_slot().
23162 2013-11-11 David S. Miller <davem@davemloft.net>
23165 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23166 symbol in the non-vis3 case in static builds.
23167 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23168 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23169 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23170 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23172 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23175 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23178 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23180 * benchtests/Makefile: Add bench-strtod.
23181 * benchtests/bench-strtod.c: New file: strtod benchtest
23183 2013-11-11 Andreas Schwab <schwab@suse.de>
23186 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23187 terminating NUL in key length.
23189 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23191 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23192 Add artificial ODP entry for vDSO symbol for PPC64.
23193 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23194 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23196 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
23199 * nss/getent.c (services_keys): Recognize services starting with digit.
23201 2013-11-06 David S. Miller <davem@davemloft.net>
23204 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23205 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23207 2013-11-06 Will Newton <will.newton@linaro.org>
23209 * manual/memory.texi (Malloc Examples): Remove register
23210 keyword from examples.
23212 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
23214 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23216 2013-11-04 Joseph Myers <joseph@codesourcery.com>
23219 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23220 depending on [__GCC_IEC_559 > 0].
23221 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23222 depending on [__GCC_IEC_559_COMPLEX > 0].
23224 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
23226 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23229 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
23231 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23233 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
23236 * malloc/malloc (malloc_info): Do not handle first bin as
23239 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
23241 * locale/iso-639.def: Add Central Nahuatl (nhn).
23243 2013-11-01 Bruno Haible <bruno@clisp.org>
23246 * manual/math.texi (BSD Random): Specify range upper bound as
23249 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
23251 * locale/iso-639.def: Add Meadow Mari (mhr).
23253 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
23255 [BZ #14752], [BZ #15763]
23256 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23258 * rt/tst_shm.c: Add test for escaping directory.
23260 2013-10-31 Andreas Schwab <schwab@suse.de>
23263 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23264 followed by 'x' as part of digit sequence.
23265 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23267 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23270 * configure.ac: allow GNU Make 4.0 and greater.
23271 * configure: Regenerated.
23273 2013-10-30 Will Newton <will.newton@linaro.org>
23276 * malloc/hooks.c (memalign_check): Limit alignment to the
23277 maximum representable power of two.
23278 * malloc/malloc.c (__libc_memalign): Likewise.
23279 * malloc/tst-memalign.c (do_test): Add test for very
23280 large alignment values.
23281 * malloc/tst-posix_memalign.c (do_test): Likewise.
23283 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
23286 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23287 (munmap_chunk): Likewise.
23288 (mremap_chunk): Likewise.
23290 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
23293 * stdlib/div.c (div): Remove obsolete code.
23294 * stdlib/ldiv.c (ldiv): Likewise.
23295 * stdlib/lldiv.c (lldiv): Likewise.
23297 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23300 * nss/nss_files/files-XXX.c (get_contents_ret): New
23302 (get_contents): New function.
23303 (internal_getent): Use it. Expand size of LINEBUFLEN.
23305 2013-10-30 Mike Frysinger <vapier@gentoo.org>
23307 * configure.in: Moved to ...
23308 * configure.ac: ... here. Change reference to configure.in
23310 * sysdeps/arm/preconfigure.ac: ... here.
23311 configure.in to configure.ac.
23312 * sysdeps/gnu/configure.in: Moved to ...
23313 * sysdeps/gnu/configure.ac: ... here.
23314 * sysdeps/i386/configure.in: Moved to ...
23315 * sysdeps/i386/configure.ac: ... here.
23316 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23317 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23318 * sysdeps/mach/configure.in: Moved to ...
23319 * sysdeps/mach/configure.ac: ... here.
23320 * sysdeps/mach/hurd/configure.in: Moved to ...
23321 * sysdeps/mach/hurd/configure.ac: ... here.
23322 * sysdeps/powerpc/configure.in: Moved to ...
23323 * sysdeps/powerpc/configure.ac: ... here.
23324 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23325 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23326 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23327 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23328 * sysdeps/s390/s390-32/configure.in: Moved to ...
23329 * sysdeps/s390/s390-32/configure.ac: ... here.
23330 * sysdeps/s390/s390-64/configure.in: Moved to ...
23331 * sysdeps/s390/s390-64/configure.ac: ... here.
23332 * sysdeps/sh/configure.in: Moved to ...
23333 * sysdeps/sh/configure.ac: ... here.
23334 * sysdeps/sparc/configure.in: Moved to ...
23335 * sysdeps/sparc/configure.ac: ... here.
23336 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23337 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23338 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23339 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23340 * sysdeps/x86_64/configure.in: Moved to ...
23341 * sysdeps/x86_64/configure.ac: ... here.
23342 * sysdeps/x86_64/preconfigure.in: Moved to ...
23343 * sysdeps/x86_64/preconfigure.ac: ... here.
23344 * aclocal.m4: Change reference to configure.in to configure.ac.
23345 * config.h.in: Likewise.
23346 * manual/install.texi: Likewise.
23347 * manual/maint.texi: Likewise.
23348 * Makefile: Likewise.
23349 * malloc/Makefile: Likewise.
23350 * nscd/Makefile: Likewise.
23351 * Makeconfig: Change reference to configure.in and
23352 preconfigure.in to configure.ac and preconfigure.ac
23354 * INSTALL: Regenerated.
23355 * configure: Likewise.
23356 * sysdeps/gnu/configure: Likewise.
23357 * sysdeps/i386/configure: Likewise.
23358 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23359 * sysdeps/mach/configure: Likewise.
23360 * sysdeps/mach/hurd/configure: Likewise.
23361 * sysdeps/powerpc/configure: Likewise.
23362 * sysdeps/powerpc/powerpc32/configure: Likewise.
23363 * sysdeps/powerpc/powerpc64/configure: Likewise.
23364 * sysdeps/s390/s390-32/configure: Likewise.
23365 * sysdeps/s390/s390-64/configure: Likewise.
23366 * sysdeps/sh/configure: Likewise.
23367 * sysdeps/sparc/configure: Likewise.
23368 * sysdeps/unix/sysv/linux/configure: Likewise.
23369 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23370 * sysdeps/x86_64/configure: Likewise.
23371 * sysdeps/x86_64/preconfigure: Likewise.
23373 2013-10-29 Andreas Schwab <schwab@suse.de>
23375 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23377 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23379 * benchtests/pow-inputs: Add new inputs.
23381 * benchtests/exp-inputs: Add new inputs.
23383 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23384 conditional check for return value.
23385 (__cos32): Likewise.
23387 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23389 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23390 to provide a boost for large inputs with word alignment.
23391 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23392 implementation based on optimized PPC64 strcpy.
23393 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23394 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23395 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23396 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23398 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23401 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23403 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23406 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23407 * time/tst-strptime.c (day_tests): Add testcase.
23409 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23412 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23414 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23417 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23418 MAP_FAILED on error.
23420 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23423 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23424 heap for large requests.
23426 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23429 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23430 result if the result has no associated interface.
23431 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23432 interface for all 127.X.Y.Z addresses.
23434 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
23436 * locale/iso-639.def: Add Ligurian (lij)
23438 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
23441 * sunrpc/rpc_main.c: Document rpcgen -5.
23443 2013-10-19 Michael Stahl <mstahl@redhat.com>
23445 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23447 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23450 * posix/glob.c: Match only directories when trailing slash is present.
23451 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23452 (main): Add testcase.
23454 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23457 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23459 2013-10-18 Carlos O'Donell <carlos@redhat.com>
23461 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23462 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23463 AUTH_DES and cindex for FIPS 140-2.
23464 (DES Encryption): Add cindex FIPS 46-3.
23466 * locale/locarchive.h (struct locarhandle): Add fname.
23467 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23468 if an optional argument was specified to --list-archive,
23470 * locale/programs/locarchive.c (show_archive_content): Take new
23471 argument fname and pass it via ah.fname to open_archive.
23472 * locale/programs/localedef.h: Update decl.
23473 (open_archive): If AH->fname is non-null, open that file
23474 rather than the default file name, and don't ignore ENOENT.
23475 (create_archive): Set AH.fname to NULL.
23476 (delete_locales_from_archive): Likewise.
23477 (add_locales_to_archive): Likewise.
23478 * locale/programs/locfile.c (write_all_categories): Likewise.
23480 2013-10-18 Joseph Myers <joseph@codesourcery.com>
23481 Aldy Hernandez <aldyh@redhat.com>
23483 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23484 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23485 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23486 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23487 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23488 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23489 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23490 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23491 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23492 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23493 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23494 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23495 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23496 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23497 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23499 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23501 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23503 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23505 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23506 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23508 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23509 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23510 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23511 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23513 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23514 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23515 * sysdeps/powerpc/preconfigure: Likewise.
23516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23518 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23519 Replace contents of file by #include of <fenv_libc.h>.
23520 * sysdeps/powerpc/soft-fp/sfp-machine.h
23521 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23523 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23524 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23525 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23526 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23527 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23528 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23529 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23530 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23531 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23532 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23533 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23534 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23536 Allow copysignl PLT reference to be missing.
23538 2013-10-18 Richard Sandiford <richard@codesourcery.com>
23539 Joseph Myers <joseph@codesourcery.com
23542 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23544 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23546 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23548 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23549 * elf/tst-tls1.c: Likewise.
23550 * elf/tst-tls10.h: Likewise.
23551 * elf/tst-tls14.c: Likewise.
23552 * elf/tst-tls2.c: Likewise.
23553 * elf/tst-tls3.c: Likewise.
23554 * elf/tst-tls4.c: Likewise.
23555 * elf/tst-tls5.c: Likewise.
23556 * elf/tst-tls6.c: Likewise.
23557 * elf/tst-tls7.c: Likewise.
23558 * elf/tst-tls8.c: Likewise.
23559 * elf/tst-tls9.c: Likewise.
23560 * elf/tst-tlsmod1.c: Likewise.
23561 * elf/tst-tlsmod13.c: Likewise.
23562 * elf/tst-tlsmod13a.c: Likewise.
23563 * elf/tst-tlsmod14a.c: Likewise.
23564 * elf/tst-tlsmod16a.c: Likewise.
23565 * elf/tst-tlsmod16b.c: Likewise.
23566 * elf/tst-tlsmod2.c: Likewise.
23567 * elf/tst-tlsmod3.c: Likewise.
23568 * elf/tst-tlsmod4.c: Likewise.
23569 * elf/tst-tlsmod5.c: Likewise.
23570 * elf/tst-tlsmod6.c: Likewise.
23572 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
23575 * malloc/malloc.c: remove checks for statistics.
23577 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23580 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23581 * inet/tst-network.c: Add testcase.
23583 2013-10-17 Andreas Schwab <schwab@suse.de>
23586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23587 to determine canonical name.
23589 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23591 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23592 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23593 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23594 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23595 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23596 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23597 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23598 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23599 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23600 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23601 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23602 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23603 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23604 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23605 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23606 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23607 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23608 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23609 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23610 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23611 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23612 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23613 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23614 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23615 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23616 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23617 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23618 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23619 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23620 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23621 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23622 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23623 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23624 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23625 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23626 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23627 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23628 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23629 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23630 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23631 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23632 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23633 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23634 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23635 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23636 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23637 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23638 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23639 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23640 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23641 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23642 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23643 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23644 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23645 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23646 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23647 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23648 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23650 2013-10-17 Joseph Myers <joseph@codesourcery.com>
23653 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23654 make result into a quiet NaN.
23656 2013-10-16 Joseph Myers <joseph@codesourcery.com>
23658 * soft-fp/adddf3.c: Fix horizontal whitespace.
23659 * soft-fp/addsf3.c: Likewise.
23660 * soft-fp/addtf3.c: Likewise.
23661 * soft-fp/divdf3.c: Likewise.
23662 * soft-fp/divsf3.c: Likewise.
23663 * soft-fp/divtf3.c: Likewise.
23664 * soft-fp/double.h: Likewise.
23665 * soft-fp/eqdf2.c: Likewise.
23666 * soft-fp/eqsf2.c: Likewise.
23667 * soft-fp/eqtf2.c: Likewise.
23668 * soft-fp/extenddftf2.c: Likewise.
23669 * soft-fp/extended.h: Likewise.
23670 * soft-fp/extendsfdf2.c: Likewise.
23671 * soft-fp/extendsftf2.c: Likewise.
23672 * soft-fp/extendxftf2.c: Likewise.
23673 * soft-fp/fixdfdi.c: Likewise.
23674 * soft-fp/fixdfsi.c: Likewise.
23675 * soft-fp/fixdfti.c: Likewise.
23676 * soft-fp/fixsfdi.c: Likewise.
23677 * soft-fp/fixsfsi.c: Likewise.
23678 * soft-fp/fixsfti.c: Likewise.
23679 * soft-fp/fixtfdi.c: Likewise.
23680 * soft-fp/fixtfsi.c: Likewise.
23681 * soft-fp/fixtfti.c: Likewise.
23682 * soft-fp/fixunsdfdi.c: Likewise.
23683 * soft-fp/fixunsdfsi.c: Likewise.
23684 * soft-fp/fixunsdfti.c: Likewise.
23685 * soft-fp/fixunssfdi.c: Likewise.
23686 * soft-fp/fixunssfsi.c: Likewise.
23687 * soft-fp/fixunssfti.c: Likewise.
23688 * soft-fp/fixunstfdi.c: Likewise.
23689 * soft-fp/fixunstfsi.c: Likewise.
23690 * soft-fp/fixunstfti.c: Likewise.
23691 * soft-fp/floatdidf.c: Likewise.
23692 * soft-fp/floatdisf.c: Likewise.
23693 * soft-fp/floatditf.c: Likewise.
23694 * soft-fp/floatsidf.c: Likewise.
23695 * soft-fp/floatsisf.c: Likewise.
23696 * soft-fp/floatsitf.c: Likewise.
23697 * soft-fp/floattidf.c: Likewise.
23698 * soft-fp/floattisf.c: Likewise.
23699 * soft-fp/floattitf.c: Likewise.
23700 * soft-fp/floatundidf.c: Likewise.
23701 * soft-fp/floatundisf.c: Likewise.
23702 * soft-fp/floatunditf.c: Likewise.
23703 * soft-fp/floatunsidf.c: Likewise.
23704 * soft-fp/floatunsisf.c: Likewise.
23705 * soft-fp/floatunsitf.c: Likewise.
23706 * soft-fp/floatuntidf.c: Likewise.
23707 * soft-fp/floatuntisf.c: Likewise.
23708 * soft-fp/floatuntitf.c: Likewise.
23709 * soft-fp/fmadf4.c: Likewise.
23710 * soft-fp/fmasf4.c: Likewise.
23711 * soft-fp/fmatf4.c: Likewise.
23712 * soft-fp/gedf2.c: Likewise.
23713 * soft-fp/gesf2.c: Likewise.
23714 * soft-fp/getf2.c: Likewise.
23715 * soft-fp/ledf2.c: Likewise.
23716 * soft-fp/lesf2.c: Likewise.
23717 * soft-fp/letf2.c: Likewise.
23718 * soft-fp/muldf3.c: Likewise.
23719 * soft-fp/mulsf3.c: Likewise.
23720 * soft-fp/multf3.c: Likewise.
23721 * soft-fp/negdf2.c: Likewise.
23722 * soft-fp/negsf2.c: Likewise.
23723 * soft-fp/negtf2.c: Likewise.
23724 * soft-fp/op-1.h: Likewise.
23725 * soft-fp/op-2.h: Likewise.
23726 * soft-fp/op-4.h: Likewise.
23727 * soft-fp/op-8.h: Likewise.
23728 * soft-fp/op-common.h: Likewise.
23729 * soft-fp/quad.h: Likewise.
23730 * soft-fp/single.h: Likewise.
23731 * soft-fp/soft-fp.h: Likewise.
23732 * soft-fp/sqrtdf2.c: Likewise.
23733 * soft-fp/sqrtsf2.c: Likewise.
23734 * soft-fp/sqrttf2.c: Likewise.
23735 * soft-fp/subdf3.c: Likewise.
23736 * soft-fp/subsf3.c: Likewise.
23737 * soft-fp/subtf3.c: Likewise.
23738 * soft-fp/truncdfsf2.c: Likewise.
23739 * soft-fp/trunctfdf2.c: Likewise.
23740 * soft-fp/trunctfsf2.c: Likewise.
23741 * soft-fp/trunctfxf2.c: Likewise.
23742 * soft-fp/unorddf2.c: Likewise.
23743 * soft-fp/unordsf2.c: Likewise.
23744 * soft-fp/unordtf2.c: Likewise.
23746 2013-10-15 Joseph Myers <joseph@codesourcery.com>
23748 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23749 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23751 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
23753 * elf/dl-libc.c: Clear initfini list after freeing.
23755 2013-10-14 Joseph Myers <joseph@codesourcery.com>
23757 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23758 * soft-fp/addsf3.c: Likewise.
23759 * soft-fp/addtf3.c: Likewise.
23760 * soft-fp/divdf3.c: Likewise.
23761 * soft-fp/divsf3.c: Likewise.
23762 * soft-fp/divtf3.c: Likewise.
23763 * soft-fp/double.h: Likewise.
23764 * soft-fp/eqdf2.c: Likewise.
23765 * soft-fp/eqsf2.c: Likewise.
23766 * soft-fp/eqtf2.c: Likewise.
23767 * soft-fp/extenddftf2.c: Likewise.
23768 * soft-fp/extended.h: Likewise.
23769 * soft-fp/extendsfdf2.c: Likewise.
23770 * soft-fp/extendsftf2.c: Likewise.
23771 * soft-fp/extendxftf2.c: Likewise.
23772 * soft-fp/fixdfdi.c: Likewise.
23773 * soft-fp/fixdfsi.c: Likewise.
23774 * soft-fp/fixdfti.c: Likewise.
23775 * soft-fp/fixsfdi.c: Likewise.
23776 * soft-fp/fixsfsi.c: Likewise.
23777 * soft-fp/fixsfti.c: Likewise.
23778 * soft-fp/fixtfdi.c: Likewise.
23779 * soft-fp/fixtfsi.c: Likewise.
23780 * soft-fp/fixtfti.c: Likewise.
23781 * soft-fp/fixunsdfdi.c: Likewise.
23782 * soft-fp/fixunsdfsi.c: Likewise.
23783 * soft-fp/fixunsdfti.c: Likewise.
23784 * soft-fp/fixunssfdi.c: Likewise.
23785 * soft-fp/fixunssfsi.c: Likewise.
23786 * soft-fp/fixunssfti.c: Likewise.
23787 * soft-fp/fixunstfdi.c: Likewise.
23788 * soft-fp/fixunstfsi.c: Likewise.
23789 * soft-fp/fixunstfti.c: Likewise.
23790 * soft-fp/floatdidf.c: Likewise.
23791 * soft-fp/floatdisf.c: Likewise.
23792 * soft-fp/floatditf.c: Likewise.
23793 * soft-fp/floatsidf.c: Likewise.
23794 * soft-fp/floatsisf.c: Likewise.
23795 * soft-fp/floatsitf.c: Likewise.
23796 * soft-fp/floattidf.c: Likewise.
23797 * soft-fp/floattisf.c: Likewise.
23798 * soft-fp/floattitf.c: Likewise.
23799 * soft-fp/floatundidf.c: Likewise.
23800 * soft-fp/floatundisf.c: Likewise.
23801 * soft-fp/floatunsidf.c: Likewise.
23802 * soft-fp/floatunsisf.c: Likewise.
23803 * soft-fp/floatuntidf.c: Likewise.
23804 * soft-fp/floatuntisf.c: Likewise.
23805 * soft-fp/floatuntitf.c: Likewise.
23806 * soft-fp/fmadf4.c: Likewise.
23807 * soft-fp/fmasf4.c: Likewise.
23808 * soft-fp/fmatf4.c: Likewise.
23809 * soft-fp/gedf2.c: Likewise.
23810 * soft-fp/gesf2.c: Likewise.
23811 * soft-fp/getf2.c: Likewise.
23812 * soft-fp/ledf2.c: Likewise.
23813 * soft-fp/lesf2.c: Likewise.
23814 * soft-fp/letf2.c: Likewise.
23815 * soft-fp/muldf3.c: Likewise.
23816 * soft-fp/mulsf3.c: Likewise.
23817 * soft-fp/multf3.c: Likewise.
23818 * soft-fp/negdf2.c: Likewise.
23819 * soft-fp/negsf2.c: Likewise.
23820 * soft-fp/negtf2.c: Likewise.
23821 * soft-fp/op-1.h: Likewise.
23822 * soft-fp/op-2.h: Likewise.
23823 * soft-fp/op-4.h: Likewise.
23824 * soft-fp/op-8.h: Likewise.
23825 * soft-fp/op-common.h: Likewise.
23826 * soft-fp/quad.h: Likewise.
23827 * soft-fp/single.h: Likewise.
23828 * soft-fp/soft-fp.h: Likewise.
23829 * soft-fp/sqrtdf2.c: Likewise.
23830 * soft-fp/sqrtsf2.c: Likewise.
23831 * soft-fp/sqrttf2.c: Likewise.
23832 * soft-fp/subdf3.c: Likewise.
23833 * soft-fp/subsf3.c: Likewise.
23834 * soft-fp/subtf3.c: Likewise.
23835 * soft-fp/truncdfsf2.c: Likewise.
23836 * soft-fp/trunctfdf2.c: Likewise.
23837 * soft-fp/trunctfsf2.c: Likewise.
23838 * soft-fp/trunctfxf2.c: Likewise.
23839 * soft-fp/unorddf2.c: Likewise.
23840 * soft-fp/unordsf2.c: Likewise.
23841 * soft-fp/unordtf2.c: Likewise.
23843 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
23846 * misc/error.c (error_tail): Fix possible buffer overflow.
23848 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23851 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23854 2013-10-14 P. J. McDermott <pj@pehjota.net>
23857 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23858 testing pipefail option.
23860 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23862 * soft-fp/double.h: Indent preprocessor directives inside #if.
23863 * soft-fp/extended.h: Likewise.
23864 * soft-fp/op-2.h: Likewise.
23865 * soft-fp/op-4.h: Likewise.
23866 * soft-fp/op-common.h: Likewise.
23867 * soft-fp/quad.h: Likewise.
23868 * soft-fp/single.h: Likewise.
23869 * soft-fp/soft-fp.h: Likewise.
23871 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23873 * iconv/iconv_prog.c: Fix typos.
23874 * stdio-common/psiginfo-data.h: Likewise.
23876 2013-10-12 Reuben Thomas <rrt@sc3d.org>
23879 * locale/setlocale.c: Fix typo.
23881 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23884 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23885 signaling NaN arguments.
23886 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23887 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23890 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23891 unordered operands.
23892 * soft-fp/gesf2.c (__gesf2): Likewise.
23893 * soft-fp/getf2.c (__getf2): Likewise.
23894 * soft-fp/ledf2.c (__ledf2): Likewise.
23895 * soft-fp/lesf2.c (__lesf2): Likewise.
23896 * soft-fp/letf2.c (__letf2): Likewise.
23898 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23899 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23900 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23901 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23902 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23903 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23904 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23905 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23906 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23907 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23908 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23909 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23910 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23911 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23912 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23913 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23914 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23915 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23916 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23917 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23918 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23919 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23920 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23921 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23922 * soft-fp/floattidf.c (__floattidf): Likewise.
23923 * soft-fp/floattisf.c (__floattisf): Likewise.
23924 * soft-fp/floattitf.c (__floattitf): Likewise.
23925 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23926 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23927 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23928 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23929 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23930 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23931 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23932 * soft-fp/gesf2.c (__gesf2): Likewise.
23933 * soft-fp/getf2.c (__getf2): Likewise.
23934 * soft-fp/ledf2.c (__ledf2): Likewise.
23935 * soft-fp/lesf2.c (__lesf2): Likewise.
23936 * soft-fp/letf2.c (__letf2): Likewise.
23938 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23939 Undefine and redefine.
23940 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23941 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23942 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23943 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23944 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23945 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23946 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23947 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23948 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23949 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23950 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23951 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23952 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23953 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23954 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23957 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23958 without decrementing exponent if mantissa >= that for the
23959 denominator, not >.
23960 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23961 denominator, not >. Decrement exponent in < case instead of
23962 incrementing in >= case.
23963 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23964 without decrementing exponent if mantissa >= that for the
23965 denominator, not >.
23967 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23968 computing saturated result for unsigned overflow.
23970 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23971 Jeff Law <law@redhat.com>
23973 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23974 (atan2Mp): Add systemtap probe marker.
23975 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23976 (__ieee754_log): Add systemtap probe marker.
23977 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23978 (atanMp): Add systemtap probe marker.
23979 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23980 (tanMp): Add systemtap probe marker.
23981 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23982 (__slowexp): Add systemtap probe marker.
23983 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23984 (__slowpow): Add systemtap probe marker.
23985 * manual/probes.texi: Document probes.
23987 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
23990 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23992 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23994 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23995 written to buffer but not flushed.
23996 * libio/iofwrite_u.c: Likewise.
23997 * libio/iopadn.c: Return bytes returned even if EOF was
23999 * libio/iowpadn.c: Likewise.
24000 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24001 if _IO_padn does not write the whole buffer.
24002 [!COMPILE_WPRINTF] (PAD): Likewise.
24004 2013-10-10 David S. Miller <davem@davemloft.net>
24006 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24009 2013-10-10 Joseph Myers <joseph@codesourcery.com>
24011 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
24012 instead of FSF address.
24013 * soft-fp/fixdfti.c: Likewise.
24014 * soft-fp/fixsfti.c: Likewise.
24015 * soft-fp/fixtfti.c: Likewise.
24016 * soft-fp/fixunsdfti.c: Likewise.
24017 * soft-fp/fixunssfti.c: Likewise.
24018 * soft-fp/fixunstfti.c: Likewise.
24019 * soft-fp/floattidf.c: Likewise.
24020 * soft-fp/floattisf.c: Likewise.
24021 * soft-fp/floattitf.c: Likewise.
24022 * soft-fp/floatuntidf.c: Likewise.
24023 * soft-fp/floatuntisf.c: Likewise.
24024 * soft-fp/floatuntitf.c: Likewise.
24025 * soft-fp/trunctfxf2.c: Likewise.
24027 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
24028 * soft-fp/fixdfti.c: Likewise.
24029 * soft-fp/fixsfti.c: Likewise.
24030 * soft-fp/fixtfti.c: Likewise.
24031 * soft-fp/fixunsdfti.c: Likewise.
24032 * soft-fp/fixunssfti.c: Likewise.
24033 * soft-fp/fixunstfti.c: Likewise.
24034 * soft-fp/floattidf.c: Likewise.
24035 * soft-fp/floattisf.c: Likewise.
24036 * soft-fp/floattitf.c: Likewise.
24037 * soft-fp/floatuntidf.c: Likewise.
24038 * soft-fp/floatuntisf.c: Likewise.
24039 * soft-fp/floatuntitf.c: Likewise.
24040 * soft-fp/trunctfxf2.c: Likewise.
24042 2013-10-10 David S. Miller <davem@davemloft.net>
24044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24046 2013-10-10 Joseph Myers <joseph@codsourcery.com>
24048 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24049 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24050 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24051 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24052 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24053 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24054 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24056 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24057 for NaNs before doing comparisons on argument.
24058 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24061 2013-10-10 Will Newton <will.newton@linaro.org>
24063 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24064 passed to _int_memalign does not overflow.
24066 2013-10-10 Torvald Riegel <triegel@redhat.com>
24068 * scripts/bench.pl: Add include-sources directive.
24069 * benchtests/README: Update documentation.
24071 2013-10-10 Joseph Myers <joseph@codesourcery.com>
24073 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24074 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24075 instead of FP_INIT_ROUNDMODE.
24076 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24077 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24080 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24081 copy class of input value.
24082 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24083 not handle exceptions.
24084 * soft-fp/negsf2.c (__negsf2): Likewise.
24085 * soft-fp/negtf2.c (__negtf2): Likewise.
24086 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24088 2013-10-09 Joseph Myers <joseph@codesourcery.com>
24090 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24091 semicolon. From Linux kernel.
24093 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24095 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24097 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24100 * manual/socket.texi: Added statement about buffer
24101 for gethostbyname2_r.
24103 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
24105 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24106 Use .p2align directive instead, throughout.
24107 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24108 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24109 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24110 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24111 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24112 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24113 * sysdeps/x86_64/strchr.S: Likewise.
24114 * sysdeps/x86_64/strrchr.S: Likewise.
24116 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24118 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24120 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24122 * sysdeps/generic/math_private.h (__mpsin1): Remove
24124 (__mpcos1): Likewise.
24125 (__mpsin): New argument __range_reduce.
24126 (__mpcos): Likewise.
24127 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24128 (slow): Use __mpsin and __mpcos.
24132 (sloww1): Likewise.
24133 (sloww2): Likewise.
24134 (bsloww): Likewise.
24135 (bsloww1): Likewise.
24136 (bsloww2): Likewise.
24137 (cslow2): Likewise.
24138 (csloww): Likewise.
24139 (csloww1): Likewise.
24140 (csloww2): Likewise.
24141 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24142 range_reduce. Merge in __mpsin1.
24143 (__mpcos): Likewise.
24144 (__mpsin1): Remove.
24145 (__mpcos1): Likewise.
24147 2013-10-07 Joseph Myers <joseph@codesourcery.com>
24149 * locale/loadlocale.c (_nl_intern_locale_data): Use
24151 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24152 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24153 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24154 obstack data is appropriately aligned.
24155 (obstack_int32_grow_fast): Likewise.
24156 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24157 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24158 (add_locale_uint32_array): Likewise.
24160 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24162 * benchtests/Makefile: Remove ARGLIST and RET variables.
24163 ($(objpfx)bench-%.c): Pass only function name to the script.
24164 * benchtests/README: Update documentation.
24165 * benchtests/acos-inputs: Add new directives.
24166 * benchtests/acosh-inputs: Likewise.
24167 * benchtests/asin-inputs: Likewise.
24168 * benchtests/asinh-inputs: Likewise.
24169 * benchtests/atan-inputs: Likewise.
24170 * benchtests/atanh-inputs: Likewise.
24171 * benchtests/cos-inputs: Likewise.
24172 * benchtests/cosh-inputs: Likewise.
24173 * benchtests/exp-inputs: Likewise.
24174 * benchtests/log-inputs: Likewise.
24175 * benchtests/pow-inputs: Likewise.
24176 * benchtests/rint-inputs: Likewise.
24177 * benchtests/sin-inputs: Likewise.
24178 * benchtests/sinh-inputs: Likewise.
24179 * benchtests/tan-inputs: Likewise.
24180 * benchtests/tanh-inputs: Likewise.
24181 * scripts/bench.pl: Add support for new directives.
24183 2013-10-07 Alan Modra <amodra@gmail.com>
24185 * README: Fix careless merge.
24187 2013-10-05 Alan Modra <amodra@gmail.com>
24189 * NEWS: Mention powerpc64le support and bugs fixed.
24190 * README: Both big-endian and little-endian powerpc64 supported.
24192 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24194 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24195 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24196 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24197 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24199 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24201 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24204 2013-10-04 Joseph Myers <joseph@codesourcery.com>
24206 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24207 Move -mhard-float appending from
24208 ports/sysdeps/powerpc/powerpc32/Makefile.
24209 [$(with-fp) = yes] (ASFLAGS): Likewise.
24210 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24211 * sysdeps/powerpc/nofpu: Move directory from
24212 ports/sysdeps/powerpc/nofpu.
24213 * sysdeps/powerpc/soft-fp: Move directory from
24214 ports/sysdeps/powerpc/soft-fp.
24215 * sysdeps/powerpc/powerpc32/405: Move directory from
24216 ports/sysdeps/powerpc/powerpc32/405.
24217 * sysdeps/powerpc/powerpc32/440: Move directory from
24218 ports/sysdeps/powerpc/powerpc32/440.
24219 * sysdeps/powerpc/powerpc32/464: Move directory from
24220 ports/sysdeps/powerpc/powerpc32/464.
24221 * sysdeps/powerpc/powerpc32/476: Move directory from
24222 ports/sysdeps/powerpc/powerpc32/476.
24223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24224 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24226 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24228 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24230 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24232 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24233 * README: Update for powerpc-*-linux-gnu software floating point
24236 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24237 case to powerpc/powerpc32*.
24238 * sysdeps/unix/sysv/linux/configure: Regenerated.
24240 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24241 (_FPU_MASK_OM): Define as 0x04.
24242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24250 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24253 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24256 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24257 and setcontext_e500.
24259 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24261 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24263 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24265 * manual/threads.texi (Default Thread Attributes): Fix typo.
24267 2013-10-04 Will Newton <will.newton@linaro.org>
24269 * malloc/Makefile: Add tst-memalign.
24270 * malloc/tst-memalign.c: New file.
24272 * malloc/tst-posix_memalign.c: Add comments.
24273 (do_test): Add comments and call free on all potentially
24274 allocated pointers. Add space after cast.
24276 * malloc/tst-pvalloc.c: Add comments.
24277 (do_test): Add comments and call free on all potentially
24278 allocated pointers. Remove duplicate check for NULL pointer.
24279 Add space after cast.
24281 * malloc/tst-valloc.c: Add comments.
24282 (do_test): Add comments and call free on all potentially
24283 allocated pointers. Remove duplicate check for NULL pointer.
24284 Add space after cast.
24286 2013-10-04 Alan Modra <amodra@gmail.com>
24288 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24289 Use stdint types in rather than __attribute__((mode())).
24290 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24292 2013-10-04 Alan Modra <amodra@gmail.com>
24294 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24295 Correct handling of unaligned relocs for little-endian.
24296 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24298 2013-10-04 Alan Modra <amodra@gmail.com>
24300 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24301 * configure: Regenerate.
24302 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24303 * shlib-versions: Likewise.
24305 2013-10-04 Alan Modra <amodra@gmail.com>
24307 * string/tester.c (test_memrchr): Increment reported test cycle.
24309 2013-10-04 Alan Modra <amodra@gmail.com>
24311 * string/test-memcpy.c (do_one_test): When reporting errors, print
24312 string address and don't overrun end of string.
24314 2013-10-04 Alan Modra <amodra@gmail.com>
24316 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24317 insrdi. Make better use of reg selection to speed exit slightly.
24318 Schedule entry path a little better. Remove useless "are we done"
24319 checks on entry to main loop. Handle wrapping around zero address.
24320 Correct main loop count. Handle single left-over word from main
24321 loop inline rather than by using loop_small. Remove extra word
24322 case in loop_small caused by wrong loop count. Add little-endian
24324 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24325 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24327 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24328 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24329 support. Avoid rlwimi.
24330 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24332 2013-10-04 Alan Modra <amodra@gmail.com>
24334 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24335 insrdi. Formatting.
24336 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24337 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24338 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24339 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24340 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24341 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24343 2013-10-04 Alan Modra <amodra@gmail.com>
24345 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24346 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24347 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24348 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24349 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24350 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24351 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24352 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24353 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24354 use of regs. Use power7 mtocrf. Tidy function tails.
24356 2013-10-04 Alan Modra <amodra@gmail.com>
24358 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24359 Formatting. Consistently use rXXX register defines or rN defines.
24360 Use early exit labels that avoid restoring unused non-volatile regs.
24361 Make cr field use more consistent with rWORDn compares. Rename
24362 regs used as shift registers for unaligned loop, using rN defines
24363 for short lifetime/multiple use regs.
24364 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24365 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24366 addi 1,1,64 to pop stack frame. Simplify return value code.
24367 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24369 2013-10-04 Alan Modra <amodra@gmail.com>
24371 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24372 support. Correct typos, formatting. Optimize tail. Use insrdi
24373 rather than rlwimi.
24374 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24375 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24376 little-endian support. Correct typos.
24377 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24378 rather than rlwimi.
24379 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24380 in loop and entry code to keep "and." results.
24381 (strchr): Add little-endian support. Comment. Move cntlzd
24383 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24385 2013-10-04 Alan Modra <amodra@gmail.com>
24387 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24388 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24389 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24390 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24392 2013-10-04 Alan Modra <amodra@gmail.com>
24394 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24395 (rTMP): Define as r11.
24396 (strcmp): Add little-endian support. Optimise tail.
24397 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24398 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24399 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24400 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24401 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24402 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24403 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24405 2013-10-04 Alan Modra <amodra@gmail.com>
24407 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24408 little-endian support. Remove unnecessary "are we done" tests.
24409 Handle "s" wrapping around zero and extremely large "size".
24410 Correct main loop count. Handle single left-over word from main
24411 loop inline rather than by using small_loop. Correct comments.
24412 Delete "zero" tail, use "end_max" instead.
24413 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24415 2013-10-04 Alan Modra <amodra@gmail.com>
24417 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24418 support. Don't branch over align.
24419 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24420 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24421 support. Rearrange tmp reg use to suit. Comment.
24422 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24424 2013-10-04 Alan Modra <amodra@gmail.com>
24426 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24428 2013-10-04 Alan Modra <amodra@gmail.com>
24430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24431 conditional form of branch and link when obtaining pc.
24432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24434 2013-10-04 Alan Modra <amodra@gmail.com>
24436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24441 2013-10-04 Alan Modra <amodra@gmail.com>
24443 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24444 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24445 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24446 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24447 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24448 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24449 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24450 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24451 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24452 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24454 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24455 Alistair Popple <alistair@ozlabs.au.ibm.com>
24456 Alan Modra <amodra@gmail.com>
24459 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24460 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24461 _dl_hwcap access for little-endian.
24462 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24463 destroy vmx regs when saving unaligned.
24464 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24465 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24466 destroy vmx regs when saving unaligned.
24468 2013-10-04 Alan Modra <amodra@gmail.com>
24470 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24471 Don't use a union to pack hi/low value.
24473 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24475 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24477 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24478 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24479 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24480 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24481 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24483 2013-10-04 Alan Modra <amodra@gmail.com>
24485 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24486 constants to usual value for .cst8 section, and remove redundant
24488 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24489 constant for 0x1p52. Load little-endian words of double from
24490 correct stack offsets.
24492 2013-10-04 Alan Modra <amodra@gmail.com>
24494 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24495 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24496 words of double from correct stack offsets.
24497 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24498 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24499 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24500 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24501 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24502 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24503 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24504 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24505 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24506 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24507 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24508 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24509 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24510 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24511 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24512 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24513 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24515 2013-10-04 Alan Modra <amodra@gmail.com>
24517 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24518 64-bit int/double union.
24519 (_FPU_SETCW): Likewise.
24520 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24521 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24523 2013-10-04 Alan Modra <amodra@gmail.com>
24525 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24526 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24528 2013-10-04 Alan Modra <amodra@gmail.com>
24530 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24531 use vector int constants.
24532 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24534 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24536 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24537 array with long long.
24538 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24539 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24540 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24541 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24542 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24543 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24544 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24545 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24546 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24547 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24548 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24549 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24550 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24552 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24554 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24555 (__signbit): Likewise. Correct for little-endian.
24556 (__signbitl): Call __signbit.
24557 (lrint): Correct for little-endian.
24558 (lrintf): Call lrint.
24560 2013-10-04 Alan Modra <amodra@gmail.com>
24562 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24563 union 32-bit int array member with 64-bit int array.
24564 (t515, tm256): Double rather than long double.
24565 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24567 2013-10-04 Alan Modra <amodra@gmail.com>
24569 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24571 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24572 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24573 version of math_ldbl.h.
24575 2013-10-04 Alan Modra <amodra@gmail.com>
24577 [BZ #15734], [BZ #15735]
24578 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24579 all uses of ieee875 long double macros and unions. Simplify test
24580 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24581 ldbl_extract_mantissa value for ix,iy exponents. Properly
24582 normalize after ldbl_extract_mantissa, and don't add hidden bit
24583 already handled. Don't treat low word of ieee854 mantissa like
24584 low word of IBM long double and mask off bit when testing for
24586 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24587 all uses of ieee875 long double macros and unions. Simplify tests
24588 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24589 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24590 two1022, instead use their values. Recognise that tests for large
24591 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24592 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24593 Rewrite all uses of ieee875 long double macros and unions. Simplify
24594 test for 0.0L and nan. Correct negation.
24595 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24596 ieee875 long double macros and unions. Correct output for large
24597 magnitude x. Correct absolute value calculation.
24598 (__erfcl): Likewise.
24599 * math/libm-test.inc: Add tests for errors discovered in IBM long
24600 double versions of fmodl, remainderl, erfl and erfcl.
24602 2013-10-04 Alan Modra <amodra@gmail.com>
24604 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24605 all uses of ieee854 long double macros and unions. Simplify tests
24606 for long doubles that are fully specified by the high double.
24607 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24609 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24610 Remove dead code too.
24611 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24612 (__ieee754_ynl): Likewise.
24613 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24614 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24615 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24616 Remove dead code too.
24617 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24618 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24619 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24620 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24622 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24624 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24625 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24626 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24627 Comment on variable precision.
24628 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24629 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24631 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24632 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24633 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24634 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24635 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24637 2013-10-04 Alan Modra <amodra@gmail.com>
24639 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24640 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24641 all uses of ieee854 long double macros and unions.
24642 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24643 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24644 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24645 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24646 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24647 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24649 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24650 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24651 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24652 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24653 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24654 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24655 Simplify sign and nan test too.
24656 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24657 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24658 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24659 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24661 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24662 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24664 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24665 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24666 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24667 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24668 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24669 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24671 2013-10-04 Alan Modra <amodra@gmail.com>
24673 * stdio-common/printf_size.c (__printf_size): Don't use
24674 union ieee854_long_double in fpnum union.
24675 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24676 signbit macro to retrieve sign from long double.
24677 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24678 retrieve sign from long double.
24679 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24680 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24681 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24682 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24683 * math/test-misc.c (main): Don't use union ieee854_long_double.
24685 2013-10-04 Alan Modra <amodra@gmail.com>
24688 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24689 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24690 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24691 calculation. Remove unnecessary test for denormal exponent.
24692 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24693 Correct handling of denormals. Avoid undefined shift behaviour.
24694 Correct normalisation of low mantissa when low double is denormal.
24695 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24696 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24697 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24698 Correct normalisation of low mantissa. Test for overflow of high
24699 mantissa and normalise.
24700 (ldbl_nearbyint): Use more readable constant for two52.
24701 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24702 (__mpn_construct_long_double): Fix test for overflow of high
24703 mantissa and correct normalisation. Avoid undefined shift.
24705 2013-10-04 Alan Modra <amodra@gmail.com>
24707 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24708 (union ibm_extended_long_double): Define as an array of ieee754_double.
24709 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24710 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24711 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24712 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24713 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24714 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24715 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24716 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24717 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24718 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24719 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24721 2013-10-03 Joseph Myers <joseph@codesourcery.com>
24723 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24724 page size instead of calling getpagesize.
24726 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24727 (LOCFILE_ALIGN_MASK): Likewise.
24728 (LOCFILE_ALIGN_UP): Likewise.
24729 (LOCFILE_ALIGNED_P): Likewise.
24730 * locale/programs/ld-collate.c (collate_output): Use the new
24731 macros instead of __alignof__ (int32_t).
24732 * locale/weight.h (findidx): Likewise.
24734 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
24737 * manual/string.texi: Fix strncat and wcsncat.
24739 2013-10-03 Brooks Moses <bmoses@google.com>
24742 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24743 * Makerules: ...here, and adjust associated comments.
24745 2013-10-02 Will Newton <will.newton@linaro.org>
24747 * malloc/Makefile: Add tst-pvalloc.
24748 * malloc/tst-pvalloc.c: New file.
24750 2013-10-02 Will Newton <will.newton@linaro.org>
24752 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24753 improve test coverage.
24755 2013-10-02 Will Newton <will.newton@linaro.org>
24757 * malloc/Makefile: Add tst-posix_memalign.
24758 * malloc/tst-posix_memalign.c: New file.
24760 2013-10-01 Eric Blake <eblake@redhat.com>
24762 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24763 Use __THROWNL rather than __THROW on static functions.
24765 2013-09-30 Petr Machata <pmachata@redhat.com>
24767 * elf/elf.h (R_AARCH64_ABS16): New macro.
24768 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24769 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24770 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24771 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24772 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24773 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24774 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24775 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24776 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24777 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24778 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24779 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24780 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24781 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24782 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24783 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24784 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24785 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24786 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24787 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24788 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24789 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24790 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24791 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24792 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24793 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24794 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24795 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24796 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24797 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24798 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24799 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24800 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24801 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24802 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24803 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24804 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24805 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24806 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24807 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24808 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24809 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24810 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24811 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24812 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24813 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24814 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24815 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24816 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24817 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24818 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24819 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24820 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24821 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24822 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24823 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24824 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24825 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24826 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24827 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24828 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24829 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24830 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24831 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24832 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24833 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24834 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24835 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24836 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24837 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24838 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24839 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24840 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24841 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24842 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24843 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24844 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24845 (R_AARCH64_TLSDESC_LDR): Likewise.
24846 (R_AARCH64_TLSDESC_ADD): Likewise.
24847 (R_AARCH64_TLSDESC_CALL): Likewise.
24849 2013-09-30 Andreas Schwab <schwab@suse.de>
24852 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24853 the nss database lookup.
24854 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24857 2013-09-28 Mike Frysinger <vapier@gentoo.org>
24859 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24861 2013-09-28 P. J. McDermott <pj@pehjota.net>
24863 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24864 ${Bash-specific parameter/pattern/string} parameter expansion.
24865 * sysdeps/unix/make-syscalls.sh: Likewise.
24867 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24869 * sysdeps/sh/stackguard-macros.h: New file.
24871 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
24873 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24874 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24875 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24876 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24877 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24878 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24880 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24882 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24883 Fix thread ID register.
24885 2013-09-25 Joseph Myers <joseph@codesourcery.com>
24887 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24888 [POSIX || UNIX98]: Require rather than permitting all symbols from
24890 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24891 element of struct sched_param.
24892 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24893 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24894 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24895 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24898 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24900 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24901 argument calculation.
24903 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24905 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24907 [POSIX] (pthread_attr_t): Do not require type.
24908 [POSIX] (pthread_cond_t): Likewise.
24909 [POSIX] (pthread_condattr_t): Likewise.
24910 [POSIX] (pthread_key_t): Likewise.
24911 [POSIX] (pthread_mutex_t): Likewise.
24912 [POSIX] (pthread_mutexattr_t): Likewise.
24913 [POSIX] (pthread_once_t): Likewise.
24914 [POSIX] (pthread_t): Likewise.
24915 [POSIX-based standards] (pthread_atfork): Expect function.
24917 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24918 Richard Sandiford <richard@codesourcery.com>
24920 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24921 (swap_endianness_p): New extern variable.
24922 (set_big_endian): New inline function.
24923 (maybe_swap_uint32): Likewise.
24924 (maybe_swap_uint32_array): Likewise.
24925 (maybe_swap_uint32_obstack): Likewise.
24926 * locale/programs/locfile.c: Include <stdbool.h>.
24927 (swap_endianness_p): New variable.
24928 (add_locale_uint32): Call maybe_swap_uint32.
24929 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24930 (write_locale_data): Call maybe_swap_uint32_array.
24931 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24933 (obstack_int32_grow_fast): Likewise.
24934 (output_weightwc): Call maybe_swap_uint32_obstack.
24935 (collate_output): Likewise.
24936 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24937 (OPT_LITTLE_ENDIAN): Likewise.
24938 (options): Add --little-endian and --big-endian options.
24939 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24940 * locale/programs/locarchive.c: Include "locfile.h".
24944 (create_archive): Use the new macros to access fields of
24945 structures directly mapped from or written to locale archives.
24946 (oldlocrecentcmp): Likewise.
24947 (enlarge_archive): Likewise.
24948 (insert_name): Likewise.
24949 (add_alias): Likewise.
24950 (add_locale): Likewise.
24951 (delete_locales_from_archive): Likewise.
24952 (show_archive_content): Likewise.
24953 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24956 2013-09-24 Roland McGrath <roland@hack.frob.com>
24958 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24959 http://www.gnu.org/doc/freemanuals.texi.
24960 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24962 2013-09-24 Will Newton <will.newton@linaro.org>
24964 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24967 2013-09-23 Joseph Myers <joseph@codesourcery.com>
24969 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24972 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24974 * manual/threads.texi (POSIX Threads): Fix a typo.
24976 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24979 * string/tst-strcoll-overflow.c: New test case.
24980 * string/Makefile (xtests): Add tst-strcoll-overflow.
24981 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24982 cache if string sizes may cause integer overflow.
24985 * string/strcoll_l.c (coll_seq): New members rule, idx,
24986 save_idx and back_us.
24987 (get_next_seq_nocache): New function.
24988 (do_compare_nocache): New function.
24989 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24992 2013-09-23 Carlos O'Donell <carlos@redhat.com>
24995 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24996 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24997 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25000 * elf/Makefile (tests): Add tst-ptrguard1.
25001 (tests-static): Add tst-ptrguard1-static.
25002 (tst-ptrguard1-ARGS): Define.
25003 (tst-ptrguard1-static-ARGS): Define.
25004 * elf/tst-ptrguard1.c: New file.
25005 * elf/tst-ptrguard1-static.c: New file.
25006 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25007 * sysdeps/i386/stackguard-macros.h: Likewise.
25008 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25009 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25010 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25011 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25012 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25013 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25015 2013-09-23 Hector Marco <hecmargi@upv.es>
25016 Ismael Ripoll <iripoll@disca.upv.es>
25017 Carlos O'Donell <carlos@redhat.com>
25020 * sysdeps/generic/stackguard-macros.h: Define
25021 __pointer_chk_guard_local and POINTER_CHK_GUARD.
25022 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25023 Define __pointer_chk_guard_local.
25024 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25025 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25027 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
25030 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25032 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
25034 * include/string.h (__ffs): Declare as hidden.
25035 * string/ffs.c (__ffs): Define as hidden.
25036 * sysdeps/i386/ffs.c (__ffs): Likewise.
25037 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25038 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25039 * sysdeps/s390/ffs.c (__ffs): Likewise.
25040 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25042 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
25044 * NEWS: Mention malloc probes.
25046 * malloc/arena.c (new_heap): New memory_heap_new probe.
25047 (grow_heap): New memory_heap_more probe.
25048 (shrink_heap): New memory_heap_less probe.
25049 (heap_trim): New memory_heap_free probe.
25050 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25051 (systrim): New memory_sbrk_less probe.
25052 * manual/probes.texi: Document them.
25054 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25055 * manual/probes.texi: Document it.
25057 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25058 (__libc_realloc): Add memory_realloc_retry probe.
25059 (__libc_memalign): Add memory_memalign_retry probe.
25060 (__libc_valloc): Add memory_valloc_retry probe.
25061 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25062 (__libc_calloc): Add memory_calloc_retry probe.
25063 * manual/probes.texi: Document them.
25065 * malloc/arena.c (get_free_list): Add probe
25066 memory_arena_reuse_free_list.
25067 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25068 and memory_arena_reuse.
25069 (arena_get2) [!PER_THREAD]: Likewise.
25070 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25071 memory_arena_reuse_realloc.
25072 * manual/probes.texi: Document them.
25074 * malloc/malloc.c (__libc_free): Add
25075 memory_mallopt_free_dyn_thresholds probe.
25076 (__libc_mallopt): Add multiple memory_mallopt probes.
25077 * manual/probes.texi: Document them.
25079 * malloc/malloc.c: Include stap-probe.h.
25080 (__libc_mallopt): Add memory_mallopt probe.
25081 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25082 * manual/probes.texi: New.
25083 * manual/Makefile (chapters): Add probes.
25084 * manual/threads.texi: Set next node.
25086 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
25088 [BZ #15963, #13985]
25089 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25090 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25091 Add `Chinese' to `nan' entry name.
25093 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25095 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25096 (POLYNOMIAL): Likewise.
25097 (TAYLOR_SINCOS): Likewise.
25098 (TAYLOR_SLOW): Likewise.
25099 (__sin): Use TAYLOR_SINCOS.
25101 (slow): Use TAYLOR_SLOW.
25103 (bsloww): Likewise.
25104 (csloww): Likewise.
25106 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25108 * stdlib/strtod_l.c: Fix buffer overrun.
25110 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25112 * benchtests/Makefile (bench): Add sincos.
25113 * benchtests/bench-sincos.c: New file.
25115 * math/libm-test.inc (cos_test_data): New test inputs.
25116 (sin_test_data): Likewise.
25118 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25124 (sloww1): Likewise.
25125 (sloww2): Likewise.
25126 (bsloww1): Likewise.
25127 (bsloww2): Likewise.
25128 (cslow2): Likewise.
25129 (csloww1): Likewise.
25130 (csloww2): Likewise.
25132 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25137 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25141 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25143 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25144 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25145 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25146 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25147 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25148 * elf/cache.c (print_entry): Handle the new cache flags.
25150 2013-09-18 Joseph Myers <joseph@codesourcery.com>
25151 Aldy Hernandez <aldyh@redhat.com>
25153 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25154 Change condition to [_SOFT_FLOAT].
25155 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25157 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25158 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25159 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25160 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25161 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25162 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25163 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25167 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25170 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25173 2013-09-18 Joseph Myers <joseph@codesourcery.com>
25175 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25176 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25177 (__longjmp): Use LOAD_GP to load saved GPRs.
25178 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25179 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25180 (__sigsetjmp): Use SAVE_GP to save GPRs.
25182 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25183 Do not append -msoft-float.
25184 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25186 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25188 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25190 2013-09-17 Joseph Myers <joseph@codesourcery.com>
25193 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25194 (_FPU_GETCW): Use initial "__" on variable and field names but not
25195 on macro parameter name.
25196 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25197 parentheses around reference to macro parameter.
25199 2013-09-13 Richard Sandiford <richard@codesourcery.com>
25201 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25203 (ctype_startup): Use uint32_t in cast and sizeof for
25206 2013-09-11 Jia Liu <proljc@gmail.com>
25208 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25210 [__FreeBSD__]: Likewise.
25212 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
25214 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25215 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25216 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25217 (strchr): Remove __strchr_sse42 ifunc selection.
25218 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25219 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25221 2013-09-11 Will Newton <will.newton@linaro.org>
25223 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25224 parameter to RES. Remove hardcoded 1000 value.
25225 * benchtests/bench-skeleton.c (main): Pass RES parameter
25226 to TIMING_INIT and multiply result by 1000.
25228 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25232 2013-09-11 Andreas Schwab <schwab@suse.de>
25234 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25236 (O_TMPFILE) [__USE_GNU]: Define.
25237 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25240 2013-09-11 Will Newton <will.newton@linaro.org>
25243 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25246 2013-09-11 Will Newton <will.newton@linaro.org>
25249 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25252 2013-09-11 Will Newton <will.newton@linaro.org>
25255 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25258 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
25260 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25261 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25262 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25263 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25264 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25266 2013-09-10 Allan McRae <allan@archlinux.org>
25269 * manual/arith.texi (Parsing of Floats): Clarify
25273 * manual/install.texi (Running make install): Mention
25275 * INSTALL: Regenerated.
25277 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25279 * csu/init-first.c (_init): Remove the !SHARED condition around
25280 FPU control word initialization.
25281 * elf/dl-support.c (_dl_fpu_control): New variable.
25282 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25283 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25284 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25285 * math/test-fpucw-static.c: New file.
25286 * math/test-fpucw-ieee.c: New file.
25287 * math/test-fpucw-ieee-static.c: New file.
25288 * math/Makefile (tests): Add `test-fpucw-ieee' and
25290 (tests-static): New variable.
25291 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25293 [($(build-shared),yes)]
25294 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25296 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25299 2013-09-09 Allan McRae <allan@archlinux.org>
25302 * manual/string.texi (Collation Functions): Fix typo in
25304 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25307 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25310 * libio/memstream.c (open_memstream): Fix memory leak.
25311 * libio/wmemstream.c (open_wmemstream): Likewise.
25314 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25316 2013-09-09 Will Newton <will.newton@linaro.org>
25318 * malloc/Makefile: Add tst-realloc to tests.
25319 * malloc/tst-realloc.c: New file.
25321 2013-09-09 Allan McRae <allan@archlinux.org>
25324 * COPYING: Update from GNU website to fix FSF address.
25325 * COPYING.LIB: Likewise.
25327 2013-09-06 David S. Miller <davem@davemloft.net>
25329 * po/zh_TW.po: Update Chinese (traditional) translation from
25330 translation project.
25332 2013-09-06 Richard Sandiford <richard@codesourcery.com>
25333 Joseph Myers <joseph@codesourcery.com>
25335 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25337 (obstack_chunk_alloc): New macro.
25338 (obstack_chunk_free): Likewise.
25339 (record_offset): New function.
25340 (init_locale_data): Likewise.
25341 (align_locale_data): Likewise.
25342 (add_locale_empty): Likewise.
25343 (add_locale_raw_data): Likewise.
25344 (add_locale_raw_obstack): Likewise.
25345 (add_locale_string): Likewise.
25346 (add_locale_wstring): Likewise.
25347 (add_locale_uint32): Likewise.
25348 (add_locale_uint32_array): Likewise.
25349 (add_locale_char): Likewise.
25350 (start_locale_structure): Likewise.
25351 (end_locale_structure): Likewise.
25352 (start_locale_prelude): Likewise.
25353 (end_locale_prelude): Likewise.
25354 (write_locale_data): Take locale_file structure rather than an
25356 * locale/programs/locfile.h: Include "obstack.h".
25357 (struct locale_file): Change to store locale file contents instead
25359 (init_locale_data): New prototype.
25360 (align_locale_data): Likewise.
25361 (add_locale_empty): Likewise.
25362 (add_locale_raw_data): Likewise.
25363 (add_locale_raw_obstack): Likewise.
25364 (add_locale_string): Likewise.
25365 (add_locale_wstring): Likewise.
25366 (add_locale_uint32): Likewise.
25367 (add_locale_uint32_array): Likewise.
25368 (add_locale_char): Likewise.
25369 (start_locale_structure): Likewise.
25370 (end_locale_structure): Likewise.
25371 (start_locale_prelude): Likewise.
25372 (end_locale_prelude): Likewise.
25373 (write_locale_data): Update prototype.
25374 * locale/programs/3level.h (struct TABLE): Remove result field.
25375 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25376 Use new locale_file interface.
25377 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25378 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25379 * locale/programs/ld-address.c (address_output): Use new
25380 locale_file interface.
25381 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25383 (collate_finish): Don't call collseq_table_finalize.
25384 (collate_output): Use new locale_file interface.
25385 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25387 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25388 (TABLE): Move defines earlier in file.
25389 (ELEMENT): Likewise.
25390 (DEFAULT): Likewise.
25391 (wctrans_table_add): Move macro and inline function earlier in
25393 (struct wctype_table): Move type earlier in file.
25394 (add_locale_wctype_table): New static prototype.
25395 (struct locale_ctype_t): Use logical types instead of struct iovec
25396 pointers for members.
25397 (ctype_output): Use new locale_file interface.
25398 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25399 new locale_file interface.
25400 (allocate_arrays): Update for use of new locale_file interface.
25401 * locale/programs/ld-identification.c (identification_output): Use
25402 new locale_file interface.
25403 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25404 * locale/programs/ld-messages.c (messages_output): Likewise.
25405 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25406 * locale/programs/ld-name.c (name_output): Likewise.
25407 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25408 * locale/programs/ld-paper.c (paper_output): Likewise.
25409 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25410 * locale/programs/ld-time.c (time_output): Likewise.
25412 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25414 * benchtests/Makefile: Add memrchr benchmark.
25415 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25416 benchmark as memrchr.
25417 * benchtests/bench-memrchr-ifunc.c: New file.
25418 * benchtests/bench-memrchr.c: New file.
25420 2013-09-06 Will Newton <will.newton@linaro.org>
25422 * benchtests/Makefile (string-bench): Add memcpy.
25424 2013-09-05 Carlos O'Donell <carlos@redhat.com>
25425 Cong Wang <amwang@redhat.com>
25428 * sysdeps/unix/sysv/linux/bits/in.h
25429 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25430 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25431 before __USE_KERNEL_IPV6_DEFS uses.
25432 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25434 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25435 sockaddr_in6, or ipv6_mreq.
25437 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25439 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25440 memory access for final bytes in some large inputs.
25441 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25443 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25445 * string/test-memrchr.c: New file.
25446 * string/test-memrchr-ifunc.c: New file.
25447 * string/Makefile: Add new memrchr testcase.
25449 2013-09-05 Mike Frysinger <vapier@gentoo.org>
25451 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25452 fanotify_init returns EPERM.
25454 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25456 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25458 (top level): Treat second token from macro or constant entries for
25459 allowed headers as allowed.
25460 * include/complex.h: Condition internal declarations on
25462 * include/fenv.h: Condition include of <stdbool.h> and internal
25463 declarations on [!_ISOMAC].
25465 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25468 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25470 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25472 * configure.in (--enable-versioning): Remove configure option.
25473 (libc_cv_asm_symver_directive): Remove configure test.
25474 (libc_cv_ld_version_script_option): Likewise.
25475 (VERSIONING): Remove variable and AC_SUBST.
25476 (DO_VERSIONING): Remove AC_DEFINE.
25477 * configure: Regenerated.
25478 * config.h.in (DO_VERSIONING): Remove macro.
25479 * Makerules [$(versioning) = yes]: Change conditionals to
25480 [$(build-shared) = yes].
25481 * config.make.in (versioning): Remove variable.
25482 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25483 [$(build-shared) = yes].
25484 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25485 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25486 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25487 [$(build-shared) = yes].
25488 * extra-lib.mk [$(versioning) = yes]: Likewise.
25489 * hurd/Makefile [$(versioning) = yes]: Likewise.
25490 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25492 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25494 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25495 [SHARED && !NO_HIDDEN].
25496 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25498 [SHARED && DO_VERSIONING]: Likewise..
25499 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25500 [$(build-shared) = yes].
25501 * manual/install.texi (--disable-versioning): Remove
25503 * INSTALL: Regenerated.
25504 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25506 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25507 [$(build-shared) = yes].
25508 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25509 * sysdeps/i386/i686/multiarch/strstr-c.c
25510 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25511 [SHARED && !NO_HIDDEN].
25512 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25513 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25514 * sysdeps/powerpc/powerpc32/dl-machine.c
25515 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25516 * sysdeps/powerpc/powerpc32/sysdep.h
25517 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25518 to [SHARED && PIC && !NO_HIDDEN].
25519 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25520 conditional to [SHARED].
25522 2013-09-04 Will Newton <will.newton@linaro.org>
25524 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25525 * benchtests/bench-string.h: Include bench-timing.h instead
25526 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25527 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25528 call to HP_TIMING_DIFF_INIT.
25529 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25530 instead of hp-timing.h macros.
25531 * benchtests/bench-memchr.c: Likewise.
25532 * benchtests/bench-memcmp.c: Likewise.
25533 * benchtests/bench-memcpy.c: Likewise.
25534 * benchtests/bench-memmem.c: Likewise.
25535 * benchtests/bench-memmove.c: Likewise.
25536 * benchtests/bench-memset.c: Likewise.
25537 * benchtests/bench-rawmemchr.c: Likewise.
25538 * benchtests/bench-strcasecmp.c: Likewise.
25539 * benchtests/bench-strcasestr.c: Likewise.
25540 * benchtests/bench-strcat.c: Likewise.
25541 * benchtests/bench-strchr.c: Likewise.
25542 * benchtests/bench-strcmp.c: Likewise.
25543 * benchtests/bench-strcpy.c: Likewise.
25544 * benchtests/bench-strcpy_chk.c: Likewise.
25545 * benchtests/bench-strlen.c: Likewise.
25546 * benchtests/bench-strncasecmp.c: Likewise.
25547 * benchtests/bench-strncat.c: Likewise.
25548 * benchtests/bench-strncmp.c: Likewise.
25549 * benchtests/bench-strncpy.c: Likewise.
25550 * benchtests/bench-strnlen.c: Likewise.
25551 * benchtests/bench-strpbrk.c: Likewise.
25552 * benchtests/bench-strrchr.c: Likewise.
25553 * benchtests/bench-strspn.c: Likewise.
25554 * benchtests/bench-strstr.c: Likewise.
25556 2013-09-04 Will Newton <will.newton@linaro.org>
25558 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25560 2013-09-03 Joseph Myers <joseph@codesourcery.com>
25563 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25564 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25565 * math/libm-test.inc (lgamma_test_data): Add more tests.
25566 * sysdeps/i386/fpu/libm-test-ulps: Update.
25567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25569 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
25571 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25572 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25574 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25575 Add strcmp-sse2-unaligned
25576 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25578 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25580 * Versions.def (libc): Add GLIBC_2.19.
25582 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25584 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25585 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25587 2013-09-02 Joseph Myers <joseph@codesourcery.com>
25590 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25591 intermediate calculations in recurrence.
25592 (__ieee754_ynf): Likewise.
25593 * math/libm-test.inc (jn_test_data): Do not allow spurious
25594 underflow exception. Add more tests.
25595 (yn_test_data): Add more tests.
25596 * sysdeps/i386/fpu/libm-test-ulps: Update.
25597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25599 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
25601 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25603 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25605 * csu/init-first.c: Fix then/than typos.
25606 * locale/programs/ld-collate.c: Likewise.
25607 * locale/programs/linereader.h: Likewise.
25608 * manual/charset.texi: Likewise.
25609 * manual/filesys.texi: Likewise.
25610 * manual/stdio.texi: Likewise.
25611 * manual/string.texi: Likewise.
25612 * stdlib/fmtmsg.c: Likewise.
25613 * sysdeps/i386/stpncpy.S: Likewise.
25614 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25615 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25616 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25617 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25619 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25621 * elf/dl-open.c: Fix typos.
25622 * iconvdata/gbbig5.c: Likewise.
25623 * iconvdata/iso-2022-jp.c: Likewise.
25624 * iconv/gconv_int.h: Likewise.
25625 * iconv/loop.c: Likewise.
25626 * nis/rpcsvc/nis.h: Likewise.
25627 * resolv/ns_name.c: Likewise.
25628 * stdio-common/vfscanf.c: Likewise.
25629 * streams/stropts.h: Likewise.
25630 * sunrpc/rpc_thread.c: Likewise.
25631 * sysdeps/i386/strpbrk.S: Likewise.
25632 * sysdeps/ieee754/k_standard.c: Likewise.
25633 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25634 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25635 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25636 * sysdeps/mach/hurd/profil.c: Likewise.
25637 * sysdeps/s390/dl-procinfo.h: Likewise.
25638 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25639 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25640 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25641 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25642 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25644 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25646 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25647 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25649 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25651 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25652 aix specific files.
25653 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25654 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25655 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25656 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25657 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25658 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25659 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25660 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25662 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25663 Roland McGrath <roland@hack.frob.com>
25665 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25666 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25668 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25670 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25671 __executable_start symbol instead of _start.
25673 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25675 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25676 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25678 * sysdeps/gnu/ldsodefs.h: ... this new file.
25680 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25681 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25682 instead of ELFOSABI_LINUX.
25684 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25685 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25686 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25687 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25689 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25690 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25691 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25693 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25694 (ibm_extended_long_double): Add ieee_nan member.
25695 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25696 (do_test): New function.
25698 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25700 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25701 functions, renamed from truncdfsf_test, trunctfsf_test,
25703 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25705 (do_test): Run all these.
25707 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25709 * argp/argp-help.c: Fix typos.
25710 * argp/argp-parse.c: Likewise.
25711 * debug/backtracesyms.c: Likewise.
25712 * elf/elf.h: Likewise.
25713 * malloc/malloc.c: Likewise.
25714 * nis/nis_print.c: Likewise.
25715 * resolv/res_comp.c: Likewise.
25716 * stdlib/stdlib.h: Likewise.
25717 * sunrpc/clnt_tcp.c: Likewise.
25718 * sunrpc/clnt_udp.c: Likewise.
25719 * sunrpc/clnt_unix.c: Likewise.
25720 * sysdeps/unix/bsd/ptsname.c: Likewise.
25721 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25722 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25729 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25731 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25733 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25734 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25736 2013-08-27 Mike Frysinger <vapier@gentoo.org>
25739 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25740 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25741 ($(objpfx)bug-dl-leaf): New rule.
25742 ($(objpfx)bug-dl-leaf.so): Likewise.
25743 ($(objpfx)bug-dl-leaf.out): Likewise.
25744 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25745 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25746 * dlfcn/bug-dl-leaf.c: New test.
25747 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25748 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25749 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25750 (dlclose): Likewise.
25751 (dlmopen): Likewise.
25753 2013-08-27 Roland McGrath <roland@hack.frob.com>
25755 * include/netdb.h [!_ISOMAC]:
25756 Don't include <tls.h>.
25757 (h_errno, __libc_h_errno): Move declaration and macros out of
25760 * include/resolv.h [_RESOLV_H_]:
25761 Don't include <tls.h>.
25762 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25763 * resolv/res_libc.c: Don't include <tls.h>.
25764 (_res): Use __attribute__ ((nocommon)) in place of
25765 __attribute__ ((section (".bss"))).
25767 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25768 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25770 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25772 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25773 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25775 * resolv/res_mkquery.c: Include <sys/time.h>.
25777 * inet/ifreq.c: Moved to ...
25778 * sysdeps/unix/ifreq.c: ... here.
25779 * inet/ifreq.c: New file, true stub version.
25781 * socket/sa_len.c: New file.
25782 * socket/Makefile (aux): Add it.
25783 * sysdeps/unix/sysv/linux/Makefile
25784 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25785 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25786 and #include <socket/sa_len.c>.
25787 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25788 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25790 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25791 * bits/socket.h: ... here.
25793 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25794 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25795 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25797 2013-08-27 Andreas Schwab <schwab@suse.de>
25800 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25801 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25802 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25803 * string/test-strcasecmp.c (test_main): Run tests in several
25805 * string/test-strncasecmp.c (test_main): Likewise.
25807 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25808 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25809 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25810 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25811 (__strncasecmp_ssse3) [PIC]: Likewise.
25813 2013-08-26 Roland McGrath <roland@hack.frob.com>
25815 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25817 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25818 instead of explicitly declaring xdecrypt.
25819 * nis/nss_nis/nis-publickey.c: Likewise.
25821 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25824 * nscd/aicache.c: Include res_hconf.h.
25825 (addhstaiX): Initialize res_hconf.
25827 2013-08-26 Andreas Schwab <schwab@suse.de>
25829 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25830 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25832 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25834 * nscd/aicache.c (addhstaiX): Fix indentation.
25836 2013-08-25 Mike Frysinger <vapier@gentoo.org>
25838 * configure.ac: Quote $build_pt_chown test.
25839 * configure: Regenerated.
25841 2013-08-23 Joseph Myers <joseph@codesourcery.com>
25844 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25845 * math/s_cexpf.c (__cexpf): Likewise.
25846 * math/s_cexpl.c (__cexpl): Likewise.
25847 * math/libm-test.inc (cexp_test_data): Correct expected return
25848 value for NaN + i0. Add another test.
25850 2013-08-22 David S. Miller <davem@davemloft.net>
25852 * po/ca.po: Update Catalan translation from translation project.
25853 * po/uk.po: Add Ukrainian translations from translation project.
25855 2013-08-21 Joseph Myers <joseph@codesourcery.com>
25858 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25859 is infinite, not alongside NaN test.
25860 * math/s_fdimf.c (__fdimf): Likewise.
25861 * math/s_fdiml.c (__fdiml): Likewise.
25862 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25863 errno is unchanged.
25865 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
25867 * argp/argp-help.c: Fix typos.
25868 * crypt/speeds.c: Likewise.
25869 * csu/check_fds.c: Likewise.
25870 * elf/dl-load.c: Likewise.
25871 * elf/dl-open.c: Likewise.
25872 * elf/reldep3.c: Likewise.
25873 * elf/reldep.c: Likewise.
25874 * elf/sprof.c: Likewise.
25875 * iconv/iconv_charmap.c: Likewise.
25876 * iconv/skeleton.c: Likewise.
25877 * iconv/strtab.c: Likewise.
25878 * io/lockf64.c: Likewise.
25879 * libio/libioP.h: Likewise.
25880 * resolv/gai_notify.c: Likewise.
25881 * resolv/ns_name.c: Likewise.
25882 * resolv/ns_samedomain.c: Likewise.
25883 * resolv/res_send.c: Likewise.
25884 * stdlib/random.c: Likewise.
25885 * sunrpc/rpc/xdr.h: Likewise.
25886 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25887 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25888 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25889 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25890 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25891 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25892 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25893 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25894 * sysdeps/mach/hurd/check_fds.c: Likewise.
25895 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25896 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25897 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25898 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25899 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25900 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25901 * sysdeps/pthread/aio_notify.c: Likewise.
25902 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25903 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25904 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25905 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25906 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25908 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25910 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25911 version if bit_Slow_SSE4_2 is set.
25912 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25913 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25915 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25918 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25919 trampoline stack frame information.
25920 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25921 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25922 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25923 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25924 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25925 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25926 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25927 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25929 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25930 interrupting a syscall and set with option SA_SIGINFO.
25932 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25935 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25936 argument is infinite.
25937 * math/s_cprojf.c (__cprojf): Likewise.
25938 * math/s_cprojl.c (__cprojl): Likewise.
25939 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25940 * math/libm-test.inc (cproj_test_data): Add more tests.
25942 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25944 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25945 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25946 size. Use __ffs to determine corresponding shift.
25948 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25949 Roland McGrath <roland@hack.frob.com>
25951 * Makefile (INSTALL): Remove trailing blank lines from output of
25954 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25956 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25957 Align 32 bit compat elf_greg to 8 bytes.
25959 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25961 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25963 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25965 * string/strcoll_l.c (coll_seq): New structure.
25966 (get_next_seq_cached): New function.
25967 (get_next_seq): New function.
25968 (do_compare): New function.
25969 (STRCOLL): Use GNU style definition. Simplify implementation
25970 by using get_next_seq, get_next_seq_cached and do_compare.
25972 2013-08-16 Florian Weimer <fweimer@redhat.com>
25976 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25978 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25980 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25981 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25982 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25984 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25985 GETDENTS_64BIT_ALIGNED.
25986 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25987 * manual/filesys.texi (Reading/Closing Directory): Document
25988 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25990 * manual/conf.texi (Limits for Files): Add portability note to
25991 NAME_MAX, PATH_MAX.
25992 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25994 2013-08-13 Andreas Schwab <schwab@suse.de>
25997 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25999 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26000 LDBL_MAX_EXP >= 16384]: Add tests for it.
26002 2013-08-12 David S. Miller <davem@davemloft.net>
26004 * version.h (RELEASE): Set to "development".
26005 (VERSION): Set to "2.18.90".
26006 * NEWS: Add 2.19 section.
26008 2013-08-03 David S. Miller <davem@davemloft.net>
26010 * po/ko.po: Update Korean translation from translation project.
26012 2013-08-01 David S. Miller <davem@davemloft.net>
26014 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
26015 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26018 2013-07-30 David S. Miller <davem@davemloft.net>
26020 * po/fr.po: Update French translation from translation project.
26022 2013-07-28 David S. Miller <davem@davemloft.net>
26024 * po/cs.po: Update Czech translation from translation project.
26026 * po/sv.po: Update Swedish translation from translation project.
26028 2013-07-27 David S. Miller <davem@davemloft.net>
26030 * po/eo.po: Update Esperanto translation from translation project.
26032 * po/vi.po: Update Vietnamese translation from translation project.
26034 * po/de.po: Update German translation from translation project.
26036 2013-07-26 David S. Miller <davem@davemloft.net>
26038 * po/bg.po: Update Bulgarian translation from translation project.
26040 * po/nl.po: Update Dutch translation from translation project.
26041 * po/pl.po: Update Polish translation from translation project.
26042 * po/ru.po: Update Russian translation from translation project.
26044 2013-07-24 David S. Miller <davem@davemloft.net>
26046 * po/libc.pot: Update.
26048 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26050 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26051 variable page size.
26052 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26053 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26054 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26056 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26058 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26060 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26061 Andreas Schwab <schwab@suse.de>
26062 Roland McGrath <roland@hack.frob.com>
26063 Joseph Myers <joseph@codesourcery.com>
26064 Carlos O'Donell <carlos@redhat.com>
26067 * config.h.in: Define HAVE_PT_CHOWN.
26068 * config.make.in (build-pt-chown): New variable.
26069 * configure.in (--enable-pt_chown): New configure option.
26070 * configure: Regenerate.
26071 * login/Makefile: Include Makeconfig. Build pt_chown only if
26072 build-pt-chown is enabled.
26073 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26074 pt_chown to fix pty ownership.
26075 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26077 * manual/install.texi (Configuring and compiling): Mention
26078 --enable-pt_chown. Add @findex for grantpt.
26079 * INSTALL: Regenerate.
26081 2013-07-20 David S. Miller <davem@davemloft.net>
26083 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26084 difference between 32-bit and 64-bit.
26086 2013-07-15 Carlos O'Donell <carlos@redhat.com>
26089 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26090 Avoid system header dependency with -ffreestanding.
26091 ($(objpfx)bits/syscall%d): Likewise.
26093 2013-07-13 David S. Miller <davem@davemloft.net>
26095 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26096 underflows from atanl/atan2l due to bug 15319.
26097 (casinh_test_data): Likewise.
26099 2013-07-07 David S. Miller <davem@davemloft.net>
26101 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26103 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26105 * sysdeps/i386/fpu/libm-test-ulps: Update.
26106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26108 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26110 * configure.in (--enable-lock-elision): Fix message text.
26111 * INSTALL: Regenerate.
26112 * configure: Regenerate.
26114 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26118 2013-07-03 Andreas Jaeger <aj@suse.de>
26120 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26122 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26123 (ptrace_peeksiginfo_args): Add.
26124 (__ptrace_peeksiginfo_flags): Add.
26125 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26126 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26127 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26129 2013-07-03 Allan McRae <allan@archlinux.org>
26131 * sysdeps/i386/fpu/libm-test-ulps: Update.
26133 2013-07-02 David S. Miller <davem@davemloft.net>
26135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26137 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26141 2013-07-02 Joseph Myers <joseph@codesourcery.com>
26143 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26146 2013-07-02 Andi Kleen <ak@linux.intel.com>
26148 * config.h.in (ENABLE_LOCK_ELISION): Add.
26149 * configure.in (--enable-lock-elision): Add option.
26150 * manual/install.texi: Document --enable lock elision.
26151 * configure: Regenerate
26152 * INSTALL: Regenerate.
26154 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26156 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26157 SSE4.2 strcasecmp for libc.a.
26158 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26160 2013-07-02 Joseph Myers <joseph@codesourcery.com>
26163 * soft-fp/op-common.h (_FP_FMA): New macro.
26164 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26165 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26166 (_FP_MUL_MEAT_1_imm): ... here.
26167 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26168 (_FP_MUL_MEAT_1_wide): ... here.
26169 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26170 (_FP_MUL_MEAT_1_hard): ... here.
26171 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26172 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26173 (_FP_MUL_MEAT_2_wide): ... here.
26174 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26175 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26176 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26177 (_FP_MUL_MEAT_2_gmp): ... here.
26178 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26179 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26180 (_FP_MUL_MEAT_4_wide): ... here.
26181 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26182 (_FP_MUL_MEAT_4_gmp): ... here.
26183 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26184 (_FP_WFRACBITS_DW_S): Likewise.
26185 (_FP_WFRACXBITS_DW_S): Likewise.
26186 (_FP_HIGHBIT_DW_S): Likewise.
26187 (FP_FMA_S): Likewise.
26188 (_FP_FRAC_HIGH_DW_S): Likewise.
26189 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26190 (_FP_WFRACBITS_DW_D): Likewise.
26191 (_FP_WFRACXBITS_DW_D): Likewise.
26192 (_FP_HIGHBIT_DW_D): Likewise.
26193 (FP_FMA_D): Likewise.
26194 (_FP_FRAC_HIGH_DW_D): Likewise.
26195 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26196 (_FP_WFRACBITS_DW_E): Likewise.
26197 (_FP_WFRACXBITS_DW_E): Likewise.
26198 (_FP_HIGHBIT_DW_E): Likewise.
26199 (FP_FMA_E): Likewise.
26200 (_FP_FRAC_HIGH_DW_E): Likewise.
26201 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26202 (_FP_WFRACBITS_DW_Q): Likewise.
26203 (_FP_WFRACXBITS_DW_Q): Likewise.
26204 (_FP_HIGHBIT_DW_Q): Likewise.
26205 (FP_FMA_Q): Likewise.
26206 (_FP_FRAC_HIGH_DW_Q): Likewise.
26207 * soft-fp/fmasf4.c: New file.
26208 * soft-fp/fmadf4.c: Likewise.
26209 * soft-fp/fmatf4.c: Likewise.
26211 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26214 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26216 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26218 (index_Slow_SSE4_2): Likewise.
26219 (index_Prefer_PMINUB_for_stringop): Likewise.
26220 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26221 bit_Slow_SSE4_2 is set.
26222 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26223 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26225 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26227 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26228 rtld_global._dl_hwcap2.
26229 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26231 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26232 POWER8 feature descriptions defined in _dl_hwcap2.
26233 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26234 string handling for POWER8 feature bits.
26235 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26236 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26237 _dl_powerpc_cap_flags.
26238 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26239 * sysdeps/powerpc/rtld-global-offsets.sym
26240 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26241 _dl_hwcap2 in the rtld_global_ro structure.
26243 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26245 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26246 hardware capabilities in support of AT_HWCAP2.
26247 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26248 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26250 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26251 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26252 explicitly the unknown a_type display mechanism is used.
26253 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26254 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26256 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26257 to macro prototype for AT_HWCAP2 support.
26258 * sysdeps/i386/dl-procinfo.h: Likewise.
26259 * sysdeps/s390/dl-procinfo.h: Likewise.
26260 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26261 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26262 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26263 return -1 for unknown a_type display fallback.
26264 * sysdeps/sparc/dl-procinfo.h: Likewise.
26265 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26266 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26268 2013-06-28 Joseph Myers <joseph@codesourcery.com>
26270 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26271 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26273 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26276 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26277 mprotect making __stack_prot writable.
26279 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26280 Joseph Myers <joseph@codesourcery.com>
26282 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26283 as being properly aligned.
26285 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26287 * dlfcn/modstatic5.c: New file.
26288 * dlfcn/tststatic5.c: New file.
26289 * dlfcn/Makefile (tests): Add tststatic5.
26290 (tests-static): Likewise.
26291 (modules-names): Add modstatic5.
26292 (tststatic5-ENV): New variable.
26293 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26296 * elf/dl-support.c (_dl_main_map): New variable.
26297 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26298 (_dl_nns, _dl_load_adds): Set to 1.
26299 (_dl_initial_searchlist): Refer to _dl_main_map.
26300 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26301 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26302 call to _dl_get_origin.
26303 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26305 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26306 * dlfcn/modstatic3.c: New file.
26307 * dlfcn/tststatic3.c: New file.
26308 * dlfcn/tststatic4.c: New file.
26309 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26310 (tests-static): Likewise.
26311 (modules-names): Add modstatic3.
26312 (tststatic3-ENV, tststatic4-ENV): New variables.
26313 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26314 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26316 2013-06-26 Joseph Myers <joseph@codesourcery.com>
26318 * configure.in (CC): Require GCC version 4.4 or later.
26319 * configure: Regenerated.
26320 * manual/install.texi (Tools for Compilation): Update GCC version
26322 * INSTALL: Regenerated.
26324 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26327 * string/test-memcmp.c (check2): New.
26328 (main): Call check2.
26330 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26332 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26335 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26337 (dl_open_worker) [!SHARED]: ... here.
26339 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26341 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26343 2013-06-25 Richard Henderson <rth@redhat.com>
26345 * locale/programs/locarchive.c: Include <libc-internal.h>
26347 2013-06-25 Joseph Myers <joseph@codesourcery.com>
26349 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26350 trailing whitespace removed.
26352 2013-06-24 Mike Frysinger <vapier@gentoo.org>
26355 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26356 * locale/programs/locarchive.c: Include libc-mmap.h.
26357 (prepare_address_space): Take two new outputs (the mmap base and len).
26358 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26360 (create_archive): Declare new mmap base and len values for
26361 prepare_address_space, and store the result in ah.
26362 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26363 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26364 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26365 Declare new mmap base and len values for
26366 prepare_address_space, and store the result in new_ah.
26367 (open_archive): Declare new mmap base and len values for
26368 prepare_address_space, and store the result in ah.
26369 (close_archive): If ah->mmap_base is not NULL, use that and
26370 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26371 * sysdeps/generic/libc-mmap.h: New file.
26373 2013-06-24 Mike Frysinger <vapier@gentoo.org>
26375 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26376 (ALIGN_UP): Likewise.
26377 (PTR_ALIGN_DOWN): Likewise.
26378 (PTR_ALIGN_UP): Likewise.
26380 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26382 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26383 entry mapped to PPC_PLATFORM_POWER8.
26384 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26386 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26387 (_dl_string_platform): Add case for exporting platform position for
26389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26390 search path to sysdeps/powerpc/powerpc32/power8 directory.
26391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26392 search path to sysdeps/powerpc/powerpc64/power8 directory.
26393 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26394 power7 directories.
26395 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26396 power7 directories.
26398 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26400 * INSTALL: Regenerate.
26402 * nscd/connections.c (nscd_init): Fix comment.
26404 2013-06-22 Joseph Myers <joseph@codesourcery.com>
26406 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26409 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26410 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26412 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26414 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26416 (DL_DST_REQ_STATIC): Remove macro.
26418 2013-06-21 Joseph Myers <joseph@codesourcery.com>
26421 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26422 with a shift of 0 bits.
26424 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26426 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26429 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26432 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26434 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26436 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26437 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26438 accepts -fno-tree-loop-distribute-patterns.
26439 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26440 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26442 * string/memset.c (memset): Likewise.
26443 * string/test-memmove.c (simple_memmove): Disable loop transformation
26445 * string/test-memset.c (simple_memset): Likewise.
26446 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26447 * benchtests/bench-memset.c (simple_memset): Likewise.
26448 * configure: Regenerated.
26450 2013-06-20 Joseph Myers <joseph@codesourcery.com>
26452 * math/test-misc.c (main): Ignore fesetround failure when failures
26453 of subsequent rounding tests would be ignored.
26456 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26457 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26458 * math/fegetenv.c (__fegetenv): Return 0.
26459 * math/fegetexcept.c (fegetexcept): Return 0.
26460 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26462 * math/feholdexcpt.c (feholdexcept): Return 0.
26463 * math/fesetenv.c (__fesetenv): Return 0.
26464 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26465 argument FE_TONEAREST.
26466 * math/feupdateenv.c (__feupdateenv): Return 0.
26467 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26469 2013-06-18 Roland McGrath <roland@hack.frob.com>
26471 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26472 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26473 ($(objpfx)rtld-%.os rules): Use them.
26475 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26477 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26480 2013-06-17 Roland McGrath <roland@hack.frob.com>
26482 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26483 length of target pattern, then descending length of dependency pattern.
26484 * configure.in (AWK): Require gawk 3.1.2 or newer.
26485 * manual/install.texi (Tools for Compilation): Say that we do.
26486 * configure: Regenerated.
26488 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26489 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26490 * scripts/sysd-rules.awk: ... this new script.
26491 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26492 than a glob-style pattern.
26494 2013-06-17 Joseph Myers <joseph@codesourcery.com>
26496 * math/test-misc.c (main): Do not treat incorrectly rounded
26497 conversions as failure unless ROUNDING_TESTS passes.
26499 2013-06-15 Joseph Myers <joseph@codesourcery.com>
26502 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26503 restore exception state around main square root computation, then
26504 check for inexactness explicitly.
26506 * math/libm-test.inc (fma_test_data): Add another test.
26508 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26510 * manual/threads.texi (Non-POSIX Extensions): New document
26511 node. Document pthread_getattr_default_np and
26512 pthread_setattr_default_np.
26514 * Versions.def (libpthread): Add GLIBC_2.18.
26515 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26524 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26535 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26538 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26540 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26541 H.J. Lu <hjl.tools@gmail.com>
26544 * sysdeps/x86_64/rtld-memset.c: Remove file.
26545 * sysdeps/x86_64/rtld-memset.S: New file.
26547 2013-06-14 Joseph Myers <joseph@codesourcery.com>
26549 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26550 (test_in_one_mode): Take arguments for whether the rounding mode
26551 is supported for each floating-point type.
26552 (do_test): Pass new arguments to test_in_one_mode using
26555 2013-06-13 Roland McGrath <roland@hack.frob.com>
26557 * posix/tst-waitid.c (do_test): Distinguish different instances of
26558 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26559 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26560 before entering the kernel for waitpid.
26562 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26564 * NEWS: Fix note on clock function precision. Text by Roland
26567 2013-06-13 Roland McGrath <roland@hack.frob.com>
26569 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26570 it into place only when and if the sanity check passes.
26572 2013-06-13 Joseph Myers <joseph@codesourcery.com>
26574 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26575 output for whether conversion result is exact. Take argument
26576 indicating whether type is IBM long double.
26577 (round_for_all): Change need_exact field to ibm_ld.
26578 * stdlib/tst-strtod-round.c (struct exactness): New type.
26579 (struct test): Change bool ld_ok field to struct exactness exact.
26580 (TEST): Update all definitions for change to field.
26581 (tests): Regenerate array contents.
26582 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26583 field value. Check for IBM long double here.
26584 (do_test): Update calls to test_in_one_mode.
26586 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26589 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26590 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26592 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26595 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26596 generated by the compiler on loop optimizations.
26597 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26598 general definitions.
26600 2013-06-12 Joseph Myers <joseph@codesourcery.com>
26602 * math/bug-nextafter.c: Include <math-tests.h>.
26603 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26605 * math/bug-nexttoward.c: Include <math-tests.h>.
26606 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26608 * math/test-misc.c: Include <math-tests.h>.
26609 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26612 2013-06-12 Andreas Jaeger <aj@suse.de>
26614 * po/ia.po: Update Interlingua translation from translation
26617 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26619 * include/fenv.h: Include stdbool.h.
26620 (struct rm_ctx): New structure.
26621 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26623 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26624 (SET_RESTORE_ROUNDF): Likewise.
26625 (SET_RESTORE_ROUNDL): Likewise.
26626 (SET_RESTORE_ROUND_NOEX): Likewise.
26627 (SET_RESTORE_ROUND_NOEXF): Likewise.
26628 (SET_RESTORE_ROUND_NOEXL): Likewise.
26629 (SET_RESTORE_ROUND_53BIT): Likewise.
26630 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26631 (libc_feresetround_noexf_ctx): Likewise.
26632 (libc_feresetround_noexl_ctx): Likewise.
26633 (libc_feholdsetround_53bit_ctx): Likewise.
26634 (libc_feresetround_53bit_ctx): Likewise.
26635 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26636 (libc_feholdexcept_setround_sse_ctx): New function.
26637 (libc_fesetenv_sse_ctx): Likewise.
26638 (libc_feupdateenv_sse_ctx): Likewise.
26639 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26640 (libc_feholdexcept_setround_387_ctx): Likewise.
26641 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26642 (libc_feholdsetround_387_prec_ctx): Likewise.
26643 (libc_feholdsetround_387_ctx): Likewise.
26644 (libc_feholdsetround_387_53bit_ctx): Likewise.
26645 (libc_feholdsetround_sse_ctx): Likewise.
26646 (libc_feresetround_sse_ctx): Likewise.
26647 (libc_feresetround_387_ctx): Likewise.
26648 (libc_feupdateenv_387_ctx): Likewise.
26649 (libc_feholdexcept_setroundf_ctx): Define macro.
26650 (libc_fesetenvf_ctx): Likewise.
26651 (libc_feupdateenvf_ctx): Likewise.
26652 (libc_feholdsetroundf_ctx): Likewise.
26653 (libc_feresetroundf_ctx): Likewise.
26654 (libc_feholdexcept_setround_ctx): Likewise.
26655 (libc_fesetenv_ctx): Likewise.
26656 (libc_feupdateenv_ctx): Likewise.
26657 (libc_feholdsetround_ctx): Likewise.
26658 (libc_feresetround_ctx): Likewise.
26659 (libc_feholdexcept_setroundl_ctx): Likewise.
26660 (libc_feupdateenvl_ctx): Likewise.
26661 (libc_feholdsetroundl_ctx): Likewise.
26662 (libc_feresetroundl_ctx): Likewise.
26663 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26664 (libc_feresetround_53bit_ctx): Likewise.
26666 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26668 * locale/iso-639.def: Convert to UTF-8.
26670 2013-06-11 Joseph Myers <joseph@codesourcery.com>
26672 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26673 (EXCEPTION_TESTS_double): Likewise.
26674 (EXCEPTION_TESTS_long_double): Likewise.
26675 (EXCEPTION_TESTS): Likewise.
26676 * math/libm-test.inc (test_exceptions): Only test exceptions if
26677 EXCEPTION_TESTS (FLOAT).
26679 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26681 * benchtests/Makefile (string-bench): Add strcpy_chk and
26683 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26684 * benchtests/bench-stpcpy_chk.c: New file.
26685 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26686 * benchtests/bench-strcpy_chk.c: New file.
26687 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26689 (do_test): Likewise.
26691 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26693 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26694 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26695 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26696 with tabs where appropriate.
26697 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26699 [PPC_PLATFORM_PPC440]: Likewise.
26700 [PPC_PLATFORM_PPC464]: Likewise.
26701 [PPC_PLATFORM_PPC476]: Likewise.
26702 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26703 ppc464, and ppc476 platform strings merging from ports/
26706 2013-06-11 Andreas Schwab <schwab@suse.de>
26709 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26710 (from_ucs4_idx): Regenerate.
26711 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26712 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26713 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26714 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26715 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26716 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26717 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26718 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26719 from FROM_LOOP and TO_LOOP specific macros.
26720 (BODY): Handle combining characters.
26721 * iconvdata/BIG5HKSCS.irreversible: Update.
26722 * iconvdata/BIG5HKSCS.precomposed: New file.
26723 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26725 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26727 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26729 * include/sys/time.h: Fix indentation and add copyright header.
26731 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26732 (do_test): Likewise.
26733 * string/test-memchr.c (do_one_test): Likewise.
26734 (do_test): Likewise.
26735 * string/test-memcmp.c (do_one_test): Likewise.
26736 (do_test): Likewise.
26737 * string/test-memcpy.c (do_one_test): Likewise.
26738 (do_test): Likewise.
26739 * string/test-memmem.c (do_one_test): Likewise.
26740 (do_test): Likewise.
26741 (do_random_tests): Likewise.
26742 * string/test-memmove.c (do_one_test): Likewise.
26743 (do_test): Likewise.
26744 * string/test-memset.c (do_one_test): Likewise.
26745 (do_test): Likewise.
26746 * string/test-rawmemchr.c (do_one_test): Likewise.
26747 (do_test): Likewise.
26748 * string/test-strcasecmp.c (do_one_test): Likewise.
26749 (do_test): Likewise.
26750 * string/test-strcasestr.c (do_one_test): Likewise.
26751 (do_test): Likewise.
26752 * string/test-strcat.c (do_one_test): Likewise.
26753 (do_test): Likewise.
26754 * string/test-strchr.c (do_one_test): Likewise.
26755 (do_test): Likewise.
26756 * string/test-strcmp.c (do_one_test): Likewise.
26757 (do_test): Likewise.
26758 * string/test-strcpy.c (do_one_test): Likewise.
26759 (do_test): Likewise.
26760 * string/test-string.h: Likewise.
26761 (test_init): Likewise.
26762 * string/test-strlen.c (do_one_test): Likewise.
26763 (do_test): Likewise.
26764 * string/test-strncasecmp.c (do_one_test): Likewise.
26765 (do_test): Likewise.
26766 * string/test-strncat.c (do_one_test): Likewise.
26767 (do_test): Likewise.
26768 * string/test-strncmp.c (do_one_test): Likewise.
26769 (do_test_limit): Likewise.
26770 (do_test): Likewise.
26771 * string/test-strncpy.c (do_one_test): Likewise.
26772 (do_test): Likewise.
26773 * string/test-strnlen.c (do_one_test): Likewise.
26774 (do_test): Likewise.
26775 * string/test-strpbrk.c (do_one_test): Likewise.
26776 (do_test): Likewise.
26777 * string/test-strrchr.c (do_one_test): Likewise.
26778 (do_test): Likewise.
26779 * string/test-strspn.c (do_one_test): Likewise.
26780 (do_test): Likewise.
26781 * string/test-strstr.c (do_one_test): Likewise.
26782 (do_test): Likewise.
26784 * benchtests/Makefile (string-bench): Add string benchmarks.
26785 * benchtests/bench-bcopy-ifunc.c: New file.
26786 * benchtests/bench-bcopy.c: New file.
26787 * benchtests/bench-bzero-ifunc.c: New file.
26788 * benchtests/bench-bzero.c: New file.
26789 * benchtests/bench-memccpy-ifunc.c: New file.
26790 * benchtests/bench-memccpy.c: New file.
26791 * benchtests/bench-memchr-ifunc.c: New file.
26792 * benchtests/bench-memchr.c: New file.
26793 * benchtests/bench-memcmp-ifunc.c: New file.
26794 * benchtests/bench-memcmp.c: New file.
26795 * benchtests/bench-memmem-ifunc.c: New file.
26796 * benchtests/bench-memmem.c: New file.
26797 * benchtests/bench-memmove-ifunc.c: New file.
26798 * benchtests/bench-memmove.c: New file.
26799 * benchtests/bench-mempcpy-ifunc.c: New file.
26800 * benchtests/bench-mempcpy.c: New file.
26801 * benchtests/bench-memset-ifunc.c: New file.
26802 * benchtests/bench-memset.c: New file.
26803 * benchtests/bench-rawmemchr-ifunc.c: New file.
26804 * benchtests/bench-rawmemchr.c: New file.
26805 * benchtests/bench-stpcpy-ifunc.c: New file.
26806 * benchtests/bench-stpcpy.c: New file.
26807 * benchtests/bench-stpncpy-ifunc.c: New file.
26808 * benchtests/bench-stpncpy.c: New file.
26809 * benchtests/bench-strcasecmp-ifunc.c: New file.
26810 * benchtests/bench-strcasecmp.c: New file.
26811 * benchtests/bench-strcasestr-ifunc.c: New file.
26812 * benchtests/bench-strcasestr.c: New file.
26813 * benchtests/bench-strcat-ifunc.c: New file.
26814 * benchtests/bench-strcat.c: New file.
26815 * benchtests/bench-strchr-ifunc.c: New file.
26816 * benchtests/bench-strchr.c: New file.
26817 * benchtests/bench-strchrnul-ifunc.c: New file.
26818 * benchtests/bench-strchrnul.c: New file.
26819 * benchtests/bench-strcmp-ifunc.c: New file.
26820 * benchtests/bench-strcmp.c: New file.
26821 * benchtests/bench-strcpy-ifunc.c: New file.
26822 * benchtests/bench-strcpy.c: New file.
26823 * benchtests/bench-strcspn-ifunc.c: New file.
26824 * benchtests/bench-strcspn.c: New file.
26825 * benchtests/bench-strlen-ifunc.c: New file.
26826 * benchtests/bench-strlen.c: New file.
26827 * benchtests/bench-strncasecmp-ifunc.c: New file.
26828 * benchtests/bench-strncasecmp.c: New file.
26829 * benchtests/bench-strncat-ifunc.c: New file.
26830 * benchtests/bench-strncat.c: New file.
26831 * benchtests/bench-strncmp-ifunc.c: New file.
26832 * benchtests/bench-strncmp.c: New file.
26833 * benchtests/bench-strncpy-ifunc.c: New file.
26834 * benchtests/bench-strncpy.c: New file.
26835 * benchtests/bench-strnlen-ifunc.c: New file.
26836 * benchtests/bench-strnlen.c: New file.
26837 * benchtests/bench-strpbrk-ifunc.c: New file.
26838 * benchtests/bench-strpbrk.c: New file.
26839 * benchtests/bench-strrchr-ifunc.c: New file.
26840 * benchtests/bench-strrchr.c: New file.
26841 * benchtests/bench-strspn-ifunc.c: New file.
26842 * benchtests/bench-strspn.c: New file.
26843 * benchtests/bench-strstr-ifunc.c: New file.
26844 * benchtests/bench-strstr.c: New file.
26846 * benchtests/Makefile: Disable parallel execution of targets.
26847 (string-bench): Add memcpy.
26848 (benchset): New variable to store a list of benchmark sets.
26849 (bench-func): Renamed from bench.
26850 (bench-set): New target.
26851 (bench): Depend on bench-func and bench-set.
26852 * benchtests/README: Add section on benchmark sets.
26853 * benchtests/bench-memcpy-ifunc.c: New file.
26854 * benchtests/bench-memcpy.c: New file.
26855 * benchtests/bench-string.h: New file.
26857 2013-06-11 Andreas Schwab <schwab@suse.de>
26860 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26861 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26862 values in the triple.
26863 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26864 terminator in the group key.
26866 2013-06-11 Andreas Jaeger <aj@suse.de>
26868 * po/zh_TW.po: Update Chinese (traditional) translation from
26869 translation project.
26871 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26873 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26874 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26875 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26876 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26877 (clock_getcpuclockid): Likewise.
26878 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26879 Add weak_alias and libc_hidden_def.
26880 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26881 * rt/clock_gettime.c (clock_gettime): Rename to
26882 __clock_gettime. Add weak_alias and libc_hidden_def.
26883 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26884 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26885 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26886 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26887 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26889 * rt/clock_settime.c (clock_settime): Rename to
26890 __clock_settime. Add weak_alias and libc_hidden_def.
26891 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26893 2013-06-10 Joseph Myers <joseph@codesourcery.com>
26895 * mach/err_boot.sub: Remove trailing whitespace.
26896 * mach/err_ipc.sub: Likewise.
26897 * mach/err_mach.sub: Likewise.
26899 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26900 (ROUNDING_TESTS_double): Likewise.
26901 (ROUNDING_TESTS_long_double): Likewise.
26902 (ROUNDING_TESTS): Likewise.
26903 * math/libm-test.inc: Include <math-tests.h>.
26904 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26905 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26906 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26907 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26909 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26911 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26914 2013-06-08 Joseph Myers <joseph@codesourcery.com>
26916 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26917 otherwise empty TRANS lines.
26918 * sysdeps/gnu/errlist.c: Regenerated.
26920 * catgets/gencat.c (error_print): Use (void) in function
26922 * crypt/crypt_util.c (__init_des): Likewise.
26923 * crypt/speeds.c (Stop): Likewise.
26925 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26926 * inet/ruserpass.c (token): Likewise.
26927 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26928 * intl/localealias.c (extend_alias_table): Likewise.
26929 * intl/plural-exp.c (init_germanic_plural): Likewise.
26930 * libio/fcloseall.c (__fcloseall): Likewise.
26931 * libio/genops.c (_IO_flush_all): Likewise.
26932 (_IO_flush_all_linebuffered): Likewise.
26933 (_IO_cleanup): Likewise.
26934 (_IO_iter_begin): Likewise.
26935 (_IO_iter_end): Likewise.
26936 (_IO_list_lock): Likewise.
26937 (_IO_list_unlock): Likewise.
26938 (_IO_list_resetlock): Likewise.
26939 * libio/getchar.c (getchar): Likewise.
26940 * libio/getchar_u.c (getchar_unlocked): Likewise.
26941 * libio/getwchar.c (getwchar): Likewise.
26942 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26943 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26944 * login/getpt.c (__getpt): Likewise.
26945 * login/tst-utmp.c (main): Likewise.
26946 * malloc/hooks.c (__malloc_check_init): Likewise.
26947 * malloc/malloc.c (__malloc_stats): Likewise.
26948 * malloc/mtrace.c (tr_break): Likewise.
26949 (mtrace): Likewise.
26950 (muntrace): Likewise.
26951 * misc/fstab.c (endfsent): Likewise.
26952 * misc/getclktck.c (__getclktck): Likewise.
26953 * misc/getdtsz.c (__getdtablesize): Likewise.
26954 * misc/gethostid.c (gethostid): Likewise.
26955 * misc/getpagesize.c (__getpagesize): Likewise.
26956 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26957 (__get_nprocs): Likewise.
26958 (__get_phys_pages): Likewise.
26959 (__get_avphys_pages): Likewise.
26960 * misc/getttyent.c (getttyent): Likewise.
26961 (setttyent): Likewise.
26962 (endttyent): Likewise.
26963 * misc/getusershell.c (getusershell): Likewise.
26964 (endusershell): Likewise.
26965 (setusershell): Likewise.
26966 (initshells): Likewise.
26967 * misc/hsearch.c (__hdestroy): Likewise.
26968 * misc/sync.c (sync): Likewise.
26969 * misc/syslog.c (closelog_internal): Likewise.
26970 (closelog): Likewise.
26971 * misc/ttyslot.c (ttyslot): Likewise.
26972 * misc/vhangup.c (vhangup): Likewise.
26973 * posix/fork.c (__fork): Likewise.
26974 * posix/getegid.c (__getegid): Likewise.
26975 * posix/geteuid.c (__geteuid): Likewise.
26976 * posix/getgid.c (__getgid): Likewise.
26977 * posix/getpid.c (__getpid): Likewise.
26978 * posix/getppid.c (__getppid): Likewise.
26979 * posix/getuid.c (__getuid): Likewise.
26980 * posix/pause.c (pause): Likewise.
26981 * posix/setpgrp.c (setpgrp): Likewise.
26982 * posix/setsid.c (__setsid): Likewise.
26983 * posix/test-vfork.c (noop): Likewise.
26984 * resolv/gethnamaddr.c (_endhtent): Likewise.
26985 (_gethtent): Likewise.
26986 (ht_endhostent): Likewise.
26987 (gethostent): Likewise.
26988 (dns_service): Likewise.
26989 * stdlib/drand48.c (drand48): Likewise.
26990 * stdlib/lrand48.c (lrand48): Likewise.
26991 * stdlib/mrand48.c (mrand48): Likewise.
26992 * stdlib/rand.c (rand): Likewise.
26993 * stdlib/random.c (__random): Likewise.
26994 * stdlib/setenv.c (clearenv): Likewise.
26995 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26996 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26997 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26998 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26999 (__get_nprocs): Likewise.
27000 (__get_phys_pages): Likewise.
27001 (__get_avphys_pages): Likewise.
27002 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27003 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27004 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27005 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27006 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27007 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27008 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27009 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27010 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27011 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27012 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27013 * sysdeps/mach/hurd/sync.c (sync): Likewise.
27014 * sysdeps/posix/clock.c (clock): Likewise.
27015 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27016 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27017 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27018 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27019 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27020 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27021 (__get_nprocs_conf): Likewise.
27022 (__get_phys_pages): Likewise.
27023 (__get_avphys_pages): Likewise.
27024 * time/clock.c (clock): Likewise.
27025 * time/tzset.c (__tzname_max): Likewise.
27027 2013-06-07 Joseph Myers <joseph@codesourcery.com>
27029 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27030 (__bswap_32): Do not use "register".
27031 * crypt/crypt.c (_ufc_doit_r): Likewise.
27032 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27033 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27034 * gmon/gmon.c (__monstartup): Likewise.
27035 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27036 * hurd/hurdmalloc.c (more_memory): Likewise.
27037 (malloc): Likewise.
27039 (realloc): Likewise.
27040 (malloc_fork_prepare): Likewise.
27041 (malloc_fork_parent): Likewise.
27042 (malloc_fork_child): Likewise.
27043 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27044 (_svcauth_des): Likewise.
27045 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27046 * inet/inet_net.c (inet_network): Likewise.
27047 * inet/inet_netof.c (inet_netof): Likewise.
27048 * inet/rcmd.c (__validuser2_sa): Likewise.
27049 * io/fts.c (fts_open): Likewise.
27050 (fts_load): Likewise.
27051 (fts_close): Likewise.
27052 (fts_read): Likewise.
27053 (fts_children): Likewise.
27054 (fts_build): Likewise.
27055 (fts_stat): Likewise.
27056 (fts_sort): Likewise.
27057 (fts_alloc): Likewise.
27058 (fts_lfree): Likewise.
27059 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27060 (_IO_file_xsgetn): Likewise.
27061 (_IO_file_xsgetn_mmap): Likewise.
27062 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27063 (_IO_cookie_write): Likewise.
27064 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27065 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27066 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27067 * malloc/obstack.c (_obstack_begin): Likewise.
27068 (_obstack_begin_1): Likewise.
27069 (_obstack_newchunk): Likewise.
27070 (_obstack_allocated_p): Likewise.
27071 (obstack_free): Likewise.
27072 (_obstack_memory_used): Likewise.
27073 * misc/getttyent.c (getttynam): Likewise.
27074 (getttyent): Likewise.
27077 * misc/getusershell.c (initshells): Likewise.
27078 * misc/syslog.c (__vsyslog_chk): Likewise.
27079 * misc/ttyslot.c (ttyslot): Likewise.
27080 * nis/nis_hash.c (__nis_hash): Likewise.
27081 * posix/fnmatch_loop.c (FCT): Likewise.
27082 * posix/getconf.c (print_all): Likewise.
27084 * posix/getopt.c (exchange): Likewise.
27085 * posix/glob.c (globfree): Likewise.
27086 (prefix_array): Likewise.
27087 (__glob_pattern_type): Likewise.
27088 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27089 (NS_GET32): Likewise.
27090 (NS_PUT16): Likewise.
27091 (NS_PUT32): Likewise.
27092 * resolv/gethnamaddr.c (getanswer): Likewise.
27093 (gethostbyname2): Likewise.
27094 (gethostbyaddr): Likewise.
27095 (_gethtent): Likewise.
27096 (_gethtbyname2): Likewise.
27097 (_gethtbyaddr): Likewise.
27098 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27099 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27100 * resolv/res_init.c (__res_vinit): Likewise.
27101 (net_mask): Likewise.
27102 * resolv/res_mkquery.c (outchar): Likewise.
27104 * stdio-common/printf_fp.c (outchar): Likewise.
27106 * stdio-common/printf_fphex.c (outchar): Likewise.
27108 * stdio-common/printf_size.c (outchar): Likewise.
27110 * stdio-common/test_rdwr.c (main): Likewise.
27111 * stdio-common/tfformat.c (matches): Likewise.
27112 * stdio-common/vfprintf.c (outchar): Likewise.
27113 (printf_unknown): Likewise.
27114 (buffered_vfprintf): Likewise.
27115 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27116 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27117 (ReadFile): Likewise.
27118 * stdlib/qsort.c (SWAP): Likewise.
27119 (_quicksort): Likewise.
27120 * stdlib/setenv.c (__add_to_environ): Likewise.
27121 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27122 * stdlib/strtol_l.c (__strtol_l): Likewise.
27123 * stdlib/tst-strtod.c (main): Likewise.
27124 * stdlib/tst-strtol.c (main): Likewise.
27125 * stdlib/tst-strtoll.c (main): Likewise.
27126 * string/bits/string2.h (__strcmp_cc): Likewise.
27127 (__strcmp_cg): Likewise.
27128 (__strcspn_c1): Likewise.
27129 (__strcspn_c2): Likewise.
27130 (__strcspn_c3): Likewise.
27131 (__strspn_c1): Likewise.
27132 (__strspn_c2): Likewise.
27133 (__strspn_c3): Likewise.
27134 (__strsep_1c): Likewise.
27135 (__strsep_2c): Likewise.
27136 (__strsep_3c): Likewise.
27137 * string/memccpy.c (__memccpy): Likewise.
27138 * string/stpcpy.c (__stpcpy): Likewise.
27139 * string/strcmp.c (strcmp): Likewise.
27140 * string/strrchr.c (strrchr): Likewise.
27141 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27143 * sysdeps/mach/hurd/getcwd.c
27144 (_hurd_canonicalize_directory_name_internal): Likewise.
27145 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27146 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27147 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27148 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27149 Likewise, in both definitions.
27150 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27152 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27153 64] (__bswap_64): Likewise.
27154 * time/test_time.c (main): Likewise.
27155 * time/tzfile.c (__tzfile_read): Likewise.
27156 (__tzfile_compute): Likewise.
27157 * time/tzset.c (__tzset_parse_tz): Likewise.
27158 (tzset_internal): Likewise.
27159 (compute_change): Likewise.
27160 * wcsmbs/wcscat.c (__wcscat): Likewise.
27161 * wcsmbs/wcschr.c (wcschr): Likewise.
27162 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27163 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27164 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27165 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27166 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27167 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27168 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27169 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27170 * wcsmbs/wmemset.c (wmemset): Likewise.
27172 2013-06-06 Joseph Myers <joseph@codesourcery.com>
27174 * scripts/config.guess: Update to version 2013-05-16.
27175 * scripts/config.sub: Update to version 2013-04-24.
27176 * scripts/install-sh: Update to version 2011-11-20.07.
27177 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27178 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27180 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
27182 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27183 * elf/sln.c: Likewise.
27184 * hurd/hurd/ioctl.h: Likewise.
27185 * hurd/hurdmalloc.c: Likewise.
27186 * hurd/xattr.c: Likewise.
27187 * include/shlib-compat.h: Likewise.
27188 * inet/ruserpass.c: Likewise.
27189 * libio/iofgets_u.c: Likewise.
27190 * libio/iofgetws_u.c: Likewise.
27191 * locale/programs/ld-identification.c: Likewise.
27192 * locale/programs/ld-time.c: Likewise.
27193 * mach/msg-destroy.c: Likewise.
27194 * nss/nss_files/files-netgrp.c: Likewise.
27195 * resolv/res_data.c: Likewise.
27196 * soft-fp/op-1.h: Likewise.
27197 * soft-fp/op-2.h: Likewise.
27198 * soft-fp/op-4.h: Likewise.
27199 * soft-fp/op-common.h: Likewise.
27200 * stdio-common/printf_fphex.c: Likewise.
27201 * stdlib/strtod_l.c: Likewise.
27202 * sunrpc/rpc/clnt.h: Likewise.
27203 * sysdeps/generic/framestate.c: Likewise.
27204 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27205 * sysdeps/i386/bsd-setjmp.S: Likewise.
27206 * sysdeps/i386/__longjmp.S: Likewise.
27207 * sysdeps/i386/setjmp.S: Likewise.
27208 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27209 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27210 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27211 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27212 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27213 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27214 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27215 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27216 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27217 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27218 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27219 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27220 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27221 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27222 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27223 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27224 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27225 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27226 * sysdeps/ieee754/support.c: Likewise.
27227 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27228 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27229 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27230 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27231 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27232 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27233 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27234 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27235 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27236 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27237 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27238 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27239 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27240 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27241 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27242 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27243 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27246 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
27248 * posix/transbug.c: Remove executable mode.
27250 2013-06-05 Joseph Myers <joseph@codesourcery.com>
27252 * crypt/speeds.c: Remove trailing whitespace.
27253 * dlfcn/default.c: Likewise.
27254 * elf/ifuncdep2.c: Likewise.
27255 * elf/ifuncmain1.c: Likewise.
27256 * elf/ifuncmain1vis.c: Likewise.
27257 * elf/testobj.h: Likewise.
27258 * elf/tst-stackguard1.c: Likewise.
27259 * gmon/sys/gmon.h: Likewise.
27260 * hurd/hurdmsg.c: Likewise.
27261 * hurd/new-fd.c: Likewise.
27262 * hurd/ports-get.c: Likewise.
27263 * iconvdata/ibm1008_420.c: Likewise.
27264 * inet/tst-getni1.c: Likewise.
27265 * inet/tst-getni2.c: Likewise.
27266 * libio/ioungetc.c: Likewise.
27267 * libio/wfiledoalloc.c: Likewise.
27268 * manual/libm-err-tab.pl: Likewise.
27269 * math/w_dremf.c: Likewise.
27270 * misc/ftruncate.c: Likewise.
27271 * posix/bug-glob2.c: Likewise.
27272 * posix/tst-pcre.c: Likewise.
27273 * posix/wait4.c: Likewise.
27274 * resolv/README: Likewise.
27275 * resolv/res_debug.h: Likewise.
27276 * resolv/tst-inet_ntop.c: Likewise.
27277 * setjmp/bug269-setjmp.c: Likewise.
27278 * soft-fp/extended.h: Likewise.
27279 * soft-fp/op-1.h: Likewise.
27280 * soft-fp/op-2.h: Likewise.
27281 * soft-fp/op-4.h: Likewise.
27282 * soft-fp/op-8.h: Likewise.
27283 * soft-fp/testit.c: Likewise.
27284 * stdio-common/bug16.c: Likewise.
27285 * stdlib/random.c: Likewise.
27286 * sunrpc/rpcsvc/rquota.x: Likewise.
27287 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27288 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27289 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27290 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27291 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27292 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27293 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27294 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27295 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27296 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27297 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27298 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27299 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27300 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27301 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27302 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27303 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27304 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27305 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27306 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27307 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27308 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27309 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27310 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27311 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27312 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27313 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27314 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27315 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27316 * sysdeps/ieee754/s_lib_version.c: Likewise.
27317 * sysdeps/mach/hurd/check_fds.c: Likewise.
27318 * sysdeps/mach/hurd/getsockname.c: Likewise.
27319 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27320 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27321 * sysdeps/powerpc/bits/link.h: Likewise.
27322 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27323 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27324 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27325 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27326 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27327 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27328 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27329 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27330 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27331 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27332 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27333 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27334 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27335 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27336 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27337 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27338 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27339 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27340 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27341 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27342 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27343 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27344 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27345 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27346 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27347 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27348 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27349 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27350 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27351 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27352 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27353 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27354 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27355 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27356 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27357 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27358 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27359 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27360 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27361 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27362 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27363 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27364 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27365 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27366 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27367 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27368 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27369 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27370 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27371 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27372 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27373 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27374 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27375 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27376 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27377 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27378 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27379 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27380 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27381 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27382 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27383 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27384 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27385 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27386 * sysdeps/powerpc/sysdep.h: Likewise.
27387 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27388 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27389 * sysdeps/sh/dl-trampoline.S: Likewise.
27390 * sysdeps/sh/memset.S: Likewise.
27391 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27392 * sysdeps/sh/strlen.S: Likewise.
27393 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27394 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27395 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27396 * sysdeps/sparc/sparc32/rem.S: Likewise.
27397 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27398 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27399 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27400 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27401 * sysdeps/sparc/sparc32/urem.S: Likewise.
27402 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27403 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27404 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27405 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27406 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27407 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27408 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27409 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27410 * sysdeps/unix/bsd/times.c: Likewise.
27411 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27412 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27416 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27417 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27418 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27419 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27420 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27421 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27422 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27423 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27424 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27425 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27426 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27427 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27428 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27429 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27430 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27431 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27432 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27433 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27434 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27435 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27436 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27437 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27438 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27439 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27440 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27441 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27442 * sysdeps/x86_64/strcspn.S: Likewise.
27444 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27446 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27447 generated file. Regenerate properly from gen-translit.pl.
27448 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27449 locale/C-translit.h.
27451 2013-06-05 Andreas Schwab <schwab@suse.de>
27454 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27455 week as 6 instead of -1.
27456 * time/tst-strptime.c (day_tests): Add test case.
27458 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27460 * sysdeps/generic/math_private.h
27461 (libc_feholdexcept_setround_53bit): Replace with
27462 libc_feholdsetround_53bit.
27463 (libc_feupdateenv_53bit): Replace with
27464 libc_feresetround_53bit.
27465 (SET_RESTORE_ROUND_53BIT): Adjust.
27467 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27469 * string/test-strchrnul.c: Add copyright header.
27471 * posix/tst-getaddrinfo4.c: Increase test timeout.
27473 2013-06-03 Carlos O'Donell <carlos@redhat.com>
27476 * math/libm-test.inc (MAX_EXP): Remove
27478 (ulp): Use MIN_EXP - MANT_DIG.
27479 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27481 2013-05-31 Carlos O'Donell <carlos@redhat.com>
27483 * po/be.po: Revert last change.
27484 * po/zh_CN.po: Likewise.
27485 * po/header.pot: Likewise.
27487 2013-05-31 Joseph Myers <joseph@codesourcery.com>
27489 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27490 link-libc-deps to empty as target-specific variable.
27491 * Makerules (link-libc-args): New variable.
27492 (libc-for-link): Likewise.
27493 (link-libc-deps): Likewise.
27494 (lib%.so): Depend on $(link-libc-deps). Link with
27496 (build-module): Link with $(link-libc-args).
27497 (build-module-asneeded): Likewise.
27498 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27500 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27501 target-specific variable.
27502 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27503 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27504 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27506 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27508 ($(objpfx)libpcprofile.so): Likewise.
27509 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27511 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27512 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27513 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27515 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27516 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27517 * login/Makefile ($(objpfx)libutil.so): Likewise.
27518 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27519 * math/Makefile ($(objpfx)libm.so): Likewise.
27520 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27521 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27522 variable instead of depending directly on libc.
27523 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27524 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27526 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27528 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27529 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27530 ($(objpfx)libanl.so): Likewise.
27531 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27533 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27535 * sysdeps/i386/fpu/Makefile: Remove file.
27536 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27537 ($(objpfx)libm.so): Remove dependency on ld.so.
27539 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
27542 * nis/yp_xdr.c (XDRMAXNAME): Define.
27543 (XDRMAXRECORD): Define.
27544 (xdr_domainname): Use XDRMAXNAME.
27545 (xdr_mapname): Likewise.
27546 (xdr_peername): Likewise.
27547 (xdr_keydat): Use XDRMAXRECORD.
27548 (xdr_valdat): Likewise.
27550 2013-05-30 Jeff Law <law@redhat.com>
27553 * manual/errno.texi (ESTALE): Update to account for more than
27554 just NFS file systems.
27555 * sysdeps/gnu/errlist.c: Regenerated.
27557 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27560 * elf/Makefile (tests): Add tst-null-argv.
27561 (modules-names): Add tst-null-argv-lib.
27562 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27563 (tst-null-argv-ENV): Set environment for tst-null-argv.
27564 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27565 (RTLD_PROGNAME): New macro.
27566 * elf/tst-null-argv.c: New test case.
27567 * elf/tst-null-argv-lib.c: Library for test case.
27568 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27569 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27570 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27571 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27572 * elf/dl-init.c (call_init): Likewise.
27573 (_dl_init): Likewise.
27574 * elf/dl-load.c (print_search_path): Likewise.
27575 (_dl_map_object): Likewise.
27576 * elf/dl-lookup.c (do_lookup_x): Likewise.
27577 (add_dependency): Likewise.
27578 (_dl_lookup_symbol_x): Likewise.
27579 (_dl_debug_bindings): Likewise.
27580 * elf/dl-open.c (_dl_show_scope): Likewise.
27581 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27582 * elf/dl-version.c (match_symbol): Likewise.
27583 (_dl_check_map_versions): Likewise.
27584 * elf/rtld.c (dl_main): Likewise.
27585 (print_unresolved): Use RTLD_PROGNAME.
27586 (print_missing_version): Likewise.
27587 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27588 (elf_machine_rela): Likewise.
27589 * sysdeps/powerpc/powerpc32/dl-machine.c
27590 (__process_machine_rela): Likewise.
27591 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27593 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27595 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27597 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27598 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27600 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27602 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27604 2013-05-28 Carlos O'Donell <carlos@redhat.com>
27606 * po/be.po: Add descriptive title.
27607 * po/zh_CN.po: Likewise.
27608 * po/header.pot: Likewise.
27610 2013-05-28 Mike Frysinger <vapier@gentoo.org>
27612 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27614 (enlarge_archive): Likewise.
27616 2013-05-28 Ben North <ben@redfrontdoor.org>
27618 * manual/arith.texi (frexp): It is the magnitude of the return
27619 value which lies in [0.5, 1), not the return value itself.
27621 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27625 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27627 * stdio-common/bug26.c (main): Correct fscanf template.
27629 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27630 declare _dl_skip_args.
27632 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27635 * manual/platform.texi: Add missing @end deftypefun.
27637 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27640 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27641 bit of mantissa of 2^16382.
27642 * math/libm-test.inc (hypot_test_data): Add more tests.
27644 * math/libm-test.inc: Add drem and pow10 to list of tested
27646 (pow10_test): New function.
27647 (drem_test): Likewise.
27648 (drem_test_tonearest): Likewise.
27649 (drem_test_towardzero): Likewise.
27650 (drem_test_downward): Likewise.
27651 (drem_test_upward): Likewise.
27652 (main): Call the new functions.
27654 * math/libm-test.inc (finite_test_data): Remove.
27655 (finite_test): Run tests from isfinite_test_data.
27656 (gamma_test_data): Remove.
27657 (gamma_test): Run tests from lgamma_test_data.
27658 * sysdeps/i386/fpu/libm-test-ulps: Update.
27659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27661 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27663 * manual/platform.texi: Add PowerPC PPR function set documentation.
27664 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27667 2013-05-24 Carlos O'Donell <carlos@redhat.com>
27669 * math/libm-test.inc (MAX_EXP): Define.
27671 (ulp): New function.
27672 (check_float_internal): Use ULPDIFF.
27673 (cpow_test): Disable failing test.
27674 (check_ulp): Test ulp() implemetnation.
27675 (main): Call check_ulp before starting tests.
27677 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27679 * math/gen-libm-test.pl (generate_testfile): Do not handle
27680 START_DATA and END_DATA.
27681 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27683 (acos_tonearest_test_data): Likewise.
27684 (acos_towardzero_test_data): Likewise.
27685 (acos_downward_test_data): Likewise.
27686 (acos_upward_test_data): Likewise.
27687 (acosh_test_data): Likewise.
27688 (asin_test_data): Likewise.
27689 (asin_tonearest_test_data): Likewise.
27690 (asin_towardzero_test_data): Likewise.
27691 (asin_downward_test_data): Likewise.
27692 (asin_upward_test_data): Likewise.
27693 (asinh_test_data): Likewise.
27694 (atan_test_data): Likewise.
27695 (atanh_test_data): Likewise.
27696 (atan2_test_data): Likewise.
27697 (cabs_test_data): Likewise.
27698 (cacos_test_data): Likewise.
27699 (cacosh_test_data): Likewise.
27700 (carg_test_data): Likewise.
27701 (casin_test_data): Likewise.
27702 (casinh_test_data): Likewise.
27703 (catan_test_data): Likewise.
27704 (catanh_test_data): Likewise.
27705 (cbrt_test_data): Likewise.
27706 (ccos_test_data): Likewise.
27707 (ccosh_test_data): Likewise.
27708 (ceil_test_data): Likewise.
27709 (cexp_test_data): Likewise.
27710 (cimag_test_data): Likewise.
27711 (clog_test_data): Likewise.
27712 (clog10_test_data): Likewise.
27713 (conj_test_data): Likewise.
27714 (copysign_test_data): Likewise.
27715 (cos_test_data): Likewise.
27716 (cos_tonearest_test_data): Likewise.
27717 (cos_towardzero_test_data): Likewise.
27718 (cos_downward_test_data): Likewise.
27719 (cos_upward_test_data): Likewise.
27720 (cosh_test_data): Likewise.
27721 (cosh_tonearest_test_data): Likewise.
27722 (cosh_towardzero_test_data): Likewise.
27723 (cosh_downward_test_data): Likewise.
27724 (cosh_upward_test_data): Likewise.
27725 (cpow_test_data): Likewise.
27726 (cproj_test_data): Likewise.
27727 (creal_test_data): Likewise.
27728 (csin_test_data): Likewise.
27729 (csinh_test_data): Likewise.
27730 (csqrt_test_data): Likewise.
27731 (ctan_test_data): Likewise.
27732 (ctan_tonearest_test_data): Likewise.
27733 (ctan_towardzero_test_data): Likewise.
27734 (ctan_downward_test_data): Likewise.
27735 (ctan_upward_test_data): Likewise.
27736 (ctanh_test_data): Likewise.
27737 (ctanh_tonearest_test_data): Likewise.
27738 (ctanh_towardzero_test_data): Likewise.
27739 (ctanh_downward_test_data): Likewise.
27740 (ctanh_upward_test_data): Likewise.
27741 (erf_test_data): Likewise.
27742 (erfc_test_data): Likewise.
27743 (exp_test_data): Likewise.
27744 (exp_tonearest_test_data): Likewise.
27745 (exp_towardzero_test_data): Likewise.
27746 (exp_downward_test_data): Likewise.
27747 (exp_upward_test_data): Likewise.
27748 (exp10_test_data): Likewise.
27749 (exp2_test_data): Likewise.
27750 (expm1_test_data): Likewise.
27751 (fabs_test_data): Likewise.
27752 (fdim_test_data): Likewise.
27753 (finite_test_data): Likewise.
27754 (floor_test_data): Likewise.
27755 (fma_test_data): Likewise.
27756 (fma_towardzero_test_data): Likewise.
27757 (fma_downward_test_data): Likewise.
27758 (fma_upward_test_data): Likewise.
27759 (fmax_test_data): Likewise.
27760 (fmin_test_data): Likewise.
27761 (fmod_test_data): Likewise.
27762 (fpclassify_test_data): Likewise.
27763 (frexp_test_data): Likewise.
27764 (gamma_test_data): Likewise.
27765 (hypot_test_data): Likewise.
27766 (ilogb_test_data): Likewise.
27767 (isfinite_test_data): Likewise.
27768 (isgreater_test_data): Likewise.
27769 (isgreaterequal_test_data): Likewise.
27770 (isinf_test_data): Likewise.
27771 (isless_test_data): Likewise.
27772 (islessequal_test_data): Likewise.
27773 (islessgreater_test_data): Likewise.
27774 (isnan_test_data): Likewise.
27775 (isnormal_test_data): Likewise.
27776 (issignaling_test_data): Likewise.
27777 (isunordered_test_data): Likewise.
27778 (j0_test_data): Likewise.
27779 (j1_test_data): Likewise.
27780 (jn_test_data): Likewise.
27781 (ldexp_test_data): Likewise.
27782 (lgamma_test_data): Likewise.
27783 (lrint_test_data): Likewise.
27784 (lrint_tonearest_test_data): Likewise.
27785 (lrint_towardzero_test_data): Likewise.
27786 (lrint_downward_test_data): Likewise.
27787 (lrint_upward_test_data): Likewise.
27788 (llrint_test_data): Likewise.
27789 (llrint_tonearest_test_data): Likewise.
27790 (llrint_towardzero_test_data): Likewise.
27791 (llrint_downward_test_data): Likewise.
27792 (llrint_upward_test_data): Likewise.
27793 (log_test_data): Likewise.
27794 (log10_test_data): Likewise.
27795 (log1p_test_data): Likewise.
27796 (log2_test_data): Likewise.
27797 (logb_test_data): Likewise.
27798 (logb_downward_test_data): Likewise.
27799 (lround_test_data): Likewise.
27800 (llround_test_data): Likewise.
27801 (modf_test_data): Likewise.
27802 (nearbyint_test_data): Likewise.
27803 (nextafter_test_data): Likewise.
27804 (nexttoward_test_data): Likewise.
27805 (pow_test_data): Likewise.
27806 (pow_tonearest_test_data): Likewise.
27807 (pow_towardzero_test_data): Likewise.
27808 (pow_downward_test_data): Likewise.
27809 (pow_upward_test_data): Likewise.
27810 (remainder_test_data): Likewise.
27811 (remainder_tonearest_test_data): Likewise.
27812 (remainder_towardzero_test_data): Likewise.
27813 (remainder_downward_test_data): Likewise.
27814 (remainder_upward_test_data): Likewise.
27815 (remquo_test_data): Likewise.
27816 (rint_test_data): Likewise.
27817 (rint_tonearest_test_data): Likewise.
27818 (rint_towardzero_test_data): Likewise.
27819 (rint_downward_test_data): Likewise.
27820 (rint_upward_test_data): Likewise.
27821 (round_test_data): Likewise.
27822 (scalb_test_data): Likewise.
27823 (scalbn_test_data): Likewise.
27824 (scalbln_test_data): Likewise.
27825 (signbit_test_data): Likewise.
27826 (sin_test_data): Likewise.
27827 (sin_tonearest_test_data): Likewise.
27828 (sin_towardzero_test_data): Likewise.
27829 (sin_downward_test_data): Likewise.
27830 (sin_upward_test_data): Likewise.
27831 (sincos_test_data): Likewise.
27832 (sinh_test_data): Likewise.
27833 (sinh_tonearest_test_data): Likewise.
27834 (sinh_towardzero_test_data): Likewise.
27835 (sinh_downward_test_data): Likewise.
27836 (sinh_upward_test_data): Likewise.
27837 (sqrt_test_data): Likewise.
27838 (tan_test_data): Likewise.
27839 (tan_tonearest_test_data): Likewise.
27840 (tan_towardzero_test_data): Likewise.
27841 (tan_downward_test_data): Likewise.
27842 (tan_upward_test_data): Likewise.
27843 (tanh_test_data): Likewise.
27844 (tgamma_test_data): Likewise.
27845 (trunc_test_data): Likewise.
27846 (y0_test_data): Likewise.
27847 (y1_test_data): Likewise.
27848 (yn_test_data): Likewise.
27849 (significand_test_data): Likewise.
27851 * math/gen-libm-test.pl (@functions): Remove variable.
27852 (generate_testfile): Don't handle START and END lines.
27853 * math/libm-test.inc (START): New macro.
27855 (END_COMPLEX): Likewise.
27856 (acos_test): Use END macro without arguments.
27857 (acos_test_tonearest): Likewise.
27858 (acos_test_towardzero): Likewise.
27859 (acos_test_downward): Likewise.
27860 (acos_test_upward): Likewise.
27861 (acosh_test): Likewise.
27862 (asin_test): Likewise.
27863 (asin_test_tonearest): Likewise.
27864 (asin_test_towardzero): Likewise.
27865 (asin_test_downward): Likewise.
27866 (asin_test_upward): Likewise.
27867 (asinh_test): Likewise.
27868 (atan_test): Likewise.
27869 (atanh_test): Likewise.
27870 (atan2_test): Likewise.
27871 (cabs_test): Likewise.
27872 (cacos_test): Use END_COMPLEX macro without arguments.
27873 (cacosh_test): Likewise.
27874 (carg_test): Use END macro without arguments.
27875 (casin_test): Use END_COMPLEX macro without arguments.
27876 (casinh_test): Likewise.
27877 (catan_test): Likewise.
27878 (catanh_test): Likewise.
27879 (cbrt_test): Use END macro without arguments.
27880 (ccos_test): Use END_COMPLEX macro without arguments.
27881 (ccosh_test): Likewise.
27882 (ceil_test): Use END macro without arguments.
27883 (cexp_test): Use END_COMPLEX macro without arguments.
27884 (cimag_test): Use END macro without arguments.
27885 (clog_test): Use END_COMPLEX macro without arguments.
27886 (clog10_test): Likewise.
27887 (conj_test): Likewise.
27888 (copysign_test): Use END macro without arguments.
27889 (cos_test): Likewise.
27890 (cos_test_tonearest): Likewise.
27891 (cos_test_towardzero): Likewise.
27892 (cos_test_downward): Likewise.
27893 (cos_test_upward): Likewise.
27894 (cosh_test): Likewise.
27895 (cosh_test_tonearest): Likewise.
27896 (cosh_test_towardzero): Likewise.
27897 (cosh_test_downward): Likewise.
27898 (cosh_test_upward): Likewise.
27899 (cpow_test): Use END_COMPLEX macro without arguments.
27900 (cproj_test): Likewise.
27901 (creal_test): Use END macro without arguments.
27902 (csin_test): Use END_COMPLEX macro without arguments.
27903 (csinh_test): Likewise.
27904 (csqrt_test): Likewise.
27905 (ctan_test): Likewise.
27906 (ctan_test_tonearest): Likewise.
27907 (ctan_test_towardzero): Likewise.
27908 (ctan_test_downward): Likewise.
27909 (ctan_test_upward): Likewise.
27910 (ctanh_test): Likewise.
27911 (ctanh_test_tonearest): Likewise.
27912 (ctanh_test_towardzero): Likewise.
27913 (ctanh_test_downward): Likewise.
27914 (ctanh_test_upward): Likewise.
27915 (erf_test): Use END macro without arguments.
27916 (erfc_test): Likewise.
27917 (exp_test): Likewise.
27918 (exp_test_tonearest): Likewise.
27919 (exp_test_towardzero): Likewise.
27920 (exp_test_downward): Likewise.
27921 (exp_test_upward): Likewise.
27922 (exp10_test): Likewise.
27923 (exp2_test): Likewise.
27924 (expm1_test): Likewise.
27925 (fabs_test): Likewise.
27926 (fdim_test): Likewise.
27927 (finite_test): Likewise.
27928 (floor_test): Likewise.
27929 (fma_test): Likewise.
27930 (fma_test_towardzero): Likewise.
27931 (fma_test_downward): Likewise.
27932 (fma_test_upward): Likewise.
27933 (fmax_test): Likewise.
27934 (fmin_test): Likewise.
27935 (fmod_test): Likewise.
27936 (fpclassify_test): Likewise.
27937 (frexp_test): Likewise.
27938 (gamma_test): Likewise.
27939 (hypot_test): Likewise.
27940 (ilogb_test): Likewise.
27941 (isfinite_test): Likewise.
27942 (isgreater_test): Likewise.
27943 (isgreaterequal_test): Likewise.
27944 (isinf_test): Likewise.
27945 (isless_test): Likewise.
27946 (islessequal_test): Likewise.
27947 (islessgreater_test): Likewise.
27948 (isnan_test): Likewise.
27949 (isnormal_test): Likewise.
27950 (issignaling_test): Likewise.
27951 (isunordered_test): Likewise.
27952 (j0_test): Likewise.
27953 (j1_test): Likewise.
27954 (jn_test): Likewise.
27955 (ldexp_test): Likewise.
27956 (lgamma_test): Likewise.
27957 (lrint_test): Likewise.
27958 (lrint_test_tonearest): Likewise.
27959 (lrint_test_towardzero): Likewise.
27960 (lrint_test_downward): Likewise.
27961 (lrint_test_upward): Likewise.
27962 (llrint_test): Likewise.
27963 (llrint_test_tonearest): Likewise.
27964 (llrint_test_towardzero): Likewise.
27965 (llrint_test_downward): Likewise.
27966 (llrint_test_upward): Likewise.
27967 (log_test): Likewise.
27968 (log10_test): Likewise.
27969 (log1p_test): Likewise.
27970 (log2_test): Likewise.
27971 (logb_test): Likewise.
27972 (logb_test_downward): Likewise.
27973 (lround_test): Likewise.
27974 (llround_test): Likewise.
27975 (modf_test): Likewise.
27976 (nearbyint_test): Likewise.
27977 (nextafter_test): Likewise.
27978 (nexttoward_test): Likewise.
27979 (pow_test): Likewise.
27980 (pow_test_tonearest): Likewise.
27981 (pow_test_towardzero): Likewise.
27982 (pow_test_downward): Likewise.
27983 (pow_test_upward): Likewise.
27984 (remainder_test): Likewise.
27985 (remainder_test_tonearest): Likewise.
27986 (remainder_test_towardzero): Likewise.
27987 (remainder_test_downward): Likewise.
27988 (remainder_test_upward): Likewise.
27989 (remquo_test): Likewise.
27990 (rint_test): Likewise.
27991 (rint_test_tonearest): Likewise.
27992 (rint_test_towardzero): Likewise.
27993 (rint_test_downward): Likewise.
27994 (rint_test_upward): Likewise.
27995 (round_test): Likewise.
27996 (scalb_test): Likewise.
27997 (scalbn_test): Likewise.
27998 (scalbln_test): Likewise.
27999 (signbit_test): Likewise.
28000 (sin_test): Likewise.
28001 (sin_test_tonearest): Likewise.
28002 (sin_test_towardzero): Likewise.
28003 (sin_test_downward): Likewise.
28004 (sin_test_upward): Likewise.
28005 (sincos_test): Likewise.
28006 (sinh_test): Likewise.
28007 (sinh_test_tonearest): Likewise.
28008 (sinh_test_towardzero): Likewise.
28009 (sinh_test_downward): Likewise.
28010 (sinh_test_upward): Likewise.
28011 (sqrt_test): Likewise.
28012 (tan_test): Likewise.
28013 (tan_test_tonearest): Likewise.
28014 (tan_test_towardzero): Likewise.
28015 (tan_test_downward): Likewise.
28016 (tan_test_upward): Likewise.
28017 (tanh_test): Likewise.
28018 (tgamma_test): Likewise.
28019 (trunc_test): Likewise.
28020 (y0_test): Likewise.
28021 (y1_test): Likewise.
28022 (yn_test): Likewise.
28023 (significand_test): Likewise.
28025 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
28028 * libio/genops.c (_IO_no_init): Initialize wide struct info.
28030 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
28033 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28034 __ppc_mdoio and __ppc_mdoom.
28035 * manual/platform.texi: Document new functions __ppc_yield,
28036 __ppc_mdoio and __ppc_mdoom.
28038 2013-05-22 Carlos O'Donell <carlos@redhat.com>
28040 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28041 (main): Mention "tls" pseudo-hwcap is legacy.
28042 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28044 2013-05-22 Joseph Myers <joseph@codesourcery.com>
28046 * math/gen-libm-test.pl (parse_args): Output only string of
28047 arguments as text for test name, not full call or descriptions of
28048 tests for extra outputs.
28049 (generate_testfile): Do not pass function name to parse_args.
28050 Generate this_func variable from START.
28051 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28053 (struct test_ff_f_data): Likewise.
28054 (test_ff_f_data_nexttoward): Likewise.
28055 (struct test_fi_f_data): Likewise.
28056 (struct test_fl_f_data): Likewise.
28057 (struct test_if_f_data): Likewise.
28058 (struct test_fff_f_data): Likewise.
28059 (struct test_c_f_data): Likewise.
28060 (struct test_f_f1_data): Likewise. Remove field extra_name.
28061 (struct test_fF_f1_data): Likewise.
28062 (struct test_ffI_f1_data): Likewise.
28063 (struct test_c_c_data): Rename test_name field to arg_str.
28064 (struct test_cc_c_data): Likewise.
28065 (struct test_f_i_data): Likewise.
28066 (struct test_ff_i_data): Likewise.
28067 (struct test_f_l_data): Likewise.
28068 (struct test_f_L_data): Likewise.
28069 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28071 (COMMON_TEST_SETUP): New macro.
28072 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28073 (COMMON_TEST_CLEANUP): Likewise.
28074 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28075 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28077 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28078 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28080 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28081 (RUN_TEST_fff_f): Take argument string. Call new setup and
28083 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28084 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28086 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28087 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28089 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28090 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28092 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28093 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28095 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28096 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28098 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28099 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28101 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28102 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28104 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28105 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28107 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28108 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28110 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28111 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28113 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28114 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28116 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28117 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28119 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28120 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28122 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28123 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28125 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28126 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28128 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28130 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28132 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28133 to _sifields.sigfault.
28134 (si_addr_lsb): Define new macro.
28135 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28136 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28137 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28139 2013-05-03 Carlos O'Donell <carlos at redhat.com>
28142 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28144 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28146 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28147 loading the domain.
28149 2013-05-22 Joseph Myers <joseph@codesourcery.com>
28151 * math/gen-libm-test.pl (parse_args): Do not include expected
28152 result in test name.
28153 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28154 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28155 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28156 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28157 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28160 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28162 * benchtests/Makefile: Sort function entries.
28164 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28165 tanh, asinh, acosh, atanh.
28166 * benchtests/acos-inputs: New file.
28167 * benchtests/acosh-inputs: New file.
28168 * benchtests/asin-inputs: New file.
28169 * benchtests/asinh-inputs: New file.
28170 * benchtests/atanh-inputs: New file.
28171 * benchtests/cosh-inputs: New file.
28172 * benchtests/log-inputs: New file.
28173 * benchtests/sinh-inputs: New file.
28174 * benchtests/tanh-inputs: New file.
28176 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28179 * posix/tst-getaddrinfo4.c: New test.
28180 * posix/Makefile (tests): Add it.
28182 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28185 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28186 when no services were used.
28187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28188 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28190 2013-05-21 Andreas Schwab <schwab@suse.de>
28193 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28194 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28196 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28197 redundant variable declarations and reallocation of buffer when
28198 parsing as IPv6 address. Always set NSS status when called from
28199 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28200 buffer too small. Correct computation of needed size.
28201 * nss/Makefile (tests): Add test-digits-dots.
28202 * nss/test-digits-dots.c: New test.
28204 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28206 * benchtests/Makefile: Remove instructions for adding
28208 * benchtests/README: New file to explain how to execute and
28209 enhance the benchmark tests.
28211 2013-05-21 Andreas Schwab <schwab@suse.de>
28214 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28215 * setjmp/tst-sigsetjmp.c: New test.
28217 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
28219 * sysdeps/x86_64/memset.S (memset): New implementation.
28220 (__bzero): Likewise.
28221 (__memset_tail): New function.
28223 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
28225 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28226 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28227 __memcpy_sse2_unaligned ifunc selection.
28228 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28229 Add memcpy-sse2-unaligned.S.
28230 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28231 Add: __memcpy_sse2_unaligned.
28233 2013-05-19 Joseph Myers <joseph@codesourcery.com>
28236 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28237 math_force_eval before restoring floating-point envrionment.
28238 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28239 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28241 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28243 (__nearbyintl): Use math_force_eval before restoring
28244 floating-point environment.
28245 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28247 * math/gen-libm-test.pl (special_functions): Remove.
28248 (parse_args): Don't handle TEST_extra. Handle functions with no
28250 * math/libm-test.inc (struct test_sincos_data): Replace with
28251 struct test_fFF_11_data.
28252 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28253 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28254 (sincos_test_data): Change element type to struct
28255 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28256 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28257 RUN_TEST_LOOP_sincos.
28258 * math/README.libm-test: Don't mention special handling of
28259 individual functions.
28260 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28261 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28262 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28263 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28264 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28267 * math/gen-libm-test.pl (get_variable): Remove function.
28268 (parse_args): Don't show pointer parameters to call in test
28269 names. Use "extra output N" in test names for extra outputs
28270 rather than naming variables.
28272 2013-05-18 Joseph Myers <joseph@codesourcery.com>
28275 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28276 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28277 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28279 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28281 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28284 * math/gen-libm-test.pl (@tests): Remove variable.
28285 ($count): Likewise.
28286 (new_test): Remove function.
28287 (show_exceptions): New function.
28288 (special_functions): Use show_exceptions instead of new_test.
28289 (parse_args): Likewise.
28290 (generate_testfile): Pass only function name in generated call to
28291 print_max_error or print_complex_max_error.
28292 (get_ulps): Do not handle complex tests specially.
28293 (output_test): Rename to ...
28294 (get_all_ulps_for_test): ... this. Return a string rather than
28295 printing to a file. Require ulps to be present.
28296 (output_ulps): Generate arrays rather than #defines.
28297 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28298 (struct ulp_data): New type.
28299 (BUILD_COMPLEX_ULP): Remove macro.
28300 (compare_ulp_data): New function.
28301 (find_ulps): Likewise.
28302 (find_test_ulps): Likewise.
28303 (find_function_ulps): Likewise.
28304 (find_complex_function_ulps): Likewise.
28305 (print_max_error): Determine allowed ulps using
28306 find_function_ulps.
28307 (print_complex_max_error): Determine allowed ulps using
28308 find_complex_function_ulps.
28309 (check_float_internal): Determine max ulps using find_test_ulps.
28310 (check_float): Do not take max_ulp parameter. Update call to
28311 check_float_internal.
28312 (check_complex): Likewise.
28313 (check_int): Do not take max_ulp parameter.
28314 (check_long): Likewise.
28315 (check_bool): Likewise.
28316 (check_longlong): Likewise.
28317 (struct test_f_f_data): Remove max_ulp field.
28318 (struct test_ff_f_data): Likewise.
28319 (struct test_ff_f_data_nexttoward): Likewise.
28320 (struct test_fi_f_data): Likewise.
28321 (struct test_fl_f_data): Likewise.
28322 (struct test_if_f_data): Likewise.
28323 (struct test_fff_f_data): Likewise.
28324 (struct test_c_f_data): Likewise.
28325 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28326 (struct test_fF_f1_data): Likewise.
28327 (struct test_ffI_f1_data): Likewise.
28328 (struct test_c_c_data): Remove max_ulp field.
28329 (struct test_cc_c_data): Likewise.
28330 (struct test_f_i_data): Likewise.
28331 (struct test_ff_i_data): Likewise.
28332 (struct test_f_l_data): Likewise.
28333 (struct test_f_L_data): Likewise.
28334 (struct test_sincos_data): Likewise.
28335 (RUN_TEST_f_f): Do not handle ulps.
28336 (RUN_TEST_LOOP_f_f): Likewise.
28337 (RUN_TEST_2_f): Likewise.
28338 (RUN_TEST_LOOP_2_f): Likewise.
28339 (RUN_TEST_fff_f): Likewise.
28340 (RUN_TEST_LOOP_fff_f): Likewise.
28341 (RUN_TEST_c_f): Likewise.
28342 (RUN_TEST_LOOP_c_f): Likewise.
28343 (RUN_TEST_f_f1): Likewise.
28344 (RUN_TEST_LOOP_f_f1): Likewise.
28345 (RUN_TEST_fF_f1): Likewise.
28346 (RUN_TEST_LOOP_fF_f1): Likewise.
28347 (RUN_TEST_fI_f1): Likewise.
28348 (RUN_TEST_LOOP_fI_f1): Likewise.
28349 (RUN_TEST_ffI_f1): Likewise.
28350 (RUN_TEST_LOOP_ffI_f1): Likewise.
28351 (RUN_TEST_c_c): Likewise.
28352 (RUN_TEST_LOOP_c_c): Likewise.
28353 (RUN_TEST_cc_c): Likewise.
28354 (RUN_TEST_LOOP_cc_c): Likewise.
28355 (RUN_TEST_f_i): Likewise.
28356 (RUN_TEST_LOOP_f_i): Likewise.
28357 (RUN_TEST_f_i_tg): Likewise.
28358 (RUN_TEST_LOOP_f_i_tg): Likewise.
28359 (RUN_TEST_ff_i_tg): Likewise.
28360 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28361 (RUN_TEST_f_b): Likewise.
28362 (RUN_TEST_LOOP_f_b): Likewise.
28363 (RUN_TEST_f_b_tg): Likewise.
28364 (RUN_TEST_LOOP_f_b_tg): Likewise.
28365 (RUN_TEST_f_l): Likewise.
28366 (RUN_TEST_LOOP_f_l): Likewise.
28367 (RUN_TEST_f_L): Likewise.
28368 (RUN_TEST_LOOP_f_L): Likewise.
28369 (RUN_TEST_sincos): Likewise.
28370 (RUN_TEST_LOOP_sincos): Likewise.
28372 2013-05-17 Joseph Myers <joseph@codesourcery.com>
28376 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28377 main case of finite arguments, set rounding mode to FE_TONEAREST
28378 and discard exceptions.
28379 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28381 (remainder_tonearest_test_data): New variable.
28382 (remainder_test_tonearest): New function.
28383 (remainder_towardzero_test_data): New variable.
28384 (remainder_test_towardzero): New function.
28385 (remainder_downward_test_data): New variable.
28386 (remainder_test_downward): New function.
28387 (remainder_upward_test_data): New variable.
28388 (remainder_test_upward): New function.
28389 (main): Call the new test functions.
28391 * math/libm-test.inc (struct test_f_f1_data): Remove field
28393 (struct test_fF_f1_data): Likewise.
28394 (struct test_ffI_f1_data): Likewise.
28395 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28396 based on value of EXTRA_EXPECTED.
28397 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28398 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28399 EXTRA_VAR based on value of EXTRA_EXPECTED.
28400 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28401 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28402 EXTRA_VAR based on value of EXTRA_EXPECTED.
28403 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28404 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28405 EXTRA_VAR based on value of EXTRA_EXPECTED.
28406 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28407 * math/gen-libm-test.pl (parse_args): Don't output initializers
28408 for extra output values.
28410 * math/libm-test.inc (check_int): Expect result to be exactly
28411 equal to expected value and do not handle ulps.
28412 (check_long): Likewise.
28413 (check_longlong): Likewise.
28415 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28417 (cimag_test_data): Likewise.
28418 (conj_test_data): Likewise.
28419 (copysign_test_data): Likewise.
28420 (cproj_test_data): Likewise.
28421 (creal_test_data): Likewise.
28422 (fabs_test_data): Likewise.
28423 (fdim_test_data): Likewise.
28424 (finite_test_data): Likewise.
28425 (floor_test_data): Likewise.
28426 (fmax_test_data): Likewise.
28427 (fmin_test_data): Likewise.
28428 (fmod_test_data): Likewise.
28429 (fpclassify_test_data): Likewise.
28430 (frexp_test_data): Likewise.
28431 (ilogb_test_data): Likewise.
28432 (isfinite_test_data): Likewise.
28433 (isgreater_test_data): Likewise.
28434 (isgreaterequal_test_data): Likewise.
28435 (isinf_test_data): Likewise.
28436 (isless_test_data): Likewise.
28437 (islessequal_test_data): Likewise.
28438 (islessgreater_test_data): Likewise.
28439 (isnan_test_data): Likewise.
28440 (isnormal_test_data): Likewise.
28441 (issignaling_test_data): Likewise.
28442 (isunordered_test_data): Likewise.
28443 (ldexp_test_data): Likewise.
28444 (lrint_test_data): Likewise.
28445 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28446 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28447 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28448 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28449 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28450 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28452 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28453 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28454 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28455 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28457 (lrint_downward_test_data): Test for "inexact" exceptions.
28458 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28459 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28460 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28462 (lrint_upward_test_data): Test for "inexact" exceptions.
28463 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28465 (llrint_test_data): Test for "inexact" exceptions.
28466 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28467 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28468 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28469 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28470 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28471 (llrint_downward_test_data): Test for "inexact" exceptions.
28472 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28473 (llrint_upward_test_data): Test for "inexact" exceptions.
28474 (logb_test_data): Likewise.
28475 (logb_downward_test_data): Likewise.
28476 (nextafter_test_data): Likewise.
28477 (nexttoward_test_data): Likewise.
28478 (remainder_test_data): Likewise.
28479 (remquo_test_data): Likewise.
28480 (scalbn_test_data): Likewise.
28481 (scalbln_test_data): Likewise.
28482 (signbit_test_data): Likewise.
28483 (sqrt_test_data): Likewise.
28484 (significand_test_data): Likewise.
28486 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28489 * benchtests/bench-modf.c (struct args): Mark arg0 as
28491 * scripts/bench.pl: Mark members of struct args as volatile.
28493 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28496 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28497 negative infinity on POWER6 or lower.
28498 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28500 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28503 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28504 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28505 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28506 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28507 (_FP_SETQNAN): New macro.
28508 (_FP_SETQNAN_SEMIRAW): Likewise.
28509 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28510 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28511 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28512 (FP_EXTEND): Use _FP_FRAC_SNANP.
28513 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28514 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28516 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28518 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28521 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28523 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28524 with DIVIDE_BY_ZERO_EXCEPTION.
28525 (gamma_test_data): Likewise.
28526 (lgamma_test_data): Likewise.
28527 (log_test_data): Likewise.
28528 (log10_test_data): Likewise.
28529 (log2_test_data): Likewise.
28530 (tgamma_test_data): Likewise.
28532 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28533 (acos_test_tonearest): Likewise.
28534 (acos_test_towardzero): Likewise.
28535 (acos_test_downward): Likewise.
28536 (acos_test_upward): Likewise.
28537 (acosh_test): Likewise.
28538 (asin_test): Likewise.
28539 (asin_test_tonearest): Likewise.
28540 (asin_test_towardzero): Likewise.
28541 (asin_test_downward): Likewise.
28542 (asin_test_upward): Likewise.
28543 (asinh_test): Likewise.
28544 (atan_test): Likewise.
28545 (atanh_test): Likewise.
28546 (atan2_test): Likewise.
28547 (cabs_test): Likewise.
28548 (cacos_test): Likewise.
28549 (cacosh_test): Likewise.
28550 (casin_test): Likewise.
28551 (casinh_test): Likewise.
28552 (catan_test): Likewise.
28553 (catanh_test): Likewise.
28554 (cbrt_test): Likewise.
28555 (ccos_test): Likewise.
28556 (ccosh_test): Likewise.
28557 (cexp_test): Likewise.
28558 (clog_test): Likewise.
28559 (clog10_test): Likewise.
28560 (cos_test): Likewise.
28561 (cos_test_tonearest): Likewise.
28562 (cos_test_towardzero): Likewise.
28563 (cos_test_downward): Likewise.
28564 (cos_test_upward): Likewise.
28565 (cosh_test): Likewise.
28566 (cosh_test_tonearest): Likewise.
28567 (cosh_test_towardzero): Likewise.
28568 (cosh_test_downward): Likewise.
28569 (cosh_test_upward): Likewise.
28570 (cpow_test): Likewise.
28571 (csin_test): Likewise.
28572 (csinh_test): Likewise.
28573 (csqrt_test): Likewise.
28574 (ctan_test): Likewise.
28575 (ctan_test_tonearest): Likewise.
28576 (ctan_test_towardzero): Likewise.
28577 (ctan_test_downward): Likewise.
28578 (ctan_test_upward): Likewise.
28579 (ctanh_test): Likewise.
28580 (ctanh_test_tonearest): Likewise.
28581 (ctanh_test_towardzero): Likewise.
28582 (ctanh_test_downward): Likewise.
28583 (ctanh_test_upward): Likewise.
28584 (erf_test): Likewise.
28585 (erfc_test): Likewise.
28586 (exp_test): Likewise.
28587 (exp_test_tonearest): Likewise.
28588 (exp_test_towardzero): Likewise.
28589 (exp_test_downward): Likewise.
28590 (exp_test_upward): Likewise.
28591 (exp10_test): Likewise.
28592 (exp2_test): Likewise.
28593 (expm1_test): Likewise.
28594 (fmod_test): Likewise.
28595 (gamma_test): Likewise.
28596 (hypot_test): Likewise.
28597 (j0_test): Likewise.
28598 (j1_test): Likewise.
28599 (jn_test): Likewise.
28600 (lgamma_test): Likewise.
28601 (log_test): Likewise.
28602 (log10_test): Likewise.
28603 (log1p_test): Likewise.
28604 (log2_test): Likewise.
28605 (logb_test_downward): Likewise.
28606 (pow_test): Likewise.
28607 (pow_test_tonearest): Likewise.
28608 (pow_test_towardzero): Likewise.
28609 (pow_test_downward): Likewise.
28610 (pow_test_upward): Likewise.
28611 (remainder_test): Likewise.
28612 (remquo_test): Likewise.
28613 (sin_test): Likewise.
28614 (sin_test_tonearest): Likewise.
28615 (sin_test_towardzero): Likewise.
28616 (sin_test_downward): Likewise.
28617 (sin_test_upward): Likewise.
28618 (sincos_test): Likewise.
28619 (sinh_test): Likewise.
28620 (sinh_test_tonearest): Likewise.
28621 (sinh_test_towardzero): Likewise.
28622 (sinh_test_downward): Likewise.
28623 (sinh_test_upward): Likewise.
28624 (sqrt_test): Likewise.
28625 (tan_test): Likewise.
28626 (tan_test_tonearest): Likewise.
28627 (tan_test_towardzero): Likewise.
28628 (tan_test_downward): Likewise.
28629 (tan_test_upward): Likewise.
28630 (tanh_test): Likewise.
28631 (tgamma_test): Likewise.
28632 (y0_test): Likewise.
28633 (y1_test): Likewise.
28634 (yn_test): Likewise.
28636 * math/gen-libm-test.pl (adjust_arg): Remove function.
28637 (special_function): Remove argument $in_func. Only handle
28638 generating output for tables of tests, not inside functions.
28639 (parse_args): Likewise.
28640 (generate_testfile): Remove variable $in_func. Update call to
28642 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28643 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28644 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28645 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28646 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28647 (MAX_VALUE_INIT): Rename macro to max_value.
28648 (MIN_VALUE_INIT): Rename macro to min_value.
28649 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28650 (plus_zero): Remove variable.
28651 (minus_zero): Likewise.
28652 (plus_infty): Likewise.
28653 (minus_infty): Likewise.
28654 (qnan_value): Likewise.
28655 (max_value): Likewise.
28656 (min_value): Likewise.
28657 (min_subnorm_value): Likewise.
28659 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28661 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28662 uint64_t or uint32_t usage.
28663 * crypt/sha256-block.c: Likewise.
28664 * crypt/sha256-crypt.c: Likewise.
28665 * crypt/sha256.c: Likewise.
28666 * crypt/sha512-block.c: Likewise.
28667 * crypt/sha512-crypt.c: Likewise.
28668 * crypt/sha512.c: Likewise.
28669 * debug/backtrace-tst.c: Likewise.
28670 * debug/pcprofiledump.c: Likewise.
28671 * elf/cache.c: Likewise.
28672 * elf/dl-cache.c: Likewise.
28673 * elf/dl-misc.c: Likewise.
28674 * elf/dl-profile.c: Likewise.
28675 * elf/dl-support.c: Likewise.
28676 * elf/ldconfig.c: Likewise.
28677 * elf/sprof.c: Likewise.
28678 * iconv/dummy-repertoire.c: Likewise.
28679 * iconv/iconv_charmap.c: Likewise.
28680 * iconv/skeleton.c: Likewise.
28681 * iconvdata/8bit-generic.c: Likewise.
28682 * iconvdata/cp737.h: Likewise.
28683 * iconvdata/cp775.h: Likewise.
28684 * iconvdata/ibm1008.h: Likewise.
28685 * iconvdata/ibm1025.h: Likewise.
28686 * iconvdata/ibm1046.h: Likewise.
28687 * iconvdata/ibm1097.h: Likewise.
28688 * iconvdata/ibm1112.h: Likewise.
28689 * iconvdata/ibm1122.h: Likewise.
28690 * iconvdata/ibm1123.h: Likewise.
28691 * iconvdata/ibm1124.h: Likewise.
28692 * iconvdata/ibm1129.h: Likewise.
28693 * iconvdata/ibm1130.h: Likewise.
28694 * iconvdata/ibm1132.h: Likewise.
28695 * iconvdata/ibm1133.h: Likewise.
28696 * iconvdata/ibm1137.h: Likewise.
28697 * iconvdata/ibm1140.h: Likewise.
28698 * iconvdata/ibm1141.h: Likewise.
28699 * iconvdata/ibm1142.h: Likewise.
28700 * iconvdata/ibm1143.h: Likewise.
28701 * iconvdata/ibm1144.h: Likewise.
28702 * iconvdata/ibm1145.h: Likewise.
28703 * iconvdata/ibm1146.h: Likewise.
28704 * iconvdata/ibm1147.h: Likewise.
28705 * iconvdata/ibm1148.h: Likewise.
28706 * iconvdata/ibm1149.h: Likewise.
28707 * iconvdata/ibm1153.h: Likewise.
28708 * iconvdata/ibm1154.h: Likewise.
28709 * iconvdata/ibm1155.h: Likewise.
28710 * iconvdata/ibm1156.h: Likewise.
28711 * iconvdata/ibm1157.h: Likewise.
28712 * iconvdata/ibm1158.h: Likewise.
28713 * iconvdata/ibm1160.h: Likewise.
28714 * iconvdata/ibm1161.h: Likewise.
28715 * iconvdata/ibm1162.h: Likewise.
28716 * iconvdata/ibm1163.h: Likewise.
28717 * iconvdata/ibm1164.h: Likewise.
28718 * iconvdata/ibm1166.h: Likewise.
28719 * iconvdata/ibm1167.h: Likewise.
28720 * iconvdata/ibm12712.h: Likewise.
28721 * iconvdata/ibm1390.h: Likewise.
28722 * iconvdata/ibm1399.h: Likewise.
28723 * iconvdata/ibm16804.h: Likewise.
28724 * iconvdata/ibm4517.h: Likewise.
28725 * iconvdata/ibm4899.h: Likewise.
28726 * iconvdata/ibm4909.h: Likewise.
28727 * iconvdata/ibm4971.h: Likewise.
28728 * iconvdata/ibm5347.h: Likewise.
28729 * iconvdata/ibm803.h: Likewise.
28730 * iconvdata/ibm856.h: Likewise.
28731 * iconvdata/ibm901.h: Likewise.
28732 * iconvdata/ibm902.h: Likewise.
28733 * iconvdata/ibm9030.h: Likewise.
28734 * iconvdata/ibm9066.h: Likewise.
28735 * iconvdata/ibm921.h: Likewise.
28736 * iconvdata/ibm922.h: Likewise.
28737 * iconvdata/ibm9448.h: Likewise.
28738 * iconvdata/isiri-3342.h: Likewise.
28739 * iconvdata/jis0201.h: Likewise.
28740 * include/link.h: Likewise.
28741 * include/netdb.h: Likewise.
28742 * inet/check_native.c: Likewise.
28743 * inet/check_pf.c: Likewise.
28744 * inet/getipv4sourcefilter.c: Likewise.
28745 * inet/getnameinfo.c: Likewise.
28746 * inet/getsourcefilter.c: Likewise.
28747 * inet/htonl.c: Likewise.
28748 * inet/setipv4sourcefilter.c: Likewise.
28749 * inet/setsourcefilter.c: Likewise.
28750 * inet/test-inet6_opt.c: Likewise.
28751 * inet/tst-network.c: Likewise.
28752 * locale/C-collate.c: Likewise.
28753 * locale/C-ctype.c: Likewise.
28754 * locale/C-time.c: Likewise.
28755 * locale/C-translit.h: Likewise.
28756 * locale/loadarchive.c: Likewise.
28757 * locale/programs/3level.h: Likewise.
28758 * locale/programs/charmap.c: Likewise.
28759 * locale/programs/charmap.h: Likewise.
28760 * locale/programs/ld-address.c: Likewise.
28761 * locale/programs/ld-collate.c: Likewise.
28762 * locale/programs/ld-ctype.c: Likewise.
28763 * locale/programs/ld-identification.c: Likewise.
28764 * locale/programs/ld-measurement.c: Likewise.
28765 * locale/programs/ld-messages.c: Likewise.
28766 * locale/programs/ld-monetary.c: Likewise.
28767 * locale/programs/ld-name.c: Likewise.
28768 * locale/programs/ld-numeric.c: Likewise.
28769 * locale/programs/ld-paper.c: Likewise.
28770 * locale/programs/ld-telephone.c: Likewise.
28771 * locale/programs/ld-time.c: Likewise.
28772 * locale/programs/linereader.c: Likewise.
28773 * locale/programs/locale.c: Likewise.
28774 * locale/programs/locarchive.c: Likewise.
28775 * locale/programs/locfile.h: Likewise.
28776 * locale/programs/repertoire.c: Likewise.
28777 * locale/programs/simple-hash.c: Likewise.
28778 * locale/programs/simple-hash.h: Likewise.
28779 * malloc/memusage.c: Likewise.
28780 * malloc/memusagestat.c: Likewise.
28781 * nis/nis_defaults.c: Likewise.
28782 * nis/nis_hash.c: Likewise.
28783 * nis/nis_print.c: Likewise.
28784 * nis/nis_xdr.c: Likewise.
28785 * nscd/connections.c: Likewise.
28786 * nscd/hstcache.c: Likewise.
28787 * nscd/nscd_gethst_r.c: Likewise.
28788 * nscd/nscd_getserv_r.c: Likewise.
28789 * nscd/nscd_helper.c: Likewise.
28790 * nscd/servicescache.c: Likewise.
28791 * nss/makedb.c: Likewise.
28792 * nss/nss_db/db-XXX.c: Likewise.
28793 * nss/nss_db/db-initgroups.c: Likewise.
28794 * nss/nss_db/db-netgrp.c: Likewise.
28795 * nss/nss_files/files-network.c: Likewise.
28796 * nss/nss_files/files-parse.c: Likewise.
28797 * posix/bug-regex5.c: Likewise.
28798 * posix/fnmatch_loop.c: Likewise.
28799 * posix/regcomp.c: Likewise.
28800 * posix/regexec.c: Likewise.
28801 * posix/tst-rfc3484-2.c: Likewise.
28802 * posix/tst-rfc3484-3.c: Likewise.
28803 * posix/tst-rfc3484.c: Likewise.
28804 * resolv/nss_dns/dns-canon.c: Likewise.
28805 * resolv/nss_dns/dns-network.c: Likewise.
28806 * resolv/res_init.c: Likewise.
28807 * resolv/res_mkquery.c: Likewise.
28808 * resolv/tst-aton.c: Likewise.
28809 * stdlib/cxa_atexit.c: Likewise.
28810 * stdlib/cxa_finalize.c: Likewise.
28811 * stdlib/gen-fpioconst.c: Likewise.
28812 * stdlib/strtol_l.c: Likewise.
28813 * string/tst-endian.c: Likewise.
28814 * sunrpc/auth_des.c: Likewise.
28815 * sunrpc/clnt_udp.c: Likewise.
28816 * sunrpc/rtime.c: Likewise.
28817 * sunrpc/svcauth_des.c: Likewise.
28818 * sunrpc/xdr.c: Likewise.
28819 * sunrpc/xdr_intXX_t.c: Likewise.
28820 * sunrpc/xdr_rec.c: Likewise.
28821 * sysdeps/generic/ldconfig.h: Likewise.
28822 * sysdeps/generic/ldsodefs.h: Likewise.
28823 * sysdeps/generic/memusage.h: Likewise.
28824 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28825 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28826 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28827 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28828 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28829 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28830 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28831 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28832 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28833 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28834 * sysdeps/posix/getaddrinfo.c: Likewise.
28835 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28836 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28837 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28838 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28839 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28840 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28841 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28842 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28843 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28844 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28845 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28846 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28847 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28848 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28849 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28850 * sysdeps/x86_64/dl-tls.h: Likewise.
28851 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28852 * time/alt_digit.c: Likewise.
28853 * time/era.c: Likewise.
28854 * wcsmbs/tst-c16c32-1.c: Likewise.
28856 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28858 * math/libm-test.inc (struct test_sincos_data): New type.
28859 (RUN_TEST_LOOP_sincos): New macro.
28860 (sincos_test_data): New variable.
28861 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28863 2013-05-16 Richard Henderson <rth@redhat.com>
28865 * math/atest-exp2.c (LIMB64): New macro.
28866 (CONSTSZ): New macro.
28867 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28869 (print_mpn_fp): ... to function scope.
28870 (read_mpn_hex): Remove.
28871 (get_log2): Remove.
28872 (exp2_mpn): Use mp_log2.
28873 (main): Use mp_exp1.
28875 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28877 * math/libm-test.inc: Remove comment about not testing "inexact"
28879 (INEXACT_EXCEPTION): New macro.
28880 (NO_INEXACT_EXCEPTION): Likewise.
28881 (INVALID_EXCEPTION_OK): Update value.
28882 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28883 (OVERFLOW_EXCEPTION_OK): Likewise.
28884 (UNDERFLOW_EXCEPTION_OK): Likewise.
28885 (IGNORE_ZERO_INF_SIGN): Likewise.
28886 (ERRNO_UNCHANGED): Likewise.
28887 (ERRNO_EDOM): Likewise.
28888 (ERRNO_ERANGE): Likewise.
28889 (test_exceptions): Handle testing "inexact" exceptions.
28890 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28891 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28892 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28893 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28895 (rint_towardzero_test_data): Likewise.
28896 (rint_downward_test_data): Likewise.
28897 (rint_upward_test_data): Likewise.
28899 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28900 with OVERFLOW_EXCEPTION.
28901 (exp10_test_data): Likewise.
28902 (exp2_test_data): Likewise.
28903 (expm1_test_data): Likewise.
28904 (lgamma_test_data): Likewise.
28905 (pow_test_data): Likewise.
28906 (tgamma_test_data): Likewise.
28907 (yn_test_data): Remove duplicate test of overflow.
28909 * math/libm-test.inc (struct test_cc_c_data): New type.
28910 (RUN_TEST_LOOP_cc_c): New macro.
28911 (cpow_test_data): New variable.
28912 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28914 * math/libm-test.inc (struct test_f_L_data): New type.
28915 (RUN_TEST_LOOP_f_L): New macro.
28916 (llrint_test_data): New variable.
28917 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28918 (llrint_tonearest_test_data): New variable.
28919 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28920 (llrint_towardzero_test_data): New variable.
28921 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28922 (llrint_downward_test_data): New variable.
28923 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28924 (llrint_upward_test_data): New variable.
28925 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28926 (llround_test_data): New variable.
28927 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28929 2013-05-13 Peter Collingbourne <pcc@google.com>
28931 * math/atest-exp2.c (get_log2): Remove const attribute.
28933 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28935 * math/libm-test.inc (struct test_f_l_data): New type.
28936 (RUN_TEST_LOOP_f_l): New macro.
28937 (lrint_test_data): New variable.
28938 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28939 (lrint_tonearest_test_data): New variable.
28940 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28941 (lrint_towardzero_test_data): New variable.
28942 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28943 (lrint_downward_test_data): New variable.
28944 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28945 (lrint_upward_test_data): New variable.
28946 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28947 (lround_test_data): New variable.
28948 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28950 2013-05-15 Peter Collingbourne <pcc@google.com>
28952 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28953 (EXTRACT_WORDS64) Use where appropriate.
28954 (INSERT_WORDS64) Likewise.
28956 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28957 constraints with x constraints.
28958 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28960 * malloc/obstack.c (_obstack_compat): Add initializer.
28962 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28964 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28965 si_trapno and add si_addr_lsb to _sifields.sigfault.
28966 (si_trapno): Remove macro.
28967 (si_addr_lsb): Define new macro.
28968 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28970 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28972 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28973 instead of TEST_f_l.
28974 (llrint_test_tonearest): Likewise.
28975 (llrint_test_towardzero): Likewise.
28976 (llrint_test_downward): Likewise.
28977 (llrint_test_upward): Likewise.
28978 (llround_test): Likewise.
28980 * math/libm-test.inc (struct test_f_i_data): Add comment.
28981 (RUN_TEST_LOOP_f_b): New macro.
28982 (RUN_TEST_LOOP_f_b_tg): Likewise.
28983 (finite_test_data): New variable.
28984 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28985 (isfinite_test_data): New variable.
28986 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28987 (isinf_test_data): New variable.
28988 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28989 (isnan_test_data): New variable.
28990 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28991 (isnormal_test_data): New variable.
28992 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28993 (issignaling_test_data): New variable.
28994 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28995 (signbit_test_data): New variable.
28996 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28998 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28999 with INVALID_EXCEPTION.
29000 (acosh_test_data): Likewise.
29001 (asin_test_data): Likewise.
29002 (atanh_test_data): Likewise.
29003 (fmod_test_data): Likewise.
29004 (log_test_data): Likewise.
29005 (log10_test_data): Likewise.
29006 (log2_test_data): Likewise.
29007 (pow_test_data): Likewise.
29008 (sqrt_test_data): Likewise.
29009 (y0_test_data): Likewise.
29010 (y1_test_data): Likewise.
29011 (yn_test_data): Likewise.
29013 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29016 * math/libm-test.inc (struct test_ff_i_data): New type.
29017 (RUN_TEST_LOOP_ff_i_tg): New macro.
29018 (isgreater_test_data): New variable.
29019 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29020 (isgreaterequal_test_data): New variable.
29021 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29022 (isless_test_data): New variable.
29023 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29024 (islessequal_test_data): New variable.
29025 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29026 (islessgreater_test_data): New variable.
29027 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29028 (isunordered_test_data): New variable.
29029 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29031 2013-05-14 David S. Miller <davem@davemloft.net>
29033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29035 2013-05-14 Joseph Myers <joseph@codesourcery.com>
29037 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29039 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29041 (struct test_f_i_data): Change type of max_ulp to int.
29043 * math/libm-test.inc (test_ffI_f1_data): New type.
29044 (RUN_TEST_LOOP_ffI_f1): New macro.
29045 (remquo_test_data): New variable.
29046 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29048 * setjmp/tst-setjmp-fp.c: New file.
29049 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29050 (link-libm): New variable.
29051 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29053 * math/libm-test.inc (struct test_f_i_data): New type.
29054 (RUN_TEST_LOOP_f_i): New macro.
29055 (RUN_TEST_LOOP_f_i_tg): Likewise.
29056 (fpclassify_test_data): New variable.
29057 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29058 (ilogb_test_data): New variable.
29059 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29061 * math/libm-test.inc (scalbln_test): Correct function name in END
29064 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29065 (RUN_TEST_LOOP_fI_f1): New macro.
29066 (frexp_test_data): New variable.
29067 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29069 * math/libm-test.inc (struct test_fF_f1_data): New type.
29070 (RUN_TEST_LOOP_fF_f1): New macro.
29071 (modf_test_data): New variable.
29072 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29074 * math/libm-test.inc (struct test_f_f1_data): New type.
29075 (RUN_TEST_LOOP_f_f1): New macro.
29076 (gamma_test_data): New variable.
29077 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29078 (lgamma_test_data): New variable.
29079 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29081 2013-05-13 Carlos O'Donell <carlos@redhat.com>
29083 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29084 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29085 (main): Comment "tls" pseudo-hwcap.
29087 2013-05-13 Joseph Myers <joseph@codesourcery.com>
29089 * math/libm-test.inc (struct test_fl_f_data): New type.
29090 (RUN_TEST_LOOP_fl_f): New variable.
29091 (scalbln_test_data): New variable.
29092 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29094 * math/libm-test.inc (struct test_fi_f_data): New type.
29095 (RUN_TEST_LOOP_fi_f): New macro.
29096 (ldexp_test_data): New variable.
29097 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29098 (scalbn_test_data): New variable.
29099 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29101 * math/libm-test.inc (struct test_c_f_data): New type.
29102 (RUN_TEST_LOOP_c_f): New macro.
29103 (cabs_test_data): New variable.
29104 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29105 (carg_test_data): New variable.
29106 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29107 (cimag_test_data): New variable.
29108 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29109 (creal_test_data): New variable.
29110 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29112 * math/libm-test.inc (struct test_if_f_data): New type.
29113 (RUN_TEST_LOOP_if_f): New macro.
29114 (jn_test_data): New variable.
29115 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29116 (yn_test_data): New variable.
29117 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29119 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29121 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29123 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29124 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29126 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29128 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29129 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29130 (bench-deps): Add bench-timing.h.
29131 * benchtests-bench-skeleton.c: Include bench-timing.h.
29132 (main): Use TIMING_* macros instead of clock_gettime.
29133 * benchtests/bench-timing.h: New file.
29136 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29137 Renamed from _LIB_VERSION.
29138 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29140 2013-05-12 Joseph Myers <joseph@codesourcery.com>
29142 * math/libm-test.inc (struct test_fff_f_data): New type.
29143 (RUN_TEST_LOOP_fff_f): New macro.
29144 (fma_test_data): New variable.
29145 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29146 (fma_towardzero_test_data): New variable.
29147 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29148 (fma_downward_test_data): New variable.
29149 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29150 (fma_upward_test_data): New variable.
29151 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29153 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29154 (struct test_c_c_data): New type.
29155 (RUN_TEST_LOOP_c_c): New macro.
29156 (cacos_test_data): New variable.
29157 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29158 (cacosh_test_data): New variable.
29159 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29160 (casin_test_data): New variable.
29161 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29162 (casinh_test_data): New variable.
29163 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29164 (catan_test_data): New variable.
29165 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29166 (catanh_test_data): New variable.
29167 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29168 (ccos_test_data): New variable.
29169 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29170 (ccosh_test_data): New variable.
29171 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29172 (cexp_test_data): New variable.
29173 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29174 (clog_test_data): New variable.
29175 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29176 (clog10_test_data): New variable.
29177 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29178 (conj_test_data): New variable.
29179 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29180 (cproj_test_data): New variable.
29181 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29182 (csin_test_data): New variable.
29183 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29184 (csinh_test_data): New variable.
29185 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29186 (csqrt_test_data): New variable.
29187 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29188 (ctan_test_data): New variable.
29189 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29190 (ctan_tonearest_test_data): New variable.
29191 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29192 (ctan_towardzero_test_data): New variable.
29193 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29194 (ctan_downward_test_data): New variable.
29195 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29196 (ctan_upward_test_data): New variable.
29197 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29198 (ctanh_test_data): New variable.
29199 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29200 (ctanh_tonearest_test_data): New variable.
29201 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29202 (ctanh_towardzero_test_data): New variable.
29203 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29204 (ctanh_downward_test_data): New variable.
29205 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29206 (ctanh_upward_test_data): New variable.
29207 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29208 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29211 * math/libm-test.inc (struct test_ff_f_data): New type.
29212 (struct test_ff_f_data_nexttoward): Likewise.
29213 (RUN_TEST_LOOP_2_f): New macro.
29214 (RUN_TEST_LOOP_ff_f): Likewise.
29215 (atan2_test_data): New variable.
29216 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29217 (copysign_test_data): New variable.
29218 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29219 (fdim_test_data): New variable.
29220 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29221 (fmax_test_data): New variable.
29222 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29223 (fmin_test_data): New variable.
29224 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29225 (fmod_test_data): New variable.
29226 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29227 (hypot_test_data): New variable.
29228 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29229 (nextafter_test_data): New variable.
29230 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29231 (nexttoward_test_data): New variable.
29232 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29233 (pow_test_data): New variable.
29234 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29235 (pow_tonearest_test_data): New variable.
29236 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29237 (pow_towardzero_test_data): New variable.
29238 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29239 (pow_downward_test_data): New variable.
29240 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29241 (pow_upward_test_data): New variable.
29242 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29243 (remainder_test_data): New variable.
29244 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29245 (scalb_test_data): New variable.
29246 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29247 * sysdeps/i386/fpu/libm-test-ulps: Update.
29249 2013-05-11 Joseph Myers <joseph@codesourcery.com>
29251 * math/libm-test.inc (fma_test): Use max_value instead of local
29253 (nextafter_test): Likewise.
29255 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29256 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29257 (acos_downward_test_data): New variable.
29258 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29259 (acos_upward_test_data): New variable.
29260 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29261 (acosh_test_data): New variable.
29262 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29263 (asin_test_data): New variable.
29264 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29265 (asin_tonearest_test_data): New variable.
29266 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29267 (asin_towardzero_test_data): New variable.
29268 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29269 (asin_downward_test_data): New variable.
29270 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29271 (asin_upward_test_data): New variable.
29272 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29273 (asinh_test_data): New variable.
29274 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29275 (atan_test_data): New variable.
29276 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29277 (atanh_test_data): New variable.
29278 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29279 (cbrt_test_data): New variable.
29280 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29281 (ceil_test_data): New variable.
29282 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29283 (cos_test_data): New variable.
29284 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29285 (cos_tonearest_test_data): New variable.
29286 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29287 (cos_towardzero_test_data): New variable.
29288 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29289 (cos_downward_test_data): New variable.
29290 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29291 (cos_upward_test_data): New variable.
29292 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29293 (cosh_test_data): New variable.
29294 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29295 (cosh_tonearest_test_data): New variable.
29296 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29297 (cosh_towardzero_test_data): New variable.
29298 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29299 (cosh_downward_test_data): New variable.
29300 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29301 (cosh_upward_test_data): New variable.
29302 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29303 (erf_test_data): New variable.
29304 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29305 (erfc_test_data): New variable.
29306 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29307 (exp_test_data): New variable.
29308 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29309 (exp_tonearest_test_data): New variable.
29310 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29311 (exp_towardzero_test_data): New variable.
29312 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29313 (exp_downward_test_data): New variable.
29314 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29315 (exp_upward_test_data): New variable.
29316 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29317 (exp10_test_data): New variable.
29318 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29319 (exp2_test_data): New variable.
29320 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29321 (expm1_test_data): New variable.
29322 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29323 (fabs_test_data): New variable.
29324 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29325 (floor_test_data): New variable.
29326 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29327 (j0_test_data): New variable.
29328 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29329 (j1_test_data): New variable.
29330 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29331 (log_test_data): New variable.
29332 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29333 (log10_test_data): New variable.
29334 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29335 (log1p_test_data): New variable.
29336 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29337 (log2_test_data): New variable.
29338 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29339 (logb_test_data): New variable.
29340 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29341 (logb_downward_test_data): New variable.
29342 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29343 (nearbyint_test_data): New variable.
29344 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29345 (rint_test_data): New variable.
29346 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29347 (rint_tonearest_test_data): New variable.
29348 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29349 (rint_towardzero_test_data): New variable.
29350 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29351 (rint_downward_test_data): New variable.
29352 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29353 (rint_upward_test_data): New variable.
29354 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29355 (round_test_data): New variable.
29356 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29357 (sin_test_data): New variable.
29358 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29359 (sin_tonearest_test_data): New variable.
29360 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29361 (sin_towardzero_test_data): New variable.
29362 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29363 (sin_downward_test_data): New variable.
29364 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29365 (sin_upward_test_data): New variable.
29366 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29367 (sinh_test_data): New variable.
29368 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29369 (sinh_tonearest_test_data): New variable.
29370 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29371 (sinh_towardzero_test_data): New variable.
29372 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29373 (sinh_downward_test_data): New variable.
29374 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29375 (sinh_upward_test_data): New variable.
29376 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29377 (sqrt_test_data): New variable.
29378 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29379 (tan_test_data): New variable.
29380 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29381 (tan_tonearest_test_data): New variable.
29382 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29383 (tan_towardzero_test_data): New variable.
29384 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29385 (tan_downward_test_data): New variable.
29386 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29387 (tan_upward_test_data): New variable.
29388 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29389 (tanh_test_data): New variable.
29390 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29391 (tgamma_test_data): New variable.
29392 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29393 (trunc_test_data): New variable.
29394 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29395 (y0_test_data): New variable.
29396 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29397 (y1_test_data): New variable.
29398 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29399 (significand_test_data): New variable.
29400 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29402 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29405 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29407 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29409 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29411 2013-05-10 Andreas Jaeger <aj@suse.de>
29414 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29415 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29417 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29419 * math/gen-libm-test.pl (adjust_arg): New function.
29420 (special_functions): Handle generating output in both functions
29422 (parse_args): Likewise.
29423 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29424 $in_func argument to parse_args.
29425 * math/libm-test.inc (struct test_f_f_data): New type.
29426 (IF_ROUND_INIT_): New macro.
29427 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29428 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29429 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29430 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29431 (ROUND_RESTORE_): Likewise.
29432 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29433 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29434 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29435 (ROUND_RESTORE_FE_UPWARD): Likewise.
29436 (RUN_TEST_LOOP_f_f): New macro.
29437 (acos_test_data): New variable.
29438 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29439 (acos_tonearest_test_data): New variable.
29440 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29442 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29444 * benchtests/bench-skeleton.c (startup): Fix coding style.
29446 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29449 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29450 negative infinity argument.
29451 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29452 negative infinity argument.
29453 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29454 negative infinity argument.
29455 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29458 2013-05-10 Florian Weimer <fweimer@redhat.com>
29460 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29461 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29462 * iconv/iconv_prog.c (main): Likewise.
29463 * locale/programs/charmap-dir.c (charmap_readdir)
29464 (fopen_uncompressed): Likewise.
29465 * locale/programs/locfile.c (siblings_uncached)
29466 (write_locale_data): Use lstat64 instead of lstat.
29467 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29470 2013-05-10 Andreas Jaeger <aj@suse.de>
29473 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29475 Include <locale.h>.
29477 2013-05-09 Carlos O'Donell <carlos@redhat.com>
29479 * elf/dl-close.c (_dl_close_worker): Add comments.
29481 2013-05-09 Joseph Myers <joseph@codesourcery.com>
29484 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29486 (__ieee754_rem_pio2l): Update comments.
29489 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29491 (__ieee754_rem_pio2l): Update comments.
29493 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29494 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29496 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29499 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29500 (M_PI_34_LOG10El): Likewise.
29501 (M_PI2_LOG10El): Likewise.
29502 (M_PI4_LOG10El): Likewise.
29503 (M_PI_LOG10El): Likewise.
29505 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29509 2013-05-08 Joseph Myers <joseph@codesourcery.com>
29511 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29512 (MINUS_ZERO_INIT): Likewise.
29513 (PLUS_INFTY_INIT): Likewise.
29514 (MINUS_INFTY_INIT): Likewise.
29515 (QNAN_VALUE_INIT): Likewise.
29516 (MAX_VALUE_INIT): Likewise.
29517 (MIN_VALUE_INIT): Likewise.
29518 (MIN_SUBNORM_VALUE_INIT): Likewise.
29519 (plus_zero): Initialize with PLUS_ZERO_INIT.
29520 (minus_zero): Initialize with MINUS_ZERO_INIT.
29521 (plus_infty): Initialize with PLUS_INFTY_INIT.
29522 (minus_infty): Initialize with MINUS_INFTY_INIT.
29523 (qnan_value): Initialize with QNAN_VALUE_INIT.
29524 (max_value): Initialize with MAX_VALUE_INIT.
29525 (min_value): Initialize with MIN_VALUE_INIT.
29526 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29528 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29529 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29530 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29531 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29533 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29534 (RUN_TEST_2_f): Likewise.
29535 (RUN_TEST_ff_f): Likewise.
29536 (RUN_TEST_fi_f): Likewise.
29537 (RUN_TEST_fl_f): Likewise.
29538 (RUN_TEST_fff_f): Likewise.
29539 (RUN_TEST_c_f): Likewise.
29540 (RUN_TEST_f_f1): Likewise.
29541 (RUN_TEST_fF_f1): Likewise.
29542 (RUN_TEST_fI_f1): Likewise.
29543 (RUN_TEST_ffI_f1): Likewise.
29544 (RUN_TEST_c_c): Likewise.
29545 (RUN_TEST_cc_c): Likewise.
29546 (RUN_TEST_f_i): Likewise.
29547 (RUN_TEST_f_i_tg): Likewise.
29548 (RUN_TEST_ff_i_tg): Likewise.
29549 (RUN_TEST_f_b): Likewise.
29550 (RUN_TEST_f_b_tg): Likewise.
29551 (RUN_TEST_f_l): Likewise.
29552 (RUN_TEST_f_L): Likewise.
29553 (RUN_TEST_sincos): Likewise.
29554 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29555 whether to show exceptions. Do not include ");\n" in return
29557 (special_functions): Output call to RUN_TEST_sincos instead of
29558 check_float calls. Update calls to new_test.
29559 (parse_args): Output call to single RUN_TEST_* macro instead of
29560 check_* calls and other assignments. Update calls to new_test.
29566 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29567 input to result for tgamma overflow.
29568 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29569 (gamma_coeff): New variable.
29570 (NCOEFF): New macro.
29571 (gamma_positive): New function.
29572 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29573 underflow here. Use gamma_positive instead of exp (lgamma) for
29575 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29576 (gamma_coeff): New variable.
29577 (NCOEFF): New macro.
29578 (gammaf_positive): New function.
29579 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29580 underflow here. Use gamma_positive instead of exp (lgamma) for
29582 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29583 (gamma_coeff): New variable.
29584 (NCOEFF): New macro.
29585 (gammal_positive): New function.
29586 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29587 underflow here. Use gamma_positive instead of exp (lgamma) for
29589 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29590 (gamma_coeff): New variable.
29591 (NCOEFF): New macro.
29592 (gammal_positive): New function.
29593 (__ieee754_gammal_r): Handle positive infinity, overflow and
29594 underflow here. Handle NaN the same as positive infinity. Remove
29595 check x < 0xffffffff for negative integers. Use gamma_positive
29596 instead of exp (lgamma) for other arguments.
29597 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29598 (gamma_coeff): New variable.
29599 (NCOEFF): New macro.
29600 (gammal_positive): New function.
29601 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29602 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29603 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29604 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29605 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29606 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29607 * sysdeps/generic/math_private.h (__gamma_productf): New
29609 (__gamma_product): Likewise.
29610 (__gamma_productl): Likewise.
29611 * math/Makefile (libm-calls): Add gamma_product.
29612 * math/libm-test.inc (tgamma_test): Add more tests.
29613 * sysdeps/i386/fpu/libm-test-ulps: Update.
29614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29616 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
29618 * benchtests/bench-skeleton.c (main): Preheat CPU.
29620 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29622 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29624 2013-05-07 Roland McGrath <roland@hack.frob.com>
29626 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29627 and _dl_skip_args_internal.
29629 2013-05-07 Carlos O'Donell <carlos@redhat.com>
29631 * manual/message.texi (Message Translation): Talk about users.
29632 Message to key mapping impacts design.
29634 2013-05-06 Roland McGrath <roland@hack.frob.com>
29636 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29638 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29640 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29641 * sysdeps/wordsize-64/glob64.c: ... here.
29643 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29644 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29647 * debug/getlogin_r_chk.c: Moved to ...
29648 * login/getlogin_r_chk.c: ... here.
29649 * debug/Makefile (routines): Move getlogin_r_chk to ...
29650 * login/Makefile (routines): ... here.
29651 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29652 * login/Versions (libc: GLIBC_2.4): ... here.
29654 * io/poll.c (__poll): Renamed from poll.
29655 Add libc_hidden_def.
29656 (poll): Define as weak alias.
29658 * debug/ptsname_r_chk.c: Moved to ...
29659 * login/ptsname_r_chk.c: ... here.
29660 * debug/Makefile (routines): Move ptsname_r_chk to ...
29661 * login/Makefile (routines): ... here.
29662 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29663 * login/Versions (libc: GLIBC_2.4): ... here.
29665 * posix/getlogin.c: Moved to ...
29666 * login/getlogin.c: ... here.
29667 * posix/getlogin_r.c: Moved to ...
29668 * login/getlogin_r.c: ... here.
29669 * posix/getlogin_r.c: Moved to ...
29670 * login/getlogin_r.c: ... here.
29671 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29672 * login/Makefile (routines): ... here.
29673 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29674 * login/Versions (libc: GLIBC_2.0): ... here.
29676 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29677 (setrlimit): Define as weak alias.
29679 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29680 Call __ names for open, ftruncate, and close.
29681 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29682 (truncate): Define as weak alias.
29684 2013-05-06 Joseph Myers <joseph@codesourcery.com>
29686 * math/gen-libm-test.pl (parse_args): Initialize x before each
29687 test of frexp, modf and remquo.
29689 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29690 test signgam value.
29692 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29696 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29698 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29700 2013-05-06 Roland McGrath <roland@hack.frob.com>
29702 * elf/dl-writev.h: New file.
29703 * elf/dl-misc.c: Include it.
29704 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29705 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29707 2013-05-04 Joseph Myers <joseph@codesourcery.com>
29709 * math/libm-test.inc (noXFails): Remove variable.
29710 (noXPasses): Likewise.
29711 (BUILD_COMPLEX_INT): Remove macro.
29712 (print_screen): Remove xfail argument.
29713 (print_screen_max_error): Likewise.
29714 (update_stats): Likewise.
29715 (print_max_error): Likewise. Update calls to other affected
29717 (print_complex_max_error): Likewise.
29718 (test_single_exception): Update calls to print_screen.
29719 (test_single_errno): Likewise.
29720 (check_float_internal): Remove xfail argument. Update calls to
29721 other affected functions.
29722 (check_float): Likewise.
29723 (check_complex): Likewise.
29724 (check_int): Likewise.
29725 (check_long): Likewise.
29726 (check_bool): Likewise.
29727 (check_longlong): Likewise.
29728 (main): Don't print noXFails and noXPasses.
29729 * math/gen-libm-test.pl (top level): Don't mention expected
29730 failure handling in comment.
29731 (new_test): Don't handle expected failures.
29732 (parse_args): Don't mention expected failure handling in comment.
29733 (generate_testfile): Don't handle expected failures.
29734 (parse_ulps): Likewise.
29735 (print_ulps_file): Likewise.
29736 (get_failure): Remove function.
29737 (output_test): Don't handle expected failures.
29738 * make/README.libm-test: Don't mention expected failure handling.
29740 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29741 (minus_zero): Likewise.
29742 (plus_infty): Likewise.
29743 (minus_infty): Likewise.
29744 (qnan_value): Likewise.
29745 (max_value): Likewise.
29746 (min_value): Likewise.
29747 (min_subnorm_value): Likewise.
29748 (initialize): Do not initialize those variables dynamically.
29750 2013-05-03 Roland McGrath <roland@hack.frob.com>
29752 * io/open.c (__open_2): Moved to ...
29753 * io/open_2.c: ... this new file.
29754 * io/open64.c (__open64_2): Moved to ...
29755 * io/open64_2.c: ... this new file.
29756 * io/openat.c (__openat_2): Moved to ...
29757 * io/openat_2.c: ... this new file.
29758 * io/openat64.c (__openat64_2): Moved to ...
29759 * io/openat64_2.c: ... this new file.
29760 * io/Makefile (routines): Add them.
29761 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29762 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29763 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29764 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29765 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29766 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29767 (__openat64): Add hidden_ver.
29768 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29769 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29771 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29772 Separately conditionalize setting of GLRO(dl_sysinfo) so
29773 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29774 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29776 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29778 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29779 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29781 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29782 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29783 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29784 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29785 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29787 2013-05-03 Joseph Myers <joseph@codesourcery.com>
29789 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29790 test signgam value.
29792 * math/libm-test.inc (hypot_test): Do not use
29793 IGNORE_ZERO_INF_SIGN.
29795 2013-05-03 Andreas Jaeger <aj@suse.de>
29797 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29799 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29800 (PF_MAX): Adjust for VSOCK change.
29802 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29806 2013-05-02 Carlos O'Donell <carlos@redhat.com>
29809 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29810 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29811 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29813 2013-05-02 David S. Miller <davem@davemloft.net>
29815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29817 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
29819 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29821 2013-05-01 Roland McGrath <roland@hack.frob.com>
29823 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29825 2013-05-01 Richard Smith <richard@metafoo.co.uk>
29828 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29829 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29830 Use __attribute__ ((__gnu_inline__)).
29831 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29832 Don't use __attribute__ ((__gnu_inline__)).
29834 2013-05-01 Joseph Myers <joseph@codesourcery.com>
29837 * math/s_catan.c (__catan): Handle small real or imaginary part of
29838 input specially to avoid spurious underflow.
29839 * math/s_catanf.c (__catanf): Likewise.
29840 * math/s_catanh.c (__catanh): Likewise.
29841 * math/s_catanhf.c (__catanhf): Likewise.
29842 * math/s_catanhl.c (__catanhl): Likewise.
29843 * math/s_catanl.c (__catanl): Likewise.
29844 * math/libm-test.inc (catan_test): Add more tests.
29845 (catanh_test): Likewise.
29846 * sysdeps/i386/fpu/libm-test-ulps: Update.
29847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29849 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29853 2013-04-30 Joseph Myers <joseph@codesourcery.com>
29856 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29857 accurately for denominator in atan2.
29858 * math/s_catanf.c (__catanf): Likewise.
29859 * math/s_catanh.c (__catanh): Likewise.
29860 * math/s_catanhf.c (__catanhf): Likewise.
29861 * math/s_catanhl.c (__catanhl): Likewise.
29862 * math/s_catanl.c (__catanl): Likewise.
29863 * math/libm-test.inc (catan_test): Add more tests.
29864 (catanh_test): Likewise.
29865 * sysdeps/i386/fpu/libm-test-ulps: Update.
29866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29868 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29870 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29872 * benchtests/Makefile (bench): Remove slow benchmarks.
29873 * benchtests/atan-inputs: Add slow benchmark inputs.
29874 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29875 (BENCH_FUNC): Accept variant offset.
29877 * benchtests/bench-skeleton.c (main): Run benchmark for each
29879 * benchtests/cos-inputs: Add slow benchmark inputs.
29880 * benchtests/exp-inputs: Likewise.
29881 * benchtests/pow-inputs: Likewise.
29882 * benchtests/sin-inputs: Likewise.
29883 * benchtests/slowatan-inputs: Remove.
29884 * benchtests/slowatan.c: Remove.
29885 * benchtests/slowcos-inputs: Remove.
29886 * benchtests/slowcos.c: Remove.
29887 * benchtests/slowexp-inputs: Remove.
29888 * benchtests/slowexp.c: Remove.
29889 * benchtests/slowpow-inputs: Remove.
29890 * benchtests/slowpow.c: Remove.
29891 * benchtests/slowsin-inputs: Remove.
29892 * benchtests/slowsin.c: Remove.
29893 * benchtests/slowtan-inputs: Remove.
29894 * benchtests/slowtan.c: Remove.
29895 * benchtests/tan-inputs: Add slow benchmark inputs.
29896 * scripts/bench.pl: Parse comments and directives.
29898 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29900 ($(objpfx)bench-%.c): Remove *-ITER.
29901 * benchtests/bench-modf.c: Remove definition of ITER.
29902 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29903 (main): Loop for DURATION seconds instead of fixed number of
29905 * scripts/bench.pl: Don't expect iterations in parameters.
29907 2013-04-29 Roland McGrath <roland@hack.frob.com>
29909 * io/fchdir.c (__fchdir): Renamed from fchdir.
29910 (fchdir): Define as weak alias.
29912 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29914 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29915 (ERRNO_EDOM): Likewise.
29916 (ERRNO_ERANGE): Likewise.
29917 (noErrnoTests): New variable.
29918 (init_max_error): Set errno to 0.
29919 (test_single_errno): New function.
29920 (test_errno): Likewise.
29921 (check_float_internal): Call test_errno. Set errno to 0.
29922 (check_complex): Refer to errno tests in comment.
29923 (check_int): Call test_errno. Set errno to 0.
29924 (check_long): Likewise.
29925 (check_bool): Likewise.
29926 (check_longlong): Likewise.
29927 (cos_test): Use ERRNO_* flags for errno tests instead of
29929 (expm1_test): Likewise.
29930 (fmod_test): Likewise.
29931 (ilogb_test): Likewise.
29932 (lgamma_test): Likewise.
29933 (pow_test): Likewise.
29934 (remainder_test): Likewise.
29935 (sin_test): Likewise.
29936 (tan_test): Likewise.
29937 (yn_test): Likewise.
29938 (initialize): Set errno to 0.
29939 (main): Print number of errno tests.
29940 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29942 2013-04-29 Andreas Jaeger <aj@suse.de>
29945 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29949 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29950 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29954 * stdlib/random.c (__initstate): Return NULL if
29958 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29959 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29962 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29966 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29968 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29969 of individual tests.
29970 (casin_test): Likewise.
29971 (casinh_test): Likewise.
29973 2013-04-27 Joseph Myers <joseph@codesourcery.com>
29976 * math/s_catan.c (__catan): Handle arguments with large real or
29977 imaginary part separately without squaring.
29978 * math/s_catanf.c (__catanf): Likewise.
29979 * math/s_catanh.c (__catanh): Likewise.
29980 * math/s_catanhf.c (__catanhf): Likewise.
29981 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29983 (__catanhl): Handle arguments with large real or imaginary part
29984 separately without squaring.
29985 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29987 (__catanl): Handle arguments with large real or imaginary part
29988 separately without squaring.
29989 * math/libm-test.inc (catan_test): Add more tests.
29990 (catanh_test): Likewise.
29991 * sysdeps/i386/fpu/libm-test-ulps: Update.
29992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29994 2013-04-27 Andreas Jaeger <aj@suse.de>
29997 * stdlib/stdlib.h: Update guards for qecvt.
29998 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30001 2013-04-27 Allan McRae <allan@archlinux.org>
30003 * sysdeps/i386/fpu/libm-test-ulps: Update.
30005 2013-04-26 Joseph Myers <joseph@codesourcery.com>
30008 * math/s_catan.c: Include <float.h>.
30009 (__catan): Ensure underflow exception occurs for underflowed
30011 * math/s_catanf.c: Include <float.h>.
30012 (__catanf): Ensure underflow exception occurs for underflowed
30014 * math/s_catanh.c: Include <float.h>.
30015 (__catanh): Ensure underflow exception occurs for underflowed
30017 * math/s_catanhf.c: Include <float.h>.
30018 (__catanhf): Ensure underflow exception occurs for underflowed
30020 * math/s_catanhl.c: Include <float.h>.
30021 (__catanhl): Ensure underflow exception occurs for underflowed
30023 * math/s_catanl.c: Include <float.h>.
30024 (__catanl): Ensure underflow exception occurs for underflowed
30026 * math/libm-test.inc (catan_test): Add more tests.
30027 (catanh_test): Likewise.
30030 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30031 underflowed result.
30032 * math/s_ccoshf.c (__ccoshf): Likewise.
30033 * math/s_ccoshl.c (__ccoshl): Likewise.
30034 * math/s_csin.c (__csin): Likewise.
30035 * math/s_csinf.c (__csinf): Likewise.
30036 * math/s_csinh.c (__csinh): Likewise.
30037 * math/s_csinhf.c (__csinhf): Likewise.
30038 * math/s_csinhl.c (__csinhl): Likewise.
30039 * math/s_csinl.c (__csinl): Likewise.
30040 * math/libm-test.inc (ccos_test): Add more tests.
30041 (ccosh_test): Likewise.
30042 (csin_test): Likewise.
30043 (csinh_test): Likewise.
30045 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30047 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30048 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30049 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30050 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30051 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30052 powerpc/power5+/fpu folders.
30053 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30056 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30060 2013-04-25 Joseph Myers <joseph@codesourcery.com>
30062 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30063 additions to variable.
30064 [$(config-machine) = x86_64] (modules-names): Likewise.
30065 ($(objpfx)tst-audit3): Remove dependency.
30066 ($(objpfx)tst-audit3.out): Likewise.
30067 ($(objpfx)tst-audit4): Likewise.
30068 ($(objpfx)tst-audit4.out): Likewise.
30069 ($(objpfx)tst-audit5): Likewise.
30070 ($(objpfx)tst-audit5.out): Likewise.
30071 ($(objpfx)tst-audit6): Likewise.
30072 ($(objpfx)tst-audit6.out): Likewise.
30073 ($(objpfx)tst-audit7): Likewise.
30074 ($(objpfx)tst-audit7.out): Likewise.
30075 (tst-audit3-ENV): Remove variable.
30076 (tst-audit4-ENV): Likewise.
30077 (tst-audit5-ENV): Likewise.
30078 (tst-audit6-ENV): Likewise.
30079 (tst-audit7-ENV): Likewise.
30080 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30081 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30082 addition to variable.
30083 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30084 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30085 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30086 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30087 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30088 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30089 tst-audit3, tst-audit4 and tst-audit5.
30090 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30091 tst-audit6 and tst-audit7.
30092 [$(subdir) = elf] (modules-names): Add audit modules for those
30094 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30095 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30096 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30097 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30098 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30099 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30100 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30101 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30102 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30103 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30104 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30105 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30106 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30107 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30108 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30109 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30111 [$(subdir) = elf && $(config-cflags-avx) = yes]
30112 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30113 [$(subdir) = elf && $(config-cflags-avx) = yes]
30114 (CFLAGS-tst-auditmod4a.c): Likewise.
30115 [$(subdir) = elf && $(config-cflags-avx) = yes]
30116 (CFLAGS-tst-auditmod4b.c): Likewise.
30117 [$(subdir) = elf && $(config-cflags-avx) = yes]
30118 (CFLAGS-tst-auditmod6b.c): Likewise.
30119 [$(subdir) = elf && $(config-cflags-avx) = yes]
30120 (CFLAGS-tst-auditmod6c.c): Likewise.
30121 [$(subdir) = elf && $(config-cflags-avx) = yes]
30122 (CFLAGS-tst-auditmod7b.c): Likewise.
30123 * elf/tst-audit3.c: Move to ...
30124 * sysdeps/x86_64/tst-audit3.c: ... here.
30125 * elf/tst-audit4.c: Move to ...
30126 * sysdeps/x86_64/tst-audit4.c: ... here.
30127 * elf/tst-audit5.c: Move to ...
30128 * sysdeps/x86_64/tst-audit5.c: ... here.
30129 * elf/tst-audit6.c: Move to ...
30130 * sysdeps/x86_64/tst-audit6.c: ... here.
30131 * elf/tst-audit7.c: Move to ...
30132 * sysdeps/x86_64/tst-audit7.c: ... here.
30133 * elf/tst-auditmod3a.c: Move to ...
30134 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30135 * elf/tst-auditmod3b.c: Move to ...
30136 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30137 * elf/tst-auditmod4a.c: Move to ...
30138 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30139 * elf/tst-auditmod4b.c: Move to ...
30140 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30141 * elf/tst-auditmod5a.c: Move to ...
30142 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30143 * elf/tst-auditmod5b.c: Move to ...
30144 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30145 * elf/tst-auditmod6a.c: Move to ...
30146 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30147 * elf/tst-auditmod6b.c: Move to ...
30148 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30149 * elf/tst-auditmod6c.c: Move to ...
30150 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30151 * elf/tst-auditmod7a.c: Move to ...
30152 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30153 * elf/tst-auditmod7b.c: Move to ...
30154 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30156 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30159 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30160 define unconditionally.
30161 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30162 define unconditionally.
30163 (INT8_C, INT16_C, etc.): Likewise.
30165 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30167 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30168 __ehdr_start with hidden visibility.
30170 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30172 2013-04-24 Carlos O'Donell <carlos@redhat.com>
30174 * math/libm-test.inc (cos_test): Use accurate hex constants.
30175 (sincost_test): Likewise.
30177 2013-04-24 Joseph Myers <joseph@codesourcery.com>
30179 * math/libm-test.inc (catan_test): Add more tests.
30180 (catanh_test): Likewise.
30182 * math/s_catanf.c (__catanf): Use suffixed floating-point
30184 * math/s_catanhf.c (__catanhf): Likewise.
30185 * math/s_catanhl.c (__catanhl): Likewise.
30186 * math/s_catanl.c (__catanl): Likewise.
30189 * math/s_catan.c (__catan): Calculate imaginary part of result
30190 with log1p not log unless computing log of number close to 0.
30191 * math/s_catanf.c (__catanf): Likewise.
30192 * math/s_catanl.c (__catanl): Likewise.
30193 * math/s_catanh.c (__catanh): Calculate real part of result with
30194 log1p not log unless computing log of number close to 0.
30195 * math/s_catanhf.c (__catanhf): Likewise.
30196 * math/s_catanhl.c (__catanhl): Likewise.
30197 * math/libm-test.inc (catan_test): Add more tests.
30198 (catanh_test): Likewise.
30199 * sysdeps/i386/fpu/libm-test-ulps: Update.
30200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30202 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30204 * benchtests/Makefile: Mention files in which fast and slow
30205 paths of math functions are implemented.
30207 2013-04-23 Roland McGrath <roland@hack.frob.com>
30209 * sysdeps/posix/timespec_get.c: New file.
30211 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30213 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30215 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30217 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30218 powerpc/power5/fpu folders.
30219 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30220 * benchtests/Makefile: Add modf testcase.
30221 * benchtests/bench-modf.c: New file: Benchmark test for mo
30223 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30226 * time/Makefile (tests): Add tst-strptime-whitespace.
30227 * time/strptime_l.c (get_number): Use ISSPACE.
30228 (__strptime_internal): Likewise.
30229 * time/tst-strptime-whitespace.c: New test case.
30231 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30233 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30235 (_nss_files_init): Set it here.
30237 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30239 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30240 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30243 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30245 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30247 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30249 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30252 2013-04-21 David S. Miller <davem@davemloft.net>
30254 * po/ru.po: Update Russion translation from translation project.
30256 2013-04-17 Adam Conrad <adconrad@0c3.net>
30258 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30261 2013-04-17 Carlos O'Donell <carlos@redhat.com>
30263 * configure.in: Remove i386 configure warning. Remove i386 case.
30264 * configure: Regenerate.
30265 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
30266 Add example to error message.
30267 * sysdeps/i386/configure: Regenerate.
30269 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30271 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30273 * benchtests/cos-inputs: New file.
30274 * benchtests/slowcos-inputs: New file.
30275 * benchtests/slowcos.c: New file.
30276 * benchtests/slowtan-inputs: New file.
30277 * benchtests/slowtan.c: New file.
30278 * benchtests/tan-inputs: New file.
30280 2013-04-16 Roland McGrath <roland@hack.frob.com>
30282 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30285 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30287 * benchtests/Makefile: Include cppflags-iterator.mk to add
30288 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30290 * Makefile.in (bench-clean): New target.
30291 * benchtests/Makefile (bench-clean): Likewise.
30293 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30295 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30297 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30299 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30301 2013-04-15 Andreas Schwab <schwab@suse.de>
30303 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30304 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30305 * nscd/pwdcache.c (cache_addpw): Likewise.
30306 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30309 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30311 * benchtests/Makefile (bench): Write all output to
30312 bench-out.tmp together.
30314 2013-04-15 Andreas Schwab <schwab@suse.de>
30316 * nscd/nscd.c (main): Don't fork again after closing files.
30318 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30320 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30322 * benchtests/Rules (bench-deps): Collect dependencies into a
30323 single variable. Add Makefile to dependencies.
30324 ($(objpfx)bench-%.c): Depend on bench-deps.
30326 2013-04-12 Roland McGrath <roland@hack.frob.com>
30327 Xavier Roche <roche+kml2@exalead.com>
30330 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30331 just that it's a file descriptor.
30332 * manual/llio.texi (Synchronizing AIO Operations): Update description
30333 for EBADF error from aio_fsync.
30335 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30337 * Rules (bench): Move target definition...
30338 * benchtests/Makefile: ... here.
30340 2013-04-11 Carlos O'Donell <carlos@redhat.com>
30342 * math/libm-test.inc (cos_test): Fix PI/2 test.
30343 (sincos_test): Likewise.
30344 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30345 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30347 2013-04-11 Andreas Schwab <schwab@suse.de>
30350 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30351 accept exponent character only when digits were seen.
30352 * stdio-common/Makefile (tests): Add bug26.
30353 * stdio-common/bug26.c: New file.
30356 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30359 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30361 * Makeconfig (rtld-prefix): Define built linker prefix.
30362 * Rules (run-bench): Use it.
30363 * math/Makefile (run-regen-ulps): Likewise.
30365 * Rules (bench): Remove eval.
30367 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30368 Roland McGrath <roland@hack.frob.com>
30369 Ondrej Bilka <neleai@seznam.cz>
30372 * time/getdate.c: Include ctype.h and alloca.h.
30373 (__getdate_r): Trim leading and trailing spaces of input.
30374 * time/tst-getdate.c (tests): Add tests with leading and
30377 2013-04-08 Roland McGrath <roland@hack.frob.com>
30380 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30381 when computing value.
30383 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30385 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30386 Use testrun.sh to run libm tests.
30389 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30391 2013-04-06 Marko Myllynen <myllynen@redhat.com>
30394 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30396 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30398 * Makefile.in (regen-ulps): New target.
30399 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30400 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30401 [ifneq (no,$(PERL)] (regen-ulps): New target.
30402 [ifeq (no,$(PERL)] (regen-ulps): New target.
30403 * math/libm-test.inc (ulps_file_name): Define.
30404 (output_dir): New variable.
30405 (options): Add "output-dir" option.
30406 (parse_opt): Handle 'o' case.
30407 (main): If output_dir is non-NULL use it as a prefix
30409 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30411 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30413 [BZ #10060, #10062]
30414 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30415 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30416 fail configure if __sync_val_compare_and_swap is not inlined.
30417 * sysdeps/i386/configure: Regenerate.
30418 * configure.in: Build for i686 when configured for i386.
30419 * configure: Regenerate.
30420 * README: Remove i386 reference.
30422 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30424 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30425 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30427 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30429 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30430 (lmsnanval): New variables.
30431 (F): Add conversion tests.
30432 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30433 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30435 * stdio-common/tstdiomisc.c (F): Properly collect individual
30438 [BZ #14686, #15336]
30439 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30440 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30441 Instead, use input NaN values or generate a qNaN by arithmetic
30442 operation. Also fix bugs to comply with the standard.
30443 * math/libm-test.inc (remainder_test): Add more tests.
30445 [BZ #15335, #15342]
30446 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30447 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30448 input NaN values or generate a qNaN by arithmetic operation.
30450 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30453 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30456 2013-04-03 Joseph Myers <joseph@codesourcery.com>
30459 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30460 underflowed result.
30461 * math/s_cexpf.c (__cexpf): Likewise.
30462 * math/s_cexpl.c (__cexpl): Likewise.
30463 * math/libm-test.inc (cexp_test): Add more tests.
30465 2013-04-03 Andreas Schwab <schwab@suse.de>
30468 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30469 order arrays from heap if bigger than alloca cutoff.
30471 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30473 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30474 (SNAN_TESTS_double): Refer to GCC PR56831.
30475 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30478 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30480 * Rules (bench): Move bench.out after the run is complete.
30482 * Rules (bench): Echo currently running benchmark.
30484 * benchtests/Makefile (bench): Add atan and slowatan.
30485 * benchtests/atan-inputs: New file.
30486 * benchtests/slowatan-inputs: New file.
30487 * benchtests/slowatan.c: New file.
30489 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30490 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30494 * sysdeps/unix/sysv/linux/kernel-features.h
30495 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30496 __ASSUME_XFS_RESTRICTED_CHOWN.
30497 * sysdeps/unix/sysv/linux/pathconf.c
30498 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30499 Save and restore errno.
30501 2013-04-02 Joseph Myers <joseph@codesourcery.com>
30504 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30505 arguments using __kernel_casinh.
30506 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30507 arguments using __kernel_casinhf.
30508 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30509 arguments using __kernel_casinhl.
30510 * math/libm-test.inc (cacosh_test): Add more tests.
30511 * sysdeps/i386/fpu/libm-test-ulps: Update.
30512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30514 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30516 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30517 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30519 * bench/Makefile (bench): Add sin and slowsin.
30520 * benchtests/sin-inputs: New file.
30521 * benchtests/slowsin-inputs: New file.
30522 * benchtests/slowsin.c: New file.
30524 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30525 (bench): Add slowexp and slowpow.
30526 (exp-ITER): Increase iterations.
30527 (pow-ITER): Likewise.
30528 * benchtests/exp-inputs: Change input.
30529 * benchtests/pow-inputs: Likewise.
30530 * benchtests/slowexp-inputs: New file.
30531 * benchtests/slowexp.c: New file.
30532 * benchtests/slowpow-inputs: New file.
30533 * benchtests/slowpow.c: New file.
30535 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30537 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30539 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30540 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30541 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30542 * benchtests/Makefile: Add rint benchtest.
30543 * benchtests/rint-inputs: Input for rint benchtest.
30545 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30547 * Versions.def (libm): Add GLIBC_2.18.
30548 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30549 hidden libm prototypes.
30550 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30551 * math/Makefile (libm-calls): Add s_issignaling.
30552 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30553 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30554 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30556 * math/math.h [__USE_GNU] (issignaling): New macro.
30557 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30558 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30559 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30560 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30561 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30562 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30563 * manual/arith.texi (issignaling): New section.
30564 * manual/libm-err-tab.pl (@all_functions): Update comment.
30565 * math/gen-libm-test.pl (parse_args): Apply special handling for
30567 * math/libm-test.inc (print_float, issignaling_test): New
30569 (check_float_internal): Add issignaling checks.
30570 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30571 default definition.
30572 * sysdeps/powerpc/math-tests.h: New file.
30573 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30575 * math/test-snan.c (TEST_FUNC): Likewise.
30577 2013-03-30 David S. Miller <davem@davemloft.net>
30579 * po/de.po: Update from translation team.
30581 2013-03-30 Joseph Myers <joseph@codesourcery.com>
30584 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30585 imaginary part less than 1.0 and real part less than 0.5
30587 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30588 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30589 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30590 (cacos_test): Add more tests.
30591 (casin_test): Likewise.
30592 (casinh_test): Likewise.
30593 * sysdeps/i386/fpu/libm-test-ulps: Update.
30594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30596 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30598 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30599 ONE with its value.
30601 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30602 (__pow_mp): Replace ONE and MONE with their values.
30603 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30604 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30605 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30606 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30607 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30608 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30610 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30612 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30613 (__pow_mp): Replace ZERO and MZERO with their values.
30614 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30615 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30616 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30617 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30618 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30619 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30622 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30624 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30626 2013-03-28 Roland McGrath <roland@hack.frob.com>
30628 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30629 Declare with __attribute__ ((weak)).
30630 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30631 Call __call_tls_dtors only if it's not NULL.
30633 2013-03-28 Roland McGrath <roland@hack.frob.com>
30635 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30636 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30637 magic __ehdr_start linker symbol if it's defined.
30638 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30639 them up here if it was already done.
30641 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30642 (_dl_aux_init): Use const in cast when setting it.
30643 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30644 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30645 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30647 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30649 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30650 * csu/libc-tls.c: Nor here.
30651 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30653 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30654 (__libc_message): Never call vsyslog.
30656 2013-03-28 Alan Modra <amodra@gmail.com>
30658 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30660 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30663 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30666 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30670 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30673 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30674 Don't add gid passed as argument.
30676 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30678 2013-03-27 Joseph Myers <joseph@codesourcery.com>
30681 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30682 imaginary part between 1.0 and 1.5 and real part less than 0.5
30684 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30685 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30686 * math/libm-test.inc (cacos_test): Add more tests.
30687 (casin_test): Likewise.
30688 (casinh_test): Likewise.
30689 * sysdeps/i386/fpu/libm-test-ulps: Update.
30690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30692 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30694 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30697 (denorm): Likewise.
30698 (__dbl_mp): Likewise.
30699 (add_magnitudes): Likewise.
30700 (sub_magnitudes): Likewise.
30708 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30710 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30711 (__dubcos): Likewise.
30712 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30713 (__ieee754_acos): Likewise.
30714 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30715 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30716 (__exp1): Likewise.
30717 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30718 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30720 (my_log2): Likewise.
30721 (checkint): Likewise.
30722 * sysdeps/ieee754/dbl-64/e_remainder.c
30723 (__ieee754_remainder): Likewise.
30724 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30725 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30726 (bsloww): Likewise.
30727 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30729 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30730 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30731 MANTISSA_STORE_T to store computations on mantissa. Use
30732 macros for rounding and division.
30733 (denorm): Likewise.
30734 (__dbl_mp): Likewise.
30735 (add_magnitudes): Likewise.
30736 (sub_magnitudes): Likewise.
30739 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30740 powers of two in terms of TWOPOW macro.
30741 (mp_no): Make type of mantissa as MANTISSA_T.
30742 [!RADIXI]: Define RADIXI.
30743 [!TWO52]: Define TWO52.
30744 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30746 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30748 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30749 llroundl symbol when building for PPC32.
30751 2013-03-24 Mark H Weaver <mhw@netris.org>
30753 * manual/arith.texi (Normalization Functions): Fix prototypes for
30754 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30756 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30759 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30760 high value to check if expl overflow.
30761 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30762 to check for underflow and overflow.
30763 * math/libm-test.inc: Add exp test.
30765 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30768 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30771 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30773 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30776 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30778 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30779 wrap blocks consisting of several statements.
30781 * sysdeps/generic/math-tests.h: New file.
30782 * sysdeps/i386/fpu/math-tests.h: Likewise.
30783 * math/test-snan.c: Include it.
30784 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30786 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30789 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30790 (__ieee754_j0l): Do not improve calculations using cos of twice
30791 input for inputs above LDBL_MAX / 2.0L.
30792 (__ieee754_y0l): Likewise.
30793 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30794 (__ieee754_j1l): Do not improve calculations using cos of twice
30795 input for inputs above LDBL_MAX / 2.0L.
30796 (__ieee754_y1l): Likewise.
30797 * math/libm-test.inc (j0_test): Add another test.
30798 (j1_test): Likewise.
30799 (y0_test): Likewise.
30800 (y1_test): Likewise.
30801 * sysdeps/i386/fpu/libm-test-ulps: Update.
30803 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30805 * Rules ($(objpfx)bench-%.c): Include code from a C source
30808 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30811 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30812 imaginary part 1.0 and real part less than 0.5 specially.
30813 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30814 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30815 * math/libm-test.inc (cacos_test): Add more tests.
30816 (casin_test): Likewise.
30817 (casinh_test): Likewise.
30818 * sysdeps/i386/fpu/libm-test-ulps: Update.
30819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30821 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30823 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30824 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30826 2013-03-20 Joseph Myers <joseph@codesourcery.com>
30828 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30829 * config.make.in (config-cflags-sse4): Remove variable.
30830 (config-cflags-avx): Likewise.
30831 (config-cflags-sse2avx): Likewise.
30832 (config-cflags-novzeroupper): Likewise.
30833 (config-asflags-i686): Likewise.
30834 (have-mfma4): Likewise.
30835 (have-as-vis3): Likewise.
30837 * configure.in (MIG): Do not AC_SUBST.
30838 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30839 (libc_cv_cc_sse4): Do not AC_SUBST.
30840 (libc_cv_cc_avx): Likewise.
30841 (libc_cv_cc_sse2avx): Likewise.
30842 (libc_cv_cc_novzeroupper): Likewise.
30843 (libc_cv_cc_fma4): Likewise.
30844 (libc_cv_as_i686): Likewise.
30845 (libc_cv_sparc_as_vis3): Likewise.
30846 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30848 (config-asflags-i686): Likewise.
30849 (config-cflags-avx): Likewise.
30850 (config-cflags-sse2avx): Likewise.
30851 (have-mfma4): Likewise.
30852 (config-cflags-novzeroupper): Likewise.
30853 * sysdeps/mach/configure.in (MIG): Likewise.
30854 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30855 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30857 (config-cflags-avx): Likewise.
30858 (config-cflags-sse2avx): Likewise.
30859 (have-mfma4): Likewise.
30860 (config-cflags-novzeroupper): Likewise.
30861 * configure: Regenerated.
30862 * sysdeps/i386/configure: Likewise.
30863 * sysdeps/mach/configure: Likewise.
30864 * sysdeps/sparc/configure: Likewise.
30865 * sysdeps/x86_64/configure: Likewise.
30867 2013-03-20 Roland McGrath <roland@hack.frob.com>
30870 * locale/programs/localedef.c (options): Put N_ translation marker
30871 on argument names, not just descriptions.
30873 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30875 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30877 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
30880 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30882 2013-03-19 Roland McGrath <roland@hack.frob.com>
30884 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30885 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30886 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30887 [!BEFORE_ABORT] (before_abort): New function.
30888 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30889 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30890 (writev_for_fatal): New function.
30891 (WRITEV_FOR_FATAL): New macro; call that.
30892 (backtrace_and_maps): New function.
30893 (BEFORE_ABORT): New macro; call that.
30894 (struct str_list): Type removed.
30895 (__libc_message, __libc_fatal): Functions removed.
30896 Include <sysdeps/posix/libc_fatal.c> instead.
30898 2013-03-19 Joseph Myers <joseph@codesourcery.com>
30900 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30902 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30905 2013-03-19 Andreas Schwab <schwab@suse.de>
30907 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30908 * sysdeps/gnu/configure: Regenerate.
30910 * configure.in: Substitute libc_cv_rtlddir.
30911 * configure: Regenerate.
30912 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30913 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30914 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30915 * elf/Makefile (install-others, CFLAGS-interp.c)
30916 (ldso_install, common-ldd-rewrite): Likewise.
30917 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30918 $(inst_slibdir)/$(rtld-installed-name).
30919 * scripts/rellns-sh: Add -p option.
30920 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30923 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30925 * manual/nptl.texi: Renamed to ...
30926 * manual/threads.texi: ... this.
30927 * manual/Makefile (chapters): Update.
30929 2013-03-18 Roland McGrath <roland@hack.frob.com>
30932 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30933 on argument names, not just descriptions.
30934 * malloc/memusagestat.c (options): Likewise.
30935 * nss/getent.c (options): Likewise.
30937 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
30940 * iconv/iconv_prog.c (options): Put N_ translation marker
30941 on argument names, not just descriptions.
30942 * iconv/iconvconfig.c (options): Likewise.
30944 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
30946 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30947 implementation which is faster on all x86_64 architectures.
30948 Tested on AMD, Intel Nehalem, SNB, IVB.
30949 * sysdeps/x86_64/strnlen.S: Likewise.
30951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30952 Remove all multiarch strlen and strnlen versions.
30953 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30954 Remove strlen and strnlen related parts.
30956 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30957 Inline strlen part.
30958 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30960 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30961 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30962 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30963 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30964 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30965 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30967 2013-03-17 Carlos O'Donell <carlos@redhat.com>
30969 * manual/memory.texi (Malloc Tunable Parameters):
30970 Sort parameters alphabetically. Add comments for missing entries.
30972 2013-03-17 David S. Miller <davem@davemloft.net>
30974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30976 2013-03-16 Joseph Myers <joseph@codesourcery.com>
30979 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30980 for arguments at most half maximum finite value.
30981 * math/libm-test.inc (j0_test): Add more tests.
30982 (j1_test): Likewise.
30983 (y0_test): Likewise.
30984 (y1_test): Likewise.
30985 * sysdeps/i386/fpu/libm-test-ulps: Update.
30986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30989 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30990 1 / x and functions P and Q for arguments above 0x1p256L.
30991 (__ieee754_y0l): Likewise.
30992 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30993 (__ieee754_y1l): Likewise.
30994 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30995 (j1_test): Likewise.
30996 (y0_test): Likewise.
30997 (y1_test): Likewise.
30999 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
31001 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31004 2013-03-15 Roland McGrath <roland@hack.frob.com>
31006 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31007 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31008 zero since it's initialized to EXEC_PAGESIZE.
31010 * sysdeps/unix/sysv/linux/ldsodefs.h
31011 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31012 * sysdeps/generic/ldsodefs.h: ... here.
31014 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
31016 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31018 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31020 * math/test-snan.c: Renamed from
31021 sysdeps/powerpc/fpu/test-powerpc-snan.c.
31022 * math/Makefile (tests): Add test-snan.
31023 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31026 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31027 SUFFIX. Initialize qNaN_var with __builtin_nan family of
31029 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
31030 __builtin_nan family of functions.
31031 * math/libm-test.inc (initialize): Initialize qnan_value with
31032 __builtin_nan family of functions.
31033 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31035 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31037 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31038 storage class. Initialize qNaN_var and sNaN_var with
31039 __builtin_nan and __builtin_nans families of functions,
31042 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31043 (sqrt_test): Remove duplicate test with qNaN input.
31044 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31045 (round_test, signbit_test, significand_test): Note missing +/-Inf
31046 as well as qNaN tests.
31048 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31049 qNaN_var. Fix a few strings, too.
31050 * math/libm-test.inc (nan_value): Rename to qnan_value.
31051 * math/gen-libm-test.pl (%beautify): Adjust to that.
31052 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31053 * math/test-misc.c (main): Likewise.
31054 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31055 to __qnan_bytes, and __qnan_union, respectively.
31056 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31058 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31059 and lqnanval, respectively.
31060 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31061 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31062 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31063 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31065 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31066 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31069 * math/test-misc.c (main): Fix copy'n'pastos.
31070 * misc/tst-efgcvt.c (special): Likewise.
31072 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31073 Remove declarations.
31075 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31077 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31078 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31079 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31080 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31082 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31084 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31085 macro to return vdso values correctly in IFUNC implementations.
31086 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31087 Optimization by using IFUNC.
31089 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31090 Richard Henderson <rth@redhat.com>
31091 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31093 * Makefile.in (bench): New target.
31094 * NEWS: Mention the benchmark framework.
31095 * Rules (bench): Likewise.
31096 (binaries-bench): Generate binaries for functions to
31098 * benchtests/Makefile: New makefile for benchmark tests.
31099 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31101 * benchtests/exp-inputs: New input file for EXP function.
31102 * benchtests/pow-inputs: New input file for POW function.
31103 * scripts/bench.pl: New script to generate source files for
31104 benchmark programs.
31106 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31108 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31109 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31110 computations on mantissa. Use macros for rounding and
31112 (denorm): Likewise.
31113 (__dbl_mp): Likewise.
31114 (add_magnitudes): Likewise.
31115 (sub_magnitudes): Likewise.
31118 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31119 powers of two in terms of TWOPOW macro.
31120 (mp_no): Make type of mantissa as MANTISSA_T.
31121 [!RADIXI]: Define RADIXI.
31122 [!TWO52]: Define TWO52.
31123 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31125 * manual/nptl.texi (cindex): Modify threads to pthreads.
31127 2013-03-15 Joseph Myers <joseph@codesourcery.com>
31129 * sysdeps/x86_64/preconfigure: Regenerated.
31131 2013-03-14 Joseph Myers <joseph@codesourcery.com>
31134 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31136 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31137 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31139 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31140 * math/libm-test.inc (j0_test): Do not allow one spurious
31141 underflow exception.
31142 (y1_test): Likewise.
31144 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31146 * manual/Makefile (chapters): Add nptl.
31147 * manual/debug.texi (Debugging Support): Add link to Threads
31149 * manual/nptl.texi: New file.
31151 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31153 2013-03-14 Petr Baudis <pasky@ucw.cz>
31155 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31156 for non-NULL pointer before the memory validity test. Pointed
31157 out by Holger Brunck <holger.brunck@keymile.com>.
31159 2013-03-13 Andreas Schwab <schwab@suse.de>
31161 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31164 2013-03-13 Joseph Myers <joseph@codesourcery.com>
31166 * timezone/zic.c: Update from tzcode 2013b.
31168 2013-03-12 Carlos O'Donell <carlos@redhat.com>
31170 * manual/install.texi (Configuring and compiling):
31171 Mention i686 and i586.
31172 * INSTALL: Regenerate.
31174 2013-03-12 Roland McGrath <roland@hack.frob.com>
31176 * sysdeps/init_array/elf-init.c: New file.
31178 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31179 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31181 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31182 __gmon_start__ as global, but as static with a .preinit_array pointer.
31183 * sysdeps/init_array/gmon-start.c: New file. Use that.
31184 * sysdeps/init_array/crti.S: New file, empty except for comments.
31185 * sysdeps/init_array/crtn.S: Likewise.
31187 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
31189 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31191 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31192 Remove Prefer_SSE_for_memop.
31193 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31194 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31195 HAS_PREFER_SSE_FOR_MEMOP.
31196 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31198 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31199 Remove bzero, memset ifunc support.
31200 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31201 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31202 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31203 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31205 2013-03-11 Andreas Schwab <schwab@suse.de>
31208 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31211 (GLIBC_2.16): Remove pthread_atfork.
31213 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31215 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31216 (ptestcases.h): Likewise.
31218 2013-03-08 Roland McGrath <roland@hack.frob.com>
31220 * Makeconfig ($(common-objpfx)config.status): Depend on
31221 sysdeps/*/preconfigure{,.in} too.
31223 2013-03-08 Joseph Myers <joseph@codesourcery.com>
31225 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31226 (__free_hook): Use void * instead of __malloc_ptr_t.
31227 (__malloc_hook): Likewise.
31228 (__realloc_hook): Likewise.
31229 (__memalign_hook): Likewise.
31230 (__after_morecore_hook): Likewise.
31231 * malloc/arena.c (save_malloc_hook): Likewise.
31232 (save_free_hook): Likewise.
31233 * malloc/hooks.c (malloc_hook_ini): Likewise.
31234 (realloc_hook_ini): Likewise.
31235 (memalign_hook_ini): Likewise.
31236 * malloc/malloc.c (malloc_hook_ini): Likewise.
31237 (realloc_hook_ini): Likewise.
31238 (memalign_hook_ini): Likewise.
31239 (__free_hook): Likewise.
31240 (__malloc_hook): Likewise.
31241 (__realloc_hook): Likewise.
31242 (__memalign_hook): Likewise.
31243 (__libc_malloc): Likewise.
31244 (__libc_free): Likewise.
31245 (__libc_realloc): Likewise.
31246 (__libc_memalign): Likewise.
31247 (__libc_valloc): Likewise.
31248 (__libc_pvalloc): Likewise.
31249 (__libc_calloc): Likewise.
31250 (__posix_memalign): Likewise.
31251 * malloc/morecore.c (__sbrk): Likewise.
31252 (__default_morecore): Likewise.
31254 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31256 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31257 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31258 __malloc_ptrdiff_t.
31260 * malloc/malloc.h (__malloc_size_t): Remove macro.
31261 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31263 (old_memalign_hook): Likewise.
31264 (old_realloc_hook): Likewise.
31265 (struct hdr): Likewise.
31267 (mallochook): Likewise.
31268 (memalignhook): Likewise.
31269 (reallochook): Likewise.
31270 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31271 (tr_old_realloc_hook): Likewise.
31272 (tr_old_memalign_hook): Likewise.
31273 (tr_mallochook): Likewise.
31274 (tr_reallochook): Likewise.
31275 (tr_memalignhook): Likewise.
31277 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31279 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31280 default_ldbl_pack and using as default implementation.
31281 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31283 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31284 redundant definition.
31285 (ldbl_insert_mantissa): Likewise.
31286 (ldbl_canonicalize): Likewise.
31287 (ldbl_nearbyint): Likewise.
31288 (ldbl_pack): Rename to ldbl_pack_ppc.
31289 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31290 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31291 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31293 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31295 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31296 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31297 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31298 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31300 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31301 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31302 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31304 2013-03-07 Andreas Jaeger <aj@suse.de>
31306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31309 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31311 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31312 Include mpa.h and declare __MPEXP.
31313 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31314 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31315 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31316 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31317 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31318 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31319 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31321 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31322 (__slowpow): Use long double EXPL and LOGL functions to
31324 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31325 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31326 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31327 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31328 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31329 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31331 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31332 intermediate variable to calculate exponent.
31334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31338 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31339 [!NO__SQR]: Define __sqr.
31340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31341 and NO__SQR. Remove all code except __mul and __sqr. Include
31342 sysdeps/ieee754/dbl-64/mpa.c.
31343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31346 * posix/Makefile (tests): Add tst-pathconf.
31347 * posix/tst-pathconf.c: New test case.
31348 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31350 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31352 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
31354 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31356 2013-03-06 Andreas Jaeger <aj@suse.de>
31358 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31359 definition via __MAP_ANONYMOUS.
31361 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31362 it's not part of Linux headers.
31364 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31365 (MAP_HUGE_MASK): Define.
31367 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31369 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31370 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31372 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31373 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31375 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31376 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31378 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31380 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31381 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31382 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31383 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31384 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31385 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31387 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31390 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31391 Handle f2fs and efivarfs.
31393 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31396 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31397 (EFIVARFS_MAGIC): Add.
31398 (F2FS_LINK_MAX): Add.
31400 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31402 * stdio-common/vfprintf.c: Replace __builtin_expect with
31405 2013-03-06 Joseph Myers <joseph@codesourcery.com>
31408 * sysdeps/generic/bp-sym.h: Remove file.
31409 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31410 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31411 <bp-sym.h> and <bp-asm.h>.
31412 (__longjmp): Don't use BP_SYM.
31413 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31415 (memcpy): Don't use BP_SYM.
31416 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31417 <bp-sym.h> and <bp-asm.h>.
31418 (memcpy): Don't use BP_SYM.
31419 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31421 (memcpy): Don't use BP_SYM.
31422 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31424 (memset): Don't use BP_SYM.
31425 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31426 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31427 (__bzero): Don't use BP_SYM.
31428 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31429 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31430 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31431 <bp-sym.h> and <bp-asm.h>.
31432 (memcmp): Don't use BP_SYM. Remove comment about bounded
31434 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31435 <bp-sym.h> and <bp-asm.h>.
31436 (memcpy): Don't use BP_SYM.
31437 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31438 <bp-sym.h> and <bp-asm.h>.
31439 (memset): Don't use BP_SYM.
31440 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31441 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31442 (__bzero): Don't use BP_SYM.
31443 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31444 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31445 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31446 <bp-sym.h> and <bp-asm.h>.
31447 (strncmp): Don't use BP_SYM. Remove comment about bounded
31449 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31450 <bp-sym.h> and <bp-asm.h>.
31451 (memcpy): Don't use BP_SYM.
31452 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31453 <bp-sym.h> and <bp-asm.h>.
31454 (memset): Don't use BP_SYM.
31455 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31456 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31457 (__bzero): Don't use BP_SYM.
31458 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31459 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31460 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31461 <bp-sym.h> and <bp-asm.h>.
31462 (__memchr): Don't use BP_SYM.
31463 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31464 <bp-sym.h> and <bp-asm.h>.
31465 (memcmp): Don't use BP_SYM. Remove comment about bounded
31467 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31468 <bp-sym.h> and <bp-asm.h>.
31469 (memcpy): Don't use BP_SYM.
31470 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31471 <bp-sym.h> and <bp-asm.h>.
31472 (__mempcpy): Don't use BP_SYM.
31473 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31474 <bp-sym.h> and <bp-asm.h>.
31475 (__memrchr): Don't use BP_SYM.
31476 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31477 <bp-sym.h> and <bp-asm.h>.
31478 (memset): Don't use BP_SYM.
31479 (__bzero): Likewise.
31480 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31481 <bp-sym.h> and <bp-asm.h>.
31482 (__rawmemchr): Don't use BP_SYM.
31483 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31484 <bp-sym.h> and <bp-asm.h>.
31485 (__STRCMP): Don't use BP_SYM.
31486 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31487 <bp-sym.h> and <bp-asm.h>.
31488 (strchr): Don't use BP_SYM.
31489 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31490 <bp-sym.h> and <bp-asm.h>.
31491 (__strchrnul): Don't use BP_SYM.
31492 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31493 <bp-sym.h> and <bp-asm.h>.
31494 (strlen): Don't use BP_SYM.
31495 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31496 <bp-sym.h> and <bp-asm.h>.
31497 (strncmp): Don't use BP_SYM. Remove comment about bounded
31499 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31500 <bp-sym.h> and <bp-asm.h>.
31501 (__strnlen): Don't use BP_SYM.
31502 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31503 <bp-sym.h> and <bp-asm.h>.
31504 (__GI__setjmp): Don't use BP_SYM.
31505 (_setjmp): Likewise.
31506 (__sigsetjmp): Likewise.
31507 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31508 (L(start_addresses)): Don't use BP_SYM.
31509 (_start): Likewise.
31510 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31512 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31513 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31514 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31515 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31516 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31518 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31519 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31520 about bounded pointers.
31521 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31522 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31523 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31525 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31526 about bounded pointers. Remove GKM FIXME comments.
31527 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31528 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31530 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31531 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31532 Remove GKM FIXME comments.
31533 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31534 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31535 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31537 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31538 about bounded pointers. Remove GKM FIXME comment.
31539 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31541 (strncmp): Don't use BP_SYM. Remove comment about bounded
31543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31544 <bp-sym.h> and <bp-asm.h>.
31545 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31547 <bp-sym.h> and <bp-asm.h>.
31548 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31551 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31553 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31556 2013-03-05 David S. Miller <davem@davemloft.net>
31558 * po/es.po: Update from translation team.
31560 2013-03-05 Andreas Jaeger <aj@suse.de>
31562 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31563 <bits/mman-linux.h>.
31564 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31566 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31567 <bits/mman-linux.h> to end of file.
31568 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31570 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31571 <bits/mman-linux.h> to end of file.
31572 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31574 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31575 <bits/mman-linux.h> to end of file.
31577 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31578 (MCL_CURRENT, MCL_FUTURE): Define here.
31580 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31583 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31585 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31587 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31589 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31590 fourth parameter needed for rt_sigprocmask syscall.
31591 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31592 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31593 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31594 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31595 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31596 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31598 2013-03-04 Joseph Myers <joseph@codesourcery.com>
31601 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31602 comment about bounded pointers.
31603 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31604 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31606 2013-03-04 Andreas Jaeger <aj@suse.de>
31608 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31609 common definitions.
31611 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31612 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31613 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31614 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31615 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31616 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31618 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31621 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31622 __ieee754_sqrl instead of __sqrl.
31624 2013-03-01 Joseph Myers <joseph@codesourcery.com>
31626 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31627 * sysdeps/powerpc/fpu_control.h: ... here.
31628 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31629 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31630 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31631 * sysdeps/powerpc/bits/mathinline.h: ... here.
31633 2013-03-01 Roland McGrath <roland@hack.frob.com>
31635 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31636 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31637 to just [NEED_DL_SYSINFO_DSO].
31638 * elf/dl-support.c: Likewise.
31639 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31640 * elf/rtld.c (dl_main): Likewise.
31641 * elf/setup-vdso.h (setup_vdso): Likewise.
31642 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31643 * sysdeps/unix/sysv/linux/dl-sysdep.c
31644 (_dl_discover_osversion): Likewise.
31646 2013-03-01 Carlos O'Donell <carlos@redhat.com>
31648 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31649 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31651 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31653 * NEWS: Mention libm performance improvements and non-x86 PI
31656 * csu/libc-start.c (__pthread_initialize_minimal): Change
31657 function arguments.
31658 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31660 2013-02-28 Joseph Myers <joseph@codesourcery.com>
31663 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31664 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31665 <bp-sym.h> and <bp-asm.h>.
31666 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31667 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31669 (memcpy): Don't use BP_SYM.
31670 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31672 (__mpn_add_n): Don't use BP_SYM.
31673 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31674 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31676 (__mpn_addmul_1): Don't use BP_SYM.
31677 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31678 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31680 (_setjmp): Don't use BP_SYM.
31681 (__novmx_setjmp): Likewise.
31682 (__GI__setjmp): Likewise.
31683 (__vmx_setjmp): Likewise.
31684 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31686 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31687 (__bzero): Don't use BP_SYM.
31688 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31689 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31690 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31691 <bp-sym.h> and <bp-asm.h>.
31692 (memcpy): Don't use BP_SYM.
31693 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31694 <bp-sym.h> and <bp-asm.h>.
31695 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31696 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31697 <bp-sym.h> and <bp-asm.h>.
31698 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31699 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31701 (__mpn_lshift): Don't use BP_SYM.
31702 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31703 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31705 (memset): Don't use BP_SYM.
31706 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31707 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31708 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31710 (__mpn_mul_1): Don't use BP_SYM.
31711 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31712 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31713 <bp-sym.h> and <bp-asm.h>.
31714 (memcmp): Don't use BP_SYM.
31715 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31716 <bp-sym.h> and <bp-asm.h>.
31717 (memcpy): Don't use BP_SYM.
31718 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31719 <bp-sym.h> and <bp-asm.h>.
31720 (memset): Don't use BP_SYM.
31721 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31722 <bp-sym.h> and <bp-asm.h>.
31723 (strncmp): Don't use BP_SYM.
31724 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31725 <bp-sym.h> and <bp-asm.h>.
31726 (memcpy): Don't use BP_SYM.
31727 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31728 <bp-sym.h> and <bp-asm.h>.
31729 (memset): Don't use BP_SYM.
31730 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31731 <bp-sym.h> and <bp-asm.h>.
31732 (__memchr): Don't use BP_SYM.
31733 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31734 <bp-sym.h> and <bp-asm.h>.
31735 (memcmp): Don't use BP_SYM.
31736 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31737 <bp-sym.h> and <bp-asm.h>.
31738 (memcpy): Don't use BP_SYM.
31739 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31740 <bp-sym.h> and <bp-asm.h>.
31741 (__mempcpy): Don't use BP_SYM.
31742 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31743 <bp-sym.h> and <bp-asm.h>.
31744 (__memrchr): Don't use BP_SYM.
31745 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31746 <bp-sym.h> and <bp-asm.h>.
31747 (memset): Don't use BP_SYM.
31748 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31749 <bp-sym.h> and <bp-asm.h>.
31750 (__rawmemchr): Don't use BP_SYM.
31751 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31752 <bp-sym.h> and <bp-asm.h>.
31753 (__STRCMP): Don't use BP_SYM.
31754 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31755 <bp-sym.h> and <bp-asm.h>.
31756 (strchr): Don't use BP_SYM.
31757 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31758 <bp-sym.h> and <bp-asm.h>.
31759 (__strchrnul): Don't use BP_SYM.
31760 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31761 <bp-sym.h> and <bp-asm.h>.
31762 (strlen): Don't use BP_SYM.
31763 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31764 <bp-sym.h> and <bp-asm.h>.
31765 (strncmp): Don't use BP_SYM.
31766 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31767 <bp-sym.h> and <bp-asm.h>.
31768 (__strnlen): Don't use BP_SYM.
31769 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31771 (__mpn_rshift): Don't use BP_SYM.
31772 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31773 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31774 <bp-sym.h> and <bp-asm.h>.
31775 (__sigsetjmp): Don't use BP_SYM.
31776 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31777 (L(start_addresses)): Don't use BP_SYM.
31778 (_start): Likewise.
31779 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31781 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31782 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31783 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31784 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31786 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31787 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31788 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31789 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31791 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31793 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31794 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31796 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31798 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31799 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31800 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31802 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31804 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31806 (strncmp): Don't use BP_SYM,
31807 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31809 (__mpn_sub_n): Don't use BP_SYM.
31810 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31811 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31813 (__mpn_submul_1): Don't use BP_SYM.
31814 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31816 <bp-sym.h> and <bp-asm.h>.
31817 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31819 <bp-sym.h> and <bp-asm.h>.
31820 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31823 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31826 Use ZK to minimize writes to Z.
31827 (sub_magnitudes): Simplify code a bit.
31828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31829 Use ZK to minimize writes to Z.
31830 (sub_magnitudes): Simplify code a bit.
31832 2013-02-27 Roland McGrath <roland@hack.frob.com>
31834 * csu/gmon-start.c: Add special exception to license text.
31836 2013-02-27 Richard Henderson <rth@redhat.com>
31838 * scripts/config.guess: Update from config.git.
31839 * scripts/config.sub: Likewise.
31841 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31843 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31845 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31847 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31849 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31851 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31853 2013-02-26 Roland McGrath <roland@hack.frob.com>
31855 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31856 [$(build-shared = yes].
31858 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31860 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31861 (__mul): Reduce iterations for calculating mantissa.
31863 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31865 (__mpranred): Likewise.
31868 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31869 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31871 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31873 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31874 Define __attribute__.
31876 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31878 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31880 * posix/regex_internal.h (__attribute): Remove.
31881 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31882 (re_string_context_at): Likewise.
31883 (bitset_not): Use __attribute__ and mark function as possibly
31885 (bitset_merge): Likewise.
31886 (bitset_mask): Likewise.
31887 (re_string_char_size_at): Likewise.
31888 (re_string_wchar_at): Likewise.
31889 (re_string_elem_size_at): Likewise.
31891 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31893 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31897 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31901 (denorm): Likewise.
31902 (__dbl_mp): Likewise.
31903 (add_magnitudes): Likewise.
31904 (sub_magnitudes): Likewise.
31908 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31911 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31914 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31918 up changes with default code.
31919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31922 2013-02-24 Allan McRae <allan@archlinux.org>
31924 * manual/socket.texi (The Internet Namespace): Order menu items
31925 to match that in the file.
31927 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31928 node listing of the info page menu.
31930 2013-02-21 Joseph Myers <joseph@codesourcery.com>
31933 * sysdeps/i386/bp-asm.h: Remove file.
31934 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31935 (PARMS): Do not use macros from bp-asm.h.
31939 (__mpn_add_n): Do not use BP_SYM
31940 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31942 (PARMS): Do not use macros from bp-asm.h.
31945 (__mpn_addmul_1): Do not use BP_SYM
31946 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31948 (PARMS): Do not use macros from bp-asm.h.
31949 (SIGMSK): Likewise.
31950 (_setjmp): Likewise. Do not use BP_SYM.
31951 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31953 (PARMS): Do not use macros from bp-asm.h.
31954 (SIGMSK): Likewise.
31955 (setjmp): Likewise. Do not use BP_SYM.
31956 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31958 (PARMS): Do not use macros from bp-asm.h.
31959 (__frexp): Do not use BP_SYM.
31961 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31963 (PARMS): Do not use macros from bp-asm.h.
31964 (__frexpf): Do not use BP_SYM.
31965 (frexpf): Likewise.
31966 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31968 (PARMS): Do not use macros from bp-asm.h.
31969 (__frexpl): Do not use BP_SYM.
31970 (frexpl): Likewise.
31971 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31973 (PARMS): Do not use macros from bp-asm.h.
31974 (__remquo): Do not use BP_SYM.
31975 (remquo): Likewise.
31976 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31978 (PARMS): Do not use macros from bp-asm.h.
31979 (__remquof): Do not use BP_SYM.
31980 (remquof): Likewise.
31981 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31983 (PARMS): Do not use macros from bp-asm.h.
31984 (__remquol): Do not use BP_SYM.
31985 (remquol): Likewise.
31986 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31988 (PARMS): Do not use macros from bp-asm.h.
31991 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31992 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31994 (PARMS): Do not use macros from bp-asm.h.
31995 (strlen): Do not use BP_SYM.
31996 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31998 (PARMS): Do not use macros from bp-asm.h.
32002 (__mpn_add_n): Do not use BP_SYM.
32003 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32005 (PARMS): Do not use macros from bp-asm.h.
32008 (__mpn_addmul_1): Do not use BP_SYM.
32009 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32012 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32014 (PARMS): Do not use macros from bp-asm.h.
32017 (__mpn_lshift): Do not use BP_SYM.
32018 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32020 (PARMS): Do not use macros from bp-asm.h.
32024 (memcpy): Likewise. Do not use BP_SYM.
32025 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32026 libc_hidden_def and weak_alias.
32027 (mempcpy): Do not use BP_SYM in weak_alias.
32028 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32030 (PARMS): Do not use macros from bp-asm.h.
32033 [!BZERO_P] (CHR): Likewise.
32034 (memset): Likewise. Do not use BP_SYM.
32035 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32037 (PARMS): Do not use macros from bp-asm.h.
32040 (__mpn_mul_1): Do not use BP_SYM.
32041 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32043 (PARMS): Do not use macros from bp-asm.h.
32046 (__mpn_rshift): Do not use BP_SYM.
32047 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32049 (PARMS): Do not use macros from bp-asm.h.
32052 (strchr): Likewise. Do not use BP_SYM.
32053 (index): Do not use BP_SYM in weak_alias.
32054 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32056 (PARMS): Do not use macros from bp-asm.h.
32059 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32060 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32062 (PARMS): Do not use macros from bp-asm.h.
32063 (strlen): Do not use BP_SYM.
32064 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32066 (PARMS): Do not use macros from bp-asm.h.
32070 (__mpn_sub_n): Do not use BP_SYM.
32071 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32073 (PARMS): Do not use macros from bp-asm.h.
32076 (__mpn_submul_1): Do not use BP_SYM.
32077 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32079 (PARMS): Do not use macros from bp-asm.h.
32083 (__mpn_add_n): Do not use BP_SYM.
32084 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32087 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32089 (PARMS): Do not use macros from bp-asm.h.
32092 (memcmp): Do not use BP_SYM.
32093 (bcmp): Do not use BP_SYM in weak_alias.
32094 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32096 (PARMS): Do not use macros from bp-asm.h.
32100 (memcpy): Likewise. Do not use BP_SYM.
32101 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32103 (PARMS): Do not use macros from bp-asm.h.
32107 (memmove): Likewise. Do not use BP_SYM.
32108 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32110 (PARMS): Do not use macros from bp-asm.h.
32114 (__mempcpy): Likewise. Do not use BP_SYM.
32115 (mempcpy): Do not use BP_SYM in weak_alias.
32116 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32118 (PARMS): Do not use macros from bp-asm.h.
32121 [!BZERO_P] (CHR): Likewise.
32122 (memset): Likewise. Do not use BP_SYM.
32123 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32125 (PARMS): Do not use macros from bp-asm.h.
32127 (strcmp): Do not use BP_SYM.
32128 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32130 (PARMS): Do not use macros from bp-asm.h.
32133 [USE_AS_STRTOK_R] (SAVE): Likewise.
32134 (FUNCTION): Likewise. Do not use BP_SYM.
32135 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32137 (strtok_r): Likewise.
32138 (__GI___strtok_r): Likewise.
32139 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32140 (PARMS): Do not use macros from bp-asm.h.
32143 (__mpn_lshift): Do not use BP_SYM.
32144 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32145 (PARMS): Do not use macros from bp-asm.h.
32148 (__memchr): Do not use BP_SYM.
32149 (memchr): Do not use BP_SYM in weak_alias.
32150 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32151 (PARMS): Do not use macros from bp-asm.h.
32154 (memcmp): Do not use BP_SYM.
32155 (bcmp): Do not use BP_SYM in weak_alias.
32156 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32157 (PARMS): Do not use macros from bp-asm.h.
32160 (__mpn_mul_1): Do not use BP_SYM.
32161 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32163 (PARMS): Do not use macros from bp-asm.h.
32166 (__rawmemchr): Do not use BP_SYM.
32167 (rawmemchr): Do not use BP_SYM in weak_alias.
32168 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32169 (PARMS): Do not use macros from bp-asm.h.
32172 (__mpn_rshift): Do not use BP_SYM.
32173 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32174 (PARMS): Do not use macros from bp-asm.h.
32175 (SIGMSK): Likewise.
32176 (__sigsetjmp): Likewise. Do not use BP_SYM.
32177 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32178 (_start): Do not use BP_SYM.
32179 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32180 (PARMS): Do not use macros from bp-asm.h.
32183 (__stpcpy): Likewise. Do not use BP_SYM.
32184 (stpcpy): Do not use BP_SYM in weak_alias.
32185 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32187 (PARMS): Do not use macros from bp-asm.h.
32191 (__stpncpy): Likewise. Do not use BP_SYM.
32192 (stpncpy): Do not use BP_SYM in weak_alias.
32193 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32194 (PARMS): Do not use macros from bp-asm.h.
32197 (strchr): Likewise. Do not use BP_SYM.
32198 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32200 (PARMS): Do not use macros from bp-asm.h.
32203 (__strchrnul): Likewise. Do not use BP_SYM.
32204 (strchrnul): Do not use BP_SYM in weak_alias.
32205 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32207 (PARMS): Do not use macros from bp-asm.h.
32209 (strcspn): Do not use BP_SYM.
32210 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32212 (PARMS): Do not use macros from bp-asm.h.
32215 (strpbrk): Likewise. Do not use BP_SYM.
32216 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32218 (PARMS): Do not use macros from bp-asm.h.
32221 (strrchr): Likewise. Do not use BP_SYM.
32222 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32223 (PARMS): Do not use macros from bp-asm.h.
32225 (strspn): Do not use BP_SYM.
32226 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32227 (PARMS): Do not use macros from bp-asm.h.
32231 (FUNCTION): Likewise. Do not use BP_SYM.
32232 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32234 (strtok_r): Likewise.
32235 (__GI___strtok_r): Likewise.
32236 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32237 (PARMS): Do not use macros from bp-asm.h.
32241 (__mpn_sub_n): Do not use BP_SYM.
32242 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32244 (PARMS): Do not use macros from bp-asm.h.
32247 (__mpn_submul_1): Do not use BP_SYM.
32248 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32250 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32252 (PARMS): Do not use macros from bp-asm.h.
32257 (__clone): Do not use BP_SYM.
32258 (clone): Do not use BP_SYM in weak_alias.
32259 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32261 (PARMS): Do not use macros from bp-asm.h.
32263 (__mmap64): Do not use BP_SYM.
32264 (mmap64): Do not use BP_SYM in weak_alias.
32265 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32266 <bp-sym.h> and <bp-asm.h>.
32267 (PARMS): Do not use macros from bp-asm.h.
32268 (__posix_fadvise64_l64): Do not use BP_SYM.
32269 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32270 (PARMS): Do not use macros from bp-asm.h.
32272 (semtimedop): Do not use BP_SYM.
32273 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32276 2013-02-21 Allan McRae <allan@archlinux.org>
32278 * manual/message.texi (Charset conversion in gettext):
32279 Move @end statement to beginning of line.
32281 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32288 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32289 (denorm): Likewise.
32290 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32291 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32293 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32295 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32296 tail-call to the resolved function if pltexit isn't needed.
32298 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32300 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32301 or Y being zero as being unlikely.
32302 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32305 2013-02-20 Carlos O'Donell <carlos@redhat.com>
32307 * manual/nss.texi (System Databases and Name Service Switch):
32308 Remove frobnicate @pxref.
32310 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32312 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32313 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32315 2013-02-20 Petr Machata <pmachata@redhat.com>
32317 * elf/elf.h (R_ARM_TARGET1): New macro.
32318 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32319 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32320 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32321 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32322 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32323 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32324 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32325 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32326 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32327 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32328 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32329 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32330 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32331 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32332 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32333 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32334 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32335 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32336 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32337 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32338 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32339 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32340 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32341 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32342 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32343 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32344 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32345 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32346 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32347 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32348 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32349 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32350 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32351 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32352 (R_ARM_THM_GOT_BREL12): Likewise.
32353 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32354 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32355 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32356 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32357 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32358 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32359 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32360 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32361 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32363 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32365 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32366 __attribute_used__ to __attribute__ ((unused)).
32368 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32370 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32373 comment formatting.
32374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32376 2013-02-19 Joseph Myers <joseph@codesourcery.com>
32379 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32381 (ENTER): Remove both macro definitions.
32383 (CHECK_BOUNDS_LOW): Likewise.
32384 (CHECK_BOUNDS_HIGH): Likewise.
32385 (CHECK_BOUNDS_BOTH): Likewise.
32386 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32387 (RETURN_BOUNDED_POINTER): Likewise.
32388 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32389 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32390 (POP_ERRNO_LOCATION_RETURN): Likewise.
32391 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32392 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32393 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32395 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32396 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32397 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32398 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32399 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32400 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32401 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32402 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32403 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32404 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32405 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32406 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32407 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32408 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32410 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32411 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32413 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32414 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32415 * sysdeps/i386/i586/memset.S (memset): Likewise.
32416 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32417 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32418 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32420 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32421 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32422 Change uses of L(2) to L(out).
32423 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32424 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32425 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32426 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32427 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32429 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32430 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32432 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32433 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32434 (RETURN): Do not use macro LEAVE.
32435 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32436 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32437 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32438 * sysdeps/i386/i686/memset.S (memset): Likewise.
32439 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32440 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32441 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32442 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32444 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32445 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32446 L(1_2) and L(1_3) into L(1).
32447 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32448 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32449 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32450 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32451 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32452 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32453 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32454 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32455 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32457 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32458 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32459 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32460 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32461 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32462 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32463 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32464 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32465 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32466 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32467 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32468 * sysdeps/i386/strspn.S (strspn): Likewise.
32469 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32471 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32472 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32473 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32474 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32475 L(1_3) into L(1_1).
32476 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32477 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32478 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32480 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32482 2013-02-19 Jakub Jelinek <jakub@redhat.com>
32484 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32487 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32489 * math/atest-exp.c (exp_mpn): Remove ROUND.
32490 * math/atest-exp2.c (exp_mpn): Likewise.
32491 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32493 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32494 * stdlib/tst-tls-atexit-lib.c: Likewise.
32495 * stdlib/tst-tls-atexit.c: Likewise.
32497 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32499 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32500 and __attribute_alloc_size__.
32502 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32504 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32505 __attribute_alloc_size__.
32506 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32507 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32509 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32511 * include/programs/xmalloc.h: New file.
32512 * catgets/gencat.c: Include it.
32513 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32514 * elf/pldd.c: Likewise.
32515 * iconv/iconv_charmap.c: Likewise.
32516 * iconv/iconvconfig.c: Likewise.
32517 * iconv/strtab.c: Likewise.
32518 * locale/programs/locale.c: Likewise.
32519 * locale/programs/localedef.h: Likewise.
32520 * locale/programs/simple-hash.c: Likewise.
32521 * nscd/nscd.h: Likewise.
32522 * nss/makedb.c: Likewise.
32523 * sysdeps/generic/ldconfig.h: Likewise.
32525 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32527 * Versions.def: Add GLIBC_2.18.
32528 * include/link.h (struct link_map): New member l_tls_dtor_count.
32529 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32530 (__call_tls_dtors): Likewise.
32531 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32532 __cxa_thread_atexit_impl.
32533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32541 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32547 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32549 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32550 (tests): Add test case tst-tls-atexit.
32551 (modules-names): Add shared library for tst-tls-atexit.
32552 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32553 (GLIBC_PRIVATE): Add __call_tls_dtors.
32554 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32556 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32557 * stdlib/tst-tls-atexit.c: New test case.
32558 * stdlib/tst-tls-atexit-lib.c: New test case.
32560 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32562 * elf/Versions (ld): Add _dl_find_dso_for_object.
32563 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32564 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32565 (dl_open_worker): Use _dl_find_dso_for_object.
32566 * elf/dl-sym.c (do_sym): Likewise.
32567 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32569 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32571 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32572 Syntactic changes only.
32573 (_dl_runtime_profile): Do a tail-call to the resolved function.
32575 2013-02-17 Joseph Myers <joseph@codesourcery.com>
32578 * sysdeps/x86_64/bp-asm.h: Remove file.
32579 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32580 <bp-sym.h> and <bp-asm.h>.
32581 (__clone): Do not use BP_SYM.
32582 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32583 <bp-sym.h> and <bp-asm.h>.
32584 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32585 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32587 (_setjmp): Do not use BP_SYM.
32588 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32590 (setjmp): Do not use BP_SYM.
32591 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32593 (mempcpy): Do not use BP_SYM in weak_alias.
32594 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32596 (strchr): Do not use BP_SYM.
32597 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32599 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32600 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32601 (_start): Do not use BP_SYM.
32602 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32604 (strcat): Do not use BP_SYM.
32605 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32607 (STRCMP): Do not use BP_SYM.
32608 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32610 (STRCPY): Do not use BP_SYM.
32611 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32613 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32615 (FUNCTION): Do not use BP_SYM.
32616 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32618 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32620 2013-02-17 Andreas Jaeger <aj@suse.de>
32622 * time/Versions: Sort entries.
32623 * string/Versions: Likewise.
32624 * resolv/Versions: Likewise.
32625 * posix/Versions: Likewise.
32626 * iconv/Versions: Likewise.
32627 * elf/Versions: Likewise.
32628 * wcsmbs/Versions: Likewise.
32630 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32632 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32633 loop termination condition.
32635 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32636 variable to calculate EZ.
32639 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32640 the lower precision input.
32642 2013-02-15 Joseph Myers <joseph@codesourcery.com>
32645 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32646 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32647 (run-via-rtld-prefix): Do not handle %-bp tests.
32648 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32649 (all-object-suffixes): Remove .ob.
32650 (bppfx): Remove variable.
32651 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32652 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32653 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32654 [$(build-bounded) = yes] (libtype.ob): Likewise.
32655 * Makerules (elide-routines.ob): Remove variable.
32656 (do-tests-clean): Do not handle *-bp.out.
32657 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32658 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32659 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32660 (tests): Do not include $(tests-bp.out).
32661 (xtests): Do not include $(xtests-bp.out).
32662 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32663 [$(build-bounded) = yes] ($(addprefix
32664 $(objpfx),$(binaries-bounded))): Remove rule.
32665 ($(objpfx)%-bp.out): Remove rule.
32666 * config.make.in (build-bounded): Remove variable.
32667 * crypt/Makefile [$(build-bounded) = yes]
32668 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32669 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32670 append to variable.
32671 [$(build-bounded) = yes] (install-lib): Likewise.
32672 [$(build-bounded) = yes] (generated): Likewise.
32673 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32675 * intl/Makefile [$(build-bounded) = yes]
32676 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32677 * math/Makefile [$(build-bounded) = yes]
32678 ($(tests:%=$(objpfx)%-bp): Likewise.
32679 * misc/Makefile [$(build-bounded) = yes]
32680 ($(objpfx)tst-tsearch-bp): Likewise.
32681 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32682 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32684 * string/Makefile (o-objects.ob): Remove variable.
32685 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32686 (CFLAGS-.ob): Remove variable.
32687 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32688 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32689 both definitions of variable.
32690 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32691 (ASFLAGS-.ob): Remove variable.
32693 2013-02-14 Joseph Myers <joseph@codesourcery.com>
32696 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32697 Remove __BOUNDED_POINTERS__ from condition.
32698 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32699 * string/bits/string2.h [!__NO_STRING_INLINES &&
32700 !__BOUNDED_POINTERS__]: Likewise.
32701 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32703 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32704 Remove conditional code.
32705 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32706 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32707 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32711 * csu/libc-start.c: Do not include <bp-sym.h>.
32712 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32713 * elf/dl-open.c: Do not include <bp-sym.h>.
32714 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32715 * math/fegetenv.c: Do not include <bp-sym.h>.
32716 (fegetenv): Do not use BP_SYM in versioned symbols.
32717 * nptl/sysdeps/pthread/bits/libc-lockP.h
32718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32721 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32723 (__pthread_mutex_destroy): Likewise.
32724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32725 (__pthread_mutex_lock): Likewise.
32726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32727 (__pthread_mutex_trylock): Likewise.
32728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32729 (__pthread_mutex_unlock): Likewise.
32730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32731 (__pthread_mutexattr_init): Likewise.
32732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32733 (__pthread_mutexattr_destroy): Likewise.
32734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32735 (__pthread_mutexattr_settype): Likewise.
32736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32737 (__pthread_rwlock_init): Likewise.
32738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32739 (__pthread_rwlock_destroy): Likewise.
32740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32741 (__pthread_rwlock_rdlock): Likewise.
32742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32743 (__pthread_rwlock_tryrdlock): Likewise.
32744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32745 (__pthread_rwlock_wrlock): Likewise.
32746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32747 (__pthread_rwlock_trywrlock): Likewise.
32748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32749 (__pthread_rwlock_unlock): Likewise.
32750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32751 (__pthread_key_create): Likewise.
32752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32753 (__pthread_setspecific): Likewise.
32754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32755 (__pthread_getspecific): Likewise.
32756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32759 (_pthread_cleanup_push_defer): Likewise.
32760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32761 (_pthread_cleanup_pop_restore): Likewise.
32762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32763 (pthread_setcancelstate): Likewise.
32764 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32766 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32767 (memchr): Do not use BP_SYM in weak_alias.
32768 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32769 (fegetenv): Do not use BP_SYM in versioned symbols.
32770 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32771 (fesetenv): Do not use BP_SYM in versioned symbols.
32772 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32773 (feupdateenv): Do not use BP_SYM in versioned symbols.
32774 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32775 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32776 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32777 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32778 (open64): Do not use BP_SYM in weak_alias.
32779 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32780 (fegetenv): Do not use BP_SYM in versioned symbols.
32781 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32782 (fesetenv): Do not use BP_SYM in versioned symbols.
32783 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32784 (feupdateenv): Do not use BP_SYM in versioned symbols.
32785 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32786 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32787 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32788 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32789 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32790 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32791 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32793 (__libc_start_main): Do not use BP_SYM.
32795 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32798 redundant return line.
32800 (denorm): Likewise.
32801 (dbl_mp): Likewise.
32802 (sub_magnitudes): Likewise.
32808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32810 (denorm): Likewise.
32811 (dbl_mp): Likewise.
32812 (sub_magnitudes): Likewise.
32819 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32821 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32822 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32825 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32826 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32827 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32828 of __mul for squares.
32829 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32833 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32834 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32836 2013-02-13 Joseph Myers <joseph@codesourcery.com>
32839 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32841 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32842 prototype or function definition. Rename ubp_* variables and
32843 parameters. Remove argv definitions conditional on
32844 [__BOUNDED_POINTERS__].
32845 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32846 * elf/dl-runtime.c (_dl_fixup): Likewise.
32847 * include/set-hooks.h (RUN_HOOK): Likewise.
32848 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32850 * string/strcpy.c (strcpy): Do not use __unbounded.
32851 * sysdeps/generic/frame.h (struct layout): Likewise.
32852 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32853 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32854 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32855 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32856 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32857 (__backtrace): Likewise.
32858 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32860 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32861 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32862 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32864 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32865 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32866 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32867 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32868 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32869 Do not use __unbounded.
32870 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32871 Rename __unboundedrlimits parameter to rlimits in prototype.
32872 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32873 Do not use __unbounded.
32874 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32875 not use __ptrvalue.
32876 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32877 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32878 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32879 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32880 __ptrvalue or __unbounded.
32881 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32882 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32884 (__new_msgctl): Do not use __ptrvalue.
32885 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32887 (__libc_msgrcv): Do not use __ptrvalue.
32888 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32889 startup_info): Do not use __unbounded.
32890 (__libc_start_main): Likewise. Rename ubp_* variables and
32891 parameters. Remove argv definitions conditional on
32892 [__BOUNDED_POINTERS__].
32893 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32895 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32897 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32899 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32901 (__new_shmctl): Do not use __ptrvalue.
32902 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32903 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32905 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32906 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32907 (__libc_sigaction): Likewise.
32908 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32909 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32911 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32913 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
32915 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32917 * string/mempcpy.c: Implement by calling memcpy.
32919 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32921 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32923 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32926 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32927 values in the mantissa.
32929 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32930 minimize writes to Z.
32931 (sub_magnitudes): Simplify code a bit.
32933 2013-02-12 Roland McGrath <roland@hack.frob.com>
32935 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32936 from the message. The linker prefixes all warnings with that already.
32938 2013-02-12 Andreas Schwab <schwab@suse.de>
32941 * posix/regexec.c (extend_buffers): Add parameter min_len.
32942 (check_matching): Pass minimum needed length.
32943 (clean_state_log_if_needed): Likewise.
32944 (get_subexp): Likewise.
32945 * posix/Makefile (tests): Add bug-regex34.
32946 (bug-regex34-ENV): Define.
32947 * posix/bug-regex34.c: New file.
32950 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32951 elements compare against the byte sequence of it, not its name.
32952 * posix/Makefile (tests): Add bug-regex35.
32953 (bug-regex35-ENV): Define.
32954 * posix/bug-regex35.c: New file.
32956 2013-02-11 Tom de Vries <tom@codesourcery.com>
32958 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32960 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32961 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32962 (CHECK_EOL): Add undef.
32964 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
32966 * bits/stdlib-bsearch.h: New file.
32967 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32968 * stdlib/stdlib.h: Likewise.
32970 2013-02-11 Roland McGrath <roland@hack.frob.com>
32972 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32973 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32975 * manual/search.texi (Array Search Function): Add missing const in
32977 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32978 declaration to use rlim_t.
32979 (Basic Scheduling Functions): Remove erroneous const from
32980 sched_getparam prototype. Remove erroneous * from
32981 sched_get_priority_max and sched_get_priority_min prototypes.
32982 (Resource Usage): Fix summary @comment on vtimes to refer to
32983 sys/vtimes.h rather than vtimes.h.
32984 Add missing *s in vtimes prototype.
32985 (Limits on Resources): Fix ulimit prototype to return long int.
32986 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32987 prototypes to use long int rather than double.
32988 (BSD Random): Fix initstate and setstate to use char *, not void *.
32989 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32990 prototype to make second argument 'struct aiocb64 *const[]'.
32991 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32992 (Status of AIO Operations): Remove erroneous const in aio_return and
32993 aio_return64 prototypes.
32994 (Synchronizing I/O): Fix sync prototype to return void.
32995 * manual/startup.texi (Suboptions): Remove an erroneous const in
32996 getsubopt prototype.
32997 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32998 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32999 use size_t rather than int.
33000 (Scanning All Users): Likewise for getpwent_r.
33001 (Setting Groups): Add missing const to setgroups prototype.
33002 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33003 * manual/socket.texi (Host Names): Fix gethostbyaddr and
33004 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33005 'const void *' rather than 'const char *'.
33006 (Host Address Functions): Likewise for inet_ntop.
33007 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33008 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33009 ssize_t for return value.
33010 (Sending Data): Likewise for send, sendto, sendmsg.
33011 (Socket Option Functions): Add a missing const in setsockopt prototype.
33012 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33013 use wchar_t for the argument.
33014 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33015 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33017 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33018 double/float/long double for second argument.
33019 Fix return types of significand, significandf, significandl.
33020 * manual/filesys.texi (Setting Permissions): Use mode_t for second
33021 argument in fchmod prototype.
33022 (File Owner): Use uid_t and gid_t in fchown prototype.
33023 (File Times): Add const to utimes, futimes, and lutimes prototypes.
33024 (Making Special Files): Use mode_t and dev_t in mknod prototype.
33025 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33026 use 'const struct dirent **' as argument types to CMP function pointer
33028 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33029 (File Times): Fix summary magic @comment for struct utimbuf and utime
33030 to refer to utime.h, not time.h.
33031 * manual/string.texi (Argz Functions): Add missing const in
33032 argz_extract and argz_next prototypes.
33033 (Finding Tokens in a String): Likewise for basename.
33034 (String/Array Comparison): Fix typo in wcscasecmp prototype.
33035 (Copying and Concatenation): Fix typo in wmemmove prototype.
33036 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33037 (Signal Stack): Remove erroneous const in sigstack prototype.
33038 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33040 (Simple Calendar Time): Likewise for stime.
33041 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33043 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33044 say sys/sysctl.h instead.
33045 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33046 and vsyslog prototypes.
33048 2013-02-11 Tom de Vries <tom@codesourcery.com>
33050 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33053 2013-02-11 Roland McGrath <roland@hack.frob.com>
33055 * misc/sys/mman.h: Fix typo in mremap comment.
33057 2013-02-08 Roland McGrath <roland@hack.frob.com>
33059 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33060 the '\0' terminator.
33062 2013-02-08 Joseph Myers <joseph@codesourcery.com>
33065 * debug/segfault.c: Don't include <bp-checks.h>.
33066 * sysdeps/generic/bp-checks.h: Remove file.
33067 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33068 (__GETDENTS): Don't use CHECK_N.
33069 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33070 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33071 (__getgroups): Don't use CHECK_N.
33072 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33073 (setgroups): Don't use CHECK_N.
33074 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33075 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33076 (__libc_msgrcv): Don't use CHECK_N.
33077 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33078 (__libc_msgsnd): Don't use CHECK_N.
33079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33081 (__libc_pread): Don't use CHECK_N.
33082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33083 include <bp-checks.h>.
33084 (__libc_pread64): Don't use CHECK_N.
33085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33086 include <bp-checks.h>.
33087 (__libc_pwrite): Don't use CHECK_N.
33088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33089 include <bp-checks.h>.
33090 (__libc_pwrite64): Don't use CHECK_N.
33091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33093 (__libc_pread): Don't use CHECK_N.
33094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33095 include <bp-checks.h>.
33096 (__libc_pread64): Don't use CHECK_N.
33097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33098 include <bp-checks.h>.
33099 (__libc_pwrite): Don't use CHECK_N.
33100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33101 include <bp-checks.h>.
33102 (__libc_pwrite64): Don't use CHECK_N.
33103 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33104 (do_pread): Don't use CHECK_N.
33105 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33106 (do_pread64): Don't use CHECK_N.
33107 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33108 (do_pwrite): Don't use CHECK_N.
33109 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33110 (do_pwrite64): Don't use CHECK_N.
33111 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33112 (__libc_readv): Don't use CHECK_N.
33113 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33114 (semop): Don't use CHECK_N.
33115 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33117 (semtimedop): Don't use CHECK_N.
33118 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33119 (__libc_pread): Don't use CHECK_N.
33120 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33122 (__libc_pread64): Don't use CHECK_N.
33123 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33125 (__libc_pwrite): Don't use CHECK_N.
33126 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33128 (__libc_pwrite64): Don't use CHECK_N.
33129 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33131 (__libc_msgrcv): Don't use CHECK_N.
33132 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33133 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33134 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33135 (__libc_writev): Don't use CHECK_N.
33137 2013-02-08 Roland McGrath <roland@hack.frob.com>
33139 * string/strcpy.c: Removed unused variable.
33141 * Makeconfig (+sysdep-includes): Define with := rather than =.
33142 Use an existing include/ subdir of each sysdeps dir before it.
33144 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33146 * nscd/connection.c (register_traced_file): Comment function.
33147 [HAVE_INOTIFY] (union __inev): Define.
33148 [HAVE_INOTIFY] (inotify_check_files): New function.
33149 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33150 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33152 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33154 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33156 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33157 loaded if not already and that a failure is permanent.
33159 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33162 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33163 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33165 2013-02-08 Joseph Myers <joseph@codesourcery.com>
33168 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33169 (CHECK_1_NULL_OK): Likewise.
33170 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33171 (__fxstat): Do not use CHECK_1.
33172 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33174 (___fxstat64): Do not use CHECK_1.
33175 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33177 (__fxstatat): Do not use CHECK_1.
33178 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33180 (__fxstatat64): Do not use CHECK_1.
33181 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33183 (__fxstat): Do not use CHECK_1.
33184 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33186 (__fxstatat): Do not use CHECK_1.
33187 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33189 (__getresgid): Do not use CHECK_1.
33190 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33192 (__getresuid): Do not use CHECK_1.
33193 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33195 (__lxstat): Do not use CHECK_1.
33196 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33198 (__old_msgctl): Do not use CHECK_1.
33199 (__new_msgctl): Likewise.
33200 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33202 (__new_setrlimit): Do not use CHECK_1.
33203 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33205 (__old_shmctl): Do not use CHECK_1.
33206 (__new_shmctl): Likewise.
33207 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33209 (__xstat): Do not use CHECK_1.
33210 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33211 (__lxstat): Do not use CHECK_1.
33212 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33214 (___lxstat64): Do not use CHECK_1.
33215 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33216 (__old_msgctl): Do not use CHECK_1.
33217 (__new_msgctl): Likewise.
33218 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33220 (__gettimeofday): Do not use CHECK_1.
33221 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33222 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33223 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33225 (__gettimeofday): Do not use CHECK_1.
33226 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33227 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33228 (__new_shmctl): Do not use CHECK_1.
33229 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33231 (do_sigtimedwait): Do not use CHECK_1.
33232 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33234 (do_sigwaitinfo): Do not use CHECK_1.
33235 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33237 (msgctl): Do not use CHECK_1.
33238 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33240 (shmctl): Do not use CHECK_1.
33241 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33242 (ustat): Do not use CHECK_1.
33243 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33245 (__fxstat): Do not use CHECK_1.
33246 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33248 (__fxstatat): Do not use CHECK_1.
33249 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33251 (__lxstat): Do not use CHECK_1.
33252 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33254 (__xstat): Do not use CHECK_1.
33255 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33256 (__xstat): Do not use CHECK_1.
33257 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33258 (___xstat64): Do not use CHECK_1.
33261 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33263 (CHECK_BOUNDS_HIGH): Likewise.
33264 * string/strcpy.c: Do not include <bp-checks.h>.
33265 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33267 2013-02-07 Roland McGrath <roland@hack.frob.com>
33269 * nscd/nscd-client.h (__nscd_drop_map_ref):
33270 Add __attribute__ ((unused)).
33271 * nis/nss-nisplus.h (niserr2nss): Likewise.
33273 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33274 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33276 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33277 Remove inline keyword.
33278 * include/rounding-mode.h (round_away): Likewise.
33279 * libio/wfileops.c (adjust_wide_data): Likewise.
33280 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33281 (__m128i_strloadu_tolower): Likewise.
33282 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33283 (__m128i_strloadu_tolower): Likewise.
33284 * time/mktime.c (ydhms_diff): Likewise.
33285 * locale/elem-hash.h (elem_hash): Likewise.
33286 * locale/setlocale.c (setdata): Likewise.
33287 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33288 (re_string_wchar_at): Likewise.
33289 (bitset_not, bitset_merge, bitset_mask): Likewise.
33290 [!(__GNUC__ > 3)] (inline): Remove macro.
33291 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33292 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33293 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33294 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33295 * string/memcmp.c (memcmp_bytes): Likewise.
33296 * locale/programs/locarchive.c (compute_hashval): Likewise.
33297 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33298 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33299 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33300 * nss/getent.c (print_rpc, print_protocols): Likewise.
33301 (print_passwd, print_group, print_aliases): Likewise.
33302 * nis/nss-nisplus.h (niserr2nss): Likewise.
33303 * nscd/connections.c (restart_p): Likewise.
33304 Change return type to bool.
33306 2013-02-05 Roland McGrath <roland@hack.frob.com>
33308 * Makeconfig (all-Depend-files): Add existing
33309 $(sorted-subdirs:=/Depend) files.
33310 (all-subdirs): Remove nss.
33311 * sysdeps/unix/inet/Subdirs: Add it here instead.
33312 * hesiod/Depend: New file.
33314 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33315 instead of calling alloca.
33317 * io/lseek.c (__lseek): Rename to __libc_lseek.
33318 Define __lseek as an alias.
33320 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33322 2013-02-04 Carlos O'Donell <carlos@redhat.com>
33324 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33325 else clause and remove check for non-standard endianness.
33327 2013-02-04 David S. Miller <davem@davemloft.net>
33329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33331 2013-02-04 Joseph Myers <joseph@codesourcery.com>
33334 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33335 (__ubp_memchr): Remove prototype.
33336 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33337 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33338 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33339 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33340 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33342 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33343 (__ubp_memchr): Likewise.
33344 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33345 (__ubp_memchr): Likewise.
33346 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33347 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33348 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33349 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33351 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33352 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33353 (__getcwd): Do not use CHECK_STRING.
33354 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33356 (__real_chown): Do not use CHECK_STRING.
33357 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33359 (fchownat): Do not use CHECK_STRING.
33360 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33362 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33364 (__lchown): Do not use CHECK_STRING.
33365 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33366 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33367 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33368 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33370 include <bp-checks.h>.
33371 (truncate64): Do not use CHECK_STRING.
33372 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33374 (__real_chown): Do not use CHECK_STRING.
33375 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33377 (__lchown): Do not use CHECK_STRING.
33378 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33380 (__chown): Do not use CHECK_STRING.
33381 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33383 (truncate64): Do not use CHECK_STRING.
33384 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33386 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33387 (__xmknod): Do not use CHECK_STRING.
33388 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33390 (__xmknodat): Do not use CHECK_STRING.
33391 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33392 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33394 2013-02-04 Andreas Schwab <schwab@suse.de>
33397 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33398 * include/netdb.h: Likewise for h_errno.
33399 * elf/tst-stackguard1.c: Include <tls.h>.
33401 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33403 * elf/link.h (struct link_map): Extend the l_addr comment.
33404 * include/link.h (struct link_map): Likewise.
33406 2013-02-01 Joseph Myers <joseph@codesourcery.com>
33409 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33410 (BOUNDED_1): Remove macro.
33411 * debug/backtrace.c: Don't include <bp-checks.h>.
33412 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33413 (__backtrace): Likewise.
33414 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33416 (__backtrace): Don't use BOUNDED_1.
33417 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33419 (__backtrace): Don't use BOUNDED_1.
33420 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33421 (__backtrace): Don't use BOUNDED_1.
33422 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33423 (shmat): Don't use BOUNDED_N.
33425 2013-01-31 Joseph Myers <joseph@codesourcery.com>
33428 * sysdeps/generic/bp-start.h: Remove file.
33429 * csu/libc-start.c: Don't include <bp-start.h>.
33430 (LIBC_START_MAIN): Set up __environ directly instead of using
33431 INIT_ARGV_and_ENVIRON.
33432 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33436 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33438 (CHECK_FCNTL): Likewise.
33439 (CHECK_N_PAGES): Likewise.
33442 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33444 (CHECK_SIGSET_NULL_OK): Likewise.
33445 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33447 (sigpending): Don't use CHECK_SIGSET.
33448 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33450 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33451 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33453 (do_sigsuspend): Don't use CHECK_SIGSET.
33454 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33456 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33457 (do_sigwait): Don't use CHECK_SIGSET.
33458 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33460 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33461 include <bp-checks.h>.
33462 (sigpending): Don't use CHECK_SIGSET.
33463 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33464 include <bp-checks.h>.
33465 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33466 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33468 (sigpending): Don't use CHECK_SIGSET.
33469 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33471 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33474 * sysdeps/generic/bp-semctl.h: Remove file.
33475 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33476 <bp-checks.h> and <bp-semctl.h>.
33477 (__old_semctl): Don't use CHECK_SEMCTL.
33478 (__new_semctl): Likewise.
33479 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33481 (__old_semctl): Don't use CHECK_SEMCTL.
33482 (__new_semctl): Likewise.
33483 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33484 <bp-checks.h> and <bp-semctl.h>.
33485 (__old_semctl): Don't use CHECK_SEMCTL.
33486 (__new_semctl): Likewise.
33487 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33488 <bp-checks.h> and <bp-semctl.h>.
33489 (semctl): Don't use CHECK_SEMCTL.
33492 * Makerules (elide-bp-thunks): Remove variable.
33493 (elide-routines.oS): Don't use $(elide-bp-thunks).
33494 (elide-routines.os): Likewise.
33495 (elide-routines.o): Likewise.
33496 (elide-routines.op): Likewise.
33497 (elide-routines.og): Likewise.
33498 (objects): Don't use $(bp-thunks).
33499 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33501 (common-generated): Do not add s-proto-bp.d.
33502 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33505 Do not generate makefile rules for bounded-pointer thunks.
33506 * sysdeps/generic/bp-thunks.h: Remove file.
33507 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33508 * sysdeps/unix/s-proto-bp.S: Likewise.
33511 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33512 parts of result separately when argument is not close to line from
33513 -i to i and one part of argument is small.
33514 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33515 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33516 * math/libm-test.inc (cacos_test): Add more tests.
33517 (casin_test): Likewise.
33518 (casinh_test): Likewise.
33519 * sysdeps/i386/fpu/libm-test-ulps: Update.
33520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33522 2013-01-31 David S. Miller <davem@davemloft.net>
33524 * po/de.po: Update from translation team.
33526 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33528 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33530 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33532 * configure.in (_AC_PROG_CC_C89): New definition.
33533 * configure: Regenerate.
33535 * configure.in (AC_PROG_CPP): New definition.
33536 * configure: Regenerate.
33538 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33540 * debug/tst-backtrace.h: New file.
33541 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33542 (ret): Remove variable.
33544 (FAIL): Remove macro.
33545 (NO_INLINE): Likewise.
33546 (fn1): Use match function instead of strstr.
33547 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33548 (ret): Remove variable.
33550 (FAIL): Remove macro.
33551 (NO_INLINE): Likewise.
33552 (fn): Use match function instead of strstr.
33553 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33554 (ret): Remove variable.
33556 (FAIL): Remove macro.
33557 (NO_INLINE): Likewise.
33558 (handle_signal): Use match function instead of strstr.
33559 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33560 (ret): Remove variable.
33562 (FAIL): Remove macro.
33563 (NO_INLINE): Likewise.
33564 (handle_signal): Use match function instead of strstr.
33566 2013-01-23 Roland McGrath <roland@hack.frob.com>
33568 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33570 2013-01-23 David S. Miller <davem@davemloft.net>
33572 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33573 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33574 argument of CAS if possible.
33575 * sysdeps/sparc/sparc64/bits/atomic.h
33576 (__arch_compare_and_exchange_val_32_acq): Likewise.
33577 (__arch_compare_and_exchange_val_64_acq): Likewise.
33579 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33581 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33582 * sysdeps/posix/ulimit.c: ... this.
33583 Include <limits.h>.
33584 * sysdeps/unix/bsd/ulimit.c: Remove file.
33586 2013-01-23 Adam Conrad <adconrad@0c3.net>
33588 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33589 (LDFLAGS-tst-array5): Likewise.
33591 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33594 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33595 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33596 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33597 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33599 2013-01-21 David S. Miller <davem@davemloft.net>
33601 * sysdeps/sparc/backtrace.c: New file.
33602 * sysdeps/sparc/sparc32/backtrace.h: New file.
33603 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33604 * sysdeps/sparc/sparc64/backtrace.h: New file.
33605 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33606 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33609 2013-01-21 Andreas Schwab <schwab@suse.de>
33612 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33615 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33617 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33619 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33621 2013-01-18 Joseph Myers <joseph@codesourcery.com>
33622 Mark Mitchell <mark@codesourcery.com>
33623 Tom de Vries <tom@codesourcery.com>
33624 Paul Pluzhnikov <ppluzhnikov@google.com>
33626 * debug/tst-backtrace2.c: New file.
33627 * debug/tst-backtrace3.c: Likewise.
33628 * debug/tst-backtrace4.c: Likewise.
33629 * debug/tst-backtrace5.c: Likewise.
33630 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33631 (CFLAGS-tst-backtrace3.c): Likewise.
33632 (CFLAGS-tst-backtrace4.c): Likewise.
33633 (CFLAGS-tst-backtrace5.c): Likewise.
33634 (LDFLAGS-tst-backtrace2): Likewise.
33635 (LDFLAGS-tst-backtrace3): Likewise.
33636 (LDFLAGS-tst-backtrace4): Likewise.
33637 (LDFLAGS-tst-backtrace5): Likewise.
33638 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33639 tst-backtrace4 and tst-backtrace5.
33641 2013-01-18 Anton Blanchard <anton@samba.org>
33642 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33644 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33645 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33646 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33647 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33649 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33650 "+r" and remove output regs list as redundant. Add explicit inline
33651 asm to specify register of return val to work around compiler codegen
33652 bug. Remove (int) cast on return value. Add return type parameter to
33653 use in macro so that this macro does not truncate return value for
33655 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33656 pass to INTERNAL_VSYSCALL_NCS.
33657 (INLINE_VSYSCALL): Add 'long int' as return type to
33658 INTERNAL_VSYSCALL_NCS macro invocation.
33659 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33660 INTERNAL_VSYSCALL_NCS macro invocation.
33661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33663 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33666 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33667 Fix application of SIMD FP exception mask.
33669 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33670 mp_no from a power of two.
33671 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33672 __mpexp_twomm1. Use __pow_mp.
33674 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33677 2013-01-17 David S. Miller <davem@davemloft.net>
33679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33681 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33684 * include/complex.h: Condition contents on [!_COMPLEX_H].
33685 (__kernel_casinhf): New prototype.
33686 (__kernel_casinh): Likewise.
33687 (__kernel_casinhl): Likewise.
33688 * math/Makefile (libm_calls): Add k_casinh.
33689 * math/k_casinh.c: New file.
33690 * math/k_casinhf.c: Likewise.
33691 * math/k_casinhl.c: Likewise.
33692 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33693 finite nonzero arguments.
33694 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33695 finite nonzero arguments.
33696 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33697 finite nonzero arguments.
33698 * math/s_casinh.c: Do not include <float.h>.
33699 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33700 * math/s_casinhf.c: Do not include <float.h>.
33701 (__casinhf): Move code for finite nonzero arguments to
33703 * math/s_casinhl.c: Do not include <float.h>.
33704 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33706 (__casinhl): Move code for finite nonzero arguments to
33708 * math/libm-test.inc (cacos_test): Add more tests.
33709 * sysdeps/i386/fpu/libm-test-ulps: Update.
33710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33712 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33714 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33715 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33716 [!HAVE_MREMAP]: Remove [defined linux] case.
33717 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33719 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33721 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33723 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
33725 * elf/elf.h (R_386_SIZE32): New relocation.
33726 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33728 (elf_machine_rela): Likewise.
33729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33730 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33732 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33734 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33735 (FP_FAST_FMA): Do not define.
33736 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33737 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33738 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33739 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33740 !_SOFT_FLOAT]: Likewise.
33741 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33742 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33744 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33745 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33746 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33747 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33748 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33749 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33752 2013-01-16 Andreas Schwab <schwab@suse.de>
33755 * include/stdlib.h (__mktemp): Add declaration.
33756 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33757 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33759 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33761 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33763 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33764 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33765 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33767 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33768 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33770 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33772 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33773 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33774 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33776 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33777 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33779 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33781 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33783 2013-01-15 David S. Miller <davem@davemloft.net>
33785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33786 trunc{,f} to libm-sysdep_routes.
33787 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33797 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33798 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33799 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33800 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33801 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33802 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33805 nearbyint{,f} to libm-sysdep_routes.
33806 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33817 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33819 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33820 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33822 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33823 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33824 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33826 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33827 libc_feholdexcept and libc_fesetenv.
33829 2013-01-15 Mike Frysinger <vapier@gentoo.org>
33831 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33833 2013-01-14 David S. Miller <davem@davemloft.net>
33835 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33836 (SPARC_ASM_VIS2_IFUNC): Likewise.
33837 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33839 use of 'siam' instruction.
33840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33847 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33848 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33849 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33859 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33869 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33871 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33873 routines to libm-sysdep_routines.
33874 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33877 fdim/fdimf to libm-sysdep_routines.
33878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33886 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33887 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33888 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33889 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33891 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33893 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33894 to optimize copies.
33896 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33898 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33901 local variable MPTWO.
33902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33905 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33907 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33910 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33912 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33914 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33916 * manual/pattern.texi (glob_t): Document gl_flags.
33917 (glob64_t): Likewise.
33919 2013-01-11 David S. Miller <davem@davemloft.net>
33921 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33922 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33923 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
33924 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33925 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33926 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33927 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33928 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33929 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33930 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33931 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33932 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33933 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33935 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33936 sparc V9 rather than using V8 code.
33937 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33938 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33940 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33942 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33945 2013-01-11 Roland McGrath <roland@hack.frob.com>
33947 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33948 not in the main loop.
33949 * configure: Regenerated.
33951 2013-01-11 Joseph Myers <joseph@codesourcery.com>
33953 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33954 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33956 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33957 [!__GLIBC_HAVE_LONG_LONG] case.
33958 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33959 condition to just #else.
33960 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33961 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33962 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33963 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33965 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33966 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33967 #elif condition to just #else.
33968 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33969 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33970 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33971 #elif condition to just #else.
33973 2013-01-11 Steve Ellcey <sellcey@mips.com>
33975 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33976 (EF_MIPS_ARCH_64): Fix value.
33977 (EF_MIPS_ARCH_32R2): New.
33978 (EF_MIPS_ARCH_64R2): New.
33980 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33982 * Makeconfig (+link-pie-before-libc): New.
33983 (+link-pie-after-libc): Likewise.
33984 (+link-pie-tests): Likewise.
33985 (+link-pie): Rewritten.
33986 (link-before-libc): Remove $(config-LDFLAGS).
33987 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33988 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33989 (config-LDFLAGS): Renamed to ...
33990 (rtld-LDFLAGS): This.
33991 (rtld-tests-LDFLAGS): New macro.
33992 (link-libc-rpath-link): Likewise.
33993 (link-libc-tests-rpath-link): Likewise.
33994 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33995 (link-libc): Prepand $(link-libc-rpath-link).
33996 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33997 (test-program-prefix): New macro.
33998 (test-via-rtld-prefix): Likewise.
33999 (test-program-cmd): Likewise.
34000 (host-test-program-cmd): Likewise.
34001 * Makefile ($(common-objpfx)testrun.sh): Replace
34002 $(run-program-prefix) with $(test-program-prefix).
34003 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34005 ($(common-objpfx)shlib.lds): Likewise.
34006 (build-module-helper): Likewise.
34007 ($(common-objpfx)format.lds): Likewise.
34008 * Rules (binaries-pie-tests): New.
34009 (binaries-pie-notests): Likewise.
34010 (binaries-pie): Rewritten.
34011 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34012 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34013 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34014 (make-test-out): Replace $(host-built-program-cmd) with
34015 $(host-test-program-cmd).
34016 * config.make.in (build-hardcoded-path-in-tests): New variable.
34017 * configure.in (--enable-hardcoded-path-in-tests): New configure
34019 (hardcoded_path_in_tests): New AC_SUBST.
34020 * configure: Regenerated.
34021 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34022 $(built-program-cmd) with $(test-program-cmd).
34023 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34024 (test_program_cmd): This.
34025 * elf/Makefile ($(objpfx)order.out): Run test with
34026 $(test-program-prefix).
34027 ($(objpfx)order2.out): Likewise.
34028 ($(objpfx)tst-initorder.out): Likewise.
34029 ($(objpfx)tst-initorder2.out): Likewise.
34030 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34031 $(test-program-cmd).
34032 ($(objpfx)tst-array1-static.out): Likewise.
34033 ($(objpfx)tst-array2.out): Likewise.
34034 ($(objpfx)tst-array3.out): Likewise.
34035 ($(objpfx)tst-array4.out): Likewise.
34036 ($(objpfx)tst-array5.out): Likewise.
34037 ($(objpfx)tst-array5-static.out): Likewise.
34038 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34039 $(test-program-cmd).
34040 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34041 $(run-program-prefix) with $(test-program-prefix).
34042 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34043 (test_program_prefix): This.
34044 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34045 $(run-program-prefix) with $(test-program-prefix).
34046 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34047 (test_program_prefix): This.
34048 * iconvdata/tst-tables.sh: Likewise.
34049 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34050 $(run-program-prefix) with $(test-program-prefix).
34051 ($(objpfx)tst-translit.out): Likewise.
34052 ($(objpfx)tst-gettext2.out): Likewise.
34053 ($(objpfx)tst-gettext4.out): Likewise.
34054 ($(objpfx)tst-gettext6.out): Likewise.
34055 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34056 (test_program_prefix): This.
34057 * intl/tst-gettext2.sh: Likewise.
34058 * intl/tst-gettext4.sh Likewise.
34059 * intl/tst-gettext6.sh: Likewise.
34060 * intl/tst-translit.sh: Likewise.
34061 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34062 with $(test-program-cmd).
34063 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34064 $(run-program-prefix) with $(test-program-prefix).
34065 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34066 (test_program_prefix): This.
34067 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34068 $(run-program-prefix) with $(test-program-prefix).
34069 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34070 (test_program_prefix): This.
34071 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34072 * posix/Makefile ($(objpfx)globtest.out): Replace
34073 $(run-via-rtld-prefix) and $(test-wrapper) with
34074 $(test-program-prefix) and $(test-via-rtld-prefix).
34075 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34076 $(test-program-prefix).
34077 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34078 $(host-test-program-cmd).
34079 (tst-spawn-ARGS): Likewise.
34080 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34081 $(test-program-prefix).
34082 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34083 (test_via_rtld_prefix): This.
34084 (test_wrapper): Renamed to ...
34085 (test_program_prefix): This.
34086 (run_program_prefix): Replaced by test_program_prefix.
34087 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34088 (test_program_prefix): This.
34089 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34090 with $(host-test-program-cmd).
34091 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34092 $(run-program-prefix) with $(test-program-prefix).
34093 ($(objpfx)tst-printf.out): Likewise.
34094 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34095 $(test-program-cmd).
34096 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34097 (test_program_prefix): This.
34098 * stdio-common/tst-unbputc.sh: Likewise.
34099 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34100 $(run-program-prefix) with $(test-program-prefix).
34101 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34102 (test_program_prefix): This.
34103 * string/Makefile ($(objpfx)tst-svc.out): Replace
34104 $(built-program-cmd) with $(test-program-cmd).
34106 2013-01-11 Andreas Jaeger <aj@suse.de>
34109 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34110 value. Sync with Linux 3.7.
34112 2013-01-10 David S. Miller <davem@davemloft.net>
34114 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34115 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34116 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34118 2013-01-10 Roland McGrath <roland@hack.frob.com>
34120 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34122 * configure: Regenerated.
34124 2013-01-10 David S. Miller <davem@davemloft.net>
34126 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34127 sparc V9 rather than using V8 code.
34128 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34129 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34131 2013-01-10 Roland McGrath <roland@hack.frob.com>
34133 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34134 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34135 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34136 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34137 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34138 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34139 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34140 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34141 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34142 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34143 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34144 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34145 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34146 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34147 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34148 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34149 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34150 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34151 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34152 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34153 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34154 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34155 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34156 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34157 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34158 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34159 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34161 2013-01-10 David S. Miller <davem@davemloft.net>
34163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34165 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34167 * posix/Makefile (tests-static): New variable.
34168 (tests): Add $(tests-static).
34169 (tst-exec-static-ARGS): New variable.
34170 (tst-spawn-static-ARGS): Likewise.
34171 * posix/tst-exec-static.c: New file.
34172 * posix/tst-spawn-static.c: Likewise.
34173 * posix/tst-exec.c: Support run directly.
34174 * posix/tst-spawn.c: Likewise.
34176 2013-01-10 Joseph Myers <joseph@codesourcery.com>
34178 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34180 * math/bits/mathcalls.h (llrint): Likewise.
34181 (llround): Likewise.
34182 * stdlib/stdlib.h (struct drand48_data): Likewise.
34183 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34184 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34185 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34187 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34189 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34190 (elf_greg_t): Likewise.
34191 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34192 (__jmp_buf): Likewise.
34193 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34195 (llrint): Likewise, for all definitions.
34196 (llrintl): Likewise.
34198 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34199 Remove [__GNUC__] condition.
34200 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34201 condition to just [__USE_ISOC99].
34202 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34204 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34207 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34208 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34210 (_POSIX_V6_ILP32_OFF32): Likewise.
34211 (_XBS5_ILP32_OFF32): Likewise.
34212 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34213 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34215 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34217 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34219 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34220 doubles __mpexp_twomm1. Adjust usage.
34221 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34224 2013-01-10 Andreas Schwab <schwab@suse.de>
34227 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34228 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34230 2013-01-09 David S. Miller <davem@davemloft.net>
34233 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34234 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34235 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34236 (TCP_FASTOPEN): Define.
34237 (tcp_repair_opt): New structure.
34238 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34240 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34241 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34242 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
34243 (tcp_cookie_transactions): New structure.
34245 2013-01-09 Anton Blanchard <anton@samba.org>
34247 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34248 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34249 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34250 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34252 2013-01-09 Joseph Myers <joseph@codesourcery.com>
34254 * include/features.h (__USE_ANSI): Remove.
34256 2013-01-09 Roland McGrath <roland@hack.frob.com>
34258 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34260 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34262 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34264 * sysdeps/s390/fpu/libm-test-ulps: Update.
34266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34268 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34272 (denorm): Likewise.
34273 (__mp_dbl): Likewise.
34274 (__dbl_mp): Likewise.
34275 (add_magnitudes): Likewise.
34276 (sub_magnitudes): Likewise.
34282 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34286 (denorm): Likewise.
34287 (__mp_dbl): Likewise.
34288 (__dbl_mp): Likewise.
34289 (add_magnitudes): Likewise.
34290 (sub_magnitudes): Likewise.
34296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34300 (denorm): Likewise.
34301 (__mp_dbl): Likewise.
34302 (__dbl_mp): Likewise.
34303 (add_magnitudes): Likewise.
34304 (sub_magnitudes): Likewise.
34311 2013-01-08 Joseph Myers <joseph@codesourcery.com>
34313 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34314 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34315 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34316 2 && __USE_EXTERN_INLINES]: Likewise.
34318 2013-01-08 Andreas Jaeger <aj@suse.de>
34321 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34323 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34324 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34326 2013-01-07 Anton Blanchard <anton@samba.org>
34328 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34329 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34330 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34331 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34332 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34333 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34334 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34335 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34336 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34337 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34338 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34339 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34340 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34341 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34342 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34343 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34344 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34345 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34346 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34347 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34348 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34349 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34350 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34351 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34352 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34353 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34354 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34355 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34356 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34357 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34358 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34359 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34360 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34361 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34362 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34363 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34364 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34365 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34366 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34367 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34368 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34369 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34370 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34372 2013-01-07 Joseph Myers <joseph@codesourcery.com>
34374 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34375 (__MALLOC_PMT): Likewise.
34376 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34377 [__GNUC__], only on [_LIBC].
34378 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34379 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34380 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34381 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34382 forward declaration.
34383 (realloc_hook_ini): Likewise.
34384 (memalign_hook_ini): Likewise.
34385 (__libc_memalign): Do not use __MALLOC_PMT in variable
34387 (__libc_valloc): Likewise.
34388 (__libc_pvalloc): Likewise.
34389 (__libc_calloc): Likewise.
34390 (__posix_memalign): Likewise.
34393 * math/s_casinh.c: Include <float.h>.
34394 (__casinh): Do not do computation with squaring and square root
34395 for large arguments.
34396 * math/s_casinhf.c: Include <float.h>.
34397 (__casinhf): Do not do computation with squaring and square root
34398 for large arguments.
34399 * math/s_casinhl.c: Include <float.h>.
34400 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34401 (__casinhl): Do not do computation with squaring and square root
34402 for large arguments.
34403 * math/libm-test.inc (casin_test): Add more tests.
34404 (casinh_test): Likewise.
34405 * sysdeps/i386/fpu/libm-test-ulps: Update.
34406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34408 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34410 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34411 (__x86_64_raw_data_cache_size): Likewise.
34412 (__x86_64_data_cache_size_half): Likewise.
34413 (__x86_64_raw_data_cache_size_half): Likewise.
34414 (__x86_64_shared_cache_size): Likewise.
34415 (__x86_64_raw_shared_cache_size): Likewise.
34416 (__x86_64_shared_cache_size_half): Likewise.
34417 (__x86_64_raw_shared_cache_size_half): Likewise.
34418 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34420 (__x86_data_cache_size): This.
34421 (__x86_64_raw_data_cache_size): Renamed to ...
34422 (__x86_raw_data_cache_size): This.
34423 (__x86_64_data_cache_size_half): Renamed to ...
34424 (__x86_data_cache_size_half): This.
34425 (__x86_64_raw_data_cache_size_half): Renamed to ...
34426 (__x86_raw_data_cache_size_half): This.
34427 (__x86_64_shared_cache_size): Renamed to ...
34428 (__x86_shared_cache_size): This.
34429 (__x86_64_raw_shared_cache_size): Renamed to ...
34430 (__x86_raw_shared_cache_size): This.
34431 (__x86_64_shared_cache_size_half): Renamed to ...
34432 (__x86_shared_cache_size_half): This.
34433 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34434 (__x86_raw_shared_cache_size_half): This.
34435 * sysdeps/x86_64/memcpy.S: Updated.
34436 * sysdeps/x86_64/memset.S: Likewise.
34437 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34438 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34439 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34441 2013-01-04 David S. Miller <davem@davemloft.net>
34443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34445 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34447 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34448 1 to avoid redefinition warning.
34449 (__USE_GNU): Don't define.
34450 (init_signaling_nan): Protoize.
34452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34454 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34456 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34457 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34458 (__cpymn): Likewise.
34459 (norm): Remove commented code.
34460 (denorm): Likewise.
34461 (__mp_dbl): Likewise.
34463 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34464 (__cpymn): Likewise.
34465 (norm): Remove commented code.
34466 (denorm): Likewise.
34467 (__mp_dbl): Likewise.
34470 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34471 mp_no value for 1.0 and 2.0.
34472 (norm): Use RADIXI instead of radixi.d.
34473 (denorm): Likewise.
34474 (__mul): Use 0.0 instead of zero.d.
34475 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34476 mp_no value for 1.0 and 2.0.
34477 (norm): Use RADIXI instead of radixi.d.
34478 (denorm): Likewise.
34479 (__mul): Use 0.0 instead of zero.d.
34481 2013-01-04 Joseph Myers <joseph@codesourcery.com>
34484 * math/s_casinh.c (__casinh): Reduce finite argument to first
34485 quadrant then set signs of results at the end.
34486 * math/s_casinhf.c (__casinhf): Likewise.
34487 * math/s_casinhl.c (__casinhl): Likewise.
34488 * math/libm-test.inc (casin_test): Add more tests.
34489 (casinh_test): Likewise.
34490 * sysdeps/i386/fpu/libm-test-ulps: Update.
34491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34493 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34495 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34497 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34499 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34501 (denorm): Likewise.
34502 (__mp_dbl): Likewise.
34505 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34506 and adjust the header comment.
34508 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34509 variable name from declaration.
34511 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34514 Initialize COMMON_CPUID_INDEX_7 element.
34515 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34516 (CPUID_RTM): Likewise.
34517 (HAS_RTM): Likewise.
34518 (COMMON_CPUID_INDEX_7): New enum.
34520 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34523 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34524 size is zero, record memory as freed.
34526 2013-01-03 Andreas Jaeger <aj@suse.de>
34528 * po/ia.po: Add new Interlingua translation.
34530 2012-01-03 Allan McRae <allan@archlinux.org>
34532 * locale/programs/localedef.c: Fix description of '--posix' flag.
34534 2013-01-02 Joseph Myers <joseph@codesourcery.com>
34536 * NEWS: Update dates in second copyright notice.
34537 * README: Update copyright dates in example.
34538 * manual/libc.texinfo: Update copyright dates.
34539 * scripts/test-installation.pl: Update copyright date in --version
34542 * hurd/ctty-input.c: Fix copyright notice formatting.
34543 * hurd/ctty-output.c: Likewise.
34544 * hurd/dtable.c: Likewise.
34545 * hurd/hurd-raise.c: Likewise.
34546 * hurd/hurdprio.c: Likewise.
34547 * hurd/msgportdemux.c: Likewise.
34548 * misc/sys/file.h: Likewise.
34549 * misc/sys/ioctl.h: Likewise.
34550 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34551 * sysdeps/mach/hurd/chdir.c: Likewise.
34552 * sysdeps/mach/hurd/fchdir.c: Likewise.
34553 * sysdeps/mach/hurd/rename.c: Likewise.
34554 * sysdeps/mach/hurd/rmdir.c: Likewise.
34555 * sysdeps/mach/hurd/seekdir.c: Likewise.
34556 * sysdeps/mach/hurd/setsid.c: Likewise.
34557 * sysdeps/posix/wait3.c: Likewise.
34559 * All files with FSF copyright notices: Update copyright dates
34560 using scripts/update-copyrights.
34561 * intl/plural.c: Regenerated.
34562 * locale/programs/charmap-kw.h: Likewise.
34563 * locale/programs/locfile-kw.h: Likewise.
34565 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34567 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34570 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34571 calculation loop and add branch prediction.
34573 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34574 check access beyond bounds of m1np.
34576 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34578 (__inv): Remove local variable MPTWO to use the global
34580 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34581 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34583 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34584 MP3HALFS static const.
34586 2013-01-01 David S. Miller <davem@davemloft.net>
34588 * po/ca.po: Update from translation team.
34590 2013-01-01 Joseph Myers <joseph@codesourcery.com>
34592 * scripts/update-copyrights: New file.
34593 * Makeconfig: Reformat copyright notice.
34594 * ctype/ctype.h: Likewise.
34595 * debug/swprintf_chk.c: Likewise.
34596 * elf/dl-cache.c: Likewise.
34597 * elf/dl-debug.c: Likewise.
34598 * elf/dl-object.c: Likewise.
34599 * grp/initgroups.c: Likewise.
34600 * hurd/Makefile: Likewise.
34601 * hurd/hurd/signal.h: Likewise.
34602 * hurd/hurdfault.c: Likewise.
34603 * hurd/hurdioctl.c: Likewise.
34604 * hurd/hurdlookup.c: Likewise.
34605 * hurd/intr-msg.c: Likewise.
34606 * iconv/gconv_open.c: Likewise.
34607 * libio/swprintf.c: Likewise.
34608 * locale/lc-ctype.c: Likewise.
34609 * locale/nl_langinfo.c: Likewise.
34610 * mach/Machrules: Likewise.
34611 * mach/Makefile: Likewise.
34612 * malloc/obstack.h: Likewise.
34613 * manual/Makefile: Likewise.
34614 * manual/tsort.awk: Likewise.
34615 * misc/bits/stab.def: Likewise.
34616 * nis/nis_print_group_entry.c: Likewise.
34617 * nis/nis_table.c: Likewise.
34618 * nis/nss_compat/compat-pwd.c: Likewise.
34619 * nis/nss_compat/compat-spwd.c: Likewise.
34620 * po/Makefile: Likewise.
34621 * posix/fnmatch.c: Likewise.
34622 * posix/regex.h: Likewise.
34623 * resolv/Makefile: Likewise.
34624 * resolv/nss_dns/dns-network.c: Likewise.
34625 * resolv/res_hconf.c: Likewise.
34626 * scripts/gen-sorted.awk: Likewise.
34627 * soft-fp/soft-fp.h: Likewise.
34628 * stdio-common/printf.h: Likewise.
34629 * stdlib/monetary.h: Likewise.
34630 * stdlib/random.c: Likewise.
34631 * stdlib/random_r.c: Likewise.
34632 * sysdeps/generic/Makefile: Likewise.
34633 * sysdeps/gnu/Makefile: Likewise.
34634 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34635 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34636 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34637 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34638 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34639 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34640 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34641 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34642 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34643 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34644 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34645 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34646 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34647 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34648 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34649 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34650 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34651 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34652 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34653 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34654 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34655 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34656 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34657 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34658 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34659 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34660 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34661 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34662 * sysdeps/mach/hurd/errnos.awk: Likewise.
34663 * sysdeps/mach/hurd/fork.c: Likewise.
34664 * sysdeps/mach/hurd/getcwd.c: Likewise.
34665 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34666 * sysdeps/mach/hurd/mmap.c: Likewise.
34667 * sysdeps/mach/hurd/utimes.c: Likewise.
34668 * sysdeps/mach/hurd/xmknod.c: Likewise.
34669 * sysdeps/posix/profil.c: Likewise.
34670 * sysdeps/posix/readdir_r.c: Likewise.
34671 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34672 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34673 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34674 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34675 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34676 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34677 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34678 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34679 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34680 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34681 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34682 * sysdeps/pthread/lio_listio.c: Likewise.
34683 * sysdeps/sparc/dl-procinfo.h: Likewise.
34684 * sysdeps/unix/i386/sysdep.S: Likewise.
34685 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34686 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34687 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34688 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34690 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34691 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34692 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34693 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34694 * sysdeps/wordsize-32/divdi3.c: Likewise.
34695 * time/sys/time.h: Likewise.
34696 * wcsmbs/Makefile: Likewise.
34698 2013-01-01 David S. Miller <davem@davemloft.net>
34700 * po/fr.po: Update from translation team.
34702 * catgets/gencat.c: Update copyright year.
34703 * csu/version.c: Likewise.
34704 * debug/catchsegv.sh: Likewise.
34705 * debug/pcprofiledump.c: Likewise.
34706 * debug/xtrace.sh: Likewise.
34707 * elf/ldconfig.c: Likewise.
34708 * elf/ldd.bash.in: Likewise.
34709 * elf/pldd.c: Likewise.
34710 * elf/sotruss.ksh: Likewise.
34711 * elf/sprof.c: Likewise.
34712 * iconv/iconv_prog.c: Likewise.
34713 * iconv/iconvconfig.c: Likewise.
34714 * locale/programs/locale.c: Likewise.
34715 * locale/programs/localedef.c: Likewise.
34716 * login/programs/pt_chown.c: Likewise.
34717 * malloc/memusage.sh: Likewise.
34718 * malloc/memusagestat.c: Likewise.
34719 * malloc/mtrace.pl: Likewise.
34720 * nscd/nscd.c: Likewise.
34721 * nss/getent.c: Likewise.
34722 * nss/makedb.c: Likewise.
34723 * posix/getconf.c: Likewise.
34725 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34727 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34730 2012-12-30 Mike Frysinger <vapier@gentoo.org>
34732 * math/bits/mathcalls.h (modf): Use __nonnull.
34734 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34736 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34737 (split): Use macro CN instead of the bare value.
34738 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34740 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34741 instead of the bare value.
34742 (power1): Likewise.
34744 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34746 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34748 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34750 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34752 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34753 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34754 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34755 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34757 2012-12-28 Andreas Jaeger <aj@suse.de>
34759 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34760 values are from Linux 3.7.
34762 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34763 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34765 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34767 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34770 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34772 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34773 variables with preprocessor constants.
34774 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34775 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34776 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34778 2012-12-27 Bruno Haible <bruno@clisp.org>
34781 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34784 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34786 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34787 and use variable directly.
34788 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34790 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34792 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34793 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34795 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34796 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34797 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34798 include directive. Remove local variable MPONE.
34799 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34800 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34801 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34803 2012-12-25 David S. Miller <davem@davemloft.net>
34805 * version.h (RELEASE): Set to "development".
34806 (VERSION): Set to "2.17.90".
34807 * NEWS: Add 2.18 section.
34809 2012-12-21 David S. Miller <davem@davemloft.net>
34811 * po/hr.po: Update from translation team.
34813 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34815 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34817 2012-12-19 Steve Ellcey <sellcey@mips.com>
34819 * NEWS: Mention new memcpy for MIPS.
34821 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34823 * manual/contrib.texi (Contributors): Spelling correction.
34825 2012-12-15 David S. Miller <davem@davemloft.net>
34827 * po/ru.po: Update from translation team.
34829 2012-12-13 David S. Miller <davem@davemloft.net>
34831 * NEWS: Mention IFUNC testsuite enhancements.
34833 * po/pl.po: Update from translation team.
34834 * po/bg.po: Likewise.
34836 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34837 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34839 2012-12-11 David S. Miller <davem@davemloft.net>
34841 * po/sv.po: Update from translation team.
34843 * po/vi.po: Update from translation team.
34845 * po/cs.po: Update from translation team.
34847 * po/de.po: Update from translation team.
34848 * po/eo.po: Likewise.
34849 * po/nl.po: Likewise.
34851 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34854 * manual/argp.texi (Argp Helper Functions): Move node to follow
34855 Argp Parsing State.
34858 * manual/conf.texi (Limits on File System Capacity): Mention if
34859 terminating null is included in the max size.
34861 2012-12-10 Andreas Jaeger <aj@suse.de>
34863 * po/cs.po: Update from translation team.
34865 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34867 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34868 void pointer and cast to uintptr_t.
34869 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34871 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34872 * sysdeps/s390/s390-64/memset.S: Likewise.
34874 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
34877 * menual/message.texi (Message Translation): Fix typos.
34878 (Helper programs for gettext): Likewise.
34880 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34883 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34886 2012-12-07 David S. Miller <davem@davemloft.net>
34888 * po/libc.pot: Update.
34890 2012-12-07 Richard Henderson <rth@redhat.com>
34893 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34894 normal/normal case to before the switch.
34895 (_FP_DIV): Likewise.
34897 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34898 Mike Frysinger <vapier@gentoo.org>
34900 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34901 check for __NR_fadvise64_64.
34903 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34905 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34906 0, not just to plain "0" as a statement.
34907 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34910 2012-12-06 Joseph Myers <joseph@codesourcery.com>
34912 * NEWS: Use sourceware.org in Bugzilla URL.
34914 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34917 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34919 * stdio-common/tst-put-error.c (do_test): Add newline to the
34920 padded test to ensure flush.
34922 2012-12-05 Jeff Law <law@redhat.com>
34924 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34926 2012-12-05 Joseph Myers <joseph@codesourcery.com>
34928 * README: Don't refer to ports add-on as distributed separately.
34929 Mention AArch64 in list of systems supported in the ports add-on.
34931 * LICENSES: Add more non-FSF copyright and license notices.
34933 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34936 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34938 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34939 10000 as width of padded output.
34941 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34943 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34945 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34946 variable LX with __attribute__ ((unused)).
34947 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34949 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34950 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34951 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34952 with __attribute__ ((unused)).
34954 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
34956 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34958 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34960 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34961 (CFLAGS-nldbl-acos.c): New variable.
34962 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34963 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34964 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34965 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34966 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34967 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34968 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34969 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34970 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34971 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34972 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34973 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34974 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34975 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34976 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34977 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34978 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34979 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34980 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34981 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34982 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34983 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34984 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34985 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34986 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34987 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34988 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34989 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34990 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34991 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34992 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34993 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34994 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34995 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34996 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34997 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34998 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34999 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35000 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35001 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35002 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35003 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35004 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35005 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35006 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35007 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35008 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35009 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35010 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35011 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35012 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35013 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35014 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35015 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35016 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35017 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35018 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35019 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35020 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35021 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35022 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35023 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35024 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35025 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35026 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35027 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35028 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35029 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35030 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35031 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35032 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35033 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35034 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35035 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35036 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35037 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35038 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35039 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35040 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35041 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35042 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35043 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35044 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35045 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35046 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35047 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35048 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35049 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35050 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35051 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35052 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35053 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35054 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35055 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35056 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35057 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35058 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35061 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35064 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35065 whole low double instead of just low 47 bits when splitting values
35068 2012-12-03 Allan McRae <allan@archlinux.org>
35070 * manual/stdio.texi (Predefined Printf Handlers): Remove
35071 @hsep and @vsep usage.
35073 2012-12-03 Mike Frysinger <vapier@gentoo.org>
35075 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35076 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35078 2012-12-03 Jeff Law <law@redhat.com>
35080 * time/sys/time.h (settimeofday): Do not mark TV argument
35083 2012-12-01 Mike Frysinger <vapier@gentoo.org>
35085 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35086 when currently writing and seek to current position when not.
35087 * libio/Makefile (tests): Remove bug-fclose1.
35088 * libio/bug-fclose1.c: Delete.
35090 2012-12-01 Joseph Myers <joseph@codesourcery.com>
35092 * manual/arith.texi (feenableexcept): Fix typo.
35093 (fedisableexcept): Likewise.
35095 2012-11-30 Roland McGrath <roland@hack.frob.com>
35097 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35098 second, differently-typed declaration, rather than a cast.
35100 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35102 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35103 * include/rpc/svc.h: ... here.
35105 2012-11-30 Aurelien Jarno <aurel32@debian.org>
35108 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35109 depending n and resplen2 to catch cases where answer
35112 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35114 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35115 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35117 2012-11-29 Mike Frysinger <vapier@gentoo.org>
35119 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35121 2012-11-29 Roland McGrath <roland@hack.frob.com>
35123 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35125 2012-11-28 Jeff Law <law@redhat.com>
35128 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35129 dataset_temporary. Track alloca usage into alloca_used.
35130 If dataset is large allocate and release it via malloc/free.
35132 2012-06-04 Florian Weimer <fweimer@redhat.com>
35135 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35137 2012-11-28 David S. Miller <davem@davemloft.net>
35139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35141 2012-11-28 Joseph Myers <joseph@codesourcery.com>
35144 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35145 of pi/2 rounded to nearest to 64 bits.
35146 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35147 nearest to 64 bits.
35148 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35151 2012-11-28 Jeff Law <law@redhat.com>
35152 Martin Osvald <mosvald@redhat.com>
35155 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35156 * sunrpc/svc.c: Include time.h.
35157 (__svc_accept_failed): New function.
35158 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35159 any reason other than EINTR, call __svc_accept_failed.
35160 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35161 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35163 2012-11-28 Andreas Schwab <schwab@suse.de>
35165 * scripts/abilist.awk: Also handle indirect functions in .opd
35168 2012-11-28 Joseph Myers <joseph@codesourcery.com>
35171 * sysdeps/x86/fpu/powl_helper.c: New file.
35172 * sysdeps/x86/fpu/Makefile: Likewise.
35173 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35175 (__ieee754_powl): Use __powl_helper for finite arguments except
35176 integer exponents below 8.
35177 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35179 (__ieee754_powl): Use __powl_helper for finite arguments except
35180 integer exponents below 8.
35181 * math/libm-test.inc (pow_test): Add more tests and enable some
35182 previously disabled tests.
35183 * sysdeps/i386/fpu/libm-test-ulps: Update.
35184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35186 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35187 Carlos O'Donell <carlos_odonell@mentor.com>
35189 * nss/makedb.c (is_prime): Assert that input is odd and greater
35190 than 4. Note that fact in a comment too.
35191 (next_prime): Add 4 to input.
35193 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35196 * libio/Makefile (tests): Add test case tst-fwrite-error.
35197 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35198 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35199 * libio/tst-fwrite-error.c: New test case.
35201 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35203 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35204 before casting to void *.
35205 * include/libc-internal.h (__pointer_type): New macro.
35206 (__integer_if_pointer_type_sub): Likewise.
35207 (__integer_if_pointer_type): Likewise.
35208 (cast_to_integer): Likewise.
35209 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35210 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35211 before casting to atomic64_t.
35212 (atomic_exchange_acq): Likewise.
35213 (__arch_exchange_and_add_body): Likewise.
35214 (__arch_add_body): Likewise.
35215 (atomic_add_negative): Likewise.
35216 (atomic_add_zero): Likewise.
35218 2012-11-26 Joseph Myers <joseph@codesourcery.com>
35220 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35221 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35222 (add_fdes): Likewise.
35223 (linear_search_fdes): Likewise.
35224 (binary_search_unencoded_fdes): Likewise.
35226 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35228 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35230 2012-11-24 Adam Conrad <adconrad@0c3.net>
35232 * configure.in: Autodetect C++ header directories.
35233 * configure: Regenerated.
35235 2012-11-23 Mike Frysinger <vapier@gentoo.org>
35237 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35239 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35243 2012-11-22 Joseph Myers <joseph@codesourcery.com>
35245 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35246 LDBL_MANT_DIG == 106]: Disable some tests.
35247 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35249 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35253 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35254 input for small inputs. Return +/- pi/2 for large inputs.
35255 * math/libm-test.inc (atan_test): Add more tests.
35257 * sysdeps/generic/unwind-dw2-fde-glibc.c
35258 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35259 __attribute__ ((unused)).
35262 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35263 x * y if x and y are nonzero and z is zero.
35266 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35267 nonzero exponents with absolute value below 0x1p-117 to +/-
35271 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35272 up arguments below 2**-450, not just those below 2**-500.
35273 * math/libm-test.inc (hypot_test): Add another test.
35276 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35277 Return a+b for ratio over 2**120, not 2**60.
35278 * math/libm-test.inc (hypot_test): Add another test.
35280 * math/libm-test.inc (clog_test): Use
35281 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35282 (clog10_test): Likewise.
35285 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35287 2012-11-22 Andreas Schwab <schwab@suse.de>
35289 * sysdeps/i386/fpu/libm-test-ulps: Update.
35291 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35293 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35294 printf output with newline.
35296 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35299 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35300 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35301 -z nodlopen, -z initfirst and -z execstack support.
35302 * configure: Regenerated.
35304 * elf/elf.h (DF_1_NODIRECT): New macro.
35305 (DF_1_IGNMULDEF): Likewise.
35306 (DF_1_NOKSYMS): Likewise.
35307 (DF_1_NOHDR): Likewise.
35308 (DF_1_EDITED): Likewise.
35309 (DF_1_NORELOC): Likewise.
35310 (DF_1_SYMINTPOSE): Likewise.
35311 (DF_1_GLOBAUDIT): Likewise.
35312 (DF_1_SINGLETON): Likewise.
35313 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35314 DT_1_SUPPORTED_MASK bits.
35315 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35317 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35319 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35321 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35323 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35326 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35327 (sendmmsg): Move declarations...
35328 * socket/sys/socket.h: ... here.
35329 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35330 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35332 * socket/recvmmsg.c: ... this new file.
35333 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35334 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35335 definition of __sendmmsg hidden.
35336 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35337 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35338 Move ENOSYS stub into and include it from...
35339 * socket/sendmmsg.c: ... this new file.
35340 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35341 (sysdep_routines): Move recvmmsg and sendmmsg...
35342 * socket/Makefile (routines): ... here.
35343 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35344 (GLIBC_PRIVATE): Add __sendmmsg.
35345 * include/sys/socket.h (__sendmmsg): Add declarations.
35346 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35349 2012-11-20 Joseph Myers <joseph@codesourcery.com>
35351 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35352 variable I1 with __attribute__ ((unused)).
35353 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35355 2012-11-19 Joseph Myers <joseph@codesourcery.com>
35357 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35358 DUMMY variables with __attribute__ ((unused)).
35360 * bits/byteswap.h: Include <bits/types.h>.
35361 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35363 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35365 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35366 string_t. Do not manually set errno.
35367 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35368 length with __strnlen. Make sure to both set errno and return it on
35371 2012-11-19 David S. Miller <davem@davemloft.net>
35373 With help from Joseph Myers.
35374 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35375 very large arguments properly.
35376 * math/libm-test.inc (atan_test): New tests.
35377 (atan2_test): New tests.
35378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35381 2012-11-19 Joseph Myers <joseph@codesourcery.com>
35384 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35387 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35388 [POSIX] (EADDRNOTAVAIL): Likewise.
35389 [POSIX] (EAFNOSUPPORT): Likewise.
35390 [POSIX] (EALREADY): Likewise.
35391 [POSIX] (ECONNABORTED): Likewise.
35392 [POSIX] (ECONNREFUSED): Likewise.
35393 [POSIX] (ECONNRESET): Likewise.
35394 [POSIX] (EDESTADDRREQ): Likewise.
35395 [POSIX] (EDQUOT): Likewise.
35396 [POSIX] (EHOSTUNREACH): Likewise.
35397 [POSIX] (EIDRM): Likewise.
35398 [POSIX] (EISCONN): Likewise.
35399 [POSIX] (ELOOP): Likewise.
35400 [POSIX] (EMULTIHOP): Likewise.
35401 [POSIX] (ENETDOWN): Likewise.
35402 [POSIX] (ENETUNREACH): Likewise.
35403 [POSIX] (ENOBUFS): Likewise.
35404 [POSIX] (ENODATA): Likewise.
35405 [POSIX] (ENOLINK): Likewise.
35406 [POSIX] (ENOMSG): Likewise.
35407 [POSIX] (ENOPROTOOPT): Likewise.
35408 [POSIX] (ENOSR): Likewise.
35409 [POSIX] (ENOSTR): Likewise.
35410 [POSIX] (ENOTCONN): Likewise.
35411 [POSIX] (ENOTSOCK): Likewise.
35412 [POSIX] (EOPNOTSUPP): Likewise.
35413 [POSIX] (EOVERFLOW): Likewise.
35414 [POSIX] (EPROTO): Likewise.
35415 [POSIX] (EPROTONOSUPPORT): Likewise.
35416 [POSIX] (EPROTOTYPE): Likewise.
35417 [POSIX] (ESTALE): Likewise.
35418 [POSIX] (ETIME): Likewise.
35419 [POSIX] (ETXTBSY): Likewise.
35420 [POSIX] (EWOULDBLOCK): Likewise.
35421 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35422 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35423 [POSIX] (SEEK_CUR): Likewise.
35424 [POSIX] (SEEK_END): Likewise.
35425 [POSIX || UNIX98] (mode_t): Do not require.
35426 [POSIX] (off_t): Likewise.
35427 [POSIX] (pid_t): Likewise.
35428 [POSIX] (sys/stat.h): Do not allow header.
35429 [POSIX] (unistd.h): Likewise.
35430 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35431 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35432 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35433 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35435 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35436 sigevent): Specify elements.
35437 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35439 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35440 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35442 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35443 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35444 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35445 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35446 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35447 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35448 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35449 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35450 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35451 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35452 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35453 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35454 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35455 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35457 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35459 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35461 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35463 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35464 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35465 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35466 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35467 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35468 Specify lower bound on value.
35469 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35470 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35471 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35472 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35473 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35474 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35475 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35476 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35478 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35480 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35481 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35482 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35483 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35484 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35485 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35486 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35487 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35488 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35489 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35490 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35491 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35492 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35493 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35494 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35495 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35497 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35499 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35500 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35501 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35502 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35503 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35504 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35506 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35507 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35508 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35509 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35510 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35511 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35512 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35514 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35515 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35516 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35517 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35518 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35519 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35520 specify as optional.
35521 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35522 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35523 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35524 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35525 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35526 [XPG3] (NL_LANGMAX): Likewise.
35527 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35528 [POSIX || XPG3] (NL_NMAX): Likewise.
35529 [POSIX || XPG3] (NL_SETMAX): Likewise.
35530 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35531 [XPG3] (NZERO): Likewise.
35532 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35533 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35534 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35535 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35536 (REG_ERANGE): Expect.
35537 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35539 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35540 Use (void) in prototype.
35541 [POSIX] (*_t): Allow.
35542 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35543 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35544 (WRDE_BADVAL): Expect.
35546 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35548 [XPG3 || XPG4] (O_RSYNC): Likewise.
35549 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35551 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35552 [XPG3 || XPG4] (sigqueue): Likewise.
35553 [XPG3 || XPG4] (sigtimedwait): Likewise.
35554 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35555 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35556 [XPG3 || XPG4] (vsnprintf): Likewise.
35557 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35559 [XPG3 || XPG4] (blksize_t): Likewise.
35560 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35562 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35563 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35564 [XPG3 || XPG4] (struct itimerspec): Likewise.
35565 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35566 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35567 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35568 [XPG3 || XPG4] (clockid_t): Likewise.
35569 [XPG3 || XPG4] (timer_t): Likewise.
35570 [XPG3 || XPG4] (clock_getres): Likewise.
35571 [XPG3 || XPG4] (clock_gettime): Likewise.
35572 [XPG3 || XPG4] (clock_settime): Likewise.
35573 [XPG3 || XPG4] (nanosleep): Likewise.
35574 [XPG3 || XPG4] (timer_create): Likewise.
35575 [XPG3 || XPG4] (timer_delete): Likewise.
35576 [XPG3 || XPG4] (timer_gettime): Likewise.
35577 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35578 [XPG3 || XPG4] (timer_settime): Likewise.
35579 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35580 [XPG3 || XPG4] (getlogin_r): Likewise.
35581 [XPG3 || XPG4] (pread): Likewise.
35582 [XPG3 || XPG4] (pthread_atfork): Likewise.
35583 [XPG3 || XPG4] (pwrite): Likewise.
35586 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35589 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35591 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35592 finalizing MALLSTREAM.
35594 * sysdeps/mach/hurd/syncfs.c: New file.
35596 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35599 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35600 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35601 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35602 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35603 (_nss_dns_gethostbyname4_r): Likewise.
35604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35605 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35607 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35610 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35612 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35614 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35615 * elf/cache.c (print_entry): Print ",AArch64" for
35618 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35619 * elf/cache.c (print_entry): Print ",hard-float" for
35622 2012-11-18 David S. Miller <davem@davemloft.net>
35624 With help from Joseph Myers.
35625 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35627 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35629 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35630 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35632 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35633 * math/libm-test.inc (y0_test): New tests.
35634 (y1_test): New tests.
35635 * sysdeps/i386/fpu/libm-test-ulps: Update.
35636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35639 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35641 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35643 * configure: Regenerated.
35645 2012-11-17 David S. Miller <davem@davemloft.net>
35648 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35649 nonzero exponents with absolute value below 0x1p-128 to +/-
35652 2012-11-17 Joseph Myers <joseph@codesourcery.com>
35654 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35656 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35658 * posix/getconf-speclist.c: New file.
35659 * posix/posix-envs.def: Likewise.
35660 * posix/confstr.c (START_ENV_GROUP): New macro.
35661 (END_ENV_GROUP): Likewise.
35662 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35663 (KNOWN_PRESENT_ENV_STRING): Likewise.
35664 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35665 (UNKNOWN_ENVIRONMENT): Likewise.
35666 (confstr): Include posix-envs.def instead of handling
35667 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35668 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35669 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35670 (END_ENV_GROUP): Likewise.
35671 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35672 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35673 (UNKNOWN_ENVIRONMENT): Likewise.
35674 (__sysconf): Include posix-envs.def instead of handling associated
35675 cases directly here.
35676 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35677 preprocessing getconf-speclist.c rather than running getconf or
35678 generating empty file.
35680 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35682 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35684 2012-11-16 Andrej Lajovic <natrij@gmail.com>
35687 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35689 2012-11-16 David S. Miller <davem@davemloft.net>
35691 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35692 smaller than LDBL_EPSILON/2.0L, just return xm1.
35694 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35696 * elf/tst-array1.c (init): Set constructor priority to 1000.
35697 (fini): Set destructor priority to 1000.
35698 * elf/tst-array2dep.c: Likewise.
35700 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35703 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35704 (_IO_new_file_xsputn): Also return EOF if none of the input
35705 data was written when overflow failed.
35706 * libio/iopadn.c (_IO_padn): Likewise.
35707 * libio/iowpadn.c (_IO_wpadn): Likewise.
35708 * stdio-common/tst-put-error.c: Add copyright notice.
35709 (do_test): Add case for printing padded string.
35710 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35711 _IO_padn returned error.
35712 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35713 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35716 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35718 * libio/libioP.h: Add comment note that the references to C++
35719 bits are now obsolete.
35721 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35723 * math/libm-test.inc (check_complex): Use asprintf.
35725 2012-11-14 Joseph Myers <joseph@codesourcery.com>
35727 * debug/pcprofiledump.c (print_version): Update copyright year.
35728 * malloc/memusagestat.c (print_version): Likewise.
35730 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35733 * elf/Makefile (tests): Add tst-audit8.
35734 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35735 ($(objpfx)tst-audit8.out): New target.
35736 (tst-audit8-ENV): New variable.
35737 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35738 audit if l_reloc_result is NULL.
35739 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35740 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35741 * elf/tst-audit8.c: New file.
35743 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35745 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35746 * misc/Makefile (CFLAGS-select.c): Define.
35747 * posix/Makefile (CFLAGS-pause.c): Define.
35749 2012-11-13 David S. Miller <davem@davemloft.net>
35751 * crypt/Makefile: Move test targets after toplevel Rules
35752 inclusion. Grab any necessary sysdep routines when linking.
35753 * crypt/md5.c (md5_process_block): Remove define, we will always
35754 name it __md5_process_block.
35755 (md5_finish_ctx): Update md5_process_block call.
35756 (md5_stream): Likewise.
35757 (md5_process_bytes): Likewise.
35758 (md5_process_block): Rename to __md5_process_block and move to ...
35759 * crypt/md5-block.c: ... here.
35760 * crypt/sha256.c (sha256_process_block): Move to ...
35761 * crypt/sha256-block.c: ... here.
35762 * crypt/sha512.c (sha512_process_block): Move to ...
35763 * crypt/sha512-block.c: ... here.
35764 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35766 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35767 * sysdeps/sparc/sparc64/multiarch/Makefile
35768 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35770 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35771 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35773 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35774 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35775 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35776 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35777 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35778 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35779 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35780 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35781 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35783 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35784 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35786 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35788 2012-11-13 Joseph Myers <joseph@codesourcery.com>
35790 * timezone/tzselect.ksh: Update from tzcode git revision
35791 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35792 * timezone/zdump.c: Likewise.
35793 * timezone/zic.c: Likewise.
35794 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35795 in TZVERSION setting, not $(PKGVERSION).
35796 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35797 REPORT_BUGS_TO settings.
35800 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35803 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35805 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35806 detection to immediately after _FP_ROUND().
35807 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35810 2012-11-11 David S. Miller <davem@davemloft.net>
35812 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35814 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35815 __close rather than their public counterparts.
35817 2012-11-10 Joseph Myers <joseph@codesourcery.com>
35819 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35821 [UNIX98] (sem_timedwait): Do not expect.
35822 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35823 [XPG4 || UNIX98] (sockatmark): Do not expect.
35824 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35825 (clock_getcpuclockid): Do not expect.
35826 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35827 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35829 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35830 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35831 [UNIX98] (vwscanf): Likewise.
35832 [UNIX98] (vswscanf): Likewise.
35834 2012-11-09 Joseph Myers <joseph@codesourcery.com>
35836 * timezone/version.h: Remove file.
35837 * timezone/README: Do not refer to version.h.
35838 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35839 $(objpfx)version.h.
35840 ($(objpfx)zdump.o): Likewise.
35841 ($(objpfx)version.h): New target.
35843 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35845 * timezone/README: Don't mention modification to tzselect.ksh.
35846 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35847 work on unmodified tzselect.ksh. Substitute version numbers in
35850 * Makefile (format-me): Remove.
35851 (INSTALL): Adjust indentation. Use commands directly instead of
35852 using $(format-me).
35854 * aclocal.m4 (ACX_PKGVERSION): New macro.
35855 (ACX_BUGURL): Likewise.
35856 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35857 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35858 (REPORT_BUGS_TO): Likewise.
35859 * configure: Regenerated.
35860 * config.h.in (PKGVERSION): New macro.
35861 (REPORT_BUGS_TO): Likewise.
35862 * config.make.in (PKGVERSION): New variable.
35863 (PKGVERSION_TEXI): Likewise.
35864 (REPORT_BUGS_TO): Likewise.
35865 (REPORT_BUGS_TEXI): Likewise.
35866 * Makefile (format-me): Use -I$(common-objpfx)manual.
35867 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35868 ($(common-objpfx)manual/%): New target.
35869 (manual/%): Remove target.
35870 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35871 (print_version): Use PKGVERSION.
35872 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35873 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35874 and REPORT_BUGS_TO.
35875 ($(objpfx)xtrace): Likewise.
35876 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35877 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35878 (print_version): Use PKGVERSION.
35879 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35880 (do_version): Use PKGVERSION.
35881 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35883 (common-ldd-rewrite): Likewise.
35884 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35885 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35886 (print_version): Use PKGVERSION.
35887 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35888 * elf/pldd.c (argp_program_bug_address): Remove variable.
35889 (more_help): New function.
35890 (argp): Use more_help.
35891 (print_version): Use PKGVERSION.
35892 * elf/sln.c (main): Use PKGVERSION.
35893 (usage): Use REPORT_BUGS_TO.
35894 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35895 (top level): Use PKGVERSION.
35896 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35897 (print_version): Use PKGVERSION.
35898 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35899 (print_version): Use PKGVERSION.
35900 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35901 (print_version): Use PKGVERSION.
35902 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35903 (print_version): Use PKGVERSION.
35904 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35905 (print_version): Use PKGVERSION.
35906 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35907 (print_version): Use PKGVERSION.
35908 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35910 ($(objpfx)memusage): Likewise.
35911 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35912 (do_version): Use PKGVERSION.
35913 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35914 (print_version): Use PKGVERSION.
35915 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35916 ($PKGVERSION): New variable.
35917 ($REPORT_BUGS_TO): Likewise.
35918 (usage): Use $REPORT_BUGS_TO.
35919 (top level): Use $PKGVERSION.
35920 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35921 ($(objpfx)pkgvers.texi): New rule.
35922 ($(objpfx)stamp-pkgvers): Likewise.
35923 * manual/install.texi: Include pkgvers.texi.
35924 (--with-pkgversion): Document new configure option.
35925 (--with-bugurl): Likewise.
35926 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35927 than necessarily for this particular distribution. Use
35928 REPORT_BUGS_TO for where to report bugs.
35929 * INSTALL: Regenerated.
35930 * manual/libc.texinfo: Include pkgvers.texi.
35931 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35932 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35933 (print_version): Use PKGVERSION.
35934 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35935 (print_version): Use PKGVERSION.
35936 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35937 (print_version): Use PKGVERSION.
35938 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35939 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35941 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35942 (print_version): Use PKGVERSION.
35943 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35944 (print_version): Use PKGVERSION.
35945 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35948 * timezone/checktab.awk: Update from tzcode 2012i.
35949 * timezone/ialloc.c: Likewise.
35950 * timezone/private.h: Likewise.
35951 * timezone/scheck.c: Likewise.
35952 * timezone/tzfile.h: Likewise.
35953 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35954 (TZVERSION): Hardcode tzcode version number.
35955 * timezone/zdump.c: Update from tzcode 2012i.
35956 * timezone/zic.c: Likewise.
35957 * timezone/version.h: New file.
35958 * timezone/README: Describe version.h. Update upstream location.
35961 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35962 (mktemp): Enable declaration.
35963 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35964 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35965 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35966 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35968 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35970 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35972 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35974 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35976 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35980 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35981 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35982 for copies of such integer values.
35983 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35984 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35986 2012-11-09 Andreas Jaeger <aj@suse.de>
35988 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35989 definitions and declarations that are provided by
35990 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35992 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35994 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35995 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35996 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35999 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36001 * elf/elf.h: Update comment before AArch64 relocations.
36003 2012-11-07 David S. Miller <davem@davemloft.net>
36005 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36006 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36007 (__start_context): Declare.
36008 (__makecontext_ret): Delete.
36009 (__makecontext): Hook up __start_context instead of
36011 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36012 (sysdep_routines): Add __start_context when in stdlib.
36014 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36016 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36017 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36018 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
36020 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
36021 (READELF): New variable. Use it instead of hardcoded "readelf".
36023 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
36025 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36026 * sysdeps/x86/Makefile: Here.
36027 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36028 * sysdeps/x86/tst-xmmymm.sh: This.
36030 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36032 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36034 [UNIX98] (pthread_barrier_t): Do not expect.
36035 [UNIX98] (pthread_barrierattr_t): Likewise.
36036 [UNIX98] (pthread_spinlock_t): Likewise.
36037 [UNIX98] (pthread_barrier_destroy): Likewise.
36038 [UNIX98] (pthread_barrier_init): Likewise.
36039 [UNIX98] (pthread_barrier_wait): Likewise.
36040 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36041 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36042 [UNIX98] (pthread_barrierattr_init): Likewise.
36043 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36044 [UNIX98] (pthread_getcpuclockid): Likewise.
36045 [UNIX98] (pthread_mutex_timedlock): Likewise.
36046 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36047 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36048 [UNIX98] (pthread_sigmask): Likewise.
36049 [UNIX98] (pthread_spin_destroy): Likewise.
36050 [UNIX98] (pthread_spin_init): Likewise.
36051 [UNIX98] (pthread_spin_lock): Likewise.
36052 [UNIX98] (pthread_spin_trylock): Likewise.
36053 [UNIX98] (pthread_spin_unlock): Likewise.
36054 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36056 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36057 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36058 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36059 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36060 [XPG3 || XPG4] (pthread_key_t): Likewise.
36061 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36062 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36063 [XPG3 || XPG4] (pthread_once_t): Likewise.
36064 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36065 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36066 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36067 [XPG3 || XPG4] (pthread_t): Likewise.
36069 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36071 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36073 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36074 Change function return type to int.
36076 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36077 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36078 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36079 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36080 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36081 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36082 [!POSIX] (posix_madvise): Likewise.
36083 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36085 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36086 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36087 (mode_t): Likewise.
36088 (posix_mem_offset): Likewise.
36089 (posix_typed_mem_get_info): Likewise.
36090 (posix_typed_mem_open): Likewise.
36092 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36093 Change condition to [XOPEN2K8].
36095 * conform/conformtest.pl: Preprocess allow-header data with -x c
36096 instead of from stdin.
36097 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36098 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36099 [C99-based standards] (cerfc): Likewise.
36100 [C99-based standards] (cexp2): Likewise.
36101 [C99-based standards] (cexpm1): Likewise.
36102 [C99-based standards] (clog10): Likewise.
36103 [C99-based standards] (clog1p): Likewise.
36104 [C99-based standards] (clog2): Likewise.
36105 [C99-based standards] (clgamma): Likewise.
36106 [C99-based standards] (ctgamma): Likewise.
36107 [C99-based standards] (cerff): Likewise.
36108 [C99-based standards] (cerfcf): Likewise.
36109 [C99-based standards] (cexp2f): Likewise.
36110 [C99-based standards] (cexpm1f): Likewise.
36111 [C99-based standards] (clog10f): Likewise.
36112 [C99-based standards] (clog1pf): Likewise.
36113 [C99-based standards] (clog2f): Likewise.
36114 [C99-based standards] (clgammaf): Likewise.
36115 [C99-based standards] (ctgammaf): Likewise.
36116 [C99-based standards] (cerfl): Likewise.
36117 [C99-based standards] (cerfcl): Likewise.
36118 [C99-based standards] (cexp2l): Likewise.
36119 [C99-based standards] (cexpm1l): Likewise.
36120 [C99-based standards] (clog10l): Likewise.
36121 [C99-based standards] (clog1pl): Likewise.
36122 [C99-based standards] (clog2l): Likewise.
36123 [C99-based standards] (clgammal): Likewise.
36124 [C99-based standards] (ctgammal): Likewise.
36125 * conform/data/inttypes.h-data [C99-based standards]: Include
36126 stdint.h-data. Remove all expectations for stdint.h contents.
36127 [C99-based standards] (PRI*): Do not allow.
36128 [C99-based standards] (SCN*): Likewise.
36129 [C99-based standards] (*_t): Likewise.
36130 [C99-based-standards] (PRId8): Expect macro.
36131 [C99-based-standards] (PRIi8): Likewise.
36132 [C99-based-standards] (PRIo8): Likewise.
36133 [C99-based-standards] (PRIu8): Likewise.
36134 [C99-based-standards] (PRIx8): Likewise.
36135 [C99-based-standards] (PRIX8): Likewise.
36136 [C99-based-standards] (SCNd8): Likewise.
36137 [C99-based-standards] (SCNi8): Likewise.
36138 [C99-based-standards] (SCNo8): Likewise.
36139 [C99-based-standards] (SCNu8): Likewise.
36140 [C99-based-standards] (SCNx8): Likewise.
36141 [C99-based-standards] (PRIdLEAST8): Likewise.
36142 [C99-based-standards] (PRIiLEAST8): Likewise.
36143 [C99-based-standards] (PRIoLEAST8): Likewise.
36144 [C99-based-standards] (PRIuLEAST8): Likewise.
36145 [C99-based-standards] (PRIxLEAST8): Likewise.
36146 [C99-based-standards] (PRIXLEAST8): Likewise.
36147 [C99-based-standards] (SCNdLEAST8): Likewise.
36148 [C99-based-standards] (SCNiLEAST8): Likewise.
36149 [C99-based-standards] (SCNoLEAST8): Likewise.
36150 [C99-based-standards] (SCNuLEAST8): Likewise.
36151 [C99-based-standards] (SCNxLEAST8): Likewise.
36152 [C99-based-standards] (PRIdFAST8): Likewise.
36153 [C99-based-standards] (PRIiFAST8): Likewise.
36154 [C99-based-standards] (PRIoFAST8): Likewise.
36155 [C99-based-standards] (PRIuFAST8): Likewise.
36156 [C99-based-standards] (PRIxFAST8): Likewise.
36157 [C99-based-standards] (PRIXFAST8): Likewise.
36158 [C99-based-standards] (SCNdFAST8): Likewise.
36159 [C99-based-standards] (SCNiFAST8): Likewise.
36160 [C99-based-standards] (SCNoFAST8): Likewise.
36161 [C99-based-standards] (SCNuFAST8): Likewise.
36162 [C99-based-standards] (SCNxFAST8): Likewise.
36163 [C99-based-standards] (PRId16): Likewise.
36164 [C99-based-standards] (PRIi16): Likewise.
36165 [C99-based-standards] (PRIo16): Likewise.
36166 [C99-based-standards] (PRIu16): Likewise.
36167 [C99-based-standards] (PRIx16): Likewise.
36168 [C99-based-standards] (PRIX16): Likewise.
36169 [C99-based-standards] (SCNd16): Likewise.
36170 [C99-based-standards] (SCNi16): Likewise.
36171 [C99-based-standards] (SCNo16): Likewise.
36172 [C99-based-standards] (SCNu16): Likewise.
36173 [C99-based-standards] (SCNx16): Likewise.
36174 [C99-based-standards] (PRIdLEAST16): Likewise.
36175 [C99-based-standards] (PRIiLEAST16): Likewise.
36176 [C99-based-standards] (PRIoLEAST16): Likewise.
36177 [C99-based-standards] (PRIuLEAST16): Likewise.
36178 [C99-based-standards] (PRIxLEAST16): Likewise.
36179 [C99-based-standards] (PRIXLEAST16): Likewise.
36180 [C99-based-standards] (SCNdLEAST16): Likewise.
36181 [C99-based-standards] (SCNiLEAST16): Likewise.
36182 [C99-based-standards] (SCNoLEAST16): Likewise.
36183 [C99-based-standards] (SCNuLEAST16): Likewise.
36184 [C99-based-standards] (SCNxLEAST16): Likewise.
36185 [C99-based-standards] (PRIdFAST16): Likewise.
36186 [C99-based-standards] (PRIiFAST16): Likewise.
36187 [C99-based-standards] (PRIoFAST16): Likewise.
36188 [C99-based-standards] (PRIuFAST16): Likewise.
36189 [C99-based-standards] (PRIxFAST16): Likewise.
36190 [C99-based-standards] (PRIXFAST16): Likewise.
36191 [C99-based-standards] (SCNdFAST16): Likewise.
36192 [C99-based-standards] (SCNiFAST16): Likewise.
36193 [C99-based-standards] (SCNoFAST16): Likewise.
36194 [C99-based-standards] (SCNuFAST16): Likewise.
36195 [C99-based-standards] (SCNxFAST16): Likewise.
36196 [C99-based-standards] (PRId32): Likewise.
36197 [C99-based-standards] (PRIi32): Likewise.
36198 [C99-based-standards] (PRIo32): Likewise.
36199 [C99-based-standards] (PRIu32): Likewise.
36200 [C99-based-standards] (PRIx32): Likewise.
36201 [C99-based-standards] (PRIX32): Likewise.
36202 [C99-based-standards] (SCNd32): Likewise.
36203 [C99-based-standards] (SCNi32): Likewise.
36204 [C99-based-standards] (SCNo32): Likewise.
36205 [C99-based-standards] (SCNu32): Likewise.
36206 [C99-based-standards] (SCNx32): Likewise.
36207 [C99-based-standards] (PRIdLEAST32): Likewise.
36208 [C99-based-standards] (PRIiLEAST32): Likewise.
36209 [C99-based-standards] (PRIoLEAST32): Likewise.
36210 [C99-based-standards] (PRIuLEAST32): Likewise.
36211 [C99-based-standards] (PRIxLEAST32): Likewise.
36212 [C99-based-standards] (PRIXLEAST32): Likewise.
36213 [C99-based-standards] (SCNdLEAST32): Likewise.
36214 [C99-based-standards] (SCNiLEAST32): Likewise.
36215 [C99-based-standards] (SCNoLEAST32): Likewise.
36216 [C99-based-standards] (SCNuLEAST32): Likewise.
36217 [C99-based-standards] (SCNxLEAST32): Likewise.
36218 [C99-based-standards] (PRIdFAST32): Likewise.
36219 [C99-based-standards] (PRIiFAST32): Likewise.
36220 [C99-based-standards] (PRIoFAST32): Likewise.
36221 [C99-based-standards] (PRIuFAST32): Likewise.
36222 [C99-based-standards] (PRIxFAST32): Likewise.
36223 [C99-based-standards] (PRIXFAST32): Likewise.
36224 [C99-based-standards] (SCNdFAST32): Likewise.
36225 [C99-based-standards] (SCNiFAST32): Likewise.
36226 [C99-based-standards] (SCNoFAST32): Likewise.
36227 [C99-based-standards] (SCNuFAST32): Likewise.
36228 [C99-based-standards] (SCNxFAST32): Likewise.
36229 [C99-based-standards] (PRId64): Likewise.
36230 [C99-based-standards] (PRIi64): Likewise.
36231 [C99-based-standards] (PRIo64): Likewise.
36232 [C99-based-standards] (PRIu64): Likewise.
36233 [C99-based-standards] (PRIx64): Likewise.
36234 [C99-based-standards] (PRIX64): Likewise.
36235 [C99-based-standards] (SCNd64): Likewise.
36236 [C99-based-standards] (SCNi64): Likewise.
36237 [C99-based-standards] (SCNo64): Likewise.
36238 [C99-based-standards] (SCNu64): Likewise.
36239 [C99-based-standards] (SCNx64): Likewise.
36240 [C99-based-standards] (PRIdLEAST64): Likewise.
36241 [C99-based-standards] (PRIiLEAST64): Likewise.
36242 [C99-based-standards] (PRIoLEAST64): Likewise.
36243 [C99-based-standards] (PRIuLEAST64): Likewise.
36244 [C99-based-standards] (PRIxLEAST64): Likewise.
36245 [C99-based-standards] (PRIXLEAST64): Likewise.
36246 [C99-based-standards] (SCNdLEAST64): Likewise.
36247 [C99-based-standards] (SCNiLEAST64): Likewise.
36248 [C99-based-standards] (SCNoLEAST64): Likewise.
36249 [C99-based-standards] (SCNuLEAST64): Likewise.
36250 [C99-based-standards] (SCNxLEAST64): Likewise.
36251 [C99-based-standards] (PRIdFAST64): Likewise.
36252 [C99-based-standards] (PRIiFAST64): Likewise.
36253 [C99-based-standards] (PRIoFAST64): Likewise.
36254 [C99-based-standards] (PRIuFAST64): Likewise.
36255 [C99-based-standards] (PRIxFAST64): Likewise.
36256 [C99-based-standards] (PRIXFAST64): Likewise.
36257 [C99-based-standards] (SCNdFAST64): Likewise.
36258 [C99-based-standards] (SCNiFAST64): Likewise.
36259 [C99-based-standards] (SCNoFAST64): Likewise.
36260 [C99-based-standards] (SCNuFAST64): Likewise.
36261 [C99-based-standards] (SCNxFAST64): Likewise.
36262 [C99-based-standards] (PRIdMAX): Likewise.
36263 [C99-based-standards] (PRIiMAX): Likewise.
36264 [C99-based-standards] (PRIoMAX): Likewise.
36265 [C99-based-standards] (PRIuMAX): Likewise.
36266 [C99-based-standards] (PRIxMAX): Likewise.
36267 [C99-based-standards] (PRIXMAX): Likewise.
36268 [C99-based-standards] (SCNdMAX): Likewise.
36269 [C99-based-standards] (SCNiMAX): Likewise.
36270 [C99-based-standards] (SCNoMAX): Likewise.
36271 [C99-based-standards] (SCNuMAX): Likewise.
36272 [C99-based-standards] (SCNxMAX): Likewise.
36273 [C99-based-standards] (PRIdPTR): Likewise.
36274 [C99-based-standards] (PRIiPTR): Likewise.
36275 [C99-based-standards] (PRIoPTR): Likewise.
36276 [C99-based-standards] (PRIuPTR): Likewise.
36277 [C99-based-standards] (PRIxPTR): Likewise.
36278 [C99-based-standards] (PRIXPTR): Likewise.
36279 [C99-based-standards] (SCNdPTR): Likewise.
36280 [C99-based-standards] (SCNiPTR): Likewise.
36281 [C99-based-standards] (SCNoPTR): Likewise.
36282 [C99-based-standards] (SCNuPTR): Likewise.
36283 [C99-based-standards] (SCNxPTR): Likewise.
36284 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36286 * conform/data/stdint.h-data: Update comments to clarify
36288 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36290 [C99-based standards] (INT8_MAX): Likewise.
36291 [C99-based standards] (INT16_MIN): Likewise.
36292 [C99-based standards] (INT16_MAX): Likewise.
36293 [C99-based standards] (INT32_MIN): Likewise.
36294 [C99-based standards] (INT32_MAX): Likewise.
36295 [C99-based standards] (INT64_MIN): Likewise.
36296 [C99-based standards] (INT64_MAX): Likewise.
36297 [C99-based standards] (UINT8_MAX): Likewise.
36298 [C99-based standards] (UINT16_MAX): Likewise.
36299 [C99-based standards] (UINT32_MAX): Likewise.
36300 [C99-based standards] (UINT64_MAX): Likewise.
36301 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36302 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36303 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36304 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36305 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36306 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36307 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36308 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36309 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36310 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36311 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36312 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36313 [C99-based standards] (INT_FAST8_MIN): Likewise.
36314 [C99-based standards] (INT_FAST8_MAX): Likewise.
36315 [C99-based standards] (INT_FAST16_MIN): Likewise.
36316 [C99-based standards] (INT_FAST16_MAX): Likewise.
36317 [C99-based standards] (INT_FAST32_MIN): Likewise.
36318 [C99-based standards] (INT_FAST32_MAX): Likewise.
36319 [C99-based standards] (INT_FAST64_MIN): Likewise.
36320 [C99-based standards] (INT_FAST64_MAX): Likewise.
36321 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36322 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36323 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36324 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36325 [C99-based standards] (INTPTR_MIN): Likewise.
36326 [C99-based standards] (INTPTR_MAX): Likewise.
36327 [C99-based standards] (UINTPTR_MAX): Likewise.
36328 [C99-based standards] (INTMAX_MIN): Likewise.
36329 [C99-based standards] (INTMAX_MAX): Likewise.
36330 [C99-based standards] (UINTMAX_MAX): Likewise.
36331 [C99-based standards] (PTRDIFF_MIN): Likewise.
36332 [C99-based standards] (PTRDIFF_MAX): Likewise.
36333 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36334 [C99-based standards] (SIZE_MAX): Likewise.
36335 [C99-based standards] (WCHAR_MAX): Likewise.
36336 [C99-based standards] (WINT_MAX): Likewise.
36337 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36338 constraint on value.
36339 [C99-based standards] (WCHAR_MIN): Likewise.
36340 [C99-based standards] (WINT_MIN): Likewise.
36341 [C99-based standards] (*_t): Allow.
36342 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36343 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36344 Include math.h-data and complex.h-data. Remove all expectations
36345 of math.h and complex.h contents.
36346 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36348 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36349 (struct tm): Expect tag.
36350 [C99-based-standards] (wcstof): Expect function.
36351 [C99-based-standards] (wcstold): Likewise.
36352 [C99-based-standards] (wcstoll): Likewise.
36353 [C99-based-standards] (wcstoull): Likewise.
36354 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36355 macro-int-constant. Specify type.
36356 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36357 constraint on value.
36358 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36360 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36362 [ISO C standards]: Do not allow headers.
36363 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36364 wcs[abcdefghijklmnopqrstuvwxyz]*.
36365 [ISO C standards] (*_t): Do not allow.
36366 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36368 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36369 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36371 [ISO C standards]: Do not allow headers.
36372 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36373 is[abcdefghijklmnopqrstuvwxyz]*.
36374 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36375 to[abcdefghijklmnopqrstuvwxyz]*.
36376 [ISO C standards] (*_t): Do not allow.
36377 * conform/data/stdalign.h-data: New file.
36378 * conform/data/stdbool.h-data: Likewise.
36379 * conform/data/stdnoreturn.h-data: Likewise.
36381 2012-11-07 Roland McGrath <roland@hack.frob.com>
36384 * manual/filesys.texi (Directory Entries): Typo fix.
36385 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36387 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36389 * elf/elf.h (EM_AARCH64): New macro.
36390 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36391 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36392 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36393 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36394 (R_AARCH64_TLSDESC): Likewise.
36395 (NT_ARM_TLS): Likewise.
36396 (NT_ARM_HW_BREAK): Likewise.
36397 (NT_ARM_HW_WATCH): Likewise.
36399 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36402 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36403 (__ieee754_powl): Saturate nonzero exponents with absolute value
36404 below 0x1p-79 to +/- 0x1p-79.
36405 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36406 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36407 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36408 nonzero exponents with absolute value below 0x1p-32 to +/-
36410 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36411 (__ieee754_powl): Saturate nonzero exponents with absolute value
36412 below 0x1p-79 to +/- 0x1p-79.
36413 * math/libm-test.inc (pow_test): Add more tests.
36415 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36417 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36418 _dl_s390_cap_flags with kernel. Increase string length.
36419 (_dl_s390_platforms): Add z196 and zEC12.
36421 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36423 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36424 Change XOPEN21K to XOPEN2K.
36426 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36428 * string/memmove.c: Use memcpy when possible.
36430 2012-11-06 Andreas Jaeger <aj@suse.de>
36432 * po/eo.po: Update from translation team.
36434 2012-11-06 Joseph Myers <joseph@codesourcery.com>
36437 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36438 exponent and small x and y exponents, scale x or y up. Increase
36439 by 2 the exponent used in scaling up.
36440 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36441 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36442 * math/libm-test.inc (fma_test): Add more tests.
36443 (fma_test_towardzero): Likewise.
36444 (fma_test_downward): Likewise.
36445 (fma_test_upward): Likewise.
36447 2012-11-05 Joseph Myers <joseph@codesourcery.com>
36450 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36454 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36455 namespace for names of struct fields.
36456 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36458 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36459 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36461 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36464 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36466 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36468 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36472 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36475 2012-11-04 Joseph Myers <joseph@codesourcery.com>
36478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36479 definitely overflow as x * y not x * y + z.
36480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36481 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36482 * math/libm-test.inc (fma_test): Add more tests.
36483 (fma_test_towardzero): Likewise.
36484 (fma_test_downward): Likewise.
36485 (fma_test_upward): Likewise.
36487 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36491 * include/stub-tag.h: Remove file.
36492 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36494 * manual/maint.texi (Porting): Don't reference it.
36495 * Makerules ($(objpfx)stubs): Likewise.
36496 * dirent/closedir.c: Don't include <stub-tag.h>.
36497 * dirent/dirfd.c: Likewise.
36498 * dirent/fdopendir.c: Likewise.
36499 * dirent/getdents.c: Likewise.
36500 * dirent/getdents64.c: Likewise.
36501 * dirent/opendir.c: Likewise.
36502 * dirent/readdir.c: Likewise.
36503 * dirent/readdir64.c: Likewise.
36504 * dirent/readdir64_r.c: Likewise.
36505 * dirent/readdir_r.c: Likewise.
36506 * dirent/rewinddir.c: Likewise.
36507 * dirent/seekdir.c: Likewise.
36508 * dirent/telldir.c: Likewise.
36509 * gmon/profil.c: Likewise.
36510 * grp/setgroups.c: Likewise.
36511 * inet/if_index.c: Likewise.
36512 * io/access.c: Likewise.
36513 * io/chdir.c: Likewise.
36514 * io/chmod.c: Likewise.
36515 * io/chown.c: Likewise.
36516 * io/close.c: Likewise.
36517 * io/dup.c: Likewise.
36518 * io/dup2.c: Likewise.
36519 * io/dup3.c: Likewise.
36520 * io/euidaccess.c: Likewise.
36521 * io/faccessat.c: Likewise.
36522 * io/fchdir.c: Likewise.
36523 * io/fchmod.c: Likewise.
36524 * io/fchmodat.c: Likewise.
36525 * io/fchown.c: Likewise.
36526 * io/fchownat.c: Likewise.
36527 * io/fcntl.c: Likewise.
36528 * io/flock.c: Likewise.
36529 * io/fstatfs.c: Likewise.
36530 * io/fstatfs64.c: Likewise.
36531 * io/fstatvfs.c: Likewise.
36532 * io/fstatvfs64.c: Likewise.
36533 * io/futimens.c: Likewise.
36534 * io/fxstat.c: Likewise.
36535 * io/fxstat64.c: Likewise.
36536 * io/fxstatat.c: Likewise.
36537 * io/fxstatat64.c: Likewise.
36538 * io/getcwd.c: Likewise.
36539 * io/isatty.c: Likewise.
36540 * io/lchmod.c: Likewise.
36541 * io/lchown.c: Likewise.
36542 * io/link.c: Likewise.
36543 * io/linkat.c: Likewise.
36544 * io/lseek.c: Likewise.
36545 * io/lseek64.c: Likewise.
36546 * io/lxstat64.c: Likewise.
36547 * io/mkdir.c: Likewise.
36548 * io/mkdirat.c: Likewise.
36549 * io/mkfifo.c: Likewise.
36550 * io/mkfifoat.c: Likewise.
36551 * io/open.c: Likewise.
36552 * io/open64.c: Likewise.
36553 * io/openat.c: Likewise.
36554 * io/openat64.c: Likewise.
36555 * io/pipe.c: Likewise.
36556 * io/pipe2.c: Likewise.
36557 * io/poll.c: Likewise.
36558 * io/posix_fadvise.c: Likewise.
36559 * io/posix_fadvise64.c: Likewise.
36560 * io/posix_fallocate.c: Likewise.
36561 * io/posix_fallocate64.c: Likewise.
36562 * io/read.c: Likewise.
36563 * io/readlink.c: Likewise.
36564 * io/readlinkat.c: Likewise.
36565 * io/rmdir.c: Likewise.
36566 * io/sendfile.c: Likewise.
36567 * io/sendfile64.c: Likewise.
36568 * io/statfs.c: Likewise.
36569 * io/statfs64.c: Likewise.
36570 * io/statvfs.c: Likewise.
36571 * io/statvfs64.c: Likewise.
36572 * io/symlink.c: Likewise.
36573 * io/symlinkat.c: Likewise.
36574 * io/ttyname.c: Likewise.
36575 * io/ttyname_r.c: Likewise.
36576 * io/umask.c: Likewise.
36577 * io/unlink.c: Likewise.
36578 * io/unlinkat.c: Likewise.
36579 * io/utime.c: Likewise.
36580 * io/utimensat.c: Likewise.
36581 * io/write.c: Likewise.
36582 * io/xmknod.c: Likewise.
36583 * io/xmknodat.c: Likewise.
36584 * io/xstat.c: Likewise.
36585 * io/xstat64.c: Likewise.
36586 * login/getpt.c: Likewise.
36587 * login/grantpt.c: Likewise.
36588 * login/unlockpt.c: Likewise.
36589 * math/e_acoshl.c: Likewise.
36590 * math/e_acosl.c: Likewise.
36591 * math/e_asinl.c: Likewise.
36592 * math/e_atan2l.c: Likewise.
36593 * math/e_atanhl.c: Likewise.
36594 * math/e_coshl.c: Likewise.
36595 * math/e_expl.c: Likewise.
36596 * math/e_fmodl.c: Likewise.
36597 * math/e_gammal_r.c: Likewise.
36598 * math/e_hypotl.c: Likewise.
36599 * math/e_j0l.c: Likewise.
36600 * math/e_j1l.c: Likewise.
36601 * math/e_jnl.c: Likewise.
36602 * math/e_lgammal_r.c: Likewise.
36603 * math/e_log10l.c: Likewise.
36604 * math/e_log2l.c: Likewise.
36605 * math/e_logl.c: Likewise.
36606 * math/e_powl.c: Likewise.
36607 * math/e_rem_pio2l.c: Likewise.
36608 * math/e_sinhl.c: Likewise.
36609 * math/e_sqrtl.c: Likewise.
36610 * math/fclrexcpt.c: Likewise.
36611 * math/fedisblxcpt.c: Likewise.
36612 * math/feenablxcpt.c: Likewise.
36613 * math/fegetenv.c: Likewise.
36614 * math/fegetexcept.c: Likewise.
36615 * math/fegetround.c: Likewise.
36616 * math/feholdexcpt.c: Likewise.
36617 * math/fesetenv.c: Likewise.
36618 * math/fesetround.c: Likewise.
36619 * math/feupdateenv.c: Likewise.
36620 * math/fgetexcptflg.c: Likewise.
36621 * math/fraiseexcpt.c: Likewise.
36622 * math/fsetexcptflg.c: Likewise.
36623 * math/ftestexcept.c: Likewise.
36624 * math/k_cosl.c: Likewise.
36625 * math/k_rem_pio2l.c: Likewise.
36626 * math/k_sinl.c: Likewise.
36627 * math/k_tanl.c: Likewise.
36628 * math/s_asinhl.c: Likewise.
36629 * math/s_atanl.c: Likewise.
36630 * math/s_cbrtl.c: Likewise.
36631 * math/s_erfl.c: Likewise.
36632 * math/s_expm1l.c: Likewise.
36633 * math/s_log1pl.c: Likewise.
36634 * math/s_tanhl.c: Likewise.
36635 * misc/acct.c: Likewise.
36636 * misc/brk.c: Likewise.
36637 * misc/chflags.c: Likewise.
36638 * misc/chroot.c: Likewise.
36639 * misc/fchflags.c: Likewise.
36640 * misc/fgetxattr.c: Likewise.
36641 * misc/flistxattr.c: Likewise.
36642 * misc/fremovexattr.c: Likewise.
36643 * misc/fsetxattr.c: Likewise.
36644 * misc/fsync.c: Likewise.
36645 * misc/ftruncate.c: Likewise.
36646 * misc/futimes.c: Likewise.
36647 * misc/futimesat.c: Likewise.
36648 * misc/getdomain.c: Likewise.
36649 * misc/getdtsz.c: Likewise.
36650 * misc/gethostid.c: Likewise.
36651 * misc/gethostname.c: Likewise.
36652 * misc/getloadavg.c: Likewise.
36653 * misc/getpagesize.c: Likewise.
36654 * misc/getsysstats.c: Likewise.
36655 * misc/getxattr.c: Likewise.
36656 * misc/gtty.c: Likewise.
36657 * misc/ioctl.c: Likewise.
36658 * misc/lgetxattr.c: Likewise.
36659 * misc/listxattr.c: Likewise.
36660 * misc/llistxattr.c: Likewise.
36661 * misc/lremovexattr.c: Likewise.
36662 * misc/lsetxattr.c: Likewise.
36663 * misc/lutimes.c: Likewise.
36664 * misc/madvise.c: Likewise.
36665 * misc/mincore.c: Likewise.
36666 * misc/mlock.c: Likewise.
36667 * misc/mlockall.c: Likewise.
36668 * misc/mmap.c: Likewise.
36669 * misc/mprotect.c: Likewise.
36670 * misc/msync.c: Likewise.
36671 * misc/munlock.c: Likewise.
36672 * misc/munlockall.c: Likewise.
36673 * misc/munmap.c: Likewise.
36674 * misc/preadv.c: Likewise.
36675 * misc/preadv64.c: Likewise.
36676 * misc/ptrace.c: Likewise.
36677 * misc/pwritev.c: Likewise.
36678 * misc/pwritev64.c: Likewise.
36679 * misc/readv.c: Likewise.
36680 * misc/reboot.c: Likewise.
36681 * misc/remap_file_pages.c: Likewise.
36682 * misc/removexattr.c: Likewise.
36683 * misc/revoke.c: Likewise.
36684 * misc/select.c: Likewise.
36685 * misc/setdomain.c: Likewise.
36686 * misc/setegid.c: Likewise.
36687 * misc/seteuid.c: Likewise.
36688 * misc/sethostid.c: Likewise.
36689 * misc/sethostname.c: Likewise.
36690 * misc/setregid.c: Likewise.
36691 * misc/setreuid.c: Likewise.
36692 * misc/setxattr.c: Likewise.
36693 * misc/sstk.c: Likewise.
36694 * misc/stty.c: Likewise.
36695 * misc/swapoff.c: Likewise.
36696 * misc/swapon.c: Likewise.
36697 * misc/sync.c: Likewise.
36698 * misc/syncfs.c: Likewise.
36699 * misc/syscall.c: Likewise.
36700 * misc/truncate.c: Likewise.
36701 * misc/ualarm.c: Likewise.
36702 * misc/usleep.c: Likewise.
36703 * misc/ustat.c: Likewise.
36704 * misc/utimes.c: Likewise.
36705 * misc/vhangup.c: Likewise.
36706 * misc/writev.c: Likewise.
36707 * posix/_exit.c: Likewise.
36708 * posix/alarm.c: Likewise.
36709 * posix/execve.c: Likewise.
36710 * posix/fexecve.c: Likewise.
36711 * posix/fork.c: Likewise.
36712 * posix/fpathconf.c: Likewise.
36713 * posix/getaddrinfo.c: Likewise.
36714 * posix/getegid.c: Likewise.
36715 * posix/geteuid.c: Likewise.
36716 * posix/getgid.c: Likewise.
36717 * posix/getgroups.c: Likewise.
36718 * posix/getlogin.c: Likewise.
36719 * posix/getlogin_r.c: Likewise.
36720 * posix/getpgid.c: Likewise.
36721 * posix/getpid.c: Likewise.
36722 * posix/getppid.c: Likewise.
36723 * posix/getresgid.c: Likewise.
36724 * posix/getresuid.c: Likewise.
36725 * posix/getsid.c: Likewise.
36726 * posix/getuid.c: Likewise.
36727 * posix/glob64.c: Likewise.
36728 * posix/nanosleep.c: Likewise.
36729 * posix/pathconf.c: Likewise.
36730 * posix/pause.c: Likewise.
36731 * posix/posix_madvise.c: Likewise.
36732 * posix/pread.c: Likewise.
36733 * posix/pread64.c: Likewise.
36734 * posix/pwrite.c: Likewise.
36735 * posix/pwrite64.c: Likewise.
36736 * posix/sched_getaffinity.c: Likewise.
36737 * posix/sched_getp.c: Likewise.
36738 * posix/sched_gets.c: Likewise.
36739 * posix/sched_primax.c: Likewise.
36740 * posix/sched_primin.c: Likewise.
36741 * posix/sched_rr_gi.c: Likewise.
36742 * posix/sched_setaffinity.c: Likewise.
36743 * posix/sched_setp.c: Likewise.
36744 * posix/sched_sets.c: Likewise.
36745 * posix/sched_yield.c: Likewise.
36746 * posix/setgid.c: Likewise.
36747 * posix/setlogin.c: Likewise.
36748 * posix/setpgid.c: Likewise.
36749 * posix/setresgid.c: Likewise.
36750 * posix/setresuid.c: Likewise.
36751 * posix/setsid.c: Likewise.
36752 * posix/setuid.c: Likewise.
36753 * posix/sleep.c: Likewise.
36754 * posix/spawni.c: Likewise.
36755 * posix/sysconf.c: Likewise.
36756 * posix/times.c: Likewise.
36757 * posix/wait.c: Likewise.
36758 * posix/wait3.c: Likewise.
36759 * posix/wait4.c: Likewise.
36760 * posix/waitpid.c: Likewise.
36761 * resolv/gai_sigqueue.c: Likewise.
36762 * resource/getpriority.c: Likewise.
36763 * resource/getrlimit.c: Likewise.
36764 * resource/getrusage.c: Likewise.
36765 * resource/nice.c: Likewise.
36766 * resource/setpriority.c: Likewise.
36767 * resource/setrlimit.c: Likewise.
36768 * resource/ulimit.c: Likewise.
36769 * rt/aio_cancel.c: Likewise.
36770 * rt/aio_fsync.c: Likewise.
36771 * rt/aio_read.c: Likewise.
36772 * rt/aio_sigqueue.c: Likewise.
36773 * rt/aio_suspend.c: Likewise.
36774 * rt/aio_write.c: Likewise.
36775 * rt/clock_getres.c: Likewise.
36776 * rt/clock_gettime.c: Likewise.
36777 * rt/clock_nanosleep.c: Likewise.
36778 * rt/clock_settime.c: Likewise.
36779 * rt/lio_listio.c: Likewise.
36780 * rt/mq_close.c: Likewise.
36781 * rt/mq_getattr.c: Likewise.
36782 * rt/mq_notify.c: Likewise.
36783 * rt/mq_open.c: Likewise.
36784 * rt/mq_receive.c: Likewise.
36785 * rt/mq_send.c: Likewise.
36786 * rt/mq_setattr.c: Likewise.
36787 * rt/mq_timedreceive.c: Likewise.
36788 * rt/mq_timedsend.c: Likewise.
36789 * rt/mq_unlink.c: Likewise.
36790 * rt/shm_open.c: Likewise.
36791 * rt/shm_unlink.c: Likewise.
36792 * rt/timer_create.c: Likewise.
36793 * rt/timer_delete.c: Likewise.
36794 * rt/timer_getoverr.c: Likewise.
36795 * rt/timer_gettime.c: Likewise.
36796 * rt/timer_settime.c: Likewise.
36797 * setjmp/__longjmp.c: Likewise.
36798 * setjmp/setjmp.c: Likewise.
36799 * signal/kill.c: Likewise.
36800 * signal/killpg.c: Likewise.
36801 * signal/raise.c: Likewise.
36802 * signal/sigaction.c: Likewise.
36803 * signal/sigaltstack.c: Likewise.
36804 * signal/sigblock.c: Likewise.
36805 * signal/sigignore.c: Likewise.
36806 * signal/sigintr.c: Likewise.
36807 * signal/signal.c: Likewise.
36808 * signal/sigpause.c: Likewise.
36809 * signal/sigpending.c: Likewise.
36810 * signal/sigqueue.c: Likewise.
36811 * signal/sigreturn.c: Likewise.
36812 * signal/sigset.c: Likewise.
36813 * signal/sigsetmask.c: Likewise.
36814 * signal/sigstack.c: Likewise.
36815 * signal/sigsuspend.c: Likewise.
36816 * signal/sigtimedwait.c: Likewise.
36817 * signal/sigvec.c: Likewise.
36818 * signal/sigwait.c: Likewise.
36819 * signal/sigwaitinfo.c: Likewise.
36820 * signal/sysv_signal.c: Likewise.
36821 * socket/accept.c: Likewise.
36822 * socket/accept4.c: Likewise.
36823 * socket/bind.c: Likewise.
36824 * socket/connect.c: Likewise.
36825 * socket/getpeername.c: Likewise.
36826 * socket/getsockname.c: Likewise.
36827 * socket/getsockopt.c: Likewise.
36828 * socket/isfdtype.c: Likewise.
36829 * socket/listen.c: Likewise.
36830 * socket/recv.c: Likewise.
36831 * socket/recvfrom.c: Likewise.
36832 * socket/recvmsg.c: Likewise.
36833 * socket/send.c: Likewise.
36834 * socket/sendmsg.c: Likewise.
36835 * socket/sendto.c: Likewise.
36836 * socket/setsockopt.c: Likewise.
36837 * socket/shutdown.c: Likewise.
36838 * socket/sockatmark.c: Likewise.
36839 * socket/socket.c: Likewise.
36840 * socket/socketpair.c: Likewise.
36841 * stdio-common/ctermid.c: Likewise.
36842 * stdio-common/cuserid.c: Likewise.
36843 * stdio-common/remove.c: Likewise.
36844 * stdio-common/rename.c: Likewise.
36845 * stdio-common/renameat.c: Likewise.
36846 * stdio-common/tempname.c: Likewise.
36847 * stdlib/getcontext.c: Likewise.
36848 * stdlib/makecontext.c: Likewise.
36849 * stdlib/setcontext.c: Likewise.
36850 * stdlib/swapcontext.c: Likewise.
36851 * stdlib/system.c: Likewise.
36852 * streams/fattach.c: Likewise.
36853 * streams/fdetach.c: Likewise.
36854 * streams/getmsg.c: Likewise.
36855 * streams/getpmsg.c: Likewise.
36856 * streams/putmsg.c: Likewise.
36857 * streams/putpmsg.c: Likewise.
36858 * sysdeps/unix/bsd/getpt.c: Likewise.
36859 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36860 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36861 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36864 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36865 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36866 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36867 * sysvipc/msgctl.c: Likewise.
36868 * sysvipc/msgget.c: Likewise.
36869 * sysvipc/msgrcv.c: Likewise.
36870 * sysvipc/msgsnd.c: Likewise.
36871 * sysvipc/semctl.c: Likewise.
36872 * sysvipc/semget.c: Likewise.
36873 * sysvipc/semop.c: Likewise.
36874 * sysvipc/semtimedop.c: Likewise.
36875 * sysvipc/shmat.c: Likewise.
36876 * sysvipc/shmctl.c: Likewise.
36877 * sysvipc/shmdt.c: Likewise.
36878 * sysvipc/shmget.c: Likewise.
36879 * termios/tcdrain.c: Likewise.
36880 * termios/tcflow.c: Likewise.
36881 * termios/tcflush.c: Likewise.
36882 * termios/tcgetattr.c: Likewise.
36883 * termios/tcgetpgrp.c: Likewise.
36884 * termios/tcsendbrk.c: Likewise.
36885 * termios/tcsetattr.c: Likewise.
36886 * termios/tcsetpgrp.c: Likewise.
36887 * time/adjtime.c: Likewise.
36888 * time/clock.c: Likewise.
36889 * time/getitimer.c: Likewise.
36890 * time/gettimeofday.c: Likewise.
36891 * time/setitimer.c: Likewise.
36892 * time/settimeofday.c: Likewise.
36893 * time/stime.c: Likewise.
36894 * time/time.c: Likewise.
36896 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
36898 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36901 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36903 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36905 2012-11-03 Joseph Myers <joseph@codesourcery.com>
36908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36909 FE_TONEAREST before applying Dekker multiplication and Knuth
36910 addition. Clear inexact exceptions and check for exact zero
36911 results afterwards.
36912 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36913 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36914 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36915 * math/libm-test.inc (fma_test): Add more tests.
36916 (fma_test_towardzero): Likewise.
36917 (fma_test_downward): Likewise.
36918 (fma_test_upward): Likewise.
36919 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36921 (libc_fesetround): New macro.
36922 (libc_fesetroundf): Likewise.
36923 (libc_fesetroundl): Likewise.
36924 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36926 (libc_fesetround_387): Likewise.
36927 (libc_fesetroundf): New macro.
36928 (libc_fesetround): Likewise.
36929 (libc_fesetroundl): Likewise.
36930 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36932 (libc_fesetroundf): New macro.
36933 (libc_fesetround): Likewise.
36934 (libc_fesetroundl): Likewise.
36935 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36936 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36937 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36939 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36940 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36942 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36943 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36945 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36949 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36950 integer constant usable in #if and use that to give value to enum
36952 (FE_DIVBYZERO): Likewise.
36953 (FE_UNDERFLOW): Likewise.
36954 (FE_OVERFLOW): Likewise.
36955 (FE_INVALID): Likewise.
36956 (FE_INVALID_SNAN): Likewise.
36957 (FE_INVALID_ISI): Likewise.
36958 (FE_INVALID_IDI): Likewise.
36959 (FE_INVALID_ZDZ): Likewise.
36960 (FE_INVALID_IMZ): Likewise.
36961 (FE_INVALID_COMPARE): Likewise.
36962 (FE_INVALID_SOFTWARE): Likewise.
36963 (FE_INVALID_SQRT): Likewise.
36964 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36965 (FE_TONEAREST): Likewise.
36966 (FE_TOWARDZERO): Likewise.
36967 (FE_UPWARD): Likewise.
36968 (FE_DOWNWARD): Likewise.
36969 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36970 (FE_DIVBYZERO): Likewise.
36971 (FE_OVERFLOW): Likewise.
36972 (FE_UNDERFLOW): Likewise.
36973 (FE_INEXACT): Likewise.
36974 (FE_TONEAREST): Likewise.
36975 (FE_DOWNWARD): Likewise.
36976 (FE_UPWARD): Likewise.
36977 (FE_TOWARDZERO): Likewise.
36978 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36979 (FE_UNDERFLOW): Likewise.
36980 (FE_OVERFLOW): Likewise.
36981 (FE_DIVBYZERO): Likewise.
36982 (FE_INVALID): Likewise.
36983 (FE_TONEAREST): Likewise.
36984 (FE_TOWARDZERO): Likewise.
36985 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36986 (FE_OVERFLOW): Likewise.
36987 (FE_UNDERFLOW): Likewise.
36988 (FE_DIVBYZERO): Likewise.
36989 (FE_INEXACT): Likewise.
36990 (FE_TONEAREST): Likewise.
36991 (FE_TOWARDZERO): Likewise.
36992 (FE_UPWARD): Likewise.
36993 (FE_DOWNWARD): Likewise.
36994 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36995 (FE_DIVBYZERO): Likewise.
36996 (FE_OVERFLOW): Likewise.
36997 (FE_UNDERFLOW): Likewise.
36998 (FE_INEXACT): Likewise.
36999 (FE_TONEAREST): Likewise.
37000 (FE_DOWNWARD): Likewise.
37001 (FE_UPWARD): Likewise.
37002 (FE_TOWARDZERO): Likewise.
37004 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
37006 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37008 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
37010 * scripts/cross-test-ssh.sh (command): Use newlines to separate
37011 commands. Quote $PWD.
37012 (blacklist_exports): Don't use remove_newlines. Replace "declare
37014 (remove_newlines): Remove.
37016 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
37018 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37019 * stdlib/stdlib.h (atof): Moved to ...
37020 * include/bits/stdlib-float.h: Here. New file.
37021 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37022 * stdlib/bits/stdlib-float.h: New file.
37023 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37025 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37028 2012-11-02 Joseph Myers <joseph@codesourcery.com>
37030 * conform/conformtest.pl (@headers): Add fenv.h.
37031 * conform/data/fenv.h-data: New file.
37032 * include/fenv.h [_ISOMAC]: Disable all contents of file except
37033 include of <math/fenv.h>.
37035 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37036 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37037 && !UNIX98]. Enables tests for XOPEN2K8.
37038 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37039 POSIX2008]: Likewise.
37041 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37042 (struct rusage): Do not expect type or its members.
37045 * math/math.h (FP_NAN): Define macro to integer constant usable in
37046 #if and use that to give value to enum constant.
37047 (FP_INFINITE): Likewise.
37048 (FP_ZERO): Likewise.
37049 (FP_SUBNORMAL): Likewise.
37050 (FP_NORMAL): Likewise.
37052 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37054 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37055 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37058 2012-11-02 Roland McGrath <roland@hack.frob.com>
37060 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37061 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37062 autoconf-time if not.
37063 * configure.in: Remove AC_PREREQ.
37065 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37067 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37068 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37069 of the internal implementation.
37071 2012-11-02 Joseph Myers <joseph@codesourcery.com>
37073 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37074 except include of <misc/sys/syslog.h>.
37076 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37079 function returns with a NULL context exit with zero.
37081 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37083 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37085 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37087 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37088 (run_program_cmd): This.
37089 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37090 (tst_langinfo): New variable. Use it.
37092 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37094 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37095 floating point opcodes.
37097 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37099 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37102 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37104 * sysdeps/mach/hurd/powerpc: Remove directory.
37105 * sysdeps/mach/powerpc: Likewise.
37107 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37109 * scripts/check-local-headers.sh: Ignore c++ headers.
37111 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37113 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37114 __libc_cleanup_region_start argument.
37116 2012-11-01 Joseph Myers <joseph@codesourcery.com>
37120 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37121 x * y using scaling, not as x * y + z.
37122 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37123 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37124 * math/libm-test.inc (fma_test): Add more tests.
37125 (fma_test_towardzero): Likewise.
37126 (fma_test_downward): Likewise.
37127 (fma_test_upward): Likewise.
37129 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37131 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37133 2012-10-31 Joseph Myers <joseph@codesourcery.com>
37135 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37138 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37140 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37142 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37149 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37152 Fix the order of the list for glibc 2.17.
37153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37156 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37160 2012-10-31 Joseph Myers <joseph@codesourcery.com>
37163 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37164 for low part of x being zero before using __atanl (y).
37165 * math/libm-test.inc (atan2_test): Add another test.
37167 * manual/install.texi (Configuring and compiling): Document
37168 general use of test-wrapper and test-wrapper-env.
37169 * INSTALL: Regenerated.
37171 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37172 (__fma): Do not extract and scale down low bits on after-rounding
37173 systems when result rounded to normal precision would have normal
37175 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37176 (__fmal): Do not extract and scale down low bits on after-rounding
37177 systems when result rounded to normal precision would have normal
37179 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37180 (__fmal): Do not extract and scale down low bits on after-rounding
37181 systems when result rounded to normal precision would have normal
37183 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37185 (fma_test): Add more tests.
37186 (fma_test_towardzero): Likewise.
37187 (fma_test_downward): Likewise.
37188 (fma_test_upward): Likewise.
37190 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37192 * sysdeps/i386/tininess.h: Renamed to ...
37193 * sysdeps/x86/tininess.h: This.
37194 * sysdeps/x86_64/tininess.h: Removed.
37196 2012-10-30 Joseph Myers <joseph@codesourcery.com>
37198 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37199 input. Use $(build-program-cmd).
37200 ($(objpfx)tst-array1-static.out): Likewise.
37201 ($(objpfx)tst-array2.out): Likewise.
37202 ($(objpfx)tst-array3.out): Likewise.
37203 ($(objpfx)tst-array4.out): Likewise.
37204 ($(objpfx)tst-array5.out): Likewise.
37205 ($(objpfx)tst-array5-static.out): Likewise.
37207 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37209 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37212 * nss/nsswitch.h (nss_interface_function): Provide new
37213 macro for use with NSS functions.
37214 * grp/initgroups.c: Use new macro.
37215 * nss/getXXbyYY.c: Likewise.
37216 * nss/getXXbyYY_r.c: Likewise.
37217 * nss/getXXent.c: Likewise.
37218 * nss/getXXent_r.c: Likewise.
37219 * sysdeps/posix/getaddrinfo.c: Likewise.
37221 2012-10-30 Andreas Jaeger <aj@suse.de>
37223 * po/ru.po: Update Russion translation from translation project.
37225 2012-10-30 Joseph Myers <joseph@codesourcery.com>
37229 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37230 result and shift together with sticky bit instead of replicating
37231 round-to-nearest rounding.
37232 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37233 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37234 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37235 missing underflow exceptions.
37236 (fma_test_towardzero): Add more tests.
37237 (fma_test_downward): Likewise.
37238 (fma_test_upward): Likewise.
37241 * sysdeps/generic/tininess.h: New file.
37242 * sysdeps/i386/tininess.h: Likewise.
37243 * sysdeps/sh/tininess.h: Likewise.
37244 * sysdeps/x86_64/tininess.h: Likewise.
37245 * stdlib/tst-strtod-underflow.c: Likewise.
37246 * stdlib/tst-tininess.c: Likewise.
37247 * stdlib/strtod_l.c: Include <tininess.h>.
37248 (round_and_return): Do not set errno for exact underflow cases.
37249 Force an underflow exception when setting errno for underflow.
37250 Determine underflow based on rounding to normal precision if
37251 TININESS_AFTER_ROUNDING.
37252 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37253 ERANGE for exact underflow cases.
37254 * stdlib/Makefile (tests): Add tst-tininess and
37255 tst-strtod-underflow.
37256 ($(objpfx)tst-tininess): Use $(link-libm).
37257 ($(objpfx)tst-strtod-underflow): Likewise.
37259 2012-10-30 Andreas Jaeger <aj@suse.de>
37262 * elf/Makefile (tests): Remove conditional for have-initfini-array
37263 since this is now always required and the variable does not exist
37265 (tests-static): Likewise.
37266 (modules-names): Likewise.
37268 * po/eo.po: Add Esperanto translation from translation project.
37270 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37271 merged with constructor/destructor.
37272 (init_array): Likewise.
37273 * elf/tst-array2dep.c (fini_array): Likewise.
37274 (init_array): Likewise.
37276 2012-10-29 Mike Frysinger <vapier@gentoo.org>
37278 * manual/message.texi: Delete @cartouche tags.
37280 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37282 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37284 * sysdeps/mach/hurd/fsync.c: Likewise.
37286 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37287 [_POSIX_REALTIME_SIGNALS]: Change condition to
37288 [_POSIX_REALTIME_SIGNALS > 0].
37290 2012-10-27 Andreas Jaeger <aj@suse.de>
37292 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37293 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37294 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37295 [__WORDSIZE != 64]: Likewise.
37297 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37299 * iconvdata/tst-table.sh: Remove ${SHELL}.
37300 * iconvdata/tst-tables.sh: Likewise.
37302 2012-10-25 David S. Miller <davem@davemloft.net>
37304 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37305 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37308 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37310 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37311 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37312 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37315 2012-10-25 Roland McGrath <roland@hack.frob.com>
37317 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37318 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37321 2012-10-25 Joseph Myers <joseph@codesourcery.com>
37322 Jim Blandy <jimb@codesourcery.com>
37324 * scripts/cross-test-ssh.sh: New file.
37325 * manual/install.texi (Configuring and compiling): Document use of
37327 * INSTALL: Regenerated.
37329 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37331 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37334 2012-10-25 Joseph Myers <joseph@codesourcery.com>
37336 * Makeconfig (run-program-prefix): Fix comment.
37338 2012-10-24 Joseph Myers <joseph@codesourcery.com>
37339 Jim Blandy <jimb@codesourcery.com>
37341 * Makeconfig (test-wrapper): New variable,
37342 (test-wrapper-env): Likewise.
37343 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37344 (run-built-tests): Define to yes.
37345 (run-program-prefix): Use $(test-wrapper).
37346 (built-program-cmd): Likewise.
37347 * Rules (make-test-out): Use $(test-wrapper-env) and
37348 $(host-built-program-cmd).
37349 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37350 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37352 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37353 $(test-wrapper-env) to tst-rtld-load-self.sh.
37354 ($(objpfx)order2.out): Use $(test-wrapper).
37355 ($(objpfx)tst-initorder.out): Likewise.
37356 ($(objpfx)tst-initorder2.out): Likewise.
37357 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37358 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37359 (test_wrapper_env): New variable. Use it to run ld.so.
37360 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37361 Use it to run ld.so.
37362 (test_wrapper_env): Likewise.
37363 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37364 $(test-wrapper) to run-iconv-test.sh.
37365 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37366 (ICONV): Use $test_wrapper.
37367 * posix/Makefile ($(objpfx)globtest.out): Pass
37368 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37369 globtest.sh, not $(run-program-prefix).
37370 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37371 (test_wrapper): Likewise.
37372 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37373 set together with run_via_rtld_prefix.
37374 (run_program_prefix): Define in terms of test_wrapper and
37375 run_via_rtld_prefix.
37377 2012-10-24 Roland McGrath <roland@hack.frob.com>
37379 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37380 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37384 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37385 Declare __clock_getres, __clock_gettime, __clock_settime,
37386 __clock_nanosleep, and __clock_getcpuclockid.
37387 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37388 Remove librt_hidden_def (clock_gettime).
37389 * sysdeps/unix/clock_gettime.c: Likewise.
37390 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37391 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37392 * rt/clock_getres.c: Define __clock_getres as an alias.
37393 * sysdeps/posix/clock_getres.c: Likewise.
37394 * rt/clock_settime.c: Define __clock_settime as an alias.
37395 * sysdeps/unix/clock_settime.c: Likewise.
37396 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37397 * sysdeps/unix/clock_nanosleep.c: Likewise.
37398 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37399 * rt/clock-compat.c: New file.
37400 * rt/Makefile (librt-routines): Add clock-compat and move
37401 $(clock-routines) to ...
37402 (routines): ... here, new variable.
37403 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37404 Don't add get_clockfreq here.
37405 * rt/Versions (libc: GLIBC_2.17): New version set.
37406 Add clock_* symbols here.
37407 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37408 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37409 (GLIBC_2.17): Add clock_* symbols.
37410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37412 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37421 * NEWS: Mention the move.
37423 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37424 Use __open, __read, __close rather than their public counterparts.
37425 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37426 (__get_clockfreq_via_cpuinfo): Likewise.
37427 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37428 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37430 * config.h.in (HAVE_IFUNC): New #undef.
37431 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37433 * configure: Regenerated.
37435 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37437 * configure.in: Move READELF check to start of file.
37438 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37439 libc_cv_asm_gnu_indirect_function in the process.
37440 * configure: Regenerated.
37442 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37444 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37445 send the output to /dev/null.
37446 (libc_cv_cc_with_libunwind): Likewise.
37447 (libc_cv_as_noexecstack): Likewise.
37448 * configure: Regenerate.
37450 2012-10-24 Joseph Myers <joseph@codesourcery.com>
37452 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37454 * posix/globtest.sh (TMPDIR): Do not set.
37455 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37456 (testout): Likewise.
37458 2012-10-24 Andreas Jaeger <aj@suse.de>
37460 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37461 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37462 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37463 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37464 posix_fadvise64, posix_fallocate64.
37466 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37467 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37468 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37470 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37472 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37474 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37475 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37476 <bits/fcntl-linux.h>.
37477 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37479 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37480 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37481 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37482 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37483 [__WORDSIZE != 64]: Likewise.
37485 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37487 * Makeconfig (run-built-tests): New variable.
37488 * Rules [$(cross-compiling) = yes]: Change condition to
37489 [$(run-built-tests) = no].
37490 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37491 to [$(run-built-tests) = yes].
37492 * elf/Makefile [$(cross-compiling) = no]: Likewise
37493 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37494 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37495 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37496 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37497 * io/Makefile [$(cross-compiling) = no]: Likewise.
37498 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37499 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37500 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37501 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37502 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37503 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37504 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37505 * string/Makefile [$(cross-compiling) = no]: Likewise.
37507 * posix/Makefile ($(objpfx)globtest.out): Pass
37508 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37509 $(rtld-installed-name).
37510 * posix/globtest.sh (elf_objpfx): Remove variable.
37511 (rtld_installed_name): Likewise.
37512 (library_path): Likewise.
37513 (run_program_prefix): New variable. Use for running globtest
37516 2012-10-23 Jim Blandy <jimb@codesourcery.com>
37517 Joseph Myers <joseph@codesourcery.com>
37519 * Makeconfig (host-built-program-cmd): New variable.
37520 * elf/Makefile (tst-stackguard1-ARGS): Use
37521 $(host-built-program-cmd).
37522 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37523 (tst-spawn-ARGS): Likewise.
37524 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37526 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37527 Jim Blandy <jimb@codesourcery.com>
37529 * Makeconfig (run-via-rtld-prefix): New variable.
37530 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37531 (built-program-cmd): Likewise.
37533 2012-10-22 Andreas Jaeger <aj@suse.de>
37535 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37536 __O_RSYNC if it exists, otherwise to O_SYNC.
37538 2012-10-22 Jim Blandy <jimb@codesourcery.com>
37539 Joseph Myers <joseph@codesourcery.com>
37541 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37543 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37545 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37548 2012-10-22 Andreas Jaeger <aj@suse.de>
37550 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37552 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37554 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37555 bits/fcntl-linux.h.
37557 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37558 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37565 2012-10-21 Jim Blandy <jimb@codesourcery.com>
37566 Joseph Myers <joseph@codesourcery.com>
37568 * config.make.in (NM): New variable.
37570 2012-10-21 Andreas Jaeger <aj@suse.de>
37572 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37573 definitions and declarations that are provided by
37574 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37576 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37579 * elf/Makefile (tests-static): Add tst-leaks1-static.
37580 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37581 ($(objpfx)tst-leaks1-static): New rule.
37582 ($(objpfx)tst-leaks1-static-mem): Likewise.
37583 (tst-leaks1-static-ENV): New macro.
37584 * elf/dl-open.c (dl_open_worker): Check the main application
37585 only if SHARED is defined.
37586 * elf/tst-leaks1-static.c: New file.
37588 2012-10-20 Andreas Jaeger <aj@suse.de>
37590 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37591 generic values for Linux.
37592 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37593 and declarations that are provided by <bits/fcntl-linux.h> and
37594 include <bits/fcntl-linux.h>.
37595 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37596 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37598 2012-10-20 Roland McGrath <roland@hack.frob.com>
37600 * io/fcntl.h: Move include of <bits/types.h> to the top and
37601 include it unconditionally.
37603 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37605 * wcsmbs/Makefile (tests-ifunc): New variable.
37606 (tests): Add $(tests-ifunc).
37607 * wcsmbs/test-wcschr-ifunc.c: New file.
37608 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37609 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37610 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37611 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37612 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37614 * string/Makefile (tests-ifunc): New variable.
37615 (tests): Add $(tests-ifunc).
37616 * string/test-memccpy.c (TEST_NAME): New macro.
37617 * string/test-memchr.c (TEST_NAME): Likewise.
37618 * string/test-memcmp.c (TEST_NAME): Likewise.
37619 * string/test-memcpy.c (TEST_NAME): Likewise.
37620 * string/test-memmem.c (TEST_NAME): Likewise.
37621 * string/test-memmove.c (TEST_NAME): Likewise.
37622 * string/test-memset.c (TEST_NAME): Likewise.
37623 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37624 * string/test-stpcpy.c (TEST_NAME): Likewise.
37625 * string/test-stpncpy.c (TEST_NAME): Likewise.
37626 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37627 * string/test-strcasestr.c (TEST_NAME): Likewise.
37628 * string/test-strcat.c (TEST_NAME): Likewise.
37629 * string/test-strchr.c (TEST_NAME): Likewise.
37630 * string/test-strcmp.c(TEST_NAME): Likewise.
37631 * string/test-strcpy.c (TEST_NAME): Likewise.
37632 * string/test-strcspn.c (TEST_NAME): Likewise.
37633 * string/test-strlen.c (TEST_NAME): Likewise.
37634 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37635 * string/test-strncmp.c (TEST_NAME): Likewise.
37636 * string/test-strncpy.c (TEST_NAME): Likewise.
37637 * string/test-strnlen.c (TEST_NAME): Likewise.
37638 * string/test-strpbrk.c (TEST_NAME): Likewise.
37639 * string/test-strrchr.c (TEST_NAME): Likewise.
37640 * string/test-strspn.c (TEST_NAME): Likewise.
37641 * string/test-strstr.c (TEST_NAME): Likewise.
37642 * string/test-bcopy-ifunc.c: New file.
37643 * string/test-bzero-ifunc.c: Likewise.
37644 * string/test-memccpy-ifunc.c: Likewise.
37645 * string/test-memchr-ifunc.c: Likewise.
37646 * string/test-memcmp-ifunc.c: Likewise.
37647 * string/test-memcpy-ifunc.c: Likewise.
37648 * string/test-memmem-ifunc.c: Likewise.
37649 * string/test-memmove-ifunc.c: Likewise.
37650 * string/test-mempcpy-ifunc.c: Likewise.
37651 * string/test-memset-ifunc.c: Likewise.
37652 * string/test-rawmemchr-ifunc.c: Likewise.
37653 * string/test-stpcpy-ifunc.c: Likewise.
37654 * string/test-stpncpy-ifunc.c: Likewise.
37655 * string/test-strcasecmp-ifunc.c: Likewise.
37656 * string/test-strcasestr-ifunc.c: Likewise.
37657 * string/test-strcat-ifunc.c: Likewise.
37658 * string/test-strchr-ifunc.c: Likewise.
37659 * string/test-strchrnul-ifunc.c: Likewise.
37660 * string/test-strcmp-ifunc.c: Likewise.
37661 * string/test-strcpy-ifunc.c: Likewise.
37662 * string/test-strcspn-ifunc.c: Likewise.
37663 * string/test-strlen-ifunc.c: Likewise.
37664 * string/test-strncasecmp-ifunc.c: Likewise.
37665 * string/test-strncat-ifunc.c: Likewise.
37666 * string/test-strncmp-ifunc.c: Likewise.
37667 * string/test-strncpy-ifunc.c: Likewise.
37668 * string/test-strnlen-ifunc.c: Likewise.
37669 * string/test-strpbrk-ifunc.c: Likewise.
37670 * string/test-strrchr-ifunc.c: Likewise.
37671 * string/test-strspn-ifunc.c: Likewise.
37672 * string/test-strstr-ifunc.c: Likewise.
37674 * debug/Makefile (tests-ifunc): New variable.
37675 (tests): Add $(tests-ifunc).
37676 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37677 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37678 * debug/test-stpcpy_chk-ifunc.c: New file.
37679 * debug/test-strcpy_chk-ifunc.c: Likewise.
37681 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37684 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37685 header is not read in.
37687 2012-10-19 Joseph Myers <joseph@codesourcery.com>
37689 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37690 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37691 directly. Pass built executable to script as
37692 $(built-program-cmd).
37693 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37694 $testprogram without using LD_LIBRARY_PATH and $ldso.
37696 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37697 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37698 $(rtld-installed-name).
37699 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37700 (rtld_installed_name): Likewise.
37701 (library_path): Likewise.
37702 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37703 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37704 $(run-program-prefix) to tst-tables.sh.
37705 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37706 it to run tst-table-from and tst-table-to.
37707 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37708 Pass it to tst-table.sh.
37709 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37710 $(run-program-prefix) to tst-gettext.sh.
37711 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37713 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37715 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37716 to run tst-gettext.
37717 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37718 to run tst-gettext2.
37719 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37720 to run tst-translit.
37721 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37722 $(run-program-prefix) to tst-mtrace.sh.
37723 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37725 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37726 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37727 $(rtld-installed-name).
37728 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37729 (rtld_installed_name): Likewise.
37730 (run_program_prefix): New variable. Use it to run wordexp-test.
37732 * Makeconfig (ARCH): Remove all definitions.
37733 (machine): Likewise.
37734 [ARCH]: Remove conditional code.
37735 [!objdir]: Give error.
37736 [!objdir] (objpfx): Remove.
37737 [!objdir] (common-objpfx): Likewise.
37738 [!objdir] (common-objdir): Likewise.
37739 * configure.in (config_makefile): Remove. Hardcode Makefile in
37740 AC_CONFIG_FILES call.
37741 * configure: Regenerated.
37744 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37746 (testout): Likewise.
37748 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37749 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37750 $(rtld-installed-name).
37751 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37752 (rtld_installed_name): Likwise.
37753 (runit): Remove function.
37754 (run_getconf): New variable, Use it for running getconf binary.
37756 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37759 * string/test-memmem.c (check_result): New function.
37760 (do_one_test): Use it.
37761 (check1): New function.
37762 (test_main): Use it.
37764 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37766 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37768 2012-10-18 Joseph Myers <joseph@codesourcery.com>
37770 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37771 (_G_LSEEK64): Likewise.
37772 (_G_MMAP64): Likewise.
37773 (_G_FSTAT64): Likewise.
37774 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37775 (_G_LSEEK64): Likewise.
37776 (_G_MMAP64): Likewise.
37777 (_G_FSTAT64): Likewise.
37778 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37779 unconditional. Call __mmap64 directly.
37780 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37781 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37782 __lseek64 directly.
37783 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37784 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37786 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37787 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37788 __lseek64 directly.
37789 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37790 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37791 __lseek64 directly.
37792 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37793 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37794 __lseek64 directly.
37795 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37796 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37797 __fxstat64 directly.
37798 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37799 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37801 (freopen64) [!_G_OPEN64]: Remove conditional code.
37802 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37804 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37805 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37807 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37808 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37810 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37811 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37813 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37814 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37816 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37817 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37819 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37820 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37822 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37824 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37827 * manual/memory.texi (Malloc Tunable Parameters): Add note
37828 about free list pointers overwriting some perturb bytes.
37829 Wording suggested by Roland McGrath.
37831 2012-10-17 Joseph Myers <joseph@codesourcery.com>
37833 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37834 (lgamma_test): Likewise.
37835 (tgamma_test): Likewise.
37837 2012-10-16 Florian Weimer <fweimer@redhat.com>
37840 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37841 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37843 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37845 * NEWS: Mention BZ #14716.
37846 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37847 when removing AVAILABLE1_USES_J macro.
37849 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37851 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37852 (__bswap_64): __uint64_t for unsigned 64-bit int.
37854 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37856 * include/string.h (memmem): Declare libc hidden alias.
37857 * string/memmem.c (memmem): Define libc hidden alias.
37858 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37859 __read, __close instead of open, read, close.
37861 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37863 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37864 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37866 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37867 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37868 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37870 (__rawmemchr_sse2): Likewise.
37871 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37872 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37873 (__strchr_sse2): Likewise.
37874 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37875 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37876 (__strcasecmp_sse2): Likewise.
37877 (__strncasecmp_sse2): Likewise.
37878 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37879 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37880 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37881 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37882 (__strrchr_sse2): Likewise.
37883 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37885 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37886 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37887 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37888 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37889 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37890 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37891 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37892 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37893 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37894 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37895 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37896 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37897 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37898 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37899 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37900 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37901 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37902 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37903 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37904 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37905 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37906 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37907 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37908 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37909 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37910 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37911 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37912 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37913 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37914 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37916 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37918 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37919 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37920 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37921 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37923 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37925 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37926 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37927 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37928 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37930 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37931 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37932 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37933 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37934 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37935 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37936 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37937 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37938 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37939 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37940 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37941 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37942 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37943 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37944 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37945 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37946 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37947 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37948 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37949 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37950 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37951 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37952 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37953 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37954 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37955 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37956 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37957 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37958 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37959 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37960 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37961 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37962 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37963 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37964 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37965 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37966 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37967 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37968 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37969 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37970 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37972 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37973 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37974 * include/ifunc-impl-list.h: New file.
37975 * misc/ifunc-impl-list.c: Likewise.
37976 * misc/Makefile (routines): Add ifunc-impl-list.
37977 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37978 * string/test-string.h: Include <ifunc-impl-list.h>.
37979 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37980 TEST_NAME]: New variables.
37981 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37983 (test_init): Call __libc_ifunc_impl_list to initialize
37984 func_list if TEST_IFUNC and TEST_NAME are defined.
37986 * string/Makefile (strop-tests): Add bcopy and bzero.
37987 * string/test-bcopy.c: New file.
37988 * string/test-bzero.c: Likewise.
37989 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37991 * string/test-memset.c: Support bzero test if TEST_BZERO is
37993 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37995 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37997 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38000 2012-10-10 Joseph Myers <joseph@codesourcery.com>
38002 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38003 * configure: Regenerated.
38005 * Makeconfig (+link-static-before-libc): Don't include
38006 $(link-static-libc).
38008 * libio/libio.h (_IO_pos_t): Remove.
38010 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38012 * NEWS: Add note about FIPS mode. Wording suggested by Roland
38015 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38017 * crypt/crypt-entry.c: Include fips-private.h.
38018 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38019 * crypt/md5c-test.c (main): Tolerate disabled MD5.
38020 * sysdeps/unix/sysv/linux/fips-private.h: New file.
38021 * sysdeps/generic/fips-private.h: New file, dummy fallback.
38023 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
38025 * crypt/crypt-private.h: Include stdbool.h.
38026 (_ufc_setup_salt_r): Return bool.
38027 * crypt/crypt-entry.c: Include errno.h.
38028 (__crypt_r): Return NULL with EINVAL for bad salt.
38029 * crypt/crypt_util.c (bad_for_salt): New.
38030 (_ufc_setup_salt_r): Check that salt is long enough and within
38031 the specified alphabet.
38032 * crypt/badsalttest.c: New file.
38033 * crypt/Makefile (tests): Add it.
38034 ($(objpfx)badsalttest): New.
38036 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38038 * NEWS: Add entry for BZ #14602.
38040 2012-10-09 Joseph Myers <joseph@codesourcery.com>
38042 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38044 * math/libm-test.inc: Update comment listing what functions and
38046 (isgreater_test): New function.
38047 (isgreaterequal_test): Likewise.
38048 (isless_test): Likewise.
38049 (islessequal_test): Likewise.
38050 (islessgreater_test): Likewise.
38051 (isunordered_test): Likewise.
38052 (main): Call the new functions.
38054 2012-10-09 Roland McGrath <roland@hack.frob.com>
38056 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38057 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38058 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38059 * sysdeps/i386/configure: Regenerated.
38060 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38061 * sysdeps/mach/configure: Regenerated.
38062 * sysdeps/mach/hurd/configure: Regenerated.
38063 * sysdeps/powerpc/configure: Regenerated.
38064 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38065 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38066 * sysdeps/s390/s390-32/configure: Regenerated.
38067 * sysdeps/s390/s390-64/configure: Regenerated.
38068 * sysdeps/sh/configure: Regenerated.
38069 * sysdeps/sparc/configure: Regenerated.
38070 * sysdeps/unix/sysv/linux/configure: Regenerated.
38071 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38072 * sysdeps/x86_64/configure: Regenerated.
38074 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38075 defined. Don't check if MAP is NULL.
38077 2012-10-09 Joseph Myers <joseph@codesourcery.com>
38079 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38080 (_G_stat64): Likewise.
38081 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38082 (_G_stat64): Likewise.
38083 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38084 instead of struct _G_stat64.
38085 * libio/fileops.c (mmap_remap_check): Likewise.
38086 (decide_maybe_mmap): Likewise.
38087 (_IO_new_file_seekoff): Likewise.
38088 (_IO_file_stat): Likewise.
38089 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38091 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38092 instead of struct _G_stat64.
38093 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38095 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38098 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38100 (CHECK_EOL): New macro.
38101 (two_way_short_needle): Check beginning of haystack for EOL. Use
38103 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38104 Replace with CHECK_EOL.
38105 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38106 Replace with CHECK_EOL.
38108 2012-10-08 Joseph Myers <joseph@codesourcery.com>
38110 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38112 * math/libm-test.inc: Update comment listing what functions and
38114 (finite_test): New function.
38115 (isinf_test): Likewise.
38116 (isnan_test): Likewise.
38117 (fpclassify_test): Test subnormal input.
38118 (isfinite_test): Likewise.
38119 (isnormal_test): Likewise.
38120 (main): Call the new functions.
38122 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38125 * Makerules (%.dynsym): Force C locale when running
38126 $(OBJDUMP) --dynamic-syms.
38128 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38130 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38133 2012-10-06 David S. Miller <davem@davemloft.net>
38135 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38136 upper 32-bits of the length value in %o2 since we use branch-on-register
38137 tests which consider the entire 64-bit register.
38139 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38141 * string/test-strstr.c (check2): Add a test for page boundary.
38143 2012-10-05 David S. Miller <davem@davemloft.net>
38145 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38146 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38148 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38150 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38151 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38152 and bzero when HWCAP_SPARC_CRYPTO is present.
38154 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38157 * string/test-strstr.c (check2): New function.
38158 (test_main): Call check2.
38160 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38162 * string/bug-strcasestr1.c (do_test): Moved to ...
38163 * string/test-strcasestr.c (check1): Here. New function.
38164 (do_one_test): Break out result checking code into ...
38165 (check_result): This. New function.
38166 (do_one_test): Call check_result.
38167 (test_main): Call check1.
38168 * string/bug-strchr1.c (do_test): Moved to ...
38169 * string/test-strchr.c (check1): Here. New function.
38170 (do_one_test): Break out result checking code into ...
38171 (check_result): This. New function.
38172 (do_one_test): Call check_result.
38173 (test_main): Call check1.
38174 * string/bug-strstr1.c (main): Moved to ...
38175 * string/test-strstr.c (check1): Here. New function.
38176 (do_one_test): Break out result checking code into ...
38177 (check_result): This. New function.
38178 (do_one_test): Call check_result.
38179 (test_main): Call check1.
38180 * string/bug-strcasestr1.c: Removed.
38181 * string/bug-strchr1.c: Likewise.
38182 * string/bug-strstr1.c: Likewise.
38184 * elf/Makefile (dl-routines): Add hwcaps.
38185 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38186 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38187 (_dl_important_hwcaps): Moved to ...
38188 * elf/dl-hwcaps.c: Here. New file.
38189 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38192 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38193 if IS_IN_rtld isn't defined.
38195 * elf/dl-support.c (_dl_sysinfo_map): New.
38196 Include "get-dynamic-info.h" and "setup-vdso.h".
38197 (_dl_non_dynamic_init): Call setup_vdso.
38198 * elf/dynamic-link.h: Don't include <assert.h>.
38199 (elf_get_dynamic_info): Moved to ...
38200 * elf/get-dynamic-info.h: Here. New file.
38201 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38202 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38203 * elf/setup-vdso.h: Here. New file.
38204 * elf/rtld.c: Include "setup-vdso.h".
38205 (dl_main): Call setup_vdso.
38207 2012-10-05 Joseph Myers <joseph@codesourcery.com>
38209 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38210 creal in comment listing functions tested. List finite, isinf,
38211 isnan, isless, islessequal, isgreater, isgreaterequal,
38212 islessgreater, isunordered, lgamma_r and pow10 as functions and
38213 macros not tested. Mention which functions not tested are aliases
38214 for other functions. Fix typo. Note that signs of NaNs are not
38217 * scripts/config.guess: Update from config.git.
38218 * scripts/config.sub: Likewise.
38220 2012-10-04 Roland McGrath <roland@hack.frob.com>
38222 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38223 * misc/madvise.c (madvise): Renamed to __madvise.
38224 Make madvise a weak alias.
38225 * include/sys/mman.h: Declare __madvise.
38226 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38227 * sysdeps/unix/syscalls.list
38228 (madvise): Make __madvise the strong name, and madvise a weak alias.
38229 * sysdeps/unix/sysv/linux/syscalls.list
38230 (madvise, mmap): Remove redundant entries.
38231 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38232 * malloc/malloc.c (mtrim): Likewise.
38233 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38235 2012-10-03 Roland McGrath <roland@hack.frob.com>
38237 * sysdeps/mach/hurd/dl-cache.c: File removed.
38238 * config.h.in (USE_LDCONFIG): New #undef.
38239 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38240 * configure: Regenerated.
38241 * elf/Makefile (dl-routines): Add dl-cache only under
38242 [$(use-ldconfig) = yes].
38243 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38244 cache on [USE_LDCONFIG].
38245 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38247 * elf/rtld.c (dl_main): Likewise.
38249 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38251 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38252 _SC_LEVEL4_CACHE_LINESIZE.
38254 2012-10-03 Roland McGrath <roland@hack.frob.com>
38256 * sysdeps/unix/bsd/confstr.h: File removed.
38258 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
38260 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38263 2012-10-02 Roland McGrath <roland@hack.frob.com>
38265 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38266 Make 'mapoff' field ElfW(Off) rather than off_t.
38268 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38270 * nscd/Makefile: Remove nscd-cflags and all its users.
38271 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38272 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38275 * malloc.c (malloc_printerr): Clarify error message.
38277 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38281 Set bit_FMA_Usable if FMA is supported.
38282 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38284 (bit_FMA4_Usable): Updated.
38285 (index_FMA_Usable): New macro.
38286 (CPUID_FMA): Likewise
38287 (HAS_FMA): Defined with bit_FMA_Usable.
38289 2012-10-01 Roland McGrath <roland@hack.frob.com>
38291 * bits/types.h (__swblk_t): Type removed.
38292 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38293 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38294 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38295 (__SWBLK_T_TYPE): Likewise.
38296 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38297 (__SWBLK_T_TYPE): Likewise.
38298 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38299 (__SWBLK_T_TYPE): Likewise.
38300 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38301 (__SWBLK_T_TYPE): Likewise.
38303 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
38304 Honza Horak <hhorak@redhat.com>
38306 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38307 (xdr_mapname): Use YPMAXMAP as maxsize.
38308 (xdr_peername): Use YPMAXPEER as maxsize.
38309 (xdr_keydat): Use YPAXRECORD as maxsize.
38310 (xdr_valdat): Use YPMAXRECORD as maxsize.
38312 2012-10-01 Roland McGrath <roland@hack.frob.com>
38314 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38316 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38317 * csu/init-first.c: ... here.
38318 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38319 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38320 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38321 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38322 * sysdeps/i386/init-first.c: File removed.
38323 * sysdeps/sh/init-first.c: File removed.
38325 2012-10-01 Joseph Myers <joseph@codesourcery.com>
38328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38329 if x * y might underflow to zero and z is zero.
38330 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38331 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38332 * math/libm-test.inc (min_subnorm_value): New variable.
38333 (fma_test): Add more tests.
38334 (fma_test_towardzero): Likewise.
38335 (fma_test_downward): Likewise
38336 (fma_test_upward): Likewise.
38337 (initialize): Set min_subnorm_value.
38339 2012-09-29 Joseph Myers <joseph@codesourcery.com>
38342 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38344 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38345 mode for addition resulting in exact zero.
38346 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38347 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38349 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38350 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38351 * math/libm-test.inc (fma_test): Add more tests.
38352 (fma_test_towardzero): New function.
38353 (fma_test_downward): Likewise.
38354 (fma_test_upward): Likewise.
38355 (main): Call the new functions.
38357 2012-09-28 David S. Miller <davem@davemloft.net>
38359 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38361 2012-09-28 Roland McGrath <roland@hack.frob.com>
38363 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38364 instead of SIGALRM.
38366 * sysdeps/gnu/_G_config.h: Moved to ...
38367 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38368 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38369 * sysdeps/generic/_G_config.h: ... here.
38371 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38373 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38375 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38376 Conditionalize target on [libnss_test1.so-version].
38378 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38380 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38381 (elfobjdir): Move out of conditionals.
38383 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38384 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38385 (__nss_lookup_function): Conditionalize label remove_from_tree on
38386 [!DO_STATIC_NSS || SHARED], matching its only use.
38388 2012-09-28 David S. Miller <davem@davemloft.net>
38390 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38391 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38393 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38395 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38396 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38397 when HWCAP_SPARC_CRYPTO is present.
38399 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38401 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38403 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38406 * stdio-common/vfprintf.c (process_string_arg): Revert
38409 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38411 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38413 * stdio-common/tst-sprintf.c: Include <locale.h>
38414 (main): Test sprintf's handling of incomplete multibyte
38417 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38419 * elf/dl-runtime.c (VERSYMIDX): Removed.
38420 * elf/dl-version.c (VERSYMIDX): Likewise.
38421 * elf/do-rel.h (VERSYMIDX): Likewise.
38422 (VALIDX): Likewise.
38423 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38424 * elf/rtld.c (VALIDX): Likewise.
38425 (ADDRIDX): Likewise.
38426 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38427 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38428 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38429 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38430 (VALIDX): Likewise.
38431 (ADDRIDX): Likewise.
38433 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38435 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38437 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38440 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38442 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38443 addresses are in the same scope as 192.0.2/24.
38444 * posix/gai.conf: Document new scope table defaults.
38446 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38449 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38450 for ftell. Compute offsets from write pointers instead.
38451 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38453 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38456 * libio/Makefile (tests): New test case tst-fseek.
38457 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38458 combination works in wide mode.
38459 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38460 state when the external buffer state changes.
38462 2012-09-27 David S. Miller <davem@davemloft.net>
38465 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38466 pass reloc->r_addend in as the 'high' argument to
38467 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38471 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38473 * rt/tst-aio2.c: Include <pthread.h>.
38474 * rt/tst-aio3.c: Likewise.
38476 2012-09-27 Steve Ellcey <sellcey@mips.com>
38478 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38480 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38482 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38483 contents on [SHARED].
38485 2012-09-26 Marek Polacek <polacek@redhat.com>
38489 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38490 for C++ and GCC <4.3 as well as for non GCC compilers.
38492 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38496 2012-09-25 Roland McGrath <roland@hack.frob.com>
38498 * Makefile.in (all, install): Declare with .PHONY.
38499 Reported by Michael Hope <michael.hope@linaro.org>.
38501 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38503 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38504 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38506 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38508 (sydep_routines): Add the new and the internal functions.
38509 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38510 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38512 (GLIBC_2.17): Add the new function.
38513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38514 (GLIBC_2.17): Likewise.
38515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38516 (GLIBC_2.17): Likewise.
38517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38518 (GLIBC_2.17): Likewise.
38519 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38521 2012-09-25 Alan Modra <amodra@gmail.com>
38523 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38524 Add release barrier before setting once_control to say
38525 initialisation is done. Add hints on lwarx. Use macro in
38527 (clear_once_control): Add release barrier.
38529 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38532 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38534 * math/s_clog10.c (__clog10): Likewise.
38535 * math/s_clog10f.c (__clog10f): Likewise.
38536 * math/s_clog10l.c (__clog10l): Likewise.
38537 * math/s_clogf.c (__clogf): Likewise.
38538 * math/s_clogl.c (__clogl): Likewise.
38539 * math/Makefile (libm-calls): Add x2y2m1.
38540 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38541 (__x2y2m1): Likewise.
38542 (__x2y2m1l): Likewise.
38543 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38544 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38545 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38546 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38547 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38548 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38549 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38550 * sysdeps/i386/fpu/libm-test-ulps: Update.
38551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38554 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38555 int as type of variable DEPTH.
38556 (glob): Use size_t instead of int as type of variables NEWCOUNT
38559 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38561 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38562 Add s_sincosf-sse2.
38563 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38564 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38565 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38566 macros for using routine as __sincosf_ia32.
38567 Use macro for function declaration and weak_alias.
38568 * sysdeps/i386/fpu/libm-test-ulps: Update.
38570 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38573 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38574 subnormal argument.
38575 * math/s_cexpf.c (__cexpf): Likewise.
38576 * math/s_csinf.c (__csinf): Likewise.
38577 * math/s_csinhf.c (__csinhf): Likewise.
38578 * math/s_ctanf.c (__ctanf): Likewise.
38579 * math/s_ctanhf.c (__ctanhf): Likewise.
38580 * math/s_ccosh.c (__ccoshf): Likewise.
38581 * math/s_cexp.c (__cexpl): Likewise.
38582 * math/s_csin.c (__csin): Likewise.
38583 * math/s_csinh.c (__csinh): Likewise.
38584 * math/s_ctan.c (__ctan): Likewise.
38585 * math/s_ctanh.c (ctanh): Likewise.
38586 * math/s_ccoshl.c (__ccoshl): Likewise.
38587 * math/s_cexpl.c (__cexpl): Likewise.
38588 * math/s_csinl.c (__csinl): Likewise.
38589 * math/s_csinhl.c (__csinhl): Likewise.
38590 * math/s_ctanl.c (__ctanl): Likewise.
38591 * math/s_ctanhl.c (__ctanhl): Likewise.
38593 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38595 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38596 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38597 (_IO_off_t): Define to __off_t, not _G_off_t.
38598 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38599 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38600 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38601 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38602 type of __dummy and __dummy2 fields.
38603 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38604 (_G_ssize_t): Likewise.
38605 (_G_off_t): Likewise.
38606 (_G_pid_t): Likewise.
38607 (_G_uid_t): Likewise.
38608 (_G_wchar_t): Likewise.
38609 (_G_wint_t): Likewise.
38610 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38611 (_G_ssize_t): Likewise.
38612 (_G_off_t): Likewise.
38613 (_G_pid_t): Likewise.
38614 (_G_uid_t): Likewise.
38615 (_G_wchar_t): Likewise.
38616 (_G_wint_t): Likewise.
38617 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38618 (_G_ssize_t): Likewise.
38619 (_G_off_t): Likewise.
38620 (_G_pid_t): Likewise.
38621 (_G_uid_t): Likewise.
38622 (_G_wchar_t): Likewise.
38623 (_G_wint_t): Likewise.
38625 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38627 * malloc/arena.c: Include malloc-sysdep.h.
38628 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38629 is sufficient to shrink the heap or an unmap is needed.
38630 * sysdeps/generic/malloc-sysdep.h: New file. Define
38631 new function check_may_shrink_heap.
38632 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38633 new function check_may_shrink_heap.
38635 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38637 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38640 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38642 * catgets/test-gencat.sh: Add "set -e".
38643 * elf/tst-pathopt.sh: Likewise.
38644 * grp/tst_fgetgrent.sh: Likewise.
38645 * iconvdata/run-iconv-test.sh: Likewise.
38646 * intl/tst-gettext.sh: Likewise.
38647 * intl/tst-gettext2.sh: Likewise.
38648 * intl/tst-gettext4.sh: Likewise.
38649 * intl/tst-gettext6.sh: Likewise.
38650 * intl/tst-translit.sh: Likewise.
38651 * io/ftwtest-sh: Likewise.
38652 * libio/test-freopen.sh: Likewise.
38653 * malloc/tst-mtrace.sh: Likewise.
38654 * posix/globtest.sh: Likewise.
38655 * posix/tst-getconf.sh: Likewise.
38656 * posix/wordexp-tst.sh: Likewise.
38657 * stdio-common/tst-printf.sh: Likewise.
38658 * stdio-common/tst-unbputc.sh: Likewise.
38659 * stdlib/tst-fmtmsg.sh: Likewise.
38660 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38661 * catgets/Makefile: Do not specify -e option when running
38662 testsuite shell scripts.
38663 * elf/Makefile: Likewise.
38664 * grp/Makefile: Likewise.
38665 * iconvdata/Makefile: Likewise.
38666 * intl/Makefile: Likewise.
38667 * io/Makefile: Likewise.
38668 * libio/Makefile: Likewise.
38669 * malloc/Makefile: Likewise.
38670 * posix/Makefile: Likewise.
38671 * stdio-common/Makefile: Likewise.
38672 * stdlib/Makefile: Likewise.
38673 * sysdeps/x86_64/Makefile: Likewise.
38675 * io/ftwtest-sh: Add copyright header.
38676 * posix/globtest.sh: Likewise.
38677 * posix/tst-getconf.sh: Likewise.
38678 * posix/wordexp-tst.sh: Likewise.
38679 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38681 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38684 * Makeconfig (+link): Defined as $(+link-static) if
38685 $(build-shared) isn't yes.
38686 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38688 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38690 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38693 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38694 new chunk size with MALLOC_ALIGN_MASK.
38696 2012-09-24 Joseph Myers <joseph@codesourcery.com>
38699 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38701 (__printf_fphex): Determine rounding using get_rounding_mode and
38703 * stdio-common/tst-printf-round.c (struct hex_test): New
38705 (hex_tests): New variable.
38706 (test_hex_in_one_mode): New function.
38707 (do_test): Also run tests for hex float output.
38709 2012-09-21 Joseph Myers <joseph@codesourcery.com>
38711 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38712 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38713 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38714 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38715 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38716 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38717 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38718 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38720 2012-09-20 Joseph Myers <joseph@codesourcery.com>
38722 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38723 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38724 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38725 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38727 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38730 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38732 * elf/tst-rtld-load-self.sh: New test.
38733 * elf/Makefile: Run it.
38735 2012-09-18 Joseph Myers <joseph@codesourcery.com>
38737 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38738 (tst-writev-ENV): Remove.
38739 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38741 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38743 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38745 2012-09-17 Joseph Myers <joseph@codesourcery.com>
38747 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38749 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38751 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38752 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38753 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38756 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38759 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38760 * config.make.in (have-cpp-asm-debuginfo): Removed.
38761 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38762 * configure: Regenerated.
38764 2012-09-14 Joseph Myers <joseph@codesourcery.com>
38767 * stdio-common/printf_fp.c: Include <stdbool.h> and
38769 (___printf_fp): Determine rounding using get_rounding_mode and
38771 * stdio-common/tst-printf-round.c: New file.
38772 * stdio-common/Makefile (tests): Add tst-printf-round.
38773 (link-libm): New variable.
38774 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38776 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38779 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38780 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38782 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38785 2012-09-13 Joseph Myers <joseph@codesourcery.com>
38787 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38788 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38789 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38790 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38792 2012-09-12 Joseph Myers <joseph@codesourcery.com>
38795 * include/rounding-mode.h: New file.
38796 * sysdeps/generic/get-rounding-mode.h: Likewise.
38797 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38798 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38799 (MAX_VALUE): New macro.
38800 (MIN_VALUE): Likewise.
38801 (overflow_value): New function.
38802 (underflow_value): Likewise.
38803 (round_and_return): Use overflow_value and underflow_value to
38804 determine return values in overflow and underflow cases. Use
38805 round_away to determine rounding depending on rounding mode.
38806 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38807 determine return values in overflow and underflow cases.
38808 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38809 (struct test_results): New structure.
38810 (struct test): Use struct test_results to store expected results
38811 for all rounding modes.
38812 (TEST): Include expected results for all rounding modes.
38813 (test_in_one_mode): New function.
38814 (do_test): Use test_in_one_mode to compute and check results.
38815 Check results for all rounding modes.
38816 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38819 2012-12-09 Allan McRae <allan@archlinux.org>
38821 * sysdeps/i386/fpu/libm-test-ulps: Update
38823 2012-09-11 Joseph Myers <joseph@codesourcery.com>
38825 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38826 (_G_int32_t): Likewise.
38827 (_G_uint16_t): Likewise.
38828 (_G_uint32_t): Likewise.
38829 (_G_HAVE_BOOL): Likewise.
38830 (_G_HAVE_ATEXIT): Likewise.
38831 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38832 (_G_HAVE_IO_FILE_OPEN): Likewise.
38833 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38834 (_G_int32_t): Likewise.
38835 (_G_uint16_t): Likewise.
38836 (_G_uint32_t): Likewise.
38837 (_G_HAVE_BOOL): Likewise.
38838 (_G_HAVE_ATEXIT): Likewise.
38839 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38840 (_G_HAVE_IO_FILE_OPEN): Likewise.
38841 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38842 (_G_int32_t): Likewise.
38843 (_G_uint16_t): Likewise.
38844 (_G_uint32_t): Likewise.
38845 (_G_HAVE_BOOL): Likewise.
38846 (_G_HAVE_ATEXIT): Likewise.
38847 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38848 (_G_HAVE_IO_FILE_OPEN): Likewise.
38850 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38852 * csu/libc-tls.c: Update copyright years.
38854 2012-09-10 Joseph Myers <joseph@codesourcery.com>
38856 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38857 [!_G_USING_THUNKS]: Remove conditional code.
38858 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38859 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38861 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38862 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38863 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38864 (_G_VTABLE_LABEL_PREFIX): Likewise.
38865 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38866 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38867 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38868 (_G_VTABLE_LABEL_PREFIX): Likewise.
38869 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38870 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38871 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38872 (_G_VTABLE_LABEL_PREFIX): Likewise.
38873 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38875 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38877 * libio/Makefile: Include ../Makeconfig before tests.
38878 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38879 only if $(build-shared) is yes.
38881 * iconv/gconv_db.c: Update copyright years.
38883 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38885 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38886 unwind info if defined PIC. Fix special cases description.
38887 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38889 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38891 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38893 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38895 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38897 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38900 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38901 (LDLIBS-tst-chk4): This.
38902 (LDFLAGS-tst-chk5): Renamed to ...
38903 (LDLIBS-tst-chk5): This.
38904 (LDFLAGS-tst-chk6): Renamed to ...
38905 (LDLIBS-tst-chk6): This.
38906 (LDFLAGS-tst-lfschk4): Renamed to ...
38907 (LDLIBS-tst-lfschk4): This.
38908 (LDFLAGS-tst-lfschk5): Renamed to ...
38909 (LDLIBS-tst-lfschk5): This.
38910 (LDFLAGS-tst-lfschk6): Renamed to ...
38911 (LDLIBS-tst-lfschk6): This.
38913 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38914 on $(common-objpfx)soversions.mk.
38916 2012-09-07 Joseph Myers <joseph@codesourcery.com>
38919 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38922 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38924 * malloc/arena.c (arena_get_retry): New function that gets
38925 another arena for the caller to try its request on.
38926 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38927 current arena cannot fulfill the request.
38928 (__libc_memalign): Likewise.
38929 (__libc_memalign): Likewise.
38930 (__libc_pvalloc): Likewise.
38931 (__libc_calloc): Likewise.
38933 2012-09-05 John Tobey <john.tobey@gmail.com>
38936 * manual/arith.texi (Operations on Complex): Fix description
38937 of carg branch cut.
38939 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38942 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38946 * manual/memory.texi (Memory): Make order of menu items match
38949 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38951 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38952 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38953 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38955 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38957 * csu/libc-tls.c (static_dtv): Renamed to ...
38958 (_dl_static_dtv): This. Make it global.
38959 (_dl_initial_dtv): Removed.
38960 (__libc_setup_tls): Updated.
38961 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38962 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38965 2012-09-06 Petr Machata <pmachata@redhat.com>
38967 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38968 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38969 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38970 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38972 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38975 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38976 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38979 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38982 * Makeconfig (link-static-before-libc): Replace $(+prector)
38984 (link-static-after-libc): Replace $(+postctor) with
38986 (link-bounded): Replace $(+prector)/$(+postctor) with
38987 $(+prectorT)/$(+postctorT).
38988 (+prectorT): New macro.
38989 (+postctorT): Likewise.
38991 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38993 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38994 (round_str): Handle values above the maximum for IBM long double
38996 * stdlib/tst-strtod-round.c (tests): Regenerated.
38998 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39000 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39002 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39003 zarch_nohighgprs around the zarch optimized routines.
39004 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39005 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39006 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39009 2012-09-05 David S. Miller <davem@davemloft.net>
39011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39013 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39014 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
39015 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39016 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39019 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39021 * malloc/arena.c: Fold copyright years.
39022 * malloc/mcheck.c, malloc/memusage.c: Likewise.
39024 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39026 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39028 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39030 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
39032 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39034 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39035 change internal state upon failure.
39037 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
39039 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39040 * malloc/memusage.c (mmap): Likewise.
39041 (mmap64, mremap): Likewise. Adjust name in comment.
39043 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39045 * libio/fileops.c: Fix typos in comments.
39046 * libio/oldfileops.c: Likewise.
39047 * libio/wfileops.c: Likewise.
39049 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39052 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39053 (tst-malloc-usable-ENV): Set environment for test case.
39054 * malloc/hooks.c (malloc_check_get_size): New function to get
39056 * malloc/malloc.c (musable): Use malloc_check_get_size.
39057 * malloc/tst-malloc-usable.c: New test case.
39059 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39061 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39063 2012-09-05 Allan McRae <allan@archlinux.org>
39066 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39067 determine header location.
39068 * configure: Regenerated.
39070 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39072 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39074 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
39075 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39077 (test): Regenerate.
39079 2012-09-04 David S. Miller <davem@davemloft.net>
39081 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39082 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39083 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39085 2012-09-04 Florian Weimer <fweimer@redhat.com>
39087 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39090 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39092 2012-09-04 Joseph Myers <joseph@codesourcery.com>
39095 * libio/iogetdelim.c: Include <limits.h>.
39096 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39097 + len + 1 would overflow.
39099 2012-09-03 Andreas Jaeger <aj@suse.de>
39101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39102 * sysdeps/i386/fpu/libm-test-ulps: Update.
39104 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39106 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39107 Add s_sinf-sse2, s_conf-sse2.
39109 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39110 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39111 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39112 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39114 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39115 for using routine as __sinf_ia32.
39116 Use macro for function declaration and weak_alias.
39117 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39118 for using routine as __cosf_ia32.
39119 Use macro for function declaration and weak_alias.
39121 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39122 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39124 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39125 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39126 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39128 * math/libm-test.inc (cos_test): Add more test cases.
39129 (sin_test): Likewise.
39130 (sincos_test): Likewise.
39132 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39134 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39135 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39137 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39139 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39142 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39143 first element of the GOT.
39144 (elf_machine_load_address): Return the difference between
39145 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39147 2012-09-01 Allan McRae <allan@archlinux.org>
39150 * configure.in (AWK): Require gawk version 3.0 or later.
39151 * configure: Regenerated.
39153 2012-09-01 Joseph Myers <joseph@codesourcery.com>
39155 * sysdeps/unix/sysv/linux/kernel-features.h
39156 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39157 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39158 [__NR_clock_getres]: Make code unconditional.
39159 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39160 (clock_getcpuclockid): Remove code left unreachable by removal of
39162 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39163 code unconditional.
39164 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39165 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39166 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39167 Make code unconditional.
39168 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39169 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39170 * sysdeps/unix/sysv/linux/clock_settime.c
39171 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39173 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39174 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39176 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39179 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39180 scripts/test-installation.pl.
39182 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39183 and $ld_so_version if it is set.
39185 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39188 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39189 failure if reading from procfs failed.
39190 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39192 2012-08-27 Joseph Myers <joseph@codesourcery.com>
39194 * sysdeps/unix/sysv/linux/kernel-features.h
39195 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39196 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39197 Remove conditional code.
39198 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39199 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39200 Remove conditional code.
39201 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39202 * sysdeps/unix/sysv/linux/i386/fxstat.c
39203 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39204 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39205 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39206 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39207 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39208 * sysdeps/unix/sysv/linux/i386/lxstat.c
39209 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39210 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39211 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39212 Remove conditional code.
39213 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39214 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39215 Remove conditional code.
39216 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39217 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39218 <kernel-features.h>.
39219 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39221 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39222 Remove conditional code.
39223 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39224 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39225 Remove conditional.
39227 2012-08-27 Mike Frysinger <vapier@gentoo.org>
39230 * NEWS: Add fixed bug number.
39232 2012-08-27 Joseph Myers <joseph@codesourcery.com>
39235 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39236 underflowing exponent in case of negative sign.
39237 * stdlib/tst-strtod-round-data: Add more tests.
39238 * stdlib/tst-strtod-round.c (tests): Regenerated.
39241 * stdlib/strtod_l.c (NDIG): Remove.
39242 (HEXNDIG): Likewise.
39243 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39244 smallest representable value.
39245 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39246 lie within an exact representation of 1/2 ulp of the result.
39247 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39249 (TENS_P9_IDX): Define unconditionally.
39250 (TENS_P9_SIZE): Likewise.
39251 (TENS_P10_IDX): Likewise.
39252 (TENS_P10_SIZE): Likewise.
39253 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39254 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39255 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39256 entries for 10^2^13 and 10^2^14.
39257 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39258 (TENS_P13_IDX): Define.
39259 (TENS_P13_SIZE): Likewise.
39260 (TENS_P14_IDX): Likewise.
39261 (TENS_P14_SIZE): Likewise.
39262 (_fpioconst_pow10): Change array size to
39263 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39265 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39266 1024]: Add entries for 10^2^13 and 10^2^14.
39267 [LAST_POW10 > _LAST_POW10]: Remove #error.
39268 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39269 (_fpioconst_pow10): Change array size to
39270 FPIOCONST_POW10_ARRAY_SIZE.
39271 * stdlib/gen-fpioconst.c: New file.
39272 * stdlib/gen-tst-strtod-round.c: Likewise.
39273 * stdlib/tst-strtod-round-data: Likewise.
39274 * stdlib/tst-strtod-round.c: Likewise.
39275 * stdlib/Makefile (tests): Add tst-strtod-round.
39278 * stdlib/strtod_l.c: Include <stdint.h>.
39279 (NDEBUG): Do not define.
39280 (round_and_return): Change EXPONENT parameter to type intmax_t.
39281 Rearrange calculations to avoid internal overflow possibilities.
39282 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39283 Rearrange calculations to avoid internal overflow possibilities.
39284 Assert that number fits inside MPNSIZE limbs.
39285 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39286 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39287 calculations and add assertions to avoid internal overflow
39288 possibilities. Add casts to avoid signed/unsigned operations.
39289 * stdlib/tst-strtod-overflow.c: New file.
39290 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39292 2012-08-25 Marek Polacek <polacek@redhat.com>
39294 * time/time.h: Fix some typos in comments.
39296 2012-08-23 Roland McGrath <roland@hack.frob.com>
39298 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39299 * posix/tst-rfc3484-2.c: Likewise.
39300 * posix/tst-rfc3484-3.c: Likewise.
39302 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39304 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39305 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39307 2012-08-23 Joseph Myers <joseph@codesourcery.com>
39309 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39310 #include of fxstatat64.c.
39312 2012-08-22 Roland McGrath <roland@hack.frob.com>
39314 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39315 * shadow/getspent_r.c: Likewise.
39316 * shadow/getspnam.c: Likewise.
39317 * shadow/getspnam_r.c: Likewise.
39318 * gshadow/getsgent.c: Likewise.
39319 * gshadow/getsgent_r.c: Likewise.
39320 * gshadow/getsgnam.c: Likewise.
39321 * gshadow/getsgnam_r.c: Likewise.
39322 * inet/getnetbyad.c: Likewise.
39323 * inet/getnetbyad_r.c: Likewise.
39324 * inet/getnetbynm.c: Likewise.
39325 * inet/getnetbynm_r.c: Likewise.
39326 * inet/getnetent.c: Likewise.
39327 * inet/getnetent_r.c: Likewise.
39328 * inet/getproto.c: Likewise.
39329 * inet/getproto_r.c: Likewise.
39330 * inet/getprtent.c: Likewise.
39331 * inet/getprtent_r.c: Likewise.
39332 * inet/getprtname.c: Likewise.
39333 * inet/getprtname_r.c: Likewise.
39334 * inet/getrpcbyname.c: Likewise.
39335 * inet/getrpcbyname_r.c: Likewise.
39336 * inet/getrpcbynumber.c: Likewise.
39337 * inet/getrpcbynumber_r.c: Likewise.
39338 * inet/getrpcent.c: Likewise.
39339 * inet/getrpcent_r.c: Likewise.
39340 * inet/getaliasent.c: Likewise.
39341 * inet/getaliasent_r.c: Likewise.
39342 * inet/getaliasname.c: Likewise.
39343 * inet/getaliasname_r.c: Likewise.
39344 * nscd/getgrgid_r.c: Likewise.
39345 * nscd/getgrnam_r.c: Likewise.
39346 * nscd/gethstbyad_r.c: Likewise.
39347 * nscd/gethstbynm3_r.c: Likewise.
39348 * nscd/getpwnam_r.c: Likewise.
39349 * nscd/getpwuid_r.c: Likewise.
39350 * nscd/getsrvbynm_r.c: Likewise.
39351 * nscd/getsrvbypt_r.c: Likewise.
39352 * nscd/gai.c: Likewise.
39354 * configure.in (build_nscd): New substituted variable, set
39355 by --disable-build-nscd and defaults to $use_nscd.
39356 * configure: Regenerated.
39357 * config.make.in (build-nscd): New substituted variable.
39358 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39359 Change conditional to require [$(build-nscd) = yes] as well.
39360 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39363 * configure.in (use_nscd): New substituted variable, set by
39364 --disable-nscd. If enabled, define USE_NSCD.
39365 * configure: Regenerated.
39366 * config.h.in: Add USE_NSCD.
39367 * config.make.in (use-nscd): New substituted variable.
39368 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39369 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39370 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39371 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39372 (CFLAGS-getgrnam_r.c): Likewise.
39373 (CFLAGS-initgroups.c): Likewise.
39374 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39375 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39377 * inet/getnetgrent_r.c
39378 (nscd_setnetgrent): New function, broken out of ...
39379 (setnetgrent): ... here. Call it.
39380 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39381 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39382 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39383 * nscd/Makefile (routines, aux): Move definitions after include of
39384 Makeconfig. Conditionalize on [$(use-nscd) != no].
39385 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39386 Conditionalize on [USE_NSCD].
39387 (is_nscd, nscd_init_cb): Likewise.
39388 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39389 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39390 * nss/nss_db/db-init.c: Likewise.
39391 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39393 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39394 (make_request): Use it.
39395 (cache_valid_p): New function.
39396 (__check_pf): Use it.
39397 * NEWS: Add item for --disable-nscd.
39399 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39401 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39402 to support sed >= 4.2.1-20-ga9bf076.
39403 * configure: Regenerated.
39405 2012-08-22 Roland McGrath <roland@hack.frob.com>
39407 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39408 Conditionalize whole body on [IREL].
39410 2012-08-22 Jeff Law <law@redhat.com>
39413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39414 if the family is PF_UNSPEC.
39416 2012-08-22 Mike Frysinger <vapier@gentoo.org>
39418 * Makerules (lib-version): Rename from V.
39419 (install-lib-nosubdir): Change V to lib-version.
39421 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39424 * powerpc32/power6/wcschr.c: New file.
39425 * powerpc32/power6/wcscpy.c: New file.
39426 * powerpc32/power6/wcsrchr.c: New file.
39427 * powerpc64/power6/wcschr.c: New file.
39428 * powerpc64/power6/wcscpy.c: New file.
39429 * powerpc64/power6/wcsrchr.c: New file.
39431 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39433 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39434 (two_way_short_needle): Use it.
39435 * string/strstr.c (AVAILABLE1_USES_J): Define.
39436 * string/strcasestr.c: Likewise.
39438 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39440 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39443 * NEWS: Add an entry.
39444 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39445 define their defaults.
39446 (two_way_short_needle): Detect end-of-string on-the-fly.
39447 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39448 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39449 * string/bug-strcasestr1.c: New test.
39450 * string/Makefile: Run it.
39452 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39455 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39456 the first character.
39458 2012-08-21 Roland McGrath <roland@hack.frob.com>
39460 * csu/elf-init.c (__libc_csu_irel): Function removed.
39461 * csu/libc-start.c (apply_irel): New function.
39462 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39464 2012-08-21 Joseph Myers <joseph@codesourcery.com>
39466 * sysdeps/unix/sysv/linux/kernel-features.h
39467 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39468 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39469 <kernel-features.h>.
39470 [__NR_fadvise64_64]: Make code unconditional.
39471 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39472 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39473 !__NR_fadvise64_64)]: Likewise.
39474 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39475 !__NR_fadvise64_64))]: Likewise.
39476 [__NR_fadvise64]: Make code unconditional.
39477 [!__NR_fadvise64]: Remove conditional code.
39478 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39479 <kernel-features.h>.
39480 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39482 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39485 not include <kernel-features.h>.
39486 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39488 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39490 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39491 include <kernel-features.h>.
39492 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39494 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39497 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39499 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39500 slight instruction rearrangements per scrollpipe analysis.
39501 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39503 2012-08-20 Roland McGrath <roland@hack.frob.com>
39505 * manual/syslog.texi (syslog; vsyslog, closelog):
39506 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39507 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39509 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39510 DSOCAPS to match condition on defining it.
39512 2012-08-20 Joseph Myers <joseph@codesourcery.com>
39514 * sysdeps/unix/sysv/linux/kernel-features.h
39515 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39517 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39518 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39520 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39521 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39523 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39524 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39526 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39527 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39529 * sysdeps/unix/sysv/linux/kernel-features.h
39530 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39531 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39533 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39534 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39535 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39536 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39537 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39538 Make code unconditional.
39539 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39540 (__mmap64) [!__NR_mmap2]: Likewise.
39541 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39542 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39543 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39544 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39545 [__NR_mmap2]: Make code unconditional.
39546 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39547 (__mmap64) [!__NR_mmap2]: Likewise.
39549 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39551 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39553 2012-08-18 Andreas Jaeger <aj@suse.de>
39555 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39557 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39559 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39560 * include/unistd.h (__have_sock_cloexec): Likewise.
39561 (__have_pipe2): Likewise.
39562 (__have_dup3): Likewise.
39564 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39567 * include/unistd.h (__have_pipe2): Change define into an extern int.
39568 (__have_dup3): Likewise.
39569 * socket/have_sock_cloexec.c: Include fcntl.h.
39570 (__have_pipe2): New variable.
39571 (__have_dup3): Likewise.
39573 2012-08-17 Mike Frysinger <vapier@gentoo.org>
39575 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39577 2012-08-17 Marek Polacek <polacek@redhat.com>
39579 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39580 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39582 2012-08-17 Roland McGrath <roland@hack.frob.com>
39584 * configure.in: Add AC_SUBST for sysheaders.
39585 * configure: Regenerated.
39586 * config.make.in (sysheaders): New substituted variable.
39588 * sysdeps/unix/mkfifo.c: Moved ...
39589 * sysdeps/posix/mkfifo.c: ... here.
39590 * sysdeps/unix/mkfifoat.c: Moved ...
39591 * sysdeps/posix/mkfifoat.c: ... here.
39593 * sysdeps/unix/utime.c: Moved ...
39594 * sysdeps/posix/utime.c: ... here.
39596 * sysdeps/unix/time.c: Moved ...
39597 * sysdeps/posix/time.c: ... here.
39598 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39599 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39601 * sysdeps/unix/nice.c: Moved ...
39602 * sysdeps/posix/nice.c: ... here.
39604 * sysdeps/unix/alarm.c: Moved ...
39605 * sysdeps/posix/alarm.c: ... here.
39607 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39609 2012-08-17 Jeff Law <law@redhat.com>
39611 * intl/Makefile (codeset_mo): New variable.
39612 ($(codeset_mo)): New target.
39613 (tst-codeset.out): Depend on that. Remove explicit rule.
39614 (tst-gettext3.out, tst-gettext5.out): Likewise.
39615 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39616 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39617 * intl/tst-codeset.sh: Remove.
39618 * intl/tst-gettext3.sh: Likewise.
39619 * intl/tst-gettext5.sh: Likewise.
39621 2012-08-17 Roland McGrath <roland@hack.frob.com>
39623 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39624 * sysdeps/unix/syscalls.list: ... here.
39626 * sysdeps/posix/getaddrinfo.c
39627 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39628 (gaiconf_init, gaiconf_reload): Use them.
39629 [!_STATBUF_ST_NSEC]
39630 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39631 Define using time_t rather than struct timespec.
39633 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39634 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39636 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39638 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39639 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39642 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39643 __libc_cleanup_push argument.
39645 * bits/param.h: New file.
39646 * misc/sys/param.h: New file.
39647 * include/sys/param.h: New file.
39648 * misc/Makefile (headers): Add bits/param.h.
39649 * sysdeps/generic/sys/param.h: File removed.
39650 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39651 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39652 * sysdeps/mach/hurd/bits/param.h: New file.
39653 * sysdeps/mach/hurd/sys/param.h: File removed.
39655 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39658 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39660 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39661 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39664 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39665 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39666 rather than -D_IO_MTSAFE_IO conditionally.
39667 * stdio-common/Makefile (CPPFLAGS): Likewise.
39668 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39669 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39670 Use $(libio-mtsafe).
39671 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39672 of -D_IO_MTSAFE_IO.
39673 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39674 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39675 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39676 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39677 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39678 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39679 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39680 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39681 (CFLAGS-fread_u_chk.c): Likewise.
39682 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39683 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39684 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39685 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39686 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39687 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39688 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39689 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39690 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39692 * libio/Makefile: Test [$(libc-reentrant) = yes]
39693 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39696 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39697 * sysdeps/pthread/configure: File removed.
39698 * sysdeps/pthread/Makeconfig: New file.
39699 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39700 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39702 2012-08-16 Gary Benson <gbenson@redhat.com>
39704 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39705 unmapping the first object in a namespace.
39707 2012-08-16 Roland McGrath <roland@hack.frob.com>
39709 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39710 (__internal_setnetgrent): ... this. Add internal_function to
39711 definition. Add libc_hidden_def.
39712 (setnetgrent): Update caller.
39713 (internal_endnetgrent): Renamed to ...
39714 (__internal_endnetgrent): ... this. Add internal_function to
39715 definition. Add libc_hidden_def.
39716 (endnetgrent): Update caller.
39717 (internal_getnetgrent_r): Renamed to ...
39718 (__internal_getnetgrent_r): ... this. Add internal_function to
39719 definition. Add libc_hidden_def.
39720 (__getnetgrent_r): Update caller.
39721 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39723 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39725 * stdlib/longlong.h: Update from GCC.
39727 2012-08-16 Roland McGrath <roland@hack.frob.com>
39729 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39730 on _QL, which is set by umul_ppmm but never used.
39731 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39732 variables, which are set by GMP macros but never used.
39733 * stdio-common/_itowa.c (_itowa): Likewise.
39734 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39735 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39737 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39739 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39740 struct La_sh_regs is not constant.
39741 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39742 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39743 and struct La_sparc64_regs are not constant.
39745 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39747 * sysdeps/unix/sysv/linux/kernel-features.h
39748 (__ASSUME_POSIX_TIMERS): Remove.
39749 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39750 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39751 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39752 Make code unconditional.
39753 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39754 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39755 Make code unconditional.
39756 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39757 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39758 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39759 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39760 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39761 Make code unconditional.
39762 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39763 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39764 (__libc_missing_posix_timers): Remove.
39766 2012-08-15 Roland McGrath <roland@hack.frob.com>
39768 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39769 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39771 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39773 * elf/dl-sym.c: Include <stdlib.h>.
39775 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39776 constants, which avoids warnings in 32-bit builds.
39778 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39779 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39781 * misc/lseek.c: File moved to ...
39782 * io/lseek.c: ... here.
39784 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39786 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39787 shifting LEN more than 31 bits at once.
39789 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39792 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39793 segmentation fault for a case of two empty input strings.
39794 * string/test-strncasecmp.c (check1): Renamed to...
39795 (bz12205): ...this.
39796 (bz14195): Add new testcase for two empty input strings and N > 0.
39797 (test_main): Call new testcase, adapt for renamed function.
39799 2012-08-15 Andreas Jaeger <aj@suse.de>
39802 * crypt/md5test2.c: New test, based on test supplied by Serge
39803 Belyshev <belyshev@depni.sinp.msu.ru>.
39804 * crypt/Makefile (xtests): Add md5test-giant..
39805 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39807 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39810 * crypt/md5.c (md5_process_block): Don't assume the buffer
39811 length is less than 2**32.
39812 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39813 length is less than 2**64.
39815 2012-08-15 Roland McGrath <roland@hack.frob.com>
39817 * string/str-two-way.h: Include <sys/param.h>.
39818 (MAX): Macro removed.
39820 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39821 Move #define and #undef of memmove to just before and after
39822 including <string.h>.
39824 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39825 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39826 and after including <string.h>. Move declarations of
39827 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39828 to before #include "string/memmove.c".
39830 * include/dirent.h: Declare __getdirentries.
39832 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39833 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39835 2012-08-14 Mike Frysinger <vapier@gentoo.org>
39837 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39838 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39839 * sysdeps/i386/configure: Regenerated.
39840 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39841 STABS_CURRENT_FILE, and STABS_FUN.
39842 (END): Remove call to STABS_FUN_END.
39843 (STABS_CURRENT_FILE1): Delete.
39844 (STABS_CURRENT_FILE): Likewise.
39845 (STABS_FUN): Likewise.
39846 (STABS_FUN_END): Likewise.
39847 (STABS_FUN2): Likewise.
39848 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39849 * sysdeps/x86_64/configure: Regenerated.
39851 2012-08-14 Roland McGrath <roland@hack.frob.com>
39853 * elf/dl-open.c: Include <atomic.h>.
39854 * elf/dl-lookup.c: Likewise.
39856 2012-08-14 Joseph Myers <joseph@codesourcery.com>
39858 * sysdeps/unix/sysv/linux/kernel-features.h
39859 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39860 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39862 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39864 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39865 condition on __ASSUME_CLONE_THREAD_FLAGS.
39867 2012-08-14 Andreas Jaeger <aj@suse.de>
39869 * sysdeps/i386/fpu/libm-test-ulps: Update.
39871 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39873 * include/atomic.h (atomic_exchange_and_add): Split into ...
39874 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39877 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39879 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39881 2012-08-13 Jeff Law <law@redhat.com>
39883 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39884 null byte in the output string.
39886 2012-08-10 Joseph Myers <joseph@codesourcery.com>
39888 * sysdeps/unix/sysv/linux/kernel-features.h
39889 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39890 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39891 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39892 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39893 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39894 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39895 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39897 2012-08-09 Jeff Law <law@redhat.com>
39900 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39901 When avoid_arena is set, don't retry in the that arena. Pick the
39902 next one, whatever it might be.
39903 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39904 (arena_lock): Pass in new parameter to arena_get2.
39905 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39907 (__libc_malloc): Unify retrying after main arena failure with
39908 __libc_memalign version.
39909 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39911 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39914 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39915 to __redirect_strstr.
39916 (__strstr_sse42): Use typeof __redirect_strstr.
39917 (__strstr_ia32): Likewise.
39918 (__libc_strstr): New prototype.
39919 (strstr): Renamed to ...
39920 (__libc_strstr): This.
39921 (strstr): New strong alias of __libc_strstr.
39922 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39923 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39926 (__libc_time): New prototype.
39927 (time_ifunc): Replace time with __libc_time.
39928 (time): New strong alias and hidden definition of __libc_time.
39929 (__GI_time): Remove strong alias.
39930 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39931 Include <stddef.h>.
39932 (memmove): Redefined to __redirect_memmove.
39933 (__memmove_sse2): Use typeof __redirect_memmove.
39934 (__memmove_ssse3): Likewise.
39935 (__memmove_ssse3_back): Likewise.
39936 (__libc_memmove): New prototype.
39937 (memmove): Renamed to ...
39938 (__libc_memmove): This.
39939 (memmove): New strong alias of __libc_memmove.
39941 2012-08-08 Mark Salter <msalter@redhat.com>
39944 (R_MN10300_TLS_GD): Define.
39945 (R_MN10300_TLS_LD): Likewise.
39946 (R_MN10300_TLS_LDO): Likewise.
39947 (R_MN10300_TLS_GOTIE): Likewise.
39948 (R_MN10300_TLS_IE): Likewise.
39949 (R_MN10300_TLS_LE): Likewise.
39950 (R_MN10300_TLS_DTPMOD): Likewise.
39951 (R_MN10300_TLS_DTPOFF): Likewise.
39952 (R_MN10300_TLS_TPOFF): Likewise.
39953 (R_MN10300_SYM_DIFF): Likewise.
39954 (R_MN10300_ALIGN): Likewise.
39955 (R_MN10300_NUM): Update.
39957 2012-08-08 Joseph Myers <joseph@codesourcery.com>
39959 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39962 2012-08-08 Roland McGrath <roland@hack.frob.com>
39964 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39966 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39967 sysdeps/unix -> sysdeps/posix move.
39968 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39970 2012-08-07 Allan McRae <allan@archlinux.org>
39973 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39974 (SUNOS_CPP): Likewise.
39975 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39977 (open_input): Call CPP using execvp.
39979 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39981 * sysdeps/unix/sysv/linux/kernel-features.h
39982 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39983 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39984 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39985 (__ASSUME_WAITID_SYSCALL): Likewise.
39986 * sysdeps/unix/sysv/linux/dl-execstack.c
39987 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39988 code unconditional.
39989 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39991 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39992 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39993 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39995 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39997 [__ASSUME_WAITID_SYSCALL]: Likewise.
39998 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40000 2012-08-07 Roland McGrath <roland@hack.frob.com>
40002 * sysdeps/unix/closedir.c: Renamed to ...
40003 * sysdeps/posix/closedir.c: ... here.
40004 * sysdeps/unix/dirfd.c: Renamed to ...
40005 * sysdeps/posix/dirfd.c: ... here.
40006 * sysdeps/unix/dirstream.h: Renamed to ...
40007 * sysdeps/posix/dirstream.h: ... here.
40008 * sysdeps/unix/fdopendir.c: Renamed to ...
40009 * sysdeps/posix/fdopendir.c: ... here.
40010 * sysdeps/unix/opendir.c: Renamed to ...
40011 * sysdeps/posix/opendir.c: ... here.
40012 * sysdeps/unix/readdir.c: Renamed to ...
40013 * sysdeps/posix/readdir.c: ... here.
40014 * sysdeps/unix/readdir_r.c: Renamed to ...
40015 * sysdeps/posix/readdir_r.c: ... here.
40016 * sysdeps/unix/rewinddir.c: Renamed to ...
40017 * sysdeps/posix/rewinddir.c: ... here.
40018 * sysdeps/unix/seekdir.c: Renamed to ...
40019 * sysdeps/posix/seekdir.c: ... here.
40020 * sysdeps/unix/telldir.c: Renamed to ...
40021 * sysdeps/posix/telldir.c: ... here.
40022 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40023 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40024 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40025 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40027 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40028 * bits/fcntl.h: ... here.
40030 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40032 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40033 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40034 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40035 (struct flock): Move l_start, l_len to the beginning.
40036 Use __pid_t for l_pid.
40037 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40038 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40039 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40040 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40041 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40042 [__USE_LARGEFILE64] (struct flock64): New type.
40043 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40045 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40046 * bits/dirent.h: ... here.
40048 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40049 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40051 2012-08-07 Joseph Myers <joseph@codesourcery.com>
40053 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40054 Change from 2.6.0 to 2.6.16.
40055 * sysdeps/unix/sysv/linux/configure: Regenerated.
40056 * sysdeps/unix/sysv/linux/kernel-features.h
40057 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40058 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40060 (__ASSUME_UTIMES): Likewise.
40061 (__ASSUME_CLONE_STOPPED): Remove.
40062 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40063 architectures, not kernel version.
40064 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40065 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40066 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40067 (__ASSUME_WAITID_SYSCALL): Likewise.
40068 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40069 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40070 * README: State 2.6.16 as minimum Linux kernel version. Do not
40071 refer to older versions.
40073 2012-08-06 Roland McGrath <roland@hack.frob.com>
40075 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40076 Define alphasort64 as an alias.
40077 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40078 Define versionsort64 as an alias.
40079 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40080 Define scandir64 as an alias.
40081 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40082 Define scandirat64 as an alias.
40083 * dirent/alphasort64.c (alphasort64):
40084 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40085 * dirent/versionsort64.c: Likewise.
40086 * dirent/scandir64.c: Likewise.
40087 * dirent/scandirat64.c: Likewise.
40088 * sysdeps/wordsize-64/alphasort.c: File removed.
40089 * sysdeps/wordsize-64/alphasort64.c: File removed.
40090 * sysdeps/wordsize-64/scandir.c: File removed.
40091 * sysdeps/wordsize-64/scandir64.c: File removed.
40092 * sysdeps/wordsize-64/scandirat.c: File removed.
40093 * sysdeps/wordsize-64/scandirat64.c: File removed.
40094 * sysdeps/wordsize-64/versionsort.c: File removed.
40095 * sysdeps/wordsize-64/versionsort64.c: File removed.
40096 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40097 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40098 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40099 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40100 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40101 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40102 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40103 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40105 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40106 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40107 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40108 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40109 [defined __arch64__ || defined __sparcv9]
40110 (__INO_T_MATCHES_INO64_T): New macro.
40111 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40112 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40113 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40114 * sysdeps/unix/sysv/linux/bits/dirent.h
40115 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40116 (_DIRENT_MATCHES_DIRENT64): New macro.
40118 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40119 Define lockf64 as an alias.
40120 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40121 Define fseeko64 as an alias.
40122 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40123 Define ftello64 as an alias.
40124 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40125 Define _IO_fgetpos64 and fgetpos64 as aliases.
40126 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40127 Define _IO_fsetpos64 and fsetpos64 as aliases.
40128 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40129 Conditionalize body on this.
40130 * libio/fseeko64.c: Likewise.
40131 * libio/ftello64.c: Likewise.
40132 * libio/iofgetpos64.c: Likewise.
40133 * libio/iofsetpos64.c: Likewise.
40134 * sysdeps/wordsize-64/lockf.c: File removed.
40135 * sysdeps/wordsize-64/lockf64.c: File removed.
40136 * sysdeps/wordsize-64/fseeko.c: File removed.
40137 * sysdeps/wordsize-64/fseeko64.c: File removed.
40138 * sysdeps/wordsize-64/ftello.c: File removed.
40139 * sysdeps/wordsize-64/ftello64.c: File removed.
40140 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40141 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40142 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40143 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40144 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40145 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40146 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40147 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40148 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40149 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40150 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40151 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40152 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40153 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40155 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40156 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40157 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40158 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40159 [defined __arch64__ || defined __sparcv9]
40160 (__OFF_T_MATCHES_OFF64_T): New macro.
40161 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40162 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40163 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40164 (__OFF_T_MATCHES_OFF64_T): New macro.
40166 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40168 * stdlib/secure-getenv.c (__secure_getenv): Replace
40169 GLIBC_2_16 with GLIBC_2_17.
40171 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40173 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40174 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40176 2012-08-03 David S. Miller <davem@davemloft.net>
40178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40180 2012-08-03 Joseph Myers <joseph@codesourcery.com>
40182 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40184 (__ASSUME_CORRECT_SI_PID): Likewise.
40185 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40186 (__ASSUME_TMPFS_NAME): Likewise.
40187 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40188 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40189 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40190 (HAVE_AUX_SECURE): Make definition unconditional.
40191 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40192 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40194 2012-08-03 Roland McGrath <roland@hack.frob.com>
40196 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40197 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40198 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40199 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40200 __eloop_threshold instead of SYMLOOP_MAX.
40202 * sysdeps/generic/eloop-threshold.h: New file.
40203 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40205 * elf/chroot_canon.c (chroot_canon): Likewise.
40207 2012-08-03 Joseph Myers <joseph@codesourcery.com>
40210 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40211 Change to 2.6.0 everywhere.
40212 * sysdeps/unix/sysv/linux/configure: Regenerated.
40213 * sysdeps/unix/sysv/linux/kernel-features.h
40214 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40215 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40217 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40218 (__ASSUME_FUTEX_REQUEUE): Remove.
40219 (__ASSUME_STATFS64): Define unconditionally.
40220 (__ASSUME_AT_SECURE): Likewise.
40221 (__ASSUME_CORRECT_SI_PID): Likewise.
40222 (__ASSUME_TGKILL): Define without depending on kernel version for
40224 (__ASSUME_UTIMES): Likewise.
40225 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40227 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40228 (__ASSUME_TMPFS_NAME): Likewise.
40229 * README: Update reference to Linux kernel versions.
40231 2012-08-02 Marek Polacek <polacek@redhat.com>
40234 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40235 libc_cv_asm_type_prefix with %.
40236 * configure: Regenerated.
40237 * include/libc-symbols.h: Remove comment about
40238 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40239 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40240 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40241 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40242 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40243 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40244 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40245 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40246 * elf/tst-unique2mod1.c: Likewise.
40247 * elf/tst-unique1mod2.c: Likewise.
40248 * elf/tst-unique1mod1.c: Likewise.
40249 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40250 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40251 Replace ASM_TYPE_DIRECTIVE with .type.
40252 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40253 * sysdeps/i386/sysdep.h: Likewise.
40254 * sysdeps/x86_64/sysdep.h: Likewise.
40255 * sysdeps/sh/sysdep.h: Likewise.
40256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40257 Do not define ASM_TYPE_DIRECTIVE.
40258 * sysdeps/powerpc/sysdep.h: Likewise.
40259 * sysdeps/powerpc/powerpc32/sysdep.h:
40260 Replace ASM_TYPE_DIRECTIVE with .type.
40261 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40262 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40263 * sysdeps/i386/fpu/e_powf.S: Likewise.
40264 * sysdeps/i386/fpu/e_expl.S: Likewise.
40265 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40266 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40267 * sysdeps/i386/fpu/e_pow.S: Likewise.
40268 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40269 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40270 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40271 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40272 * sysdeps/i386/fpu/e_log2.S: Likewise.
40273 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40274 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40275 * sysdeps/i386/fpu/e_powl.S: Likewise.
40276 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40277 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40278 * sysdeps/i386/fpu/e_logl.S: Likewise.
40279 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40280 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40281 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40282 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40283 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40284 * sysdeps/i386/fpu/e_log.S: Likewise.
40285 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40286 * sysdeps/i386/fpu/e_logf.S: Likewise.
40287 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40288 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40289 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40290 * sysdeps/i386/fpu/e_log10.S: Likewise.
40291 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40292 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40293 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40294 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40295 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40296 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40297 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40298 * sysdeps/i386/i686/strtok.S: Likewise.
40299 * sysdeps/i386/i386-mcount.S: Likewise.
40300 * sysdeps/i386/strtok.S: Likewise.
40301 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40302 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40303 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40304 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40305 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40306 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40307 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40308 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40309 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40310 * sysdeps/x86_64/_mcount.S: Likewise.
40311 * sysdeps/x86_64/strtok.S: Likewise.
40312 * sysdeps/sh/_mcount.S: Likewise.
40314 2012-08-01 Roland McGrath <roland@hack.frob.com>
40316 * libio/iofopen.c: Include <fcntl.h>.
40317 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40318 (_IO_fopen64, fopen64): Define as aliases.
40319 * libio/iofopen64.c: Include <fcntl.h>.
40320 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40321 Conditionalize body on this.
40322 * sysdeps/wordsize-64/iofopen.c: File removed.
40323 * sysdeps/wordsize-64/iofopen64.c: File removed.
40325 2012-08-01 Marek Polacek <polacek@redhat.com>
40327 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40328 Use dlfcn directly instead of a variable.
40329 (binfmt-subdir): Do not define.
40332 2012-08-01 Joseph Myers <joseph@codesourcery.com>
40334 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40335 Remove all definitions.
40336 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40337 <kernel-features.h>.
40338 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40339 (miss_F_GETOWN_EX): Remove all definitions.
40340 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40342 [!__ASSUME_FCNTL64]: Remove conditional code.
40343 [__ASSUME_FCNTL64]: Make code unconditional.
40344 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40345 <kernel-features.h>.
40346 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40347 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40348 (lockf64) [__NR_fcntl64]: Make code unconditional.
40349 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40351 * sysdeps/unix/sysv/linux/kernel-features.h
40352 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40353 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40354 Make code unconditional.
40355 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40356 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40358 [__NR_vfork]: Make code unconditional.
40359 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40360 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40362 [__NR_vfork]: Make code unconditional.
40363 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40364 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40366 2012-08-01 Roland McGrath <roland@hack.frob.com>
40368 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40369 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40371 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40372 Define mkstemp64 as an alias.
40373 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40374 Define mkstemps64 as an alias.
40375 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40376 Define mkostemp64 as an alias.
40377 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40378 Define mkostemps64 as an alias.
40379 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40380 Conditionalize body on this.
40381 * misc/mkostemp64.c: Likewise.
40382 * misc/mkostemps64.c: Likewise.
40383 * misc/mkstemps64.c: Likewise.
40384 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40385 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40386 * sysdeps/wordsize-64/mkostemp.c: File removed.
40387 * sysdeps/wordsize-64/mkstemp.c: File removed.
40388 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40389 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40390 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40391 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40394 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40395 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40396 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40397 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40399 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40400 compat_symbol macros from <shlib-compat.h> rather than the underlying
40401 default_symbol_version and symbol_version macros, so that DEFAULT
40402 lines in shlib-versions are respected.
40403 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40405 2012-08-01 Florian Weimer <fweimer@redhat.com>
40407 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40408 Declare with warn_unused_result.
40409 (setgid, setregid, setegid, setresgid): Likewise.
40410 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40412 * WUR-REPORT: Remove set*id functions.
40414 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40416 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40418 2012-07-31 Roland McGrath <roland@hack.frob.com>
40421 * include/sys/socket.h (__libc_accept, __libc_accept4):
40422 Add attribute_hidden.
40423 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40425 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40427 * inet/getnetgrent_r.c (setup): Likewise.
40429 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40431 2012-07-31 David S. Miller <davem@davemloft.net>
40433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40435 2012-07-31 Joseph Myers <joseph@codesourcery.com>
40438 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40439 value between 1.0 and 2.0 and smaller part has absolute value less
40441 * math/s_clog10.c (__clog10): Likewise.
40442 * math/s_clog10f.c (__clog10f): Likewise.
40443 * math/s_clog10l.c (__clog10l): Likewise.
40444 * math/s_clogf.c (__clogf): Likewise.
40445 * math/s_clogl.c (__clogl): Likewise.
40446 * math/libm-test.inc (clog_test): Add more tests.
40447 (clog10_test): Likewise.
40448 * sysdeps/i386/fpu/libm-test-ulps: Update.
40449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40451 2012-07-31 Florian Weimer <fweimer@redhat.com>
40453 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40454 Exit with zero in case no suitable GID is found, and write a
40455 message to standard error.
40457 2012-07-30 Roland McGrath <roland@hack.frob.com>
40459 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40461 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40462 (MAXPATHLEN): Removed.
40463 (NOGROUP, NODEV): New macros.
40464 (setbit, clrbit, isset, isclr): New macros.
40465 (howmany, roundup, powerof2): New macros.
40466 (DEV_BSIZE): New macro.
40468 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40469 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40471 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40472 definition on [!__NO_LONG_DOUBLE_MATH].
40474 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40475 PTR_MANGLE and PTR_DEMANGLE.
40477 * socket/accept4.c (accept4): Rename to __libc_accept4.
40478 Define accept4 as a weak alias.
40480 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40481 on [_DIRENT_HAVE_D_TYPE].
40482 * io/ftw.c (ftw_dir): Likewise.
40484 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40486 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40488 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40489 Use the BSD numbers rather than the arbitrary ones we had.
40490 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40491 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40492 (SIGXCPU, SIGXFSZ): New macros.
40495 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40496 initializer on [_LIBC_REENTRANT].
40498 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40499 definitions inside [_POSIX_MAPPED_FILES].
40501 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40503 * dirent/opendir.c: Include <fcntl.h>.
40505 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40506 (__libc_getspecific): Likewise.
40507 (__libc_key_create): Likewise.
40509 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40510 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40511 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40512 (tmpfile64): Define as alias.
40513 * sysdeps/wordsize-64/tmpfile.c: File removed.
40514 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40515 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40516 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40518 * stdio-common/vfscanf.c: Include <stdbool.h>.
40519 * nss/makedb.c: Likewise.
40520 * stdio-common/_i18n_number.h: Likewise.
40521 * argp/argp-help.c: Likewise.
40522 * posix/wordexp.c: Likewise.
40523 * sysdeps/posix/spawni.c: Likewise.
40524 * nss/nss_files/files-initgroups.c: Likewise.
40525 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40526 * nss/nss_files/files-initgroups.c: Likewise.
40527 * nss/nss_db/db-netgrp.c: Likewise.
40528 * nss/nss_db/db-initgroups.c: Likewise.
40529 * io/fchmodat.c: Include <sys/stat.h>.
40531 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40532 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40534 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40537 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40538 Add multiple inclusion protection.
40540 2012-07-27 David S. Miller <davem@davemloft.net>
40542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40544 2012-07-27 Gary Benson <gbenson@redhat.com>
40547 * elf/rtld.c: Include <stap-probe.h>.
40548 (dl_main): Added static probes "init_start" and "init_complete".
40549 * elf/dl-load.c: Include <stap-probe.h>.
40550 (lose): Take new parameter "nsid".
40551 Added static probe "map_failed".
40552 (_dl_map_object_from_fd): Pass namespace id to lose.
40553 Added static probe "map_start".
40554 (open_verify): Pass namespace id to lose.
40555 * elf/dl-open.c: Include <stap-probe.h>.
40556 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40557 and "reloc_complete".
40558 * elf/dl-close.c: Include <stap-probe.h>.
40559 (_dl_close_worker): Added static probes "unmap_start" and
40561 * elf/rtld-debugger-interface.txt: New file documenting the above.
40563 2012-07-26 Roland McGrath <roland@hack.frob.com>
40565 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40566 rather than a string variable.
40567 * sunrpc/rpc_main.c (h_output): Likewise.
40568 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40570 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40572 * inet/check_native.c: New file.
40574 2012-07-26 Joseph Myers <joseph@codesourcery.com>
40577 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40578 if larger part has absolute value 1.0.
40579 * math/s_clog10.c (__clog10): Likewise.
40580 * math/s_clog10f.c (__clog10f): Likewise.
40581 * math/s_clog10l.c (__clog10l): Likewise.
40582 * math/s_clogf.c (__clogf): Likewise.
40583 * math/s_clogl.c (__clogl): Likewise.
40584 * math/libm-test.inc (clog_test): Add more tests.
40585 (clog10_test): Likewise.
40586 * sysdeps/i386/fpu/libm-test-ulps: Update.
40587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40589 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40590 (pltexit): Likewise.
40591 (La_regs): Likewise.
40592 (La_retval): Likewise.
40593 (int_retval): Likewise.
40594 Update #error for removed macros to refer only to definitions in
40596 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40598 (pltexit): Likewise.
40599 (La_regs): Likewise.
40600 (La_retval): Likewise.
40601 (int_retval): Likewise.
40602 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40604 (pltexit): Likewise.
40605 (La_regs): Likewise.
40606 (La_retval): Likewise.
40607 (int_retval): Likewise.
40608 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40610 (pltexit): Likewise.
40611 (La_regs): Likewise.
40612 (La_retval): Likewise.
40613 (int_retval): Likewise.
40614 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40616 (pltexit): Likewise.
40617 (La_regs): Likewise.
40618 (La_retval): Likewise.
40619 (int_retval): Likewise.
40620 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40622 (pltexit): Likewise.
40623 (La_regs): Likewise.
40624 (La_retval): Likewise.
40625 (int_retval): Likewise.
40626 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40628 (pltexit): Likewise.
40629 (La_regs): Likewise.
40630 (La_retval): Likewise.
40631 (int_retval): Likewise.
40632 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40633 macro definitions in tst-audit.h.
40634 * sysdeps/i386/tst-audit.h: New file.
40635 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40636 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40637 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40638 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40639 * sysdeps/sh/tst-audit.h: Likewise.
40640 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40641 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40642 * sysdeps/x86_64/tst-audit.h: Likewise.
40644 2012-07-26 Andreas Jaeger <aj@suse.de>
40646 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40649 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40650 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40651 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40653 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40654 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40655 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40657 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40660 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40662 (si_call_addr, si_syscall, si_arch): Define new macro.
40663 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40665 (si_call_addr, si_syscall, si_arch): Define new marcro.
40666 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40668 (si_call_addr, si_syscall, si_arch): Define new macro.
40669 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40671 (si_call_addr, si_syscall, si_arch): Define new macro.
40673 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40676 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40677 Change to 2.4.21 where previously 2.4.1.
40678 * sysdeps/unix/sysv/linux/configure: Regenerated.
40679 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40680 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40681 Linux kernel version.
40682 (__ASSUME_STD_AUXV): Remove.
40683 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40685 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40686 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40687 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40688 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40689 (__ASSUME_NETLINK_SUPPORT): Likewise.
40690 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40691 (__no_netlink_support): Remove conditional definition.
40692 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40694 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40695 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40696 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40697 (if_nameindex_ioctl): Remove.
40698 (if_nameindex_netlink): Do not handle __no_netlink_support.
40699 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40701 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40702 Remove conditional code.
40703 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40705 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40707 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40708 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40709 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40711 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40712 [!__ASSUME_STD_AUXV]: Remove conditional code.
40713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40714 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40715 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40717 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40718 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40720 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40722 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40723 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40725 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40727 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40730 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40733 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40734 code unconditional.
40735 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40737 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40739 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40742 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40744 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40747 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40748 code unconditional.
40749 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40751 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40753 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40756 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40757 code unconditional.
40758 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40760 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40762 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40765 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40767 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40768 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40769 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40770 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40771 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40772 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40773 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40774 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40775 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40776 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40777 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40778 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40779 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40780 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40781 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40782 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40783 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40784 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40785 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40787 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40788 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40789 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40791 2012-07-25 Florian Weimer <fweimer@redhat.com>
40793 * Versions.def: Add GLIBC_2.17.
40794 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40795 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40796 Introduce __libc_secure_getenv.
40797 * stdlib/Versions (2.17): Add secure_getenv
40798 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40799 * stdlib/secure-getenv.c: Rename __secure_getenv to
40800 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40801 symbol __secure_getenv for GLIBC_2.0.
40802 * stdlib/tst-secure-getenv.c: New.
40803 * stdlib/Makefile (tests): Add testcase.
40804 * manual/startup.texi (Environment Access): Document
40806 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40807 __libc_secure_getenv.
40808 * inet/ruserpass.c (ruserpass): Likewise.
40809 * malloc/mtrace.c (mtrace): Likewise.
40810 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40811 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40812 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40813 * sysdeps/posix/tempname.c: Likewise. Evaluate
40814 HAVE_SECURE_GETENV.
40815 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40816 __secure_getenv to __libc_secure_getenv.
40817 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40824 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40830 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40832 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40833 (struct La_i86_retval): Likewise.
40834 (struct La_x86_64_regs): Likewise.
40835 (struct La_x86_64_retval): Likewise.
40836 (struct La_x32_regs): Likewise.
40837 (struct La_x32_retval): Likewise.
40838 (struct La_ppc32_regs): Likewise.
40839 (struct La_ppc32_retval): Likewise.
40840 (struct La_ppc64_regs): Likewise.
40841 (struct La_ppc64_retval): Likewise.
40842 (struct La_sh_regs): Likewise.
40843 (struct La_sh_retval): Likewise.
40844 (struct La_s390_32_regs): Likewise.
40845 (struct La_s390_32_retval): Likewise.
40846 (struct La_s390_64_regs): Likewise.
40847 (struct La_s390_64_retval): Likewise.
40848 (struct La_sparc32_regs): Likewise.
40849 (struct La_sparc32_retval): Likewise.
40850 (struct La_sparc64_regs): Likewise.
40851 (struct La_sparc64_retval): Likewise.
40852 (struct audit_ifaces): Remove architecture-specific pltenter and
40854 * sysdeps/i386/ldsodefs.h: New file.
40855 * sysdeps/powerpc/ldsodefs.h: Likewise.
40856 * sysdeps/s390/ldsodefs.h: Likewise.
40857 * sysdeps/sh/ldsodefs.h: Likewise.
40858 * sysdeps/sparc/ldsodefs.h: Likewise.
40859 * sysdeps/x86_64/ldsodefs.h: Likewise.
40861 2012-07-25 Marek Polacek <polacek@redhat.com>
40864 * math/libm-test.inc (yn_test): Add another test.
40865 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40866 to ERANGE when the result is +-Inf.
40867 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40868 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40869 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40870 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40872 2012-07-24 Joseph Myers <joseph@codesourcery.com>
40874 * conform/data/time.h-data (NULL): Use macro-constant. Require
40876 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40878 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40880 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40882 * configure.in <sysdeps resolving>: Correct printing
40884 * configure: Regenerate.
40886 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40888 * math/w_ilogb.c: Include <limits.h>.
40889 * math/w_ilogbl.c: Likewise.
40891 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40893 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40894 va_copy. Document allowing for unavailable va_copy only as
40895 pre-C99 compatibility.
40896 * manual/string.texi (Copying and Concatenation): Use va_copy
40897 instead of __va_copy in concat example.
40899 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40901 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40902 (__sendto): Use create_address_port. Initialize APORT and deallocate
40905 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40906 with O_NOLINK passed to __file_name_lookup.
40908 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40909 with O_NOLINK passed to __file_name_lookup.
40911 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40912 negative N or less than NGIDS.
40914 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40915 type to string_t. Set ERANGE as errno and return it if NAME is not big
40916 enough. Use memcpy instead of strncpy.
40918 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40920 * elf/Makefile (check-data): Remove.
40921 (localplt.data): New vpath directive.
40922 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40923 instead of $(check-data).
40924 * scripts/data/localplt-generic.data: Move to ...
40925 * sysdeps/generic/localplt.data: ... here.
40926 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40927 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40928 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40931 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40934 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40937 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40940 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40943 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40947 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40949 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40950 PPC32 and PPC64 files.
40951 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40952 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40954 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40956 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40957 __makecontext_ret to ...
40958 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40959 ... here and call exit if uc_link is NULL. New file.
40960 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40961 __makecontext_ret.S.
40962 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40963 __makecontext_ret to ...
40964 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40965 ... here and call exit if uc_link is NULL. New file.
40966 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40967 __makecontext_ret.S.
40969 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40971 * elf/elf.h (R_390_IRELATIVE): New definition.
40972 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40973 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40974 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40975 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40976 (elf_machine_lazy_rel): Likewise.
40977 * sysdeps/s390/dl-irel.h: New file.
40978 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40979 * sysdeps/s390/s390-64/memset.S: New asm code.
40980 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40981 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40982 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40983 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40984 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40985 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40986 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40987 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40988 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40989 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40990 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40991 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40992 * sysdeps/s390/s390-32/memset.S: New asm code.
40993 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40995 2012-07-17 Marek Polacek <polacek@redhat.com>
40998 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40999 * sysdeps/s390/s390-64/configure.in: Likewise.
41000 * sysdeps/sparc/configure.in: Likewise.
41001 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41002 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41003 * sysdeps/i386/configure.in: Likewise.
41004 * sysdeps/x86_64/configure.in: Likewise.
41005 * sysdeps/sh/configure.in: Likewise.
41006 * sysdeps/s390/s390-32/configure: Regenerated.
41007 * sysdeps/s390/s390-64/configure: Likewise.
41008 * sysdeps/x86_64/configure: Likewise.
41009 * sysdeps/sh/configure: Likewise.
41010 * sysdeps/powerpc/powerpc64/configure: Likewise.
41011 * sysdeps/powerpc/powerpc32/configure: Likewise.
41012 * sysdeps/sparc/configure: Likwise.
41013 * sysdeps/i386/configure: Likewise.
41015 * elf/dl-open.c: Comment fixes.
41017 2012-07-17 Joseph Myers <joseph@codesourcery.com>
41019 * Makefile [CXX] (check-data): Remove.
41020 [CXX] (c++-types.data): New vpath directive.
41021 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41022 vpath. Do not allow for C++ type data being missing.
41023 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41024 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41025 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41026 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41027 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41028 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41029 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41032 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41035 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41038 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41041 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41044 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41047 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41050 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41053 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41054 definitions to architecture-specific files.
41055 (TLS_IE): Likewise.
41056 (TLS_LD): Likewise.
41057 (TLS_GD): Likewise.
41058 * sysdeps/i386/tls-macros.h: New file.
41059 * sysdeps/powerpc/tls-macros.h: Likewise.
41060 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41061 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41062 * sysdeps/sh/tls-macros.h: Likewise.
41063 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41064 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41065 * sysdeps/x86_64/tls-macros.h: Likewise.
41067 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41069 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41070 zero value for regular exit case.
41072 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41073 (__start_context): Preserve zero value for regular exit case.
41075 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41076 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41078 * manual/setjmp.texi (setcontext): Clarify normal process
41079 termination when uc_link is the null pointer.
41080 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41083 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41085 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41086 preprocessor. Test for each exception mask separately.
41088 2012-07-16 Andreas Jaeger <aj@suse.de>
41090 * po/ru.po: Update from translation team.
41092 2012-07-15 Joseph Myers <joseph@codesourcery.com>
41094 * conform/data/string.h-data (NULL): Use macro-constant. Require
41096 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41097 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41098 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41099 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41100 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41102 2012-07-13 Andreas Jaeger <aj@suse.de>
41104 * po/fr.po: Update from translation team.
41106 2012-07-12 Marek Polacek <polacek@redhat.com>
41109 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41110 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41113 2012-07-12 Joseph Myers <joseph@codesourcery.com>
41116 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41117 Change to 2.4.1 where previously 2.4.0.
41118 * sysdeps/unix/sysv/linux/configure: Regenerated.
41119 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41120 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41122 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41123 (__ASSUME_AT_CLKTCK): Remove.
41124 (__ASSUME_AT_PAGESIZE): Likewise.
41125 (__ASSUME_AT_XID): Likewise.
41126 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41127 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41128 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41130 (HAVE_AUX_PAGESIZE): Likewise.
41131 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41132 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41133 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41135 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41139 the temporary buffer used to invoke __gethostbyname2_r,
41140 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41141 host_data / struct gaih_addrtuple.
41142 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41143 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41144 header file nss/nsswitch.h.
41145 * nss/nsswitch.h (global scope): Add definition of implementation
41146 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41147 resolv/nss_dns/dns-host.c).
41149 2012-07-11 Andreas Jaeger <aj@suse.de>
41151 * po/fr.po: Update from translation team.
41153 * po/sv.po: Update from translation team
41154 * po/fr.po: Another update from translation team.
41156 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41158 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41159 for subnormals or multiply small sinh result by itself.
41160 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41163 2012-07-11 David S. Miller <davem@davemloft.net>
41165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41167 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41170 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41171 (INTERNAL_MARK): Shift it here.
41173 2012-07-10 Marek Polacek <polacek@redhat.com>
41176 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41177 libc_cv_asm_global_directive with .globl.
41178 * configure: Regenerated.
41179 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41181 * sysdeps/i386/configure: Regenerated.
41182 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41184 * sysdeps/x86_64/configure: Regenerated.
41185 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41186 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41187 * elf/tst-unique2mod2.c: Likewise.
41188 * elf/tst-unique2mod1.c: Likewise.
41189 * elf/tst-unique1mod2.c: Likewise.
41190 * elf/tst-unique1mod1.c: Likewise.
41191 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41192 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41193 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41194 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41195 * sysdeps/mach/sysdep.h: Likewise.
41196 * sysdeps/i386/sysdep.h: Likewise.
41197 * sysdeps/i386/i386-mcount.S: Likewise.
41198 * sysdeps/x86_64/_mcount.S: Likewise.
41199 * sysdeps/x86_64/sysdep.h: Likewise.
41200 * sysdeps/sh/_mcount.S: Likewise.
41201 * sysdeps/sh/sysdep.h: Likewise.
41202 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41203 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41204 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41205 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41206 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41207 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41208 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41209 * locale/localeinfo.h: Likewise.
41210 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41211 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41213 2012-07-09 Roland McGrath <roland@hack.frob.com>
41216 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41218 * manual/message.texi (The Uniforum approach): Likewise.
41219 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41220 (glibc iconv Implementation): Likewise.
41222 2012-07-09 Joseph Myers <joseph@codesourcery.com>
41225 * math/s_clog.c (__clog): Avoid scaling a value down where that
41226 could result in underflow.
41227 * math/s_clog10.c (__clog10): Likewise.
41228 * math/s_clog10f.c (__clog10f): Likewise.
41229 * math/s_clog10l.c (__clog10l): Likewise.
41230 * math/s_clogf.c (__clogf): Likewise.
41231 * math/s_clogl.c (__clogl): Likewise.
41232 * math/libm-test.inc (clog_test): Add more tests.
41233 (clog10_test): Likewise.
41234 * sysdeps/i386/fpu/libm-test-ulps: Update.
41235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41237 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41240 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41241 by 7 not 8 to examine high bit of fractional part.
41244 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41245 for call to __mcount_internal.
41246 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41247 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41248 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41250 2012-07-06 Joseph Myers <joseph@codesourcery.com>
41253 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41254 approximation for values within 0x1p-13f of an odd multiple of
41256 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41257 exception. Add more tests.
41258 * sysdeps/i386/fpu/libm-test-ulps: Update.
41261 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41262 inputs and return -1 for them. Do not check for +Inf in case not
41263 reachable for +Inf.
41264 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41265 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41266 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41267 and return -1 for them. Do not check for +Inf in case not
41268 reachable for +Inf.
41269 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41271 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41272 and return -1 for them. Do not check for +Inf in case not
41273 reachable for +Inf.
41274 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41275 spurious underflow.
41276 * sysdeps/i386/fpu/libm-test-ulps: Update.
41277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41279 2012-07-06 Mike Frysinger <vapier@gentoo.org>
41281 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41283 2012-07-05 Joseph Myers <joseph@codesourcery.com>
41287 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41288 could result in spurious underflow. Scale down values above
41289 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41290 * math/s_csqrtf.c (__csqrtf): Likewise.
41291 * math/s_csqrtl.c (__csqrtl): Likewise.
41292 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41293 spurious underflow.
41294 * sysdeps/i386/fpu/libm-test-ulps: Update.
41295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41297 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41299 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41301 * catgets/xopen-msg.awk: New file.
41302 * catgets/xopen-msg.sed: Removed.
41304 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41306 * intl/po2test.awk: New file.
41307 * intl/po2test.sed: Removed.
41309 2012-07-04 Joseph Myers <joseph@codesourcery.com>
41312 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41313 or multiply small sinh result by itself.
41314 * math/s_ctanf.c (__ctanf): Likewise.
41315 * math/s_ctanh.c (__ctanh): Likewise.
41316 * math/s_ctanhf.c (__ctanhf): Likewise.
41317 * math/s_ctanhl.c (__ctanhl): Likewise.
41318 * math/s_ctanl.c (__ctanl): Likewise.
41319 * math/libm-test.inc (ctan_test_tonearest): New function.
41320 (ctan_test_towardzero): Likewise.
41321 (ctan_test_downward): Likewise.
41322 (ctan_test_upward): Likewise.
41323 (ctanh_test_tonearest): Likewise.
41324 (ctanh_test_towardzero): Likewise.
41325 (ctanh_test_downward): Likewise.
41326 (ctanh_test_upward): Likewise.
41327 (main): Call these new functions.
41328 * sysdeps/i386/fpu/libm-test-ulps: Update.
41329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41331 2012-07-03 Mike Frysinger <vapier@gentoo.org>
41333 * .gitignore: Delete /ports entry.
41335 2012-07-03 Andreas Jaeger <aj@suse.de>
41337 * po/bg.po: Update from translation team.
41338 * po/cs.po: Likewise.
41339 * po/de.po: Likewise.
41340 * po/hr.po: Likewise.
41341 * po/nl.pl: Likewise.
41342 * po/pl.po: Likewise.
41343 * po/vi.po: Likewise.
41345 2012-07-03 Joseph Myers <joseph@codesourcery.com>
41347 * Makeconfig [!+link] (+link-before-libc): New variable.
41348 [!+link] (+link-after-libc): Likewise.
41349 [!+link] (+link-tests): Likewise.
41350 [!+link] (+link): Define in terms of $(+link-before-libc) and
41351 $(+link-after-libc).
41352 [!+link-static] (+link-static-before-libc): New variable.
41353 [!+link-static] (+link-static-after-libc): Likewise.
41354 [!+link-static] (+link-static-tests): Likewise.
41355 [!+link-static] (+link-static): Define in terms of
41356 $(+link-static-before-libc) and $(+link-static-after-libc).
41357 [build-shared] (link-libc-before-gnulib): New variable.
41358 [build-shared] (link-libc-tests): Likewise.
41359 [build-shared] (link-libc): Define in terms of
41360 $(link-libc-before-gnulib).
41361 [!build-shared] (link-libc-tests): New variable.
41362 (link-libc-static-tests): New variable.
41363 [!gnulib] (gnulib-arch): New variable.
41364 [!gnulib] (gnulib-tests): Likewise.
41365 [!gnulib] (static-gnulib-arch): Likewise.
41366 [!gnulib] (static-gnulib-tests): Likewise.
41367 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41368 Define with "=" instead of ":=".
41369 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41370 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41371 * Rules (binaries-all-notests): New variable.
41372 (binaries-all-tests): Likewise.
41373 (binaries-static-notests): Likewise.
41374 (binaries-static-tests): Likewise.
41375 (binaries-all): Define using $(binaries-all-notests) and
41376 $(binaries-all-tests).
41377 (binaries-static): Define using $(binaries-static-notests) and
41378 $(binaries-static-tests).
41379 (binaries-shared-tests): New variable.
41380 (binaries-shared-notests): Likewise.
41381 (binaries-shared): Remove variable.
41382 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41383 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41384 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41385 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41386 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41387 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41388 * elf/Makefile (sln-modules): New variable.
41389 (extra-objs): Add $(sln-modules:=.o).
41390 (ldconfig-modules): Add static-stubs.
41391 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41392 * elf/static-stubs.c: New file.
41395 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41396 by 7 not 8 to examine high bit of fractional part. Use volatile
41397 variables when splitting into final array of floats if
41398 __FLT_EVAL_METHOD__ != 0.
41399 * math/libm-test.inc (cos_test): Add another test.
41400 (sin_test): Likewise.
41401 * sysdeps/i386/fpu/libm-test-ulps: Update.
41404 * math/libm-test.inc (cosh_test): Add more tests.
41406 * version.h (RELEASE): Set to "development".
41407 (VERSION): Set to "2.16.90".
41409 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41411 * NEWS: Update copyright. Remove last-updated date.
41412 Mention math library bug fixes and timezone data changes.
41413 * README: Mention GNU/Hurd, x32, and HPPA support status.
41415 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41417 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41419 2012-06-27 Andreas Jaeger <aj@suse.de>
41421 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41423 2012-06-25 Andreas Jaeger <aj@suse.de>
41425 * sysdeps/s390/fpu/libm-test-ulps: Update.
41427 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41428 Thomas Schwinge <thomas@codesourcery.com>
41430 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41431 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41432 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41435 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41437 * sysdeps/mach/start.c: Remove file.
41438 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41439 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41440 * sysdeps/sh/init-first.c: Likewise.
41442 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41443 registers for frame unwinding purposes, add CFI directives.
41444 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41445 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41446 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41449 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41450 __fortify_fail returning.
41451 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41453 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41454 sysdeps/sh/____longjmp_chk.S.
41455 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41456 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41457 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41458 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41460 * sysdeps/sh/abort-instr.h: New file.
41461 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41462 process in case exit returns.
41464 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41465 initialize the GOT register before use.
41467 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41468 calculation of ARGC > 4.
41470 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41471 meaningful names to some local labels.
41473 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41474 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41476 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41477 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41478 (__arch_compare_and_exchange_val_16_acq): Likewise.
41479 (__arch_compare_and_exchange_val_32_acq): Likewise.
41480 (atomic_exchange_and_add): Fix gUSA sequence.
41481 (atomic_add): Likewise.
41482 (atomic_add_negative): Likewise.
41483 (atomic_add_zero): Likewise.
41484 (atomic_bit_test_set): Likewise.
41486 2012-06-22 Andreas Schwab <schwab@redhat.com>
41489 * include/link.h (struct link_map): Add l_free_initfini.
41490 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41492 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41493 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41494 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41497 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41499 * configure.in: Use AC_LANG_SOURCE.
41500 * configure: Regenerate.
41502 2012-06-22 Roland McGrath <roland@hack.frob.com>
41504 * configure.in (libc_cv_localstatedir): New substituted variable.
41505 * configure: Regenerated.
41506 * config.make.in (localstatedir): New variable, substituted from
41507 libc_cv_localstatedir.
41508 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41509 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41510 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41511 * sysdeps/gnu/configure: Regenerated.
41513 2012-06-21 Jeff Law <law@redhat.com>
41516 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41517 free. Simplify list management for _LIBC case.
41519 2012-06-21 Joseph Myers <joseph@codesourcery.com>
41522 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41523 Clear sign bit of 64-bit integer value before comparing against
41526 * sysdeps/mach/configure: Regenerated.
41528 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41531 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41533 2012-06-21 Jeff Law <law@redhat.com>
41536 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41537 uint16_t for elements in the "seen" array to avoid char overflows.
41538 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41539 * elf/dl-open.c (dl_open_worker): Likewise.
41541 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41543 * scripts/list-sources.sh: Scan PORTS for translations.
41544 * po/libc.pot: Regenerated.
41546 2012-06-21 Andreas Jaeger <aj@suse.de>
41549 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41551 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41552 * bits/byteswap-16.h (__bswap_16): Likewise.
41553 * bits/byteswap.h (__bswap_constant_16): Likewise.
41555 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41558 * sysdeps/i386/fpu_control.h: Removed.
41559 * sysdeps/x86_64/fpu_control.h: Moved to ...
41560 * sysdeps/x86/fpu_control.h: Here.
41562 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41563 (_FPU_SETCW): Likewise.
41565 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41568 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41569 * sysdeps/x86/fpu/bits/mathinline.h: This.
41570 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41574 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41575 functions if __x86_64__ is defined.
41577 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41579 * string/endian.h: Add !__ASSEMBLER__ condition for including
41580 conversion interfaces.
41582 2012-06-15 Joseph Myers <joseph@codesourcery.com>
41585 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41586 of ABS(x) in calculating zero to negative powers other than odd
41588 * math/libm-test.inc (pow_test): Add more tests.
41590 2012-06-15 Andreas Jaeger <aj@suse.de>
41592 * manual/contrib.texi (Contributors): Update entry of Liubov
41593 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41596 2012-06-15 Cyril Hrubis <metan@ucw.cz>
41598 * string/string.h: Add __wur to GNU version of strerror_r.
41600 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41603 * string/Makefile (tests): Add tst-strtok_r.
41604 * string/tst-strtok_r.c: New file.
41605 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41606 RAX_LP/RDX_LP on SAVE_PTR.
41608 2012-06-14 Roland McGrath <roland@hack.frob.com>
41610 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41612 2012-06-14 Joseph Myers <joseph@codesourcery.com>
41614 * libm_test.inc (csqrt_test): Allow more spurious underflow
41616 (j0_test): Likewise.
41617 (j1_test): Likewise.
41618 (y0_test): Likewise.
41619 (y1_test): Likewise.
41621 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41623 * po/Makefile (libc.pot): Use UTF-8 charset.
41625 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41628 Suppress sign-conversion warning from FD_SET.
41629 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41630 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41631 not unsigned long int.
41632 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41634 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41638 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41639 __extern_always_inline instead of __extern_inline.
41640 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41641 (__signbit): Likewise.
41642 (__signbitl): Support C++ namespace.
41643 (lrintf): New inline function.
41645 (llrintf): Likewise.
41646 (llrint): Likewise.
41656 (floorf): Likewise.
41657 (nearbyint): Likewise.
41658 (nearbyintf): Likewise.
41660 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41662 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41663 non-default versions.
41665 2012-06-11 Roland McGrath <roland@hack.frob.com>
41668 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41670 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41672 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41673 (FE_UPWARD, FE_DOWNWARD): Don't define.
41674 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41675 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41677 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41679 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41680 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41682 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41684 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41685 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41686 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41687 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41689 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41692 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41693 * sysdeps/i386/fpu/Implies: New file.
41694 * sysdeps/x86_64/fpu/Implies: Likewise.
41695 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41696 * sysdeps/x86/fpu/bits/fenv.h: This.
41698 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41701 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41704 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41705 character 0xffff that matches the last element of the
41708 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41710 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41713 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41715 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41716 values higher than 25.6283.
41718 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41720 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41721 subnormal exponent extraction and add some __builtin_expect.
41722 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41723 Fix for subnormal mantissa calculation.
41725 2012-06-04 Mike Frysinger <vapier@gentoo.org>
41727 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41728 cpu2 is -1 and errno is not ENOSYS.
41730 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41733 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41734 * sysdeps/x86/bits/string.h: This.
41735 * sysdeps/x86_64/bits/string.h: Removed.
41737 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41738 if not compiling for x86-64, but compiling for >= i486.
41740 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41741 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41743 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41744 New macro from Linux kernel 3.4.0.
41745 (FP_XSTATE_MAGIC2): Likewise.
41746 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41747 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41748 (struct _fpx_sw_bytes): New struct.
41749 (struct _xsave_hdr): Likewise.
41750 (struct _ymmh_state): Likewise.
41751 (struct _xstate): Likewise.
41753 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41754 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41755 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41756 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41757 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41758 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41760 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41761 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41762 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41763 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41764 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41765 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41767 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41770 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41771 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41772 (sysdep_headers): Include sys/platform/ppc.h.
41773 * sysdeps/powerpc/test-gettimebase.c: Test for
41774 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41775 * manual/Makefile (appendices): Include platform.texi.
41776 * manual/contrib.texi (Contributors): Update @node pointers.
41777 * manual/maint.texi (Maintenance): Likewise.
41778 (Platform): New node.
41779 * manual/platform.texi: New file. Document the new features.
41781 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41782 Jakub Jelinek <jakub@redhat.com>
41785 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41786 where __builtin_expect is unavailable.
41788 2012-06-03 David S. Miller <davem@davemloft.net>
41790 * stdlib/longlong.h: Updated from GCC.
41792 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41795 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41796 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41799 (GLIBC_2.16): Likewise.
41801 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41803 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41805 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41808 (default-abi): New variable.
41809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41810 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41812 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41814 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41816 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41819 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41820 definition. Document in comment.
41822 2012-06-01 David S. Miller <davem@davemloft.net>
41824 * stdlib/longlong.h: Updated from GCC.
41826 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41829 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41830 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41831 sys/debugreg.h sys/io.h here.
41832 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41833 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41835 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41836 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41837 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41838 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41839 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41840 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41842 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41843 Define only if __x86_64__ is defined.
41845 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41848 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41849 Use int64_t for variable i.
41850 * math/libm-test.inc (fmod_test): Add more tests.
41852 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41853 z computation is not scheduled after fetestexcept.
41854 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41855 Use math_force_eval instead of asm to ensure calculation scheduled
41856 before exception test.
41857 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41858 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41860 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41862 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41863 computation is not scheduled after fetestexcept.
41865 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41868 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41869 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41871 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41873 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41874 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41876 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41879 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41881 (__WCHAR_MIN): Support __WORDSIZE == 64.
41882 (__WCHAR_MAX): Likewise.
41884 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41885 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41888 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41889 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41892 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41893 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41895 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41896 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41898 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41899 Defined to 1 if __x86_64__ isn't defined.
41900 (_STAT_VER_LINUX_OLD): New.
41901 (st_atime): Remove duplicate.
41902 (st_mtime): Likewise.
41903 (st_ctime): Likewise.
41905 2012-05-31 David S. Miller <davem@davemloft.net>
41907 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41910 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41912 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41916 * elf/dl-reloc.c: Include <_itoa.h>.
41917 (_dl_reloc_bad_type): Remove use of INTUSE.
41918 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41919 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41920 * stdio-common/psiginfo.c (psiginfo): Likewise.
41921 * stdio-common/psignal.c (psignal): Likewise.
41922 * string/strsignal.c (strsignal): Likewise.
41923 * include/signal.h (_sys_siglist): Declare hidden proto.
41924 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41925 INTVARDEF with libc_hidden_data_def.
41926 * stdio-common/itoa-udigits.c: Likewise.
41927 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41928 (_itoa_lower_digits_internal): Remove declaration.
41929 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41930 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41931 (_sys_sigabbrev_internal): Remove aliases.
41932 (_sys_siglist): Define hidden alias.
41934 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41936 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41939 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41942 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41943 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41945 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41946 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41947 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41948 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41949 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41950 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41952 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41953 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41954 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41956 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41964 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41965 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41966 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41968 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41969 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41970 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41971 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41972 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41973 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41975 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41976 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41978 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41979 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41981 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41982 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41983 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41985 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41986 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41988 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41990 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41991 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41992 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41994 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41996 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41998 2012-05-31 Joseph Myers <joseph@codesourcery.com>
42000 * math/math.h (M_El): Use two more decimal places.
42001 (M_LOG2El): Likewise.
42002 (M_LOG10El): Likewise.
42003 (M_LN2l): Likewise.
42004 (M_LN10l): Likewise.
42006 (M_PI_2l): Likewise.
42007 (M_PI_4l): Likewise.
42008 (M_1_PIl): Likewise.
42009 (M_2_PIl): Likewise.
42010 (M_2_SQRTPIl): Likewise.
42011 (M_SQRT2l): Likewise.
42012 (M_SQRT1_2l): Likewise.
42014 2012-05-31 David S. Miller <davem@davemloft.net>
42016 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42017 values between float registers.
42018 * sysdeps/sparc/sparc64/memset.S: Likewise.
42019 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42021 2012-05-31 Mike Frysinger <vapier@gentoo.org>
42023 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42024 -D_FORTIFY_SOURCE=1.
42025 (CPPFLAGS-tst-longjmp_chk.c): Define.
42026 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42027 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42028 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42029 CFLAGS-tst-wchar-h.c.
42031 2012-05-31 Marek Polacek <polacek@redhat.com>
42034 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42035 __endmntent_internal): Remove declaration.
42036 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42037 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42038 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42040 2012-05-30 David S. Miller <davem@davemloft.net>
42042 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42043 (___Q_simulate_exceptions): Use real FP ops rather than writing
42045 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42048 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42051 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42052 * sysdeps/x86/bits/xtitypes.h: This.
42054 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42055 * sysdeps/x86/bits/wordsize.h: This.
42057 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42058 * sysdeps/x86/bits/huge_vall.h: This.
42060 * sysdeps/i386/bits/select.h: Removed.
42061 * sysdeps/x86_64/bits/select.h: Renamed to ...
42062 * sysdeps/x86/bits/select.h: This.
42064 * sysdeps/i386/bits/setjmp.h: Removed.
42065 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42066 * sysdeps/x86/bits/setjmp.h: This.
42068 * sysdeps/i386/bits/mathdef.h: Removed.
42069 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42070 * sysdeps/x86/bits/mathdef.h: This.
42072 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42075 * include/sys/socket.h (__connect_internal)
42076 (__libc_sa_len_internal): Remove declaration.
42077 (__connect, __libc_sa_len): Declare hidden_proto.
42078 (SA_LEN): Remove use of INTUSE.
42079 * socket/connect.c: Add libc_hidden_def.
42080 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42081 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42082 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42084 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42085 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42086 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42087 of adding _internal alias.
42089 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42092 * sysdeps/i386/bits/link.h: Removed.
42093 * sysdeps/i386/bits/linkmap.h: Likewise.
42094 * sysdeps/x86_64/bits/link.h: Renamed to ...
42095 * sysdeps/x86/bits/link.h: This.
42096 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42097 * sysdeps/x86/bits/linkmap.h: This.
42099 * sysdeps/i386/bits/endian.h: Removed.
42100 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42101 * sysdeps/x86/bits/endian.h: This.
42103 * sysdeps/i386/bits/byteswap.h: Removed.
42104 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42105 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42106 * sysdeps/x86/bits/byteswap.h: This.
42107 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42108 * sysdeps/x86/bits/byteswap-16.h: This.
42109 * sysdeps/i386/Implies: Add x86.
42110 * sysdeps/x86_64/Implies: Likewise.
42112 2012-05-30 David S. Miller <davem@davemloft.net>
42114 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42115 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42116 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42117 (FP_TRAPPING_EXCEPTIONS): Define.
42118 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42119 (FP_TRAPPING_EXCEPTIONS): Define.
42120 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42121 subnormals only when inexact has been signalled or underflow
42122 exceptions are enabled.
42123 (_FP_PACK_CANONICAL): Likewise.
42125 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42128 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42129 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42131 2012-05-30 Richard Henderson <rth@twiddle.net>
42133 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42134 with #ifndef NOT_IN_libc.
42136 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42137 marked to avoid plt entry.
42139 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42142 * Makeconfig (default-abi): New macro.
42143 (abi-includes): Likewise.
42144 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42145 $(abi-$(default-abi)-lib-soname) for soname if defined.
42146 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42148 * Makefile (installed-stubs): Likewise.
42149 * include/stubs-biarch.h: Removed.
42150 * scripts/lib-names.awk: Only handle one library at a time.
42151 * scripts/soversions.awk: Remove WORDSIZE support.
42152 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42154 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42156 (syscall-list-default-condition): Likewise.
42157 (syscall-list-default-condition): Likewise.
42158 (syscall-list-includes): Likewise.
42159 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42160 syscall-list-* with abi-*. Handle undefined abi-variants.
42161 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42162 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42163 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42164 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42165 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42166 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42168 (syscall-list-32-options): Likewise.
42169 (syscall-list-32-condition): Likewise.
42170 (syscall-list-64-options): Likewise.
42171 (syscall-list-64-condition): Likewise.
42172 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42174 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42177 (abi-64-ld-soname): New macro.
42178 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42179 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42182 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42183 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42185 2012-05-30 Joseph Myers <joseph@codesourcery.com>
42187 * sysdeps/unix/sysv/linux/kernel-features.h
42188 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42189 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42190 include <kernel-features.h>.
42191 [!__NR_ftruncate64]: Remove conditional code.
42192 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42193 [__NR_ftruncate64]: Make code unconditional.
42194 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42195 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42196 include <kernel-features.h>.
42197 [!__NR_ftruncate64]: Remove conditional code.
42198 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42199 [__NR_ftruncate64]: Make code unconditional.
42200 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42202 include <kernel-features.h>.
42203 [!__NR_ftruncate64]: Remove conditional code.
42204 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42205 [__NR_ftruncate64]: Make code unconditional.
42206 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42208 include <kernel-features.h>.
42209 [!__NR_ftruncate64]: Remove conditional code.
42210 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42211 [__NR_ftruncate64]: Make code unconditional.
42212 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42214 * configure.in (libc_cv_fpie): Weaken to a compile test using
42215 LIBC_TRY_CC_OPTION.
42216 * configure: Regenerated.
42218 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42220 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42221 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42233 2012-05-27 David S. Miller <davem@davemloft.net>
42235 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42237 (__Q_simulate_exceptions): Return void. Change to simulate
42238 exceptions by writing into the %fsr.
42239 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42240 (__Qp_handle_exceptions): Likewise.
42242 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42243 __Qp_handle_exceptions.
42244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42245 __Qp_handle_exceptions.
42246 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42247 as unused and give dummy FP_RND_NEAREST initializer.
42248 (FP_INHIBIT_RESULTS): Define.
42249 (___Q_simulate_exceptions): Update declaration.
42250 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42252 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42253 as unused and give dummy FP_RND_NEAREST initializer.
42254 (__Qp_handle_exceptions): Update declaration.
42255 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42258 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42260 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42261 the temporary FPU control word.
42262 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42263 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42264 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42265 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42266 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42267 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42268 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42269 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42270 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42271 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42272 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42274 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42276 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42279 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42281 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42282 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42283 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42284 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42286 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42287 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42290 2012-05-27 Ulrich Drepper <drepper@gmail.com>
42292 * po/h.po: Update from translation team.
42294 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42296 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42298 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42299 handling of denormals.
42300 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42301 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42302 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42303 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42304 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42305 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42306 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42309 2012-05-26 Marek Polacek <polacek@redhat.com>
42312 * math/libm-test.inc (fma_test): Don't always expect underflow
42315 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42318 * elf/tst-execstack.c: Include stackinfo.h.
42319 (do_test): Adjust test case to ensure that pthread_getattr_np
42320 behaviour remains the same after marking stack executable.
42322 2012-05-25 Joseph Myers <joseph@codesourcery.com>
42324 * sysdeps/unix/sysv/linux/kernel-features.h
42325 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42326 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42328 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42329 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42330 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42332 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42333 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42335 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42337 * configure.in: Define the default includes to being none.
42338 * configure: Regenerated.
42340 2012-05-25 Roland McGrath <roland@hack.frob.com>
42342 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42343 * sysdeps/x86_64/setjmp.S: Likewise.
42344 * sysdeps/i386/bsd-setjmp.S: Likewise.
42345 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42346 * sysdeps/i386/setjmp.S: Likewise.
42347 * sysdeps/i386/__longjmp.S: Likewise.
42348 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42349 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42351 * include/stap-probe.h: New file.
42352 * configure.in: Handle --enable-systemtap.
42353 * configure: Regenerated.
42354 * config.h.in (USE_STAP_PROBE): New #undef.
42355 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42356 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42357 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42359 2012-05-25 Joseph Myers <joseph@codesourcery.com>
42362 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42363 to 2.4.0 where earlier.
42364 * sysdeps/unix/sysv/linux/configure: Regenerated.
42365 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42366 <kernel-features.h>.
42367 [__ASSUME_32BITUIDS]: Make code unconditional.
42368 [!__ASSUME_32BITUIDS]: Remove conditional code.
42369 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42370 <kernel-features.h>.
42371 [__ASSUME_32BITUIDS]: Make code unconditional.
42372 [!__ASSUME_32BITUIDS]: Remove conditional code.
42373 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42374 [__ASSUME_32BITUIDS]: Make code unconditional.
42375 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42376 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42377 <kernel-features.h>.
42378 [__ASSUME_32BITUIDS]: Make code unconditional.
42379 [!__ASSUME_32BITUIDS]: Remove conditional code.
42380 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42381 <kernel-features.h>.
42382 [__ASSUME_32BITUIDS]: Make code unconditional.
42383 [!__ASSUME_32BITUIDS]: Remove conditional code.
42384 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42385 <kernel-features.h>.
42386 [__ASSUME_32BITUIDS]: Make code unconditional.
42387 [!__ASSUME_32BITUIDS]: Remove conditional code.
42388 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42389 <kernel-features.h>.
42390 [__ASSUME_32BITUIDS]: Make code unconditional.
42391 [!__ASSUME_32BITUIDS]: Remove conditional code.
42392 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42393 <kernel-features.h>.
42394 [__ASSUME_32BITUIDS]: Make code unconditional.
42395 [!__ASSUME_32BITUIDS]: Remove conditional code.
42396 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42397 <kernel-features.h>.
42398 [__ASSUME_32BITUIDS]: Make code unconditional.
42399 [!__ASSUME_32BITUIDS]: Remove conditional code.
42400 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42401 <kernel-features.h>.
42402 [__ASSUME_32BITUIDS]: Make code unconditional.
42403 [!__ASSUME_32BITUIDS]: Remove conditional code.
42404 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42405 <kernel-features.h>.
42406 [__ASSUME_32BITUIDS]: Make code unconditional.
42407 [!__ASSUME_32BITUIDS]: Remove conditional code.
42408 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42409 <kernel-features.h>.
42410 [__ASSUME_32BITUIDS]: Make code unconditional.
42411 [!__ASSUME_32BITUIDS]: Remove conditional code.
42412 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42413 <kernel-features.h>.
42414 [__ASSUME_32BITUIDS]: Make code unconditional.
42415 [!__ASSUME_32BITUIDS]: Remove conditional code.
42416 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42417 <kernel-features.h>.
42418 [__NR_setresgid] (__setresgid): Do not declare.
42419 [__ASSUME_32BITUIDS]: Make code unconditional.
42420 [!__ASSUME_32BITUIDS]: Remove conditional code.
42421 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42422 <kernel-features.h>.
42423 [__NR_setresuid] (__setresuid): Do not declare.
42424 [__ASSUME_32BITUIDS]: Make code unconditional.
42425 [!__ASSUME_32BITUIDS]: Remove conditional code.
42426 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42427 <kernel-features.h>.
42428 [__ASSUME_32BITUIDS]: Make code unconditional.
42429 [!__ASSUME_32BITUIDS]: Remove conditional code.
42430 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42431 <kernel-features.h>.
42432 [__ASSUME_32BITUIDS]: Make code unconditional.
42433 [!__ASSUME_32BITUIDS]: Remove conditional code.
42434 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42435 <kernel-features.h>.
42436 [__ASSUME_32BITUIDS]: Make code unconditional.
42437 [!__ASSUME_32BITUIDS]: Remove conditional code.
42438 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42439 <kernel-features.h>.
42440 [__ASSUME_32BITUIDS]: Make code unconditional.
42441 [!__ASSUME_32BITUIDS]: Remove conditional code.
42442 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42443 <kernel-features.h>.
42444 [__ASSUME_32BITUIDS]: Make code unconditional.
42445 [!__ASSUME_32BITUIDS]: Remove conditional code.
42446 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42447 <kernel-features.h>.
42448 [__ASSUME_32BITUIDS]: Make code unconditional.
42449 [!__ASSUME_32BITUIDS]: Remove conditional code.
42450 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42451 <kernel-features.h>.
42452 [__ASSUME_32BITUIDS]: Make code unconditional.
42453 [!__ASSUME_32BITUIDS]: Remove conditional code.
42454 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42455 <kernel-features.h>.
42456 [__ASSUME_32BITUIDS]: Make code unconditional.
42457 [!__ASSUME_32BITUIDS]: Remove conditional code.
42458 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42459 <kernel-features.h>.
42460 [__ASSUME_32BITUIDS]: Make code unconditional.
42461 [!__ASSUME_32BITUIDS]: Remove conditional code.
42462 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42463 <kernel-features.h>.
42464 [__ASSUME_32BITUIDS]: Make code unconditional.
42465 [!__ASSUME_32BITUIDS]: Remove conditional code.
42466 * sysdeps/unix/sysv/linux/kernel-features.h
42467 (__ASSUME_SETRESUID_SYSCALL): Remove.
42468 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42469 (__ASSUME_32BITUIDS): Likewise.
42470 (__ASSUME_LDT_WORKS): Likewise.
42471 (__ASSUME_O_DIRECTORY): Likewise.
42472 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42473 architecture but not kernel version.
42474 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42475 (__ASSUME_MMAP2_SYSCALL): Likewise.
42476 (__ASSUME_STAT64_SYSCALL): Likewise.
42477 (__ASSUME_IPC64): Likewise.
42478 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42479 <kernel-features.h>.
42480 [__ASSUME_32BITUIDS]: Make code unconditional.
42481 [!__ASSUME_32BITUIDS]: Remove conditional code.
42482 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42483 <kernel-features.h>.
42484 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42485 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42486 132096]: Remove conditional code.
42487 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42488 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42489 <kernel-features.h>.
42490 [__ASSUME_32BITUIDS]: Make code unconditional.
42491 [!__ASSUME_32BITUIDS]: Remove conditional code.
42492 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42493 <kernel-features.h>.
42494 [__ASSUME_32BITUIDS]: Make code unconditional.
42495 [!__ASSUME_32BITUIDS]: Remove conditional code.
42496 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42497 <kernel-features.h>.
42498 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42500 (__setresgid): Do not declare.
42501 [__ASSUME_32BITUIDS]: Make code unconditional.
42502 [!__ASSUME_32BITUIDS]: Remove conditional code.
42503 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42504 <kernel-features.h>.
42505 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42507 (__setresuid): Do not declare.
42508 [__ASSUME_32BITUIDS]: Make code unconditional.
42509 [!__ASSUME_32BITUIDS]: Remove conditional code.
42510 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42511 <kernel-features.h>.
42512 [__ASSUME_32BITUIDS]: Make code unconditional.
42513 [!__ASSUME_32BITUIDS]: Remove conditional code.
42514 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42515 <kernel-features.h>.
42516 [__ASSUME_32BITUIDS]: Make code unconditional.
42517 [!__ASSUME_32BITUIDS]: Remove conditional code.
42519 2012-05-25 Richard Henderson <rth@twiddle.net>
42521 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42522 dl_hwcap to ifunc resolver.
42523 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42525 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42526 dl_hwcap to ifunc resolver.
42527 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42529 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42532 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42533 for |x| <= 2**-26, not 2**-57.
42534 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42537 2012-05-24 Jeff Law <law@redhat.com>
42539 * stdio-common/Makefile (tests): Add bug25.
42540 * stdio-common/bug25.c: New test.
42542 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42545 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42546 multiple of MALLOC_ALIGNMENT in size.
42547 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42549 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42551 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42553 (FILENAME_MAX): Use macro-int-constant.
42554 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42555 (_IOFBF): Use macro-int-constant.
42556 (_IOLBF): Likewise.
42557 (_IONBF): Likewise.
42558 (SEEK_CUR): Likewise.
42559 (SEEK_END): Likewise.
42560 (SEEK_SET): Likewise.
42561 (TMP_MAX): Likewise.
42562 (EOF): Use macro-int-constant. Require < 0.
42563 (NULL): Use macro-constant. Require == 0.
42564 (stdin): Require type to be FILE *.
42565 (stdout): Likewise.
42566 (stderr): Likewise.
42567 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42568 macro-int-constant.
42569 (EXIT_SUCCESS): Likewise.
42570 (NULL): Use macro-constant. Require == 0.
42571 (RAND_MAX): Use macro-int-constant.
42572 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42573 [C99-based standards] (strtof): Require function.
42574 [C99-based standards] (strtold): Likewise.
42575 [C99-based standards] (strtoll): Likewise.
42576 [C99-based standards] (strtoull): Likewise.
42577 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42578 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42579 [ISO || ISO99 || ISO11] (math.h): Likewise.
42580 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42581 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42582 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42584 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42587 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42588 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42589 * intl/dgettext.c (DCGETTEXT): Likewise.
42590 * intl/gettext.c (DCGETTEXT): Likewise.
42591 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42592 * posix/regex_internal.h (gettext): Likewise.
42593 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42594 Remove declaration.
42595 * include/argz.h (__argz_count_internal)
42596 (__argz_stringify_internal): Remove declaration.
42597 (__argz_count, __argz_stringify): Declare hidden proto.
42598 * intl/dcgettext.c: Remove use of INTDEF.
42599 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42600 * string/argz-stringify.c: Likewise.
42601 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42602 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42603 Declare hidden proto.
42604 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42605 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42606 Declare hidden proto.
42607 * include/stdio.h (__asprintf_internal): Don't declare.
42608 (__asprintf): Don't define as macro. Declare hidden proto.
42609 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42610 (__fsetlocking): Declare hidden proto.
42611 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42612 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42614 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42615 (_IO_setlinebuf): Remove use of INTUSE.
42616 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42617 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42618 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42619 Remove declaration.
42620 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42621 (_IO_do_flush): Remove use of INTUSE.
42622 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42623 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42624 (_IO_adjust_column, _IO_least_wmarker)
42625 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42626 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42627 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42628 (_IO_default_doallocate, _IO_wdefault_doallocate)
42629 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42630 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42631 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42632 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42633 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42634 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42635 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42636 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42637 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42638 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42639 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42640 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42641 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42643 (_IO_flush_all_internal, _IO_adjust_column_internal)
42644 (_IO_default_uflow_internal, _IO_default_finish_internal)
42645 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42646 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42647 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42648 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42649 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42650 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42651 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42652 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42653 (_IO_file_close_internal, _IO_file_close_it_internal)
42654 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42655 (_IO_file_init_internal, _IO_file_attach_internal)
42656 (_IO_file_fopen_internal, _IO_file_read_internal)
42657 (_IO_file_sync_internal, _IO_file_seek_internal)
42658 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42659 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42660 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42661 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42662 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42663 (_IO_list_all_internal, _IO_link_in_internal)
42664 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42665 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42666 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42667 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42668 (_IO_do_write_internal, _IO_padn_internal)
42669 (_IO_getline_info_internal, _IO_getline_internal)
42670 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42671 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42672 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42673 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42674 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42675 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42676 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42677 with libc_hidden_ver, remove use of INTUSE.
42678 * libio/genops.c: Likewise.
42679 * libio/freopen.c: Likewise.
42680 * libio/freopen64.c: Likewise.
42681 * libio/iofclose.c: Likewise.
42682 * libio/iofdopen.c: Likewise.
42683 * libio/iofflush.c: Likewise.
42684 * libio/iofflush_u.c: Likewise.
42685 * libio/iofgets.c: Likewise.
42686 * libio/iofgets_u.c: Likewise.
42687 * libio/iofopen.c: Likewise.
42688 * libio/iofopncook.c: Likewise.
42689 * libio/iofread.c: Likewise.
42690 * libio/iofread_u.c: Likewise.
42691 * libio/ioftell.c: Likewise.
42692 * libio/iofwrite.c: Likewise.
42693 * libio/iogetline.c: Likewise.
42694 * libio/iogets.c: Likewise.
42695 * libio/iogetwline.c: Likewise.
42696 * libio/iopadn.c: Likewise.
42697 * libio/iopopen.c: Likewise.
42698 * libio/ioseekoff.c: Likewise.
42699 * libio/ioseekpos.c: Likewise.
42700 * libio/iosetbuffer.c: Likewise.
42701 * libio/iosetvbuf.c: Likewise.
42702 * libio/ioungetc.c: Likewise.
42703 * libio/ioungetwc.c: Likewise.
42704 * libio/iovdprintf.c: Likewise.
42705 * libio/iovsprintf.c: Likewise.
42706 * libio/iovsscanf.c: Likewise.
42707 * libio/memstream.c: Likewise.
42708 * libio/obprintf.c: Likewise.
42709 * libio/oldfileops.c: Likewise.
42710 * libio/oldiofclose.c: Likewise.
42711 * libio/oldiofdopen.c: Likewise.
42712 * libio/oldiofopen.c: Likewise.
42713 * libio/oldiopopen.c: Likewise.
42714 * libio/oldstdfiles.c: Likewise.
42715 * libio/putc.c: Likewise.
42716 * libio/setbuf.c: Likewise.
42717 * libio/setlinebuf.c: Likewise.
42718 * libio/stdfiles.c: Likewise.
42719 * libio/strops.c: Likewise.
42720 * libio/vasprintf.c: Likewise.
42721 * libio/vscanf.c: Likewise.
42722 * libio/vsnprintf.c: Likewise.
42723 * libio/vswprintf.c: Likewise.
42724 * libio/wfiledoalloc.c: Likewise.
42725 * libio/wfileops.c: Likewise.
42726 * libio/wgenops.c: Likewise.
42727 * libio/wmemstream.c: Likewise.
42728 * libio/wstrops.c: Likewise.
42729 * libio/__fpurge.c: Likewise.
42730 * libio/__fsetlocking.c: Likewise.
42731 * assert/assert.c: Likewise.
42732 * debug/fgets_chk.c: Likewise.
42733 * debug/fgets_u_chk.c: Likewise.
42734 * debug/fread_chk.c: Likewise.
42735 * debug/fread_u_chk.c: Likewise.
42736 * debug/gets_chk.c: Likewise.
42737 * debug/obprintf_chk.c: Likewise.
42738 * debug/vasprintf_chk.c: Likewise.
42739 * debug/vdprintf_chk.c: Likewise.
42740 * debug/vsnprintf_chk.c: Likewise.
42741 * debug/vsprintf_chk.c: Likewise.
42742 * malloc/mtrace.c: Likewise.
42743 * misc/error.c: Likewise.
42744 * misc/syslog.c: Likewise.
42745 * stdio-common/asprintf.c: Likewise.
42746 * stdio-common/fxprintf.c: Likewise.
42747 * stdio-common/getw.c: Likewise.
42748 * stdio-common/isoc99_fscanf.c: Likewise.
42749 * stdio-common/isoc99_scanf.c: Likewise.
42750 * stdio-common/isoc99_vfscanf.c: Likewise.
42751 * stdio-common/isoc99_vscanf.c: Likewise.
42752 * stdio-common/isoc99_vsscanf.c: Likewise.
42753 * stdio-common/printf-prs.c: Likewise.
42754 * stdio-common/printf_fp.c: Likewise.
42755 * stdio-common/printf_fphex.c: Likewise.
42756 * stdio-common/printf_size.c: Likewise.
42757 * stdio-common/putw.c: Likewise.
42758 * stdio-common/scanf.c: Likewise.
42759 * stdio-common/sprintf.c: Likewise.
42760 * stdio-common/tmpfile.c: Likewise.
42761 * stdio-common/vfprintf.c: Likewise.
42762 * stdio-common/vfscanf.c: Likewise.
42763 * stdlib/strfmon_l.c: Likewise.
42764 * sunrpc/openchild.c: Likewise.
42765 * sunrpc/xdr_stdio.c: Likewise.
42766 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42767 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42769 2012-05-24 Roland McGrath <roland@hack.frob.com>
42771 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42773 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42774 in the third column, to generate for the shared library an IFUNC
42775 that uses _dl_vdso_vsym.
42776 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42777 * Makeconfig (object-suffixes-noshared): New variable.
42779 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42780 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42781 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42782 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42785 * include/sys/time.h (__gettimeofday): Remove macro.
42786 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42787 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42789 (__gettimeofday): Add libc_hidden_def.
42790 (gettimeofday): Add libc_hidden_weak.
42791 * sysdeps/mach/gettimeofday.c: Likewise.
42792 * sysdeps/posix/gettimeofday.c: Likewise.
42793 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42794 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42795 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42796 (__gettimeofday_internal): Remove strong_alias.
42797 (__gettimeofday): Add libc_hidden_def.
42798 (gettimeofday): Add libc_hidden_weak.
42799 * sysdeps/unix/syscalls.list (gettimeofday):
42800 Remove __gettimeofday_internal alias.
42802 2012-05-24 Daniel Jacobowitz <drow@false.org>
42803 H.J. Lu <hongjiu.lu@intel.com>
42806 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42807 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42808 (largebin_index_32_big): New.
42809 (largebin_index): Use it for 16-byte alignment.
42810 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42811 correction with front_misalign.
42813 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42841 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42842 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42844 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42848 * math/libm-test.inc (exp_test): Add test from bug 14036.
42849 (pow_test): Add test from bug 10846.
42851 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42853 (special_function): Do not include flags in test name.
42854 (parse_args): Likewise.
42855 * sysdeps/i386/fpu/libm-test-ulps: Update.
42856 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42857 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42858 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42861 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42863 * math/libm-test.inc ("Philosophy"): Update comment about
42865 (UNDERFLOW_EXCEPTION): New macro.
42866 (UNDERFLOW_EXCEPTION_OK): Likewise.
42867 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42868 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42869 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42870 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42871 (INVALID_EXCEPTION_OK): Update value.
42872 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42873 (OVERFLOW_EXCEPTION_OK): Likewise.
42874 (IGNORE_ZERO_INF_SIGN): Likewise.
42875 (test_exceptions): Handle underflow exceptions.
42876 (acos_test): Update for underflow exception expectations.
42877 (cexp_test): Likewise.
42878 (clog_test): Likewise.
42879 (clog10_test): Likewise.
42880 (csqrt_test): Likewise.
42881 (ctan_test): Likewise.
42882 (ctanh_test): Likewise.
42883 (exp_test): Likewise.
42884 (exp10_test): Likewise.
42885 (exp2_test): Likewise.
42886 (expm1_test): Likewise.
42887 (fma_test): Likewise.
42888 (j0_test): Likewise.
42889 (jn_test): Likewise.
42890 (nexttoward_test): Likewise.
42891 (pow_test): Likewise.
42892 (scalbn_test): Likewise.
42893 (scalbln_test): Likewise.
42894 (tan_test): Likewise.
42895 (y1_test): Likewise.
42896 * sysdeps/i386/fpu/libm-test-ulps: Update.
42897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42899 2012-05-23 David S. Miller <davem@davemloft.net>
42901 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42902 (__libc_sigaction): Remove unused local variables.
42904 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42906 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42908 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42910 mktime: avoid signed integer overflow
42911 * time/mktime.c (__mktime_internal): Do not mishandle the case
42912 where diff == INT_MIN.
42914 mktime: simplify computation of average
42915 * time/mktime.c (ranged_convert): Use new time_t_avg function
42916 instead of rolling our own (probably-slower) code.
42918 mktime: do not assume signed right shift propagates sign bit
42919 * time/mktime.c (isdst_differ): New static function.
42920 (__mktime_internal): No need to normalize tm_isdst now.
42921 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42924 mktime: merge another wrapv change from gnulib
42925 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42926 from some compilers.
42928 mktime: remove incorrect attempt at unusual arithmetics
42929 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42930 The code didn't really work on such machines anyway.
42931 (TYPE_MINIMUM): Assume two's complement.
42932 (twos_complement_arithmetic): Verify that long_int and time_t
42933 are two's complement (or unsigned, in the latter case).
42935 mktime: check signed shifts on long_int and time_t, too
42936 * time/mktime.c (SHR): Check that shifts work as desired
42937 on the types long_int and time_t too, as SHR is used on
42940 mktime: do not assume 'long' is wide enough
42941 * time/mktime.c (verify): Move decl up.
42942 (long_int): New type.
42943 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42944 to remove assumption in the code that 'long' is wide enough to
42945 store year values. This assumption is not true on x32 and on
42946 some non-glibc platforms.
42948 mktime: merge wrapv change from gnulib
42949 * time/mktime.c (WRAPV): New macro.
42950 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42951 (guess_time_tm, __mktime_internal): Do not assume that signed
42952 integer overflow wraps around; modern compilers generate code
42953 where this assumption is no longer valid.
42955 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42957 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42958 Replace "jmp L(pseudo_end)" with "ret".
42959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42962 2012-05-23 Andreas Jaeger <aj@suse.de>
42964 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42965 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42967 2012-05-23 Andreas Jaeger <aj@suse.de>
42968 Maximilian Attems <max@stro.at>
42970 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42973 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42975 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42976 code so that pseudo_end is just ret and the stack pointer is
42977 correct also for static library in error case.
42979 2012-05-23 Joseph Myers <joseph@codesourcery.com>
42981 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42982 move to syscalls.list.
42983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42988 * manual/install.texi (Running make install): Do not mention Linux
42989 kernel version for which pt_chown is not needed.
42990 (Linux): Do not mention problems with nscd with 2.0 kernels.
42991 * INSTALL: Regenerated.
42993 2012-05-23 Andreas Jaeger <aj@suse.de>
42995 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42996 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42998 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42999 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43000 * sysdeps/unix/sysv/linux/sh/bits/mman.h
43001 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43002 * sysdeps/unix/sysv/linux/i386/bits/mman.h
43003 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43004 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43005 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43006 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43007 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43008 * sysdeps/unix/sysv/linux/bits/in.h
43009 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43011 2012-05-22 Roland McGrath <roland@hack.frob.com>
43013 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43014 (PREPARE_VERSION): Just use assert instead, it will be elided
43015 under [NDEBUG] anyway.
43017 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43019 * sysdeps/unix/sysv/linux/Makefile: Include
43020 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
43021 (sysdep_routines): Remove sysctl.
43022 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43023 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43024 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43025 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43026 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43028 2012-05-22 Andreas Jaeger <aj@suse.de>
43030 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43031 that pseudo_end is just ret and the stack pointer is correct also
43032 for static library in error case.
43034 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
43037 * nss/nsswitch.c (defconfig_entries): New variable.
43038 (__nss_database_lookup): Don't leak defconfig entries.
43039 (nss_parse_service_list): Don't leak on error paths.
43040 (free_database_entries): New function.
43041 (free_defconfig): New function.
43042 (free_mem): Move common code to free_database_entries.
43044 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43046 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43048 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43050 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43051 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43052 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43054 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43055 (INTERNAL_SYSCALL_TYPES): Likewise.
43056 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43057 (LOAD_REGS_TYPES_[1-6]): Likewise.
43058 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43059 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43061 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43063 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43064 copysignl for GLIBC_2_0.
43065 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43066 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43067 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43068 logbl for GLIBC_2_0.
43069 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43070 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43072 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43074 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43075 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43077 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43080 * time/mktime.c: Update copyright years.
43082 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43084 mktime: merge comment-quoting-style change from gnulib
43085 * time/mktime.c: Quote 'like this' in comments.
43086 The GNU coding standards suggest that we no longer quote `like this',
43087 as "`" and "'" are typically rendered asymmetrically nowadays.
43088 The typical gnulib style is to quote 'like this' when quoting
43089 code, and "like this" when quoting English.
43091 * time/mktime.c (compile-command): Add "-I.".
43093 mktime: merge mktime-internal.h change from gnulib
43094 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43096 mktime: merge time_r change from gnulib
43097 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43099 mktime: merge DEBUG change from gnulib
43100 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43101 case system <time.h> has a #define.
43103 mktime: merge <sys/types.h> change from gnulib
43104 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43105 since <time.t> is now guaranteed to define time_t.
43107 mktime: merge HAVE_CONFIG_H change from gnulib
43108 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43110 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43112 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43115 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43117 (struct rusage): Use anonymous union to pad each field to
43120 2012-05-21 David S. Miller <davem@davemloft.net>
43122 * Makefules (o-iterator): Remove .s cases.
43123 (compile-command.s): Delete.
43124 (COMPILE.s): Delete.
43125 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43127 2012-05-21 Joseph Myers <joseph@codesourcery.com>
43129 * configure.in (libc_cv_predef_stack_protector): Only consider
43130 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43131 * configure: Regenerated.
43133 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43135 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43136 New macro. Use R*LP on int and pointer.
43137 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
43138 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43139 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
43140 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43142 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43143 [__WORDSIZE_TIME64_COMPAT32] instead of
43144 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43145 (struct utmp): Likewise.
43146 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43147 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43149 (__WORDSIZE_TIME64_COMPAT32): This.
43150 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43151 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43152 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43153 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43154 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43155 (__WORDSIZE_TIME64_COMPAT32): New macro.
43157 2012-05-21 Andreas Jaeger <aj@suse.de>
43159 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43160 only if [SHARED]. Add prototype for __wcschr_ia32.
43162 2012-05-21 Roland McGrath <roland@hack.frob.com>
43164 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43165 of %rbp unmolested in the jmp_buf while mangling the low bits.
43166 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43167 unmolested high bits of %rbp while demangling the low bits.
43168 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43170 2012-05-21 Andreas Jaeger <aj@suse.de>
43172 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43173 * sunrpc/svc_simple.c: Use it for registerrpc.
43174 * sunrpc/xcrypt.c: Use it for passwd2des.
43176 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43178 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43180 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43181 Don't define if [__SYSCALL_WORDSIZE != 32].
43182 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43185 2012-05-21 Bruno Haible <bruno@clisp.org>
43186 Andreas Jaeger <aj@suse.de>
43188 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43189 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43190 inptr and inend for must_buffer_ch.
43191 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43192 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43193 * stdio-common/Makefile (tests): Remove bug15.
43194 (bug15-ENV): Remove macro.
43195 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43198 2012-05-19 Andreas Jaeger <aj@suse.de>
43199 Roland McGrath <roland@hack.frob.com>
43201 * manual/contrib.texi: Completely rewritten. It contains now an
43202 alphabetical list of contributors and their contributions.
43204 2012-05-21 Richard Henderson <rth@twiddle.net>
43206 * misc/getauxval.c (__getauxval): Use unsigned long int.
43207 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43208 (getauxval): Use unsigned long int.
43210 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43212 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43214 2012-05-21 Roland McGrath <roland@hack.frob.com>
43216 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43217 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43218 __alignof__ (long double).
43220 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43224 2012-05-20 Richard Henderson <rth@twiddle.net>
43226 * misc/getauxval.c: New file.
43227 * misc/sys/auxv.h: New file.
43228 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43229 (routines): Add getauxval.
43230 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43231 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43232 * elf/dl-sysdep.c (_dl_auxv): Remove.
43233 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43234 * elf/dl-support.c (_dl_auxv): New variable.
43235 (_dl_aux_init): Initialize it.
43236 * manual/startup.texi (Auxiliary Vector): New node.
43237 * sysdeps/generic/bits/hwcap.h: New file.
43238 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43239 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43240 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43241 * sysdeps/sparc/sysdep.h: ... here. Include it.
43242 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43243 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
43244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43249 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43251 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43255 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43259 2012-05-19 David S. Miller <davem@davemloft.net>
43261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43263 2012-05-19 Joseph Myers <joseph@codesourcery.com>
43266 * math/s_ccosh.c: Include <float.h>
43267 (__ccosh): Avoid internal overflow calculating sinh and cosh
43268 values before multiplying by sin and cos values.
43269 * math/s_ccoshf.c: Likewise.
43270 * math/s_ccoshl.c: Likewise.
43271 * math/s_csin.c: Likewise.
43272 * math/s_csinf.c: Likewise.
43273 * math/s_csinl.c: Likewise.
43274 * math/s_csinh.c: Likewise.
43275 * math/s_csinhf.c: Likewise.
43276 * math/s_csinhl.c: Likewise.
43277 * math/libm-test.inc (ccos_test): Add more tests.
43278 (ccosh_test): Likewise.
43279 (csin_test): Likewise.
43280 (csinh_test): Likewise.
43281 * sysdeps/i386/fpu/libm-test-ulps: Update.
43282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43284 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43286 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43287 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43289 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43291 2012-05-19 Joseph Myers <joseph@codesourcery.com>
43293 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43294 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43295 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43296 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43297 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43298 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43299 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43300 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43301 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43302 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43303 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43304 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43305 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43306 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43307 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43308 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43309 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43310 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43311 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43312 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43313 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43314 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43315 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43316 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43317 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43318 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43319 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43320 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43321 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43322 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43323 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43325 2012-05-18 Andreas Jaeger <aj@suse.de>
43327 * csu/.gitignore: Delete.
43329 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43331 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43332 (timex): Use __syscall_slong_t.
43334 2012-05-18 Andreas Jaeger <aj@suse.de>
43335 Carlos O'Donell <carlos_odonell@mentor.com>
43337 * manual/install.texi (Configuring and compiling): Update
43338 description about files modified in the source directory.
43339 * INSTALL: Regenerated.
43341 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43343 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43344 value. Use "or" to set return value to -1.
43345 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43346 negate return value.
43348 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43350 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43351 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43352 failure if the compiler has Graphite support disabled.
43353 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43355 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43356 (CFLAGS-memmove.c): Likewise.
43357 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43360 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43362 * sysdeps/x86_64/x32/_itoa.h: New file.
43364 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43365 getdents system call only if kernel and user dirents have the
43366 same d_ino and d_off.
43368 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43369 LLONG_MAX != LONG_MAX.
43370 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43371 (_fitoa_word): Likewise.
43373 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43375 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43376 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43377 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43379 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43380 include <bits/wordsize.h>. Check __x86_64__ instead of
43382 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43383 if __x86_64__ is defined. Use anonymous union on fpstate.
43385 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43388 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43390 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43391 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43392 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43393 Refer to _rtld_local_ro instead of _rtld_global_ro.
43394 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43396 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43398 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43400 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43401 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43402 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43404 * sysdeps/powerpc/powerpc32/dl-machine.c
43405 (__elf_machine_runtime_setup) [PROF]: Don't reference
43408 2012-05-18 Andreas Jaeger <aj@suse.de>
43410 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43411 function only available for GCCs before 3.4 since GCC 3.4
43412 introduced a builtin.
43414 (llrintf): Likewise.
43415 (llrint): Likewise.
43422 (nearbyint): Likewise.
43423 (nearbyintf): Likewise.
43427 (floorf): Likewise.
43429 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43431 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43432 on both fields and cast pointer to __syscall_ulong_t.
43434 * bits/types.h (__fsword_t): New type.
43435 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43436 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43437 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43438 (__FSWORD_T_TYPE): Likewise.
43439 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43440 (__FSWORD_T_TYPE): Likewise.
43441 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43442 (__FSWORD_T_TYPE): Likewise.
43443 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43444 (__FSWORD_T_TYPE): Likewise.
43445 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43446 __SWORD_TYPE with __fsword_t.
43447 (statfs64): Likewise.
43449 2012-05-17 David S. Miller <davem@davemloft.net>
43451 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43453 2012-05-17 Andreas Jaeger <aj@suse.de>
43455 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43458 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43460 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43462 2012-05-17 Andreas Jaeger <aj@suse.de>
43464 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43467 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43469 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43471 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43473 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43474 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43476 2012-05-17 Andreas Jaeger <aj@suse.de>
43477 Carlos O'Donell <carlos_odonell@mentor.com>
43480 * sysdeps/x86_64/multiarch/init-arch.h
43481 (bit_YMM_Usable): Rename to...
43482 (bit_AVX_Usable): ... this.
43483 (bit_FMA4_Usable): New macro.
43484 (bit_XMM_state): New macro.
43485 (bit_YMM_state): New macro.
43486 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43487 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43488 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43489 (CPUID_OSXSAVE): New macro.
43490 (CPUID_AVX): New macro.
43491 (CPUID_FMA4): New macro.
43492 (index_YMM_Usable): Rename to...
43493 (index_AVX_Usable): ... this.
43494 (HAS_AVX): Use HAS_ARCH_FEATURE.
43495 (HAS_FMA4): Likewise.
43496 (HAS_YMM_USABLE): Remove.
43497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43498 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43500 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43501 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43502 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43503 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43504 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43506 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43508 * math/libm-test.c: Support platforms without multiple rounding modes.
43509 * math/bug-nextafter.c: Support platforms without FP exceptions.
43510 * math/bug-nexttoward.c: Likewise.
43511 * math/test-fenv.c: Likewise.
43512 * math/test-misc.c: Likewise.
43513 * stdlib/bug-getcontext.c: Likewise.
43515 2012-05-17 Andreas Jaeger <aj@suse.de>
43517 * manual/examples/search.c (critter_cmp): Change signature to
43519 * manual/string.texi (Collation Functions): Likewise.
43521 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43523 * bits/types.h: Fold copyright years.
43524 * bits/typesizes.h: Likewise.
43525 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43526 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43527 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43529 * time/time.h: Likewise.
43531 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43534 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43535 in instead of returning them. Return void.
43536 (__libc_mallinfo): Accumulate over all arenas.
43537 (__malloc_stats): Adjust for change in int_mallinfo interface.
43539 2012-05-16 Roland McGrath <roland@hack.frob.com>
43542 * configure.in (NM): Add AC_CHECK_TOOL for it.
43543 (libc_extra_cflags): New substituted variable.
43544 Check for -fstack-protector being used implicitly.
43545 * configure: Regenerated.
43546 * config.make.in (config-extra-cflags): New variable,
43547 gets @libc_extra_cflags@.
43548 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43551 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43552 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43553 * configure: Regenerated.
43554 * config.make.in (CPPUNDEFS): New substituted variable.
43555 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43556 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43557 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43559 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43561 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43562 (mq_attr): Use __syscall_slong_t.
43564 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43566 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43567 Check __x86_64__ instead of __WORDSIZE.
43568 (_STAT_VER_LINUX): Likewise.
43569 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43570 __syscall_ulong_t and __syscall_slong_t.
43571 (stat64): Likewise.
43573 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43575 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43577 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43579 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43581 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43583 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43586 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43587 include <bits/wordsize.h>. Check __x86_64__ instead of
43589 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43591 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43593 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43594 include <bits/wordsize.h>. Check __x86_64__ instead of
43596 (user_regs_struct): Use "__extension__ unsigned long long"
43597 instead of "unsigned long" if __x86_64__ is defined.
43598 (user): Likewise. Pad after pointer field if __ILP32__ is
43601 2012-05-16 Joseph Myers <joseph@codesourcery.com>
43603 * configure.in (makeinfo): Require version 4.5 or later. Allow
43605 * configure: Regenerated.
43606 * manual/install.texi (texinfo): Increase version requirement to
43608 * INSTALL: Regenerated.
43610 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43612 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43614 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43616 * sysdeps/x86_64/x32/ffs.c: New file.
43618 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43620 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43621 defined. Use __syscall_ulong_t.
43622 (shminfo): Use __syscall_ulong_t.
43623 (shm_info): Likewise.
43625 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43628 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43630 (msgqnum_t): Use __syscall_ulong_t.
43631 (msglen_t): Likewise.
43632 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43635 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43636 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43638 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43640 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43641 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43643 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43646 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43647 include <bits/wordsize.h>. Check __x86_64__ instead of
43650 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43651 "unsigned long long int" if __x86_64__ is defined.
43652 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43654 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43655 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43656 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43658 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43660 (GET_PC): Cast to uintptr_t first.
43661 (GET_FRAME): Likewise.
43662 (GET_STACK): Likewise.
43664 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43665 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43666 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43667 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43668 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43669 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43670 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43671 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43672 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43673 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43674 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43675 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43676 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43677 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43678 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43679 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43680 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43681 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43682 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43683 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43684 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43685 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43686 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43687 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43688 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43689 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43690 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43691 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43692 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43694 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43696 * Makerules (+depfiles): Also collect depfiles from .oS in
43698 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43699 .oS, $(libnldbl-routines)).
43701 * Makerules (native-compile-mkdep-flags): Define.
43702 * sunrpc/Makefile (extra-objs): Add $(addprefix
43703 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43704 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43705 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43706 calling $(make-target-directory).
43708 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43710 * bits/types.h (__snseconds_t): Removed.
43711 * time/time.h (struct timespec): Replace __snseconds_t with
43713 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43714 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43716 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43717 (__SNSECONDS_T_TYPE): Likewise.
43718 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43719 (__SNSECONDS_T_TYPE): Likewise.
43720 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43721 (__SNSECONDS_T_TYPE): Likewise.
43723 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43725 * sysdeps/mach/hurd/bits/typesizes.h
43726 (__SYSCALL_SLONG_TYPE): New macro.
43727 (__SYSCALL_ULONG_TYPE): Likewise.
43729 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43731 * bits/types.h (__syscall_slong_t): New type.
43732 (__syscall_ulong_t): Likewise.
43734 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43735 (__SYSCALL_ULONG_TYPE): Likewise.
43736 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43737 (__SYSCALL_SLONG_TYPE): Likewise.
43738 (__SYSCALL_ULONG_TYPE): Likewise.
43739 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43740 (__SYSCALL_SLONG_TYPE): Likewise.
43741 (__SYSCALL_ULONG_TYPE): Likewise.
43742 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43743 (__SYSCALL_SLONG_TYPE): Likewise.
43744 (__SYSCALL_ULONG_TYPE): Likewise.
43746 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43748 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43749 Add sigaltstack-offsets.sym.
43750 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43751 <sigaltstack-offsets.h>.
43752 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43753 longjmp_msg pointer.
43754 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43755 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43757 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43759 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43761 * elf/stackguard-macros.h: Remove file.
43762 * sysdeps/generic/stackguard-macros.h: New file.
43763 * sysdeps/i386/stackguard-macros.h: Likewise.
43764 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43765 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43766 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43767 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43768 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43769 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43770 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43771 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43772 <elf/stackguard-macros.h>.
43775 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43776 __aligned__ in attribute.
43777 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43778 (gregset_t): Likewise.
43780 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43782 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43783 * sysdeps/x86_64/64/Implies-after: Here. New file.
43784 * sysdeps/x86_64/x32/Implies-after: New file.
43786 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43788 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43789 and access return value for _dl_profile_fixup. Use R10_LP to
43792 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43794 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43798 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43799 * sysdeps/x86_64/x32/sysdep.h: New file.
43801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43803 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43804 * sysdeps/x86_64/setjmp.S: Likewise.
43806 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43808 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43809 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43810 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43811 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43812 remove unused global constant.
43814 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43816 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43817 include of <not-cancel.h>.
43819 2012-05-15 Roland McGrath <roland@hack.frob.com>
43821 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43823 2012-05-15 Jeff Law <law@redhat.com>
43824 Andreas Jaeger <aj@suse.de>
43827 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43829 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43830 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43831 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43832 code changing __hst_map_handle.map.
43834 2012-05-15 Roland McGrath <roland@hack.frob.com>
43836 * configure.in (sysnames): Look for Implies-before and Implies-after
43838 * configure: Regenerated.
43840 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43842 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43843 8-byte data alignment with LP_SIZE alignment.
43845 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43847 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43850 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43852 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43856 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43857 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43858 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43860 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43862 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43864 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43865 (stackinfo_sub_sp): Likewise.
43867 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43869 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43872 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43874 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43877 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43879 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43884 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43886 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43888 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43889 into R11_LP and load __x86_64_shared_cache_size_half into
43892 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43894 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43897 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43901 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43903 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43905 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43906 powerpc32/power7/fpu/s_logb.c via #include.
43907 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43908 powerpc32/power7/fpu/s_logbf.c via #include.
43909 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43910 powerpc32/power7/fpu/s_logbl.c via #include.
43912 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43914 * README.libm: Remove file.
43916 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43918 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43919 count for x32. Use R*_LP and omit operand-size suffix.
43921 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43923 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43924 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43925 * sysdeps/x86_64/x32/shlib-versions: New file.
43927 2012-05-14 Roland McGrath <roland@hack.frob.com>
43929 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43930 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43931 Use _dl_fatal_printf instead.
43933 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43935 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43936 set if not set by the user. Do not allow for being unset.
43937 * sysdeps/unix/sysv/linux/configure: Regenerated.
43939 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43941 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43942 the `q' suffix from lea and replace .quad with ASM_ADDR.
43944 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43947 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43949 (PTR_DEMANGLE): Likewise.
43951 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43953 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43955 (ASM_ADDR): Likewise.
43956 (RAX_LP): Likewise.
43957 (RBP_LP): Likewise.
43958 (RBX_LP): Likewise.
43959 (RCX_LP): Likewise.
43960 (RDI_LP): Likewise.
43961 (RSI_LP): Likewise.
43962 (RSP_LP): Likewise.
43965 (R10_LP): Likewise.
43966 (R10_LP): Likewise.
43967 (R11_LP): Likewise.
43968 (R12_LP): Likewise.
43969 (R13_LP): Likewise.
43970 (R14_LP): Likewise.
43971 (R15_LP): Likewise.
43973 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43975 * sysdeps/x86_64/x32/dl-machine.h: New file.
43977 2012-05-14 Andreas Jaeger <aj@suse.de>
43979 * manual/Makefile (subdir): Remove export of subdir.
43980 (all): Remove target.
43981 (.PHONY): Remove all from list.
43982 (mkinstalldirs): Remove.
43983 (.PHONY): Remove installdirs from list.
43984 ($(inst_infodir)/libc.info): Use make-target-directory.
43985 (installdirs): Remove.
43986 (subdir_%): Remove.
43987 (glibc-targets): Remove.
43990 ($(objpfx)stubs ../po/manual.pot): Remove.
43991 ($(objpfx)stamp%): Remove.
43992 (make-target-directory): Remove.
43993 (subdir_install): Remove.
43994 (routines): Remove.
44001 * manual/.gitignore: Remove, it's not needed anymore.
44002 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44004 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44006 (texis): Renamed to $(objpfx)texis.
44007 (texis-path): New, contains path to generated files.
44008 (chapters.%): Use texis-path for complete path, add extra argument
44010 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44011 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44012 (summary,texi, stamp-summary): Use complete path of
44013 files. Generate files in build dir.
44014 (dir-add.texi): Build in build dir.
44015 (libm-err.texi,stamp-libm-err): Likewise.
44016 (version.texi, stamp-version): Likewise.
44017 (.%c.texi): Likewise.
44018 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44019 (mostlyclean): Remove target.
44020 (realclean): Remove target.
44021 (generated): Add new variable with contents from mostlyclean and
44022 realclean, remove entries duplicated in common-mostlyclean, add
44023 stamp-libm-err and stamp-version.
44024 (generated-dirs): Add libc directory.
44025 ($(inst_infodir)/libc.info): Install files from build dir.
44027 * manual/install.texi (Configuring and compiling): Adjust since
44028 the info files are not part of the tar ball anymore.
44030 2012-05-14 Andreas Jaeger <aj@suse.de>
44032 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44035 2012-05-14 Joseph Myers <joseph@codesourcery.com>
44038 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44039 to 2.2.0 where earlier.
44040 * sysdeps/unix/sysv/linux/configure: Regenerated.
44041 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44042 Remove conditional code.
44043 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44044 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44045 Remove conditional code.
44046 [!__NR_lchown]: Likewise.
44047 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44048 [__NR_lchown]: Likewise.
44049 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44050 comment referencing __ASSUME_LCHOWN_SYSCALL.
44051 * sysdeps/unix/sysv/linux/i386/sigaction.c
44052 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44053 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44054 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44055 Remove conditional code.
44056 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44057 (__protocol_available): Remove #if 0 code.
44058 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44060 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44061 * sysdeps/unix/sysv/linux/kernel-features.h
44062 (__ASSUME_GETCWD_SYSCALL): Don't define.
44063 (__ASSUME_REALTIME_SIGNALS): Likewise.
44064 (__ASSUME_PREAD_SYSCALL): Likewise.
44065 (__ASSUME_PWRITE_SYSCALL): Likewise.
44066 (__ASSUME_POLL_SYSCALL): Likewise.
44067 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44068 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44070 (__ASSUME_SIOCGIFNAME): Don't define.
44071 (__ASSUME_MSG_NOSIGNAL): Likewise.
44072 (__ASSUME_SENDFILE): Define unconditionally.
44073 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44074 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44076 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44077 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44078 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44079 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44080 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44081 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44082 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44084 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44085 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44087 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44088 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44090 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44091 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44093 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44094 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44096 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44097 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44099 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44100 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44102 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44103 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44105 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44106 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44107 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44108 Remove conditional code.
44109 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44110 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44111 Remove conditional code.
44112 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44113 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44114 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44115 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44116 Remove conditional code.
44117 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44118 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44119 Remove conditional code.
44120 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44121 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44122 Remove conditional code.
44123 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44124 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44125 Remove conditional code.
44126 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44127 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44128 Remove conditional code.
44129 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44130 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44131 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44132 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44133 * sysdeps/unix/sysv/linux/sigaction.c
44134 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44135 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44136 * sysdeps/unix/sysv/linux/sigpending.c
44137 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44138 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44139 * sysdeps/unix/sysv/linux/sigprocmask.c
44140 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44141 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44142 * sysdeps/unix/sysv/linux/sigsuspend.c
44143 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44144 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44145 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44146 (__libc_missing_rt_sigs): Remove.
44147 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44148 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44149 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44150 Remove conditional code.
44151 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44152 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44154 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44155 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44156 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44157 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44159 2012-05-14 Andreas Jaeger <aj@suse.de>
44161 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44162 it's not used in glibc.
44163 (__coshm1): Likewise.
44164 (__acosh1p): Likewise.
44167 * manual/string.texi (Copying and Concatenation): Add missing
44168 variable in concat example.
44169 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44171 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44174 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44175 __builtin_clzl with __builtin_clzll.
44177 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44180 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44183 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44185 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44186 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44187 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44188 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44190 2012-05-14 Mike Frysinger <vapier@gentoo.org>
44192 * NEWS: Update ia64 info.
44194 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44196 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44199 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44201 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44202 * sysdeps/unix/syscalls.list (dup3): Likewise.
44203 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44204 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44206 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44208 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44209 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44211 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44213 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44215 (TLS_IE): Use mov/add instead of movq/addq to load thread
44217 (TLS_GD_PREFIX): New.
44220 2012-05-11 David S. Miller <davem@davemloft.net>
44222 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44223 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44224 (_FPU_SETCW): Likewise.
44226 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44228 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44229 is 32-byte aligned.
44231 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44234 * iconvdata/gb18030.c: Update tables.
44235 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44236 characters specially.
44237 (BODY for TO_LOOP): Add encoding of missing ranges.
44239 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44242 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44243 * sysdeps/mach/hurd/dup3.c: Likewise.
44244 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44245 * sysdeps/powerpc/memmove.c:: Likewise.
44247 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44249 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44250 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44252 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44254 * elf/elf.h (R_X86_64_RELATIVE64): New.
44255 (R_X86_64_NUM): Updated.
44256 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44257 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44258 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44259 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44260 tst-quad1pie tst-quad2pie
44261 (modules-names): Add tst-quadmod1 tst-quadmod2.
44262 ($(objpfx)tst-quad1): New dependency.
44263 ($(objpfx)tst-quad2): Likewise.
44264 ($(objpfx)tst-quad1pie): Likewise.
44265 ($(objpfx)tst-quad2pie): Likewise.
44266 * sysdeps/x86_64/tst-quad1.c: New file.
44267 * sysdeps/x86_64/tst-quad1pie.c: New file.
44268 * sysdeps/x86_64/tst-quad2.c: Likewise.
44269 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44270 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44271 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44272 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44273 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44275 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44277 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44278 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44279 * streams/stropts.h (t_scalar_t): Define type.
44281 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44282 (_PATH_PRESERVE): Set to "/var/lib".
44283 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44285 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44288 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44289 if __dir_mkfile succeeded.
44291 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44292 checking for _hurd_dtablesize. Unlock it right after having
44293 finished _hurd_dtable allocation.
44295 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44297 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44298 * sysdeps/mach/hurd/configure: Regenerated.
44299 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44300 special-casing to...
44301 * sysdeps/gnu/configure.in: ... this new file.
44302 * sysdeps/unix/sysv/linux/configure: Regenerated.
44303 * sysdeps/gnu/configure: New generated file.
44305 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44306 for Linux: use nsec instead of usec, as well as:
44307 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44308 members of type struct timespec.
44309 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44311 (struct stat64): Likewise.
44312 (_STATBUF_ST_NSEC): New macro.
44313 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44315 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44316 __strtoul_internal rather than strtoul.
44318 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44320 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44323 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44325 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44326 which preserves existing values.
44327 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44329 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44331 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44332 TIMEOUT values. Return EINVAL for NFDS values either negative or
44333 greater than FD_SETSIZE.
44335 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44337 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44338 allocated, call __vm_protect to finish enabling the existing space, and
44339 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44340 allocate the remainder.
44342 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44344 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44345 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44347 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44349 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44350 sysdeps/mach/hurd/readlink.c.
44352 * posix/tst-sysconf.c (posix_options): Only use
44353 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44354 _POSIX_SYNCHRONIZED_IO when they are defined
44355 * sysdeps/mach/hurd/bits/posix_opt.h:
44356 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44357 (_XOPEN_REALTIME): Undefine macro.
44358 (_XOPEN_REALTIME_THREADS): Undefine macro.
44359 (_XOPEN_SHM): Undefine macro.
44360 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44362 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44364 (_POSIX_ASYNC_IO): Undefine macro.
44365 (_POSIX_PRIORITIZED_IO): Undefine macro.
44366 (_POSIX_SPIN_LOCKS): Define macro to -1.
44368 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44369 SA_NODEFER, SA_RESETHAND.
44370 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44371 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44374 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44376 * elf/Makefile (pldd-modules): Define unconditionally.
44378 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44380 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44382 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44384 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44385 Return ENOENT when name is empty.
44386 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44388 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44390 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44392 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44394 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44396 Fix mlock in all cases except non-readable pages.
44397 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44398 instead of VM_PROT_ALL as parameter to __vm_wire function.
44400 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44401 (__mkdir): When path is `/', just fail with EEXIST.
44402 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44404 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44406 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44407 <sys/uio.h> (for writev).
44408 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44409 and <sys/param.h> (for MIN).
44411 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44413 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44414 REQUESTED_TIME. Properly set the remaining time and return EINTR
44417 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44419 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44420 Depend on against $(link-rpcuserlibs).
44422 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44424 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44425 (__libc_stack_end): Do not use attribute_relro.
44426 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44427 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44428 to libthread-provided value.
44429 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44432 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44435 * bits/libc-lock.h (__libc_once_get): New macro.
44436 * sysdeps/mach/bits/libc-lock.h: Likewise.
44437 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44438 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44439 instead of using implementation details.
44441 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44442 * libio/freopen.c: Likewise.
44443 * libio/freopen64.c: Likewise.
44444 * misc/syslog.c: Likewise.
44445 * nscd/connections.c: Likewise.
44446 * nscd/netgroupcache.c: Likewise.
44447 * sysdeps/posix/getcwd.c: Likewise.
44449 2012-05-10 Roland McGrath <roland@hack.frob.com>
44451 * math/w_ilogbf.c: Add #include <limits.h>.
44453 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44455 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44456 path instead of returning without unlocking.
44458 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44459 immediate-write ioctls.
44460 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44462 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44464 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44465 __builtin_frame_address instead of making assumptions about the
44466 location of the return address relative to DATA. Force early load of
44467 the return address.
44468 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44469 __builtin_frame_address.
44472 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44473 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44474 implement dup3 and do some further code clean-ups.
44475 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44476 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44478 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44480 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44482 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44483 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44484 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44485 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44486 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44489 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44490 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44491 when handler == SIG_ERR, not when handler != SIG_ERR.
44493 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44495 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44496 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44499 accept4 for GNU Hurd.
44500 * include/sys/socket.h (__libc_accept4): New prototype.
44501 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44502 to implement __libc_accept4.
44503 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44505 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44507 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44508 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44509 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44510 signal-defines.sym.
44512 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44514 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44516 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44518 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44519 assertion on O_CLOEXEC flag.
44520 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44521 * hurd/intern-fd.c: Likewise.
44522 * hurd/port2fd.c: Likewise.
44524 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44527 * bits/in.h (IPV6_PKTINFO): Define new macro.
44528 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44530 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44535 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44536 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44537 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44538 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44539 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44540 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44541 * math/libm-test.inc (logb_test) : Additional logb tests.
44543 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44544 Andreas Jaeger <aj@suse.de>
44546 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44547 * configure: Regenerated.
44548 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44549 * config.make.in (link-obsolete-rpc): New substituted variable.
44550 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44551 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44552 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44553 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44554 so that libc.a contains the symbols.
44555 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44556 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44557 * sunrpc/auth_none.c: Likewise.
44558 * sunrpc/auth_unix.c: Likewise.
44559 * sunrpc/authdes_prot.c: Likewise.
44560 * sunrpc/authuxprot.c: Likewise.
44561 * sunrpc/clnt_gen.c: Likewise.
44562 * sunrpc/clnt_perr.c: Likewise.
44563 * sunrpc/clnt_raw.c: Likewise.
44564 * sunrpc/clnt_simp.c: Likewise.
44565 * sunrpc/clnt_tcp.c: Likewise.
44566 * sunrpc/clnt_udp.c: Likewise.
44567 * sunrpc/clnt_unix.c: Likewise.
44568 * sunrpc/des_crypt.c: Likewise.
44569 * sunrpc/des_soft.c: Likewise.
44570 * sunrpc/get_myaddr.c: Likewise.
44571 * sunrpc/key_call.c: Likewise.
44572 * sunrpc/key_prot.c: Likewise.
44573 * sunrpc/netname.c: Likewise.
44574 * sunrpc/pm_getmaps.c: Likewise.
44575 * sunrpc/pm_getport.c: Likewise.
44576 * sunrpc/pmap_clnt.c: Likewise.
44577 * sunrpc/pmap_prot.c: Likewise.
44578 * sunrpc/pmap_prot2.c: Likewise.
44579 * sunrpc/pmap_rmt.c: Likewise.
44580 * sunrpc/publickey.c: Likewise.
44581 * sunrpc/rpc_cmsg.c: Likewise.
44582 * sunrpc/rpc_common.c: Likewise.
44583 * sunrpc/rpc_dtable.c: Likewise.
44584 * sunrpc/rpc_prot.c: Likewise.
44585 * sunrpc/rpc_thread.c: Likewise.
44586 * sunrpc/rtime.c: Likewise.
44587 * sunrpc/svc.c: Likewise.
44588 * sunrpc/svc_auth.c: Likewise.
44589 * sunrpc/svc_raw.c: Likewise.
44590 * sunrpc/svc_run.c: Likewise.
44591 * sunrpc/svc_tcp.c: Likewise.
44592 * sunrpc/svc_udp.c: Likewise.
44593 * sunrpc/svc_unix.c: Likewise.
44594 * sunrpc/svcauth_des.c: Likewise.
44595 * sunrpc/xcrypt.c: Likewise.
44596 * sunrpc/xdr.c: Likewise.
44597 * sunrpc/xdr_array.c: Likewise.
44598 * sunrpc/xdr_float.c: Likewise.
44599 * sunrpc/xdr_intXX_t.c: Likewise.
44600 * sunrpc/xdr_mem.c: Likewise.
44601 * sunrpc/xdr_rec.c: Likewise.
44602 * sunrpc/xdr_ref.c: Likewise.
44603 * sunrpc/xdr_sizeof.c: Likewise.
44604 * sunrpc/xdr_stdio.c: Likewise.
44606 2012-05-10 Roland McGrath <roland@hack.frob.com>
44608 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44609 change. Update copyright years.
44611 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44613 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44615 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44616 Joseph Myers <joseph@codesourcery.com>
44617 Paul Pluzhnikov <ppluzhnikov@google.com>
44620 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44622 [cross-compiling] (extra-libs): Likewise.
44623 [cross-compiling] (extra-libs-others): Likewise.
44624 [cross-compiling] (librpcsvc-routines): Likewise.
44625 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44626 [cross-compiling] (omit-deps): Likewise.
44627 (sunrpc-CPPFLAGS): New variable.
44628 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44629 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44630 (cross-rpcgen-objs): New variable.
44631 (extra-objs): Append $(cross-rpcgen-objs).
44632 ($(cross-rpcgen-objs)): New rule.
44633 ($(objpfx)cross-rpcgen): Likewise.
44634 (rpcgen-cmd): Define to use $(built-program-file). Expand
44636 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44637 ($(objpfx)x%.stmp): Likewise.
44638 * sunrpc/proto.h [IS_IN_build] (_): Define.
44639 [IS_IN_build] (_libc_intl_domainname): Likewise.
44641 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44643 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44644 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44645 and R_X86_64_TPOFF64.
44647 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44649 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44650 sysdeps/unix/sysv/syscalls.list.
44653 * sysdeps/unix/sysv/syscalls.list: Remove file.
44655 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44658 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44659 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44660 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44661 (__LC_IDENTIFICATION): Make these macros useful in #if
44662 expressions, as required by C99.
44664 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44666 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44667 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44670 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44672 * stdlib/longlong.h: Updated from GCC.
44674 2012-05-09 Andreas Jaeger <aj@suse.de>
44676 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44677 default is first entry.
44678 (run_mode): Set type.
44679 (main): Remove informal message about syslog.
44680 (options): Fix typo.
44683 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44686 (llrintf): Likewise.
44687 (llrint): Likewise.
44690 (nearbyint): Likewise.
44691 (nearbyintf): Likewise.
44693 2012-05-09 Andreas Jaeger <aj@suse.de>
44694 Pedro Alves <palves@redhat.com>
44696 * nscd/nscd.c (run_mode): Use enum.
44697 (main): Cleanup coding style issue.
44699 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
44700 Andreas Jaeger <aj@suse.de>
44702 * nscd/nscd.c (go_background): Replaced with...
44703 (run_mode): ... this.
44704 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44705 (options): Add -F --foreground.
44706 (main): Implement it.
44707 (parse_opt): Parse it.
44709 2012-05-09 Andreas Jaeger <aj@suse.de>
44712 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44713 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44714 -Wconversion warning.
44715 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44718 2012-05-09 Joseph Myers <joseph@codesourcery.com>
44720 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44722 (LC_ALL): Use macro-int-constant.
44723 (LC_COLLATE): Likewise.
44724 (LC_CTYPE): Likewise.
44725 (LC_MESSAGES): Likewise.
44726 (LC_MONETARY): Likewise.
44727 (LC_NUMERIC): Likewise.
44728 (LC_TIME): Likewise.
44729 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44730 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44731 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44732 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44734 [C99-based standards] (float_t): Expect type.
44735 [C99-based standards] (double_t): Expect type.
44736 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44738 [C99-based standards] (HUGE_VALL): Likewise.
44739 [C99-based standards] (INFINITY): Likewise.
44740 [C99-based standards] (NAN): Likewise.
44741 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44742 [C99-based standards] (FP_NAN): Likewise.
44743 [C99-based standards] (FP_NORMAL): Likewise.
44744 [C99-based standards] (FP_SUBNORMAL): Likewise.
44745 [C99-based standards] (FP_ZERO): Likewise.
44746 [C99-based standards] (FP_FAST_FMA): Use
44747 optional-macro-int-constant. Specify type. Require == 1.
44748 [C99-based standards] (FP_FAST_FMAF): Likewise.
44749 [C99-based standards] (FP_FAST_FMAL): Likewise.
44750 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44751 [C99-based standards] (FP_ILOGBNAN): Likewise.
44752 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44754 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44755 [C99-based standards] (math_errhandling): Specify type.
44756 [ISO99 || ISO11] (signgam): Do not allow.
44757 [non-C99-based standards] (copysignf): Do not allow.
44758 [non-C99-based standards] (exp2f): Likewise.
44759 [non-C99-based standards] (log2f): Likewise.
44760 [non-C99-based standards] (modff): Allow.
44761 [non-C99-based standards] (erff): Do not allow.
44762 [non-C99-based standards] (erfcf): Likewise.
44763 [non-C99-based standards] (gammaf): Likewise.
44764 [non-C99-based standards] (hypotf): Likewise.
44765 [non-C99-based standards] (j0f): Likewise.
44766 [non-C99-based standards] (j1f): Likewise.
44767 [non-C99-based standards] (jnf): Likewise.
44768 [non-C99-based standards] (lgammaf): Likewise.
44769 [non-C99-based standards] (tgammaf): Likewise.
44770 [non-C99-based standards] (y0f): Likewise.
44771 [non-C99-based standards] (y1f): Likewise.
44772 [non-C99-based standards] (ynf): Likewise.
44773 [non-C99-based standards] (isnanf): Likewise.
44774 [non-C99-based standards] (acoshf): Likewise.
44775 [non-C99-based standards] (asinhf): Likewise.
44776 [non-C99-based standards] (atanhf): Likewise.
44777 [non-C99-based standards] (cbrtf): Likewise.
44778 [non-C99-based standards] (expm1f): Likewise.
44779 [non-C99-based standards] (ilogbf): Likewise.
44780 [non-C99-based standards] (log1pf): Likewise.
44781 [non-C99-based standards] (logbf): Likewise.
44782 [non-C99-based standards] (nextafterf): Likewise.
44783 [non-C99-based standards] (remainderf): Likewise.
44784 [non-C99-based standards] (rintf): Likewise.
44785 [non-C99-based standards] (scalbf): Likewise.
44786 [non-C99-based standards] (copysignl): Likewise.
44787 [non-C99-based standards] (exp2l): Likewise.
44788 [non-C99-based standards] (log2l): Likewise.
44789 [non-C99-based standards] (modfl): Allow.
44790 [non-C99-based standards] (erfl): Do not allow.
44791 [non-C99-based standards] (erfcl): Likewise.
44792 [non-C99-based standards] (gammal): Likewise.
44793 [non-C99-based standards] (hypotl): Likewise.
44794 [non-C99-based standards] (j0l): Likewise.
44795 [non-C99-based standards] (j1l): Likewise.
44796 [non-C99-based standards] (jnl): Likewise.
44797 [non-C99-based standards] (lgammal): Likewise.
44798 [non-C99-based standards] (tgammal): Likewise.
44799 [non-C99-based standards] (y0l): Likewise.
44800 [non-C99-based standards] (y1l): Likewise.
44801 [non-C99-based standards] (ynl): Likewise.
44802 [non-C99-based standards] (isnanl): Likewise.
44803 [non-C99-based standards] (acoshl): Likewise.
44804 [non-C99-based standards] (asinhl): Likewise.
44805 [non-C99-based standards] (atanhl): Likewise.
44806 [non-C99-based standards] (cbrtl): Likewise.
44807 [non-C99-based standards] (expm1l): Likewise.
44808 [non-C99-based standards] (ilogbl): Likewise.
44809 [non-C99-based standards] (log1pl): Likewise.
44810 [non-C99-based standards] (logbl): Likewise.
44811 [non-C99-based standards] (nextafterl): Likewise.
44812 [non-C99-based standards] (remainderl): Likewise.
44813 [non-C99-based standards] (rintl): Likewise.
44814 [non-C99-based standards] (scalbl): Likewise.
44815 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44816 [non-C99-based standards] (FP_*): Do not allow.
44817 [C99-based standards] (FP_*): Change to
44818 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44819 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44821 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44822 (SIG_ERR): Likewise.
44823 [X/Open-based standards] (SIG_HOLD): Likewise.
44824 (SIG_IGN): Likewise.
44825 (SIGABRT): Use macro-int-constant. Specify type. Require
44827 (SIGFPE): Likewise.
44828 (SIGILL): Likewise.
44829 (SIGINT): Likewise.
44830 (SIGSEGV): Likewise.
44831 (SIGTER): Likewise.
44832 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44833 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44834 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44835 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44836 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44837 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44838 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44839 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44840 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44841 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44842 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44843 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44844 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44845 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44846 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44847 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44848 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44849 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44850 [X/Open-based standards] (SIGTRAP): Likewise.
44851 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44852 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44853 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44854 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44855 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44858 2012-05-08 Ian Wienand <ianw@vmware.com>
44861 * time/tzset.c (__tzset_parse_tz): Update default rules for
44862 daylight time changes in the Energy Policy Act of 2005.
44864 2012-05-09 Andreas Jaeger <aj@suse.de>
44867 * elf/ldconfig.c (parse_conf): Change string to make clear that
44868 ldconfig only issued a warning if ld.so.conf does not exist.
44870 2012-05-08 David S. Miller <davem@davemloft.net>
44872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44873 movxtod instead of popping the value on the stack.
44875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44877 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44879 * config.h.in: Add HAVE_ARM_PCS_VFP.
44881 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
44884 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44885 checking but the checks are disabled for any reason.
44887 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44889 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44890 and ELF64_R_TYPE with ELFW(R_TYPE).
44892 2012-05-08 Joseph Myers <joseph@codesourcery.com>
44894 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44895 (ulimit): Likewise.
44897 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44898 (settimeofday): Likewise.
44900 2012-05-08 Mike Frysinger <vapier@gentoo.org>
44902 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44903 a struct th_u2 inside the union, and move tu_block/tu_code into
44904 a new th_u3 union of tu_block/tu_code inside of that. Move
44905 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44906 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44907 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44908 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44909 (th_stuff): Change to th_u1.tu_stuff.
44911 (th_msg): Change to th_u1.th_u2.tu_data.
44913 2012-05-07 David S. Miller <davem@davemloft.net>
44915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44918 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44919 (SETUP_PIC_REG): Use it.
44920 (SETUP_PIC_REG_LEAF): Use it.
44922 2012-05-07 Joseph Myers <joseph@codesourcery.com>
44926 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44928 (EXPL_FINITE): Likewise.
44929 (FLDLOG): Likewise.
44930 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44931 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44933 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44935 (EXPL_FINITE): Likewise.
44936 (FLDLOG): Likewise.
44937 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44938 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44940 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44941 test of -max_value argument for long double.
44942 * sysdeps/i386/fpu/libm-test-ulps: Update.
44943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44945 2012-05-06 David S. Miller <davem@davemloft.net>
44947 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44948 quad soft-float symbols whose references which are compiler
44950 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44952 2012-05-06 Joseph Myers <joseph@codesourcery.com>
44956 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44958 (EXPL_FINITE): Likewise.
44959 (FLDLOG): Likewise.
44962 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44963 Adjust comments for base varying.
44964 (__expl_finite): Change alias to EXPL_FINITE.
44965 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44967 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44968 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44969 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44970 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44971 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44973 (EXPL_FINITE): Likewise.
44974 (FLDLOG): Likewise.
44977 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44978 Adjust comments for base varying.
44979 (__expl_finite): Change alias to EXPL_FINITE.
44980 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44982 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44985 * math/libm-test.inc (check_float_internal): Correct ulp
44986 calculation for subnormal expected results.
44988 2012-05-06 Andreas Jaeger <aj@suse.de>
44990 * Makeconfig (+math-flags): New, set to -frounding-math.
44991 (+cflags): Add +math-flags so that all of glibc gets compiled with
44994 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44996 2012-05-05 Joseph Myers <joseph@codesourcery.com>
44998 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45004 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45005 (__ieee754_expl): Allow for and saturate large arguments.
45006 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45007 (u_threshold): Likewise.
45008 (__exp): Call __ieee754_exp before checking for overflow and
45010 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45011 (u_threshold): Likewise.
45012 (__expf): Call __ieee754_expf before checking for overflow and
45014 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45015 (u_threshold): Likewise.
45016 (__expl): Call __ieee754_expl before checking for overflow and
45018 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45019 (__ieee754_expl): Allow for and saturate large arguments.
45020 * math/libm-test.inc (exp_test): Add another test. Do not allow
45021 missing overflow exception on overflow.
45022 (expm1_test): Do not allow missing overflow exception on overflow.
45024 * sysdeps/i386/fpu/e_expl.c: Move to ...
45025 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
45026 rather than using inline asm.
45027 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45028 * sysdeps/x86_64/fpu/e_expl.S: Copy from
45029 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45031 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45034 (signal): Likewise.
45038 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45040 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45041 sysdeps/unix/common/syscalls.list.
45042 (fchmod): Likewise.
45043 (fchown): Likewise.
45044 (ftruncate): Likewise.
45045 (getrusage): Likewise.
45046 (gettimeofday): Likewise.
45047 (setpgid): Likewise.
45048 (setregid): Likewise.
45049 (setreuid): Likewise.
45050 (sigaction): Likewise.
45051 (truncate): Likewise.
45052 (vhangup): Likewise.
45053 * sysdeps/unix/common/syscalls.list: Remove file.
45054 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45055 * sysdeps/unix/sysv/linux/Implies: Likewise.
45057 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45059 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45061 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45065 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45068 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45070 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45071 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45074 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45077 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45080 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45082 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45083 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45087 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45091 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45094 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45098 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45102 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45104 * sysdeps/unix/common/bits/dirent.h: Remove file.
45105 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45107 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45108 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45109 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45110 * sysdeps/unix/bsd/isatty.c: Likewise.
45111 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45112 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45113 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45115 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45118 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45119 long double comparison inaccuracies.
45120 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45123 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45125 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45126 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45128 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45131 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45132 nonzero digits before rounding a hex value.
45133 * stdlib/tst-strtod.c (tests): Add another test.
45135 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45137 * sysdeps/s390/fpu/libm-test-ulps: Update.
45139 2012-05-03 Andreas Jaeger <aj@suse.de>
45141 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45142 does not get optimized out.
45143 (malloc_opt_barrier): New.
45145 2012-05-03 Andreas Jaeger <aj@suse.de>
45146 Roland McGrath <roland@hack.frob.com>
45148 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
45149 intermediate file deletion.
45150 (generated): Add .symlist files.
45152 2012-05-03 Joseph Myers <joseph@codesourcery.com>
45155 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45156 Redirect under this condition.
45157 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45158 [__USE_GNU] (__dprintf_chk): Not under this condition.
45159 [__USE_GNU] (__vdprintf_chk): Likewise.
45160 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45161 under this condition.
45162 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45163 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45164 [__USE_XOPEN2K8] (vdprintf): Likewise.
45165 [__USE_GNU] (__dprintf_chk): Not under this condition.
45166 [__USE_GNU] (__vdprintf_chk): Likewise.
45167 [__USE_GNU] (dprintf): Likewise.
45168 [__USE_GNU] (vdprintf): Likewise.
45170 2012-05-03 Roland McGrath <roland@hack.frob.com>
45172 * elf/Makefile (common-generated): Set this instead of generated for
45173 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45174 $(all-built-dso)-derived lists.
45176 2012-05-03 Andreas Jaeger <aj@suse.de>
45178 * sysdeps/i386/fpu/libm-test-ulps: Update.
45181 * FAQ.in: Likewise.
45182 * scripts/gen-FAQ.pl: Likewise.
45183 * manual/install.texi (Installation): Point to online location of
45185 * Makefile (files-for-dist): Remove FAQ.
45188 2012-05-02 Allan McRae <allan@archlinux.org>
45190 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45191 (LDFLAGS-reldepmod5.so): Likewise.
45192 (LDFLAGS-reldep6mod1.so): Likewise.
45193 (LDFLAGS-reldep6mod4.so): Likewise.
45194 (LDFLAGS-reldep8mod3.so): Likewise.
45195 (LDFLAGS-unload4mod1.so): Likewise.
45196 (LDFLAGS-unload4mod2.so): Likewise.
45197 (LDFLAGS-tst-initorder): Likewise.
45198 (LDFLAGS-tst-initordera2.so): Likewise.
45199 (LDFLAGS-tst-initordera3.so): Likewise.
45200 (LDFLAGS-tst-initordera4.so): Likewise.
45201 (LDFLAGS-tst-initorderb2.so): Likewise.
45202 (LDFLAGS-noload): Likewise.
45203 (LDFLAGS-next): Likewise.
45204 (LDFLAGS-order2mod1.so): Likewise.
45205 (LDFLAGS-order2mod2.so): Likewise.
45206 (LDFLAGS-tst-initorder2): Likewise.
45207 (LDFLAGS-tst-initorder2a.so): Likewise.
45208 (LDFLAGS-tst-initorder2b.so): Likewise.
45209 (LDFLAGS-tst-initorder2c.so): Likewise.
45210 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45212 2012-05-02 David S. Miller <davem@davemloft.net>
45214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45216 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45219 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45221 2012-05-02 Andreas Jaeger <aj@suse.de>
45223 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45224 since we manipulate rounding mode.
45225 (CPPFLAGS-test-idouble.c): Likewise.
45226 (CPPFLAGS-test-ifloat.c): Likewise.
45227 (CFLAGS-test-ldouble.c): Likewise.
45228 (CFLAGS-test-double.c): Likewise.
45229 (CFLAGS-test-float.c): Likewise.
45230 (CFLAGS-test-misc.c): Likewise.
45231 (CFLAGS-test-test-fenv.c): Likewise.
45233 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45237 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45238 comparisons to determine direction to adjust input.
45240 2012-05-01 Roland McGrath <roland@hack.frob.com>
45242 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45243 output to the target.
45245 * scripts/localplt.awk: New file.
45246 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45247 (check-localplt-CFLAGS): Variable removed.
45248 ($(all-built-dso:=.jmprel)): New static pattern rule.
45249 (generated): Add those targets.
45250 (localplt-built-dso): New variable.
45251 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45253 * elf/check-localplt.c: File removed.
45255 * scripts/check-execstack.awk: New file.
45256 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45257 (check-execstack-CFLAGS): Variable removed.
45258 ($(objpfx)check-execstack.h): Target removed.
45259 ($(objpfx)execstack-default): New target.
45260 (generated): Add that instead of check-execstack.h.
45261 ($(all-built-dso:=.phdr)): New static pattern rule.
45262 (generated): Add those targets.
45263 * elf/check-execstack.c: File removed.
45265 * scripts/check-textrel.awk: New file.
45266 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45267 (check-textrel-CFLAGS): Variable removed.
45268 (all-built-dso): Use := to define.o
45269 ($(all-built-dso:=.dyn)): New static pattern rule.
45270 (generated): Add those targets.
45271 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45272 * config.make.in (READELF): New substituted variable.
45273 * elf/check-textrel.c: File removed.
45275 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45277 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45279 * conform/data/ctype.h-data [C99-based standards] (isblank):
45281 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45282 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45283 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45284 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45285 Specify type. Require positive value.
45286 (EILSEQ): Likewise.
45287 (ERANGE): Likewise.
45288 [ISO || POSIX] (EILSEQ): Do not expect.
45289 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45290 Specify type. Require positive value.
45291 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45292 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45293 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45294 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45295 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45296 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45297 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45298 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45299 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45300 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45301 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45302 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45303 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45304 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45305 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45306 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45307 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45308 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45309 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45310 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45311 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45312 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45313 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45314 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45315 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45316 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45317 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45318 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45319 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45320 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45321 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45322 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45323 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45324 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45325 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45326 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45327 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45328 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45329 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45330 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45331 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45332 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45333 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45334 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45335 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45336 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45337 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45338 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45339 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45340 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45341 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45342 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45343 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45344 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45345 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45346 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45347 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45348 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45349 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45350 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45351 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45352 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45353 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45354 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45355 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45356 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45357 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45358 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45359 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45360 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45361 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45362 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45363 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45364 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45365 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45366 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45367 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45369 (FLT_ROUNDS): Expect as macro, not constant.
45370 (FLT_MANT_DIG): Use macro-int-constant.
45371 (DBL_MANT_DIG): Likewise.
45372 (LDBL_MANT_DIG): Likewise.
45373 (FLT_DIG): Likewise.
45374 (DBL_DIG): Likewise.
45375 (LDBL_DIG): Likewise.
45376 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45377 (DBL_MIN_EXP): Likewise.
45378 (LDBL_MIN_EXP): Likewise.
45379 (FLT_MAX_EXP): Use macro-int-constant.
45380 (DBL_MAX_EXP): Likewise.
45381 (LDBL_MAX_EXP): Likewise.
45382 (FLT_MAX_10_EXP): Likewise.
45383 (DBL_MAX_10_EXP): Likewise.
45384 (LDBL_MAX_10_EXP): Likewise.
45385 (FLT_MAX): Use macro-constant.
45386 (DBL_MAX): Likewise.
45387 (LDBL_MAX): Likewise.
45388 (FLT_EPSILON): Use macro-constant. Give upper bound.
45389 (DBL_EPSILON): Likewise.
45390 (LDBL_EPSILON): Likewise.
45391 (FLT_MIN): Likewise.
45392 (DBL_MIN): Likewise.
45393 (LDBL_MIN): Likewise.
45394 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45395 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45396 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45397 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45398 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45399 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45400 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45401 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45402 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45403 [ISO11] (FLT_TRUE_MIN): Likewise.
45404 [ISO11] (LDBL_TRUE_MIN): Likewise.
45405 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45406 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45407 (SCHAR_MIN): Use macro-int-constant. Specify type.
45408 (SCHAR_MAX): Likewise.
45409 (UCHAR_MAX): Likewise.
45410 (CHAR_MIN): Likewise.
45411 (CHAR_MAX): Likewise.
45412 (MB_LEN_MAX): Use macro-int-constant.
45413 (SHRT_MIN): Use macro-int-constant. Specify type.
45414 (SHRT_MAX): Likewise.
45415 (USHRT_MAX): Likewise.
45416 (INT_MAX): Likewise.
45417 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45419 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45421 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45423 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45424 bound negative. Suffix upper bound with "L".
45425 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45427 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45429 [C99-based standards] (LLONG_MAX): Likewise.
45430 [C99-based standards] (ULLONG_MAX): Likewise.
45431 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45433 [ISO11] (max_align_t): Require type.
45434 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45436 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45437 from $CFLAGS, without defining away __attribute__ calls.
45438 (checknamespace): Use $CFLAGS_namespace.
45440 * conform/conformtest.pl (@keywords): Only include C99 keywords
45441 for standards based on C99 or C11.
45443 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45445 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45448 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45449 usability of symbols in #if.
45451 * conform/conformtest.pl: If macro or constant types start
45452 "promoted:", expect the symbol to be of the following type
45453 promoted by the integer promotions.
45455 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45456 in one place. Also handle "macro-constant".
45458 * conform/conformtest.pl: Only accept expected macro values with
45459 "==". Parse all "macro" lines in one place.
45460 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45462 * conform/conformtest.pl: Handle braced types on "constant" lines
45463 instead of handling "typed-constant".
45464 * conform/data/signal.h-data: Use "constant" instead of
45467 * conform/conformtest.pl: Handle "optional-" at start of lines in
45468 one place rather than duplicating several cases. Handle each
45469 format of "macro" line with initial "optional-".
45471 * conform/conformtest.pl: Only accept expected constant or
45472 optional-constant values with "==". Parse all "constant" lines in
45473 one place. Parse all "optional-constant" lines in one place.
45474 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45475 * conform/data/fmtmsg.h-data: Likewise.
45476 * conform/data/netinet/in.h-data: Likewise.
45477 * conform/data/tar.h-data: Likewise.
45478 * conform/data/limits.h-data: Use "==" form on "constant" and
45479 "optional-constant" lines.
45481 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45482 Use -std=c99 for XOPEN2K.
45483 (@knownproblems): Remove.
45484 (newtoken): Don't check %isknown.
45486 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45487 Do not expect macro.
45488 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45489 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45490 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45491 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45492 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45493 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45494 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45495 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45496 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45497 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45498 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45499 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45500 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45501 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45502 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45503 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45504 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45505 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45506 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45507 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45508 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45509 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45510 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45511 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45512 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45513 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45514 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45515 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45516 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45517 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45518 [XPG3] (acosh): Likewise.
45519 [XPG3] (asinh): Likewise.
45520 [XPG3] (atanh): Likewise.
45521 [XPG3] (cbrt): Likewise.
45522 [XPG3] (expm1): Likewise.
45523 [XPG3] (ilogb): Likewise.
45524 [XPG3] (log1p): Likewise.
45525 [XPG3] (logb): Likewise.
45526 [XPG3] (nextafter): Likewise.
45527 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45528 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45529 [XPG3] (remainder): Likewise.
45530 [XPG3] (rint): Likewise.
45531 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45532 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45533 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45534 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45535 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45536 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45537 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45538 [UNIX98 || XOPEN2K] (scalb): Expect.
45539 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45540 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45541 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45542 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45543 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45544 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45545 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45546 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45547 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45548 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45549 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45550 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45551 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45552 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45553 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45554 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45555 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45556 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45557 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45558 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45559 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45560 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45561 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45562 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45563 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45564 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45565 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45566 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45567 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45568 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45569 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45570 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45571 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45572 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45573 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45574 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45575 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45576 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45577 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45578 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45579 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45580 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45581 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45582 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45583 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45584 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45585 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45586 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45587 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45588 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45589 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45590 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45591 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45592 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45593 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45594 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45595 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45596 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45597 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45598 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45599 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45600 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45601 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45602 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45603 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45604 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45605 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45606 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45607 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45608 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45609 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45610 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45611 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45612 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45613 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45614 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45615 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45616 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45617 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45618 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45619 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45620 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45621 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45622 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45623 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45624 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45625 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45626 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45627 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45628 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45629 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45630 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45631 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45632 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45633 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45634 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45635 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45636 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45637 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45638 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45639 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45640 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45641 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45642 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45643 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45644 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45645 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45646 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45647 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45648 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45649 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45650 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45651 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45652 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45653 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45654 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45655 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45656 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45657 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45658 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45659 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45660 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45661 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45662 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45663 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45664 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45665 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45666 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45667 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45668 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45669 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45670 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45671 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45672 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45673 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45674 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45675 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45677 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45678 _XOPEN_SOURCE_EXTENDED for XPG4.
45680 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45682 * Makeconfig (localtime): Remove variable.
45683 (inst_localtime-file): Likewise.
45685 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45706 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45710 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45711 comparisons to determine direction to adjust input.
45712 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45713 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45714 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45716 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45718 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45720 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45721 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45723 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45725 * math/libm-test.inc (nexttoward_test): Add more tests.
45727 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45730 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45731 in version GLIBC_2.1, not GLIBC_2.0.
45732 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45735 2012-04-30 Joseph Myers <joseph@codesourcery.com>
45738 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45740 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45741 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45742 * math/libm-test.inc (acos_test): Add more tests.
45743 (asin_test): Likewise.
45744 * sysdeps/i386/fpu/libm-test-ulps: Update.
45745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45748 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45750 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45751 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45752 * math/libm-test.inc (acos_test_tonearest): New function.
45753 (acos_test_towardzero): Likewise.
45754 (acos_test_downward): Likewise.
45755 (acos_test_upward): Likewise.
45756 (asin_test_tonearest): Likewise.
45757 (asin_test_towardzero): Likewise.
45758 (asin_test_downward): Likewise.
45759 (asin_test_upward): Likewise.
45760 (main): Call the new functions.
45761 * sysdeps/i386/fpu/libm-test-ulps: Update.
45762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45766 * math/e_exp10.c: Include <float.h>.
45767 (__ieee754_exp10): Handle underflow here rather than multiplying
45768 large negative argument by M_LN10.
45769 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45771 * math/e_exp10l.c: Include <float.h>.
45772 (__ieee754_exp10l): Handle underflow here rather than multiplying
45773 large negative argument by M_LN10l.
45774 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45775 spurious overflow exception on underflow.
45777 2012-04-29 Marek Polacek <polacek@redhat.com>
45779 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45780 (__fortify_function): New macro.
45781 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45782 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45783 __extern_always_inline.
45784 * libio/bits/stdio2.h: Likewise.
45785 * libio/bits/stdio.h: Likewise.
45786 * string/string.h: Likewise.
45787 * string/bits/string3.h: Likewise.
45788 * include/stdio.h: Likewise.
45789 * stdlib/bits/stdlib.h: Likewise.
45790 * stdlib/stdlib.h: Likewise.
45791 * rt/bits/mqueue2.h: Likewise.
45792 * rt/mqueue.h: Likewise.
45793 * posix/bits/unistd.h: Likewise.
45794 * posix/unistd.h: Likewise.
45795 * io/bits/poll2.h: Likewise.
45796 * io/bits/fcntl2.h: Likewise.
45797 * io/fcntl.h: Likewise.
45798 * io/sys/poll.h: Likewise.
45799 * misc/bits/syslog.h: Likewise.
45800 * misc/bits/syslog-ldbl.h: Likewise.
45801 * misc/sys/syslog.h: Likewise.
45802 * socket/bits/socket2.h: Likewise.
45803 * socket/sys/socket.h: Likewise.
45804 * debug/tst-chk1.c: Likewise.
45805 * wcsmbs/bits/wchar2.h: Likewise.
45806 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45807 * wcsmbs/wchar.h: Likewise.
45809 2012-04-29 Andreas Jaeger <aj@suse.de>
45811 * Makerules (tests): Remove enable-check-abi protection.
45812 (check-abi-warn): Remove.
45813 (check-abi-%): Remove check-abi-warn usage.
45815 * configure.in: Remove check-abi configure option.
45816 * configure: Regenerated.
45817 * config.make.in (enable-check-abi): Remove.
45819 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45822 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45823 double functions to double *_finite functions.
45826 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45827 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45829 * stdio-common/Makefile (tests): Add tst-sprintf3.
45830 * stdio-common/tst-sprintf3.c: New file.
45832 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45833 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45835 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45837 * conform/conformtest.pl: Remove duplicate typed-constant
45840 2012-04-28 David S. Miller <davem@davemloft.net>
45842 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45843 (check-abi-%): Remove AWK script prerequisite and explicit
45845 (check-abi): Rewrite to just diff the symlist with the abilist.
45846 (config-tls, config-abi-config): Delete, no longer used.
45847 (update-abi-%): Remove AWK script and explicit abilist directory.
45848 (update-abi): Rewrite to simply compare and conditionally copy the
45849 symlist and the sysdep abilist file. Remove update-abi-config
45851 * abilist/ld.abilist: Remove.
45852 * abilist/libBrokenLocale.abilist: Remove.
45853 * abilist/libanl.abilist: Remove.
45854 * abilist/libcrypt.abilist: Remove.
45855 * abilist/libdl.abilist: Remove.
45856 * abilist/librt.abilist: Remove.
45857 * abilist/libthread_db.abilist: Remove.
45858 * abilist/libutil.abilist: Remove.
45859 * scripts/extract-abilist.awk: Remove.
45860 * scripts/merge-abilist.awk: Remove.
45861 * sysdeps/generic/libcidn.abilist: New file.
45862 * sysdeps/generic/libnss_compat.abilist: New file.
45863 * sysdeps/generic/libnss_db.abilist: New file.
45864 * sysdeps/generic/libnss_dns.abilist: New file.
45865 * sysdeps/generic/libnss_files.abilist: New file.
45866 * sysdeps/generic/libnss_hesiod.abilist: New file.
45867 * sysdeps/generic/libnss_nis.abilist: New file.
45868 * sysdeps/generic/libnss_nisplus.abilist: New file.
45869 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45870 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45871 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45873 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45874 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45875 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45876 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45877 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45878 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45879 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45880 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45881 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45883 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45884 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45885 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45886 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45888 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45889 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45890 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45891 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45892 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45893 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45895 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45896 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45897 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45899 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45900 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45902 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45904 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46002 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46003 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46004 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46006 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46007 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46008 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46009 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46010 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46011 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46012 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46013 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46014 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46015 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46067 2012-04-28 Joseph Myers <joseph@codesourcery.com>
46069 * conform/conformtest.pl: Fix typo in handling typed-constant from
46072 2012-04-27 Joseph Myers <joseph@codesourcery.com>
46074 * README: Cut down references to pre-2.6 Linux kernels and
46075 Linuxthreads. Update lists of configurations in libc and ports
46076 and sort alphabetically. Say "or newer" with Linux kernel version
46079 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46081 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46084 * math/libm-test.inc (logb_test_downward): New test to expose
46085 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46088 2012-04-27 Joseph Myers <joseph@codesourcery.com>
46091 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46093 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46094 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46096 2012-04-26 Joseph Myers <joseph@codesourcery.com>
46098 * sysdeps/unix/i386/brk.S: Remove file.
46099 * sysdeps/unix/i386/dl-brk.S: Likewise.
46100 * sysdeps/unix/i386/pipe.S: Likewise.
46101 * sysdeps/unix/i386/sigreturn.S: Likewise.
46102 * sysdeps/unix/i386/syscall.S: Likewise.
46103 * sysdeps/unix/i386/vfork.S: Likewise.
46104 * sysdeps/unix/i386/wait.S: Likewise.
46106 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46107 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46109 * configure.in (arm*-none*): Do not allow without
46110 --enable-hacker-mode.
46111 (netbsd*): Remove case setting base_os.
46112 (386bsd*): Likewise.
46113 (freebsd*): Likewise.
46116 (sunos*): Likewise.
46117 (ultrix*): Likewise.
46118 (newsos*): Likewise.
46119 (dynix*): Likewise.
46125 (minix*): Likewise.
46126 (irix4*): Likewise.
46127 (irix6*): Likewise.
46128 (solaris[2-9]*): Likewise.
46130 * configure: Regenerated.
46132 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46135 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46136 overflow or cancellation in calculating denominator.
46137 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46138 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46139 down expression to avoid unexpected rounding in newer GCCs.
46140 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46142 2012-04-26 David S. Miller <davem@davemloft.net>
46144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46145 long-double compat symbols.
46146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46160 2012-04-25 David S. Miller <davem@davemloft.net>
46162 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46163 HWCAP_* values only after the memory barriers have been defined.
46164 (atomic_full_barrier): Define.
46165 (atomic_read_barrier): Define.
46166 (atomic_write_barrier): Define.
46168 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46170 * shlib-versions: Add libgcc_s version information.
46171 * sysdeps/generic/libgcc_s.h: Remove.
46172 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46174 * sysdeps/gnu/unwind-resume.c: Likewise.
46175 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46177 2012-04-25 David S. Miller <davem@davemloft.net>
46179 * sysdeps/unix/sparc/brk.S: Delete.
46180 * sysdeps/unix/sparc/dl-brk.S: Delete.
46181 * sysdeps/unix/sparc/pipe.S: Delete.
46182 * sysdeps/unix/sparc/sysdep.S: Delete.
46183 * sysdeps/unix/sparc/sysdep.h: Delete.
46184 * sysdeps/unix/sparc/vfork.S: Delete.
46185 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46186 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46187 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46188 (ret_ERRVAL, r0, r1, MOVE): Define.
46189 (JUMPTARGET): Remove.
46190 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46191 sysdeps/unix/sparc/sysdep.h
46192 (ENTRY, END): Remove.
46193 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46195 2012-04-25 Joseph Myers <joseph@codesourcery.com>
46197 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46198 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46201 * timezone/README: Update upstream location and email address for
46203 * timezone/zdump.c: Update from tzcode 2012b.
46204 * timezone/zic.c: Likewise.
46206 * configure.in (libc_cv_as_needed): Remove test.
46207 * configure: Regenerated.
46208 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46209 conditional definition.
46210 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46211 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46212 * config.make.in (have-as-needed): Remove variable.
46214 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46215 Paul Pluzhnikov <ppluzhnikov@google.com>
46217 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46220 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46222 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46223 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46224 * sysdeps/sh/strlen.S: Likewise.
46226 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46228 * sysdeps/unix/fork.S: Remove file.
46229 * sysdeps/unix/i386/fork.S: Likewise.
46230 * sysdeps/unix/sparc/fork.S: Likewise.
46232 * sysdeps/unix/system.c: Remove file.
46233 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46235 * sysdeps/unix/getegid.S: Remove file.
46236 * sysdeps/unix/geteuid.S: Likewise.
46238 2012-04-24 Roland McGrath <roland@hack.frob.com>
46240 * scripts/check-localplt.awk: New file.
46241 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46243 * scripts/data/localplt-generic.data: Add a comment.
46245 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46246 NODE when __dir_mkfile failed.
46247 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46248 Reported by Ludovic Courtès <ludo@gnu.org>.
46250 2012-04-24 Andreas Jaeger <aj@suse.de>
46252 * Makerules (common-clean): Also remove gen-as-const-headers
46255 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46257 * Makerules (native-compile): Do not change working directory for
46258 build. Use $(OUTPUT_OPTION) in command.
46259 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46261 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46264 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46265 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46266 * math/libm-test.inc (floor_test): Add more tests.
46267 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46269 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46271 * sysdeps/unix/getdents.c: Remove file.
46272 * sysdeps/unix/sysv/getdents.c: Likewise.
46273 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46275 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46276 sysdeps/unix/mman/syscalls.list.
46278 (mprotect): Likewise.
46280 (munmap): Likewise.
46281 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46282 * sysdeps/unix/mman/syscalls.list: Remove.
46283 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46285 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46286 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46287 * configure: Regenerated.
46288 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46289 $(libgcc_s_suffix).
46290 * config.make.in (libgcc_s_suffix): Remove variable.
46292 2012-04-23 Joseph Myers <joseph@codesourcery.com>
46294 * sysdeps/unix/sysv/gethostname.c: Move to ...
46295 * sysdeps/posix/gethostname.c: ... here.
46297 * sysdeps/unix/execve.S: Remove file.
46299 * sysdeps/unix/_exit.S: Remove file.
46301 2012-04-23 Andreas Jaeger <aj@suse.de>
46304 * manual/Makefile: Remove make dist support, there's no
46305 need for a stand-alone documentation tar ball.
46306 (TEXI2DVI): Define always, it's not in Makeconfig.
46309 (edition): Removed.
46310 (glibc-doc-$(edition).tar): Removed
46314 (ETAGS): Remove, it's in Makeconfig.
46315 (move-if-change): Remove, it's in Makeconfig.
46317 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
46320 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46321 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46322 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46323 (strtod_l, strtof_l, strtold_l): Remove __wur.
46324 It is not necessarily an error to ignore strtol's return value.
46325 One can reliably look at the stored endptr to decide whether
46326 the number had valid syntax.
46328 2012-04-21 Andreas Jaeger <aj@suse.de>
46331 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46333 2012-04-21 Joseph Myers <joseph@codesourcery.com>
46335 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46336 * sysdeps/unix/sysv/Versions: Remove file.
46338 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46341 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46343 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
46346 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46347 version from __vm86.
46349 2012-04-20 Joseph Myers <joseph@codesourcery.com>
46351 * sysdeps/unix/common/lxstat.c: Remove file.
46352 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46354 * sysdeps/unix/sysv/Makefile: Remove file.
46356 * sysdeps/unix/sysv/direct.h: Remove file.
46358 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46359 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46360 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46361 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46362 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46363 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46364 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46366 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46368 * sysdeps/unix/xmknod.c: Remove file.
46369 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46371 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46373 * sysdeps/unix/sysv/i386/time.S: Remove file.
46375 * sysdeps/unix/fxstat.c: Remove file.
46376 * sysdeps/unix/xstat.c: Likewise.
46377 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46379 * sysdeps/unix/sysv/sigaction.c: Remove file.
46381 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46382 (sysdep_headers): Remove variable.
46383 [termio.h not in sysdep_headers] (generated): Likewise.
46384 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46385 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46386 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46387 * sysdeps/unix/sysv/tcflow.c: Likewise.
46388 * sysdeps/unix/sysv/tcflush.c: Likewise.
46389 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46390 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46391 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46392 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46393 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46395 * sysdeps/unix/siglist.c: Remove file.
46397 * sysdeps/unix/getppid.S: Remove file.
46399 * sysdeps/unix/mkdir.c: Remove file.
46400 * sysdeps/unix/rmdir.c: Likewise.
46402 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46404 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46406 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46407 errlist-compat value.
46409 2012-04-18 David S. Miller <davem@davemloft.net>
46411 * sysdeps/generic/memcopy.h (reg_char): Delete.
46412 * debug/strcat_chk.c: Use char, not reg_char.
46413 * debug/strcpy_chk.c: Likewise.
46414 * debug/strncat_chk.c: Likewise.
46415 * debug/strncpy_chk.c: Likewise.
46416 * string/memchr.c: Likewise.
46417 * string/memrchr.c: Likewise.
46418 * string/rawmemchr.c: Likewise.
46419 * string/strcat.c: Likewise.
46420 * string/strchr.c: Likewise.
46421 * string/strchrnul.c: Likewise.
46422 * string/strcmp.c: Likewise.
46423 * string/strcpy.c: Likewise.
46424 * string/strncat.c: Likewise.
46425 * string/strncmp.c: Likewise.
46426 * string/strncpy.c: Likewise.
46428 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46430 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46431 __builtin_memcopy is called when src and dest ranges are known to not
46434 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46436 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46437 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46438 fwd_align_merge macro call.
46439 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46440 bwd_align_merge macro call.
46441 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46443 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46445 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46446 bwd_align_merge macros.
46447 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46448 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46449 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46451 2012-04-18 David S. Miller <davem@davemloft.net>
46453 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46455 2012-04-18 Andreas Jaeger <aj@suse.de>
46458 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46459 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46460 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46462 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46463 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46464 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46466 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46467 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46468 Adjust for changed ldbl-128 files.
46470 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46471 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46472 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46474 2012-04-17 David S. Miller <davem@davemloft.net>
46476 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46478 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46480 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46481 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46482 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46483 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46484 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46485 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46487 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46490 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46491 * math/libm-test.inc: Add ilogb errno and exception tests.
46492 * math/w_ilogb.c: New file: ilogb wrapper.
46493 * math/w_ilogbf.c: New file: ilogbf wrapper.
46494 * math/w_ilogbl.c: New file: ilogbl wrapper.
46495 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46496 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46497 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46498 exception being thrown with 0.0 as argument.
46499 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46500 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46501 exception being thrown with 0.0 as argument.
46502 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46503 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46504 exception being thrown with 0.0 as argument.
46505 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46506 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46507 exception being thrown with 0.0 as argument.
46508 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46509 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46510 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46511 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46512 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46513 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46514 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46515 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46516 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46518 2012-04-17 Petr Baudis <pasky@ucw.cz>
46520 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46523 2012-04-16 Marek Polacek <polacek@redhat.com>
46525 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46527 2012-04-16 Marek Polacek <polacek@redhat.com>
46529 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46530 operands of fdivp instruction.
46532 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46534 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46535 * elf/tst-auditmod3b.c: Likewise.
46536 * elf/tst-auditmod4b.c: Likewise.
46537 * elf/tst-auditmod5b.c: Likewise.
46538 * elf/tst-auditmod6b.c: Likewise.
46539 * elf/tst-auditmod6c.c: Likewise.
46540 * elf/tst-auditmod7b.c: Likewise.
46541 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46542 * sysdeps/x86_64/preconfigure.in: Likewise.
46543 * sysdeps/x86_64/preconfigure: Regenerated.
46545 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46547 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46550 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
46552 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46553 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46555 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46558 * locale/iso-639.def: Fix gl language name. Spotted by
46561 2012-04-12 Roland McGrath <roland@hack.frob.com>
46564 * libio/libio.h (__io_write_fn): Update comment.
46566 2012-04-12 Petr Baudis <pasky@ucw.cz>
46569 * stdio.texi (Hook Functions): The user provided writer function
46570 is not allowed to return -1.
46572 2012-04-11 David S. Miller <davem@davemloft.net>
46574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46576 2012-04-11 Mike Frysinger <vapier@gentoo.org>
46578 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46579 Add a leading slash to rtkaio.
46581 2012-04-11 Jim Meyering <meyering@redhat.com>
46584 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46585 It is not necessarily an error to ignore fwrite's return
46586 value. One can reliably use ferror to test for errors after
46589 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46591 * bits/types.h (__snseconds_t): New type.
46592 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46594 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46595 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46596 (__SNSECONDS_T_TYPE): Likewise.
46597 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46598 (__SNSECONDS_T_TYPE): Likewise.
46599 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46600 (__SNSECONDS_T_TYPE): Likewise.
46602 2012-04-10 Andreas Jaeger <aj@suse.de>
46605 * manual/time.texi (Processor Time): Return type of times is
46606 elapsed real time since an arbitrary point in the past.
46607 (CPU Time): Move CLK_TCK from here...
46608 (Processor Time): ...to here. Correct description.
46609 * manual/conf.texi (Constants for Sysconf): Correct description of
46612 2012-04-10 David S. Miller <davem@davemloft.net>
46615 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46616 where the is a gap between DT_REL(A) and DT_JMPREL.
46618 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46620 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46621 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46622 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46624 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46626 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46627 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46628 (dl_main): Handle --inhibit-cache.
46629 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46631 * elf/dl-load.c (_dl_map_object): Use it.
46632 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46634 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46637 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46638 (__ieee754_powl): Saturate large exponents rather than testing for
46639 overflow of y*log2(x).
46640 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46641 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46645 * math/s_ctan.c: Include <float.h>.
46646 (__ctan): Avoid internal overflow or cancellation in calculating
46648 * math/s_ctanf.c: Likewise.
46649 * math/s_ctanl.c: Likewise.
46650 * math/s_ctanh.c: Likewise.
46651 * math/s_ctanhf.c: Likewise.
46652 * math/s_ctanhl.c: Likewise.
46653 * math/libm-test.inc (ctan_test): Add more tests.
46654 (ctanh_test): Likewise.
46655 * sysdeps/i386/fpu/libm-test-ulps: Update.
46656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46658 2012-04-09 Andreas Jaeger <aj@suse.de>
46661 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46662 is an optional BSD extension.
46665 * manual/stdio.texi (Opening Streams): Document additional fopen
46668 2012-04-09 Roland McGrath <roland@hack.frob.com>
46670 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46671 %eax without telling the compiler.
46673 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46676 * manual/install.texi: Use sourceware.org.
46678 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46681 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46682 (__ieee754_pow): Generate overflow and underflow using huge*huge
46683 and tiny*tiny rather than just returning constant infinity or zero
46684 for large exponents.
46685 * math/libm-test.inc (pow_test): Require overflow exceptions for
46686 applicable cases of large exponents.
46689 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46690 (__ieee754_pow): Use iterative multiplication algorithm only for
46691 integer exponents with absolute value below 1024. Check for odd
46692 integer exponents when using algorithm for real exponents.
46693 * math/libm-test.inc (pow_test): Add more tests.
46694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46696 2012-04-08 Joseph Myers <joseph@codesourcery.com>
46699 * math/libm-test.inc (exp_test): Do not allow overflow exception
46702 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46705 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46706 instead of __kernel_standard_f.
46708 2012-04-08 Mike Frysinger <vapier@gentoo.org>
46710 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46711 * sysdeps/x86_64/memset_chk.S: Likewise.
46713 2012-04-08 Andreas Jaeger <aj@suse.de>
46716 * manual/startup.texi (Environment Access): Describe return value
46717 for putenv and setenv.
46720 * manual/filesys.texi (Directory Entries): Add description for
46724 * manual/filesys.texi (Directory Entries): Clarify that it's file
46725 system not operating system in the description of DT_UNKNOWN.
46728 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46730 2012-04-08 Stephen Compall <s11@member.fsf.org>
46733 * manual/llio.texi (Opening and Closing Files): Add cross
46734 reference to explain mode argument.
46736 2012-04-07 Mike Frysinger <vapier@gentoo.org>
46738 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46739 * sysdeps/x86_64/memset_chk.S: Likewise.
46741 2012-04-07 David S. Miller <davem@davemloft.net>
46743 * elf/elf.h (R_SPARC_WDISP10): Define.
46744 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46746 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46747 R_SPARC_SIZE64 and R_SPARC_H34.
46749 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46751 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46752 conditions and remove no longer applicable assertion.
46754 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46756 * bits/byteswap.h: Include <features.h>.
46757 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46758 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46760 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46762 * bits/byteswap.h (__bswap_16): Removed.
46763 Include <bits/byteswap-16.h> to get __bswap_16.
46764 * sysdeps/i386/bits/byteswap.h: Likewise.
46765 * sysdeps/s390/bits/byteswap.h: Likewise.
46766 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46767 * bits/byteswap-16.h: New file.
46768 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46769 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46770 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46771 * string/Makefile (headers): Add bits/byteswap-16.h.
46773 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46776 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46778 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46779 * nss/tst-nss-static.c: New.
46781 2012-04-06 Robert Millan <rmh@gnu.org>
46784 * manual/llio.texi (File Position Primitive): lseek
46785 refers to WHENCE when it really means OFFSET.
46787 2012-04-06 Andreas Jaeger <aj@suse.de>
46789 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46790 strncmp declarations.
46792 * abilist/libc.abilist: Add __poll and __ppoll.
46794 2012-04-05 David S. Miller <davem@davemloft.net>
46796 * scripts/check-local-headers.sh: Accept a host triplet in the
46797 path matched by the exclude regexp.
46799 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46801 * sysdeps/powerpc/powerpc32/dl-machine.h
46802 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46803 * sysdeps/s390/s390-32/dl-machine.h
46804 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46805 * sysdeps/sparc/sparc32/dl-machine.h
46806 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46807 * sysdeps/sparc/sparc64/dl-machine.h
46808 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46810 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46812 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46813 undefined symbol errors.
46815 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46818 2012-04-05 Michael Matz <matz@suse.de>
46821 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46823 2012-04-05 Andreas Jaeger <aj@suse.de>
46826 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46829 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46831 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46832 which ROUND is no valid rounding mode.
46834 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46836 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46838 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46840 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46842 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46843 an exception using FPU order intentionally.
46845 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46847 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46848 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46849 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46850 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46852 2012-04-05 Simon Josefsson <simon@josefsson.org>
46855 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46856 EINVAL when BUFLEN is too smal.
46858 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46861 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46862 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46864 2012-04-03 Andreas Jaeger <aj@suse.de>
46867 * manual/setjmp.texi (System V contexts): Fix sentence.
46870 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46871 New macro for this case.
46872 [!__GNUC__] (__bswap_64): New inline function for this case.
46873 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46874 * bits/byteswap.h: Likewise.
46875 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46876 ull, guard with __GLIBC_HAVE_LONG_LONG.
46878 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46879 __GLIBC_HAVE_LONG_LONG.
46881 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46882 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46884 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46887 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46888 inptr and inend, rather than using last_ch.
46890 2012-04-02 David S. Miller <davem@davemloft.net>
46892 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46893 * stdio-common/printf-parse.h (read_int): Change return type to
46894 'int', return -1 on INT_MAX overflow.
46895 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46896 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46897 overflows INT_MAX. Check for overflow of in-format-string precision
46898 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46899 SIZE_MAX not INT_MAX for integer overflow test.
46900 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46901 skip the construct in the format string but do not record anything.
46902 * stdio-common/bug22.c: Adjust to test both width/prevision
46903 INT_MAX overflow as well as total length INT_MAX overflow. Check
46904 explicitly for proper errno values.
46906 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46908 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46910 * string/test-strcmp.c [! WIDE]: Likewise.
46911 * time/tst-mktime2.c: Likewise for INT_MAX.
46912 * string/test-string.h: #include <sys/param.h> for MIN.
46914 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46915 * sysdeps/i386/init-first.c (init): Likewise.
46916 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46917 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46918 * sysdeps/sh/init-first.c (init): Likewise.
46920 2012-04-01 Ulrich Drepper <drepper@gmail.com>
46922 * po/ru.po: Update from translation team.
46923 * po/vi.po: Likewise.
46925 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46927 * resolv/nss_dns/dns-host.c: Merge copyright years.
46929 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46931 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46932 Optimize memcpy with prefetch if
46933 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46934 src, dst pointers have unequal 16 byte alignments.
46936 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46939 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46940 from a CNAME entry and return the minimum ttl for the query.
46941 (gaih_getanswer_slice): Likewise.
46943 2012-03-30 Jeff Law <law@redhat.com>
46945 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46947 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46948 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46950 * resolv/nss_dns/dns-host.c: Update copyright year.
46952 2012-03-30 Ulrich Drepper <drepper@gmail.com>
46954 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46955 requests to save a system call. Fix check that all bytes are sent.
46957 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46958 comments for sendmmsg.
46960 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46963 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46964 with only 1 character between 0x0041 and 0x01b0.
46965 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46966 * wcsmbs/tst-mbsnrtowcs.c: New file.
46968 2012-03-29 David S. Miller <davem@davemloft.net>
46970 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46971 small copies by hand.
46973 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46976 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46977 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46980 2012-03-28 David S. Miller <davem@davemloft.net>
46982 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46983 that branches into memcpy.
46984 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46985 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46986 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46987 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46988 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46990 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46991 implementation too.
46992 * sysdeps/sparc/mempcpy.S: New file.
46994 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46995 the IFUNC routine in the libc case.
46996 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46998 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46999 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47000 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47001 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47002 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47003 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47004 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47005 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47007 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47008 loop to 256 bytes instead of 64 bytes and fix test signedness.
47010 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47011 * sysdeps/sparc/sparc32/Makefile: rather than here...
47012 * sysdeps/sparc/sparc64/Makefile: and here.
47014 2012-03-28 Ulrich Drepper <drepper@gmail.com>
47016 * malloc/mallocbug.c: Avoid warnings about unused variables.
47018 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47021 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47022 in the right place. Discard and retry query if response is
47023 larger than input buffer size.
47025 2012-03-28 Joseph Myers <joseph@codesourcery.com>
47030 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47031 x for large integer exponent.
47032 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47033 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
47034 sign of result as needed afterwards.
47035 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47036 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47037 result for underflowing pow the same as for overflow.
47038 (__kernel_standard_l): Handle powl overflow and underflow here
47039 rather than calling __kernel_standard.
47040 * math/libm-test.inc (pow_test): Add more tests.
47055 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47056 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47057 (__kernel_standard_l): New function.
47058 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47060 * math/w_acosl.c (__acosl): Likewise.
47061 * math/w_asinl.c (__asinl): Likewise.
47062 * math/w_atan2l.c (__atan2l): Likewise.
47063 * math/w_atanhl.c (__atanhl): Likewise.
47064 * math/w_coshl.c (__coshl): Likewise.
47065 * math/w_exp10l.c (__exp10l): Likewise.
47066 * math/w_exp2l.c (__exp2l): Likewise.
47067 * math/w_fmodl.c (__fmodl): Likewise.
47068 * math/w_hypotl.c (__hypotl): Likewise.
47069 * math/w_j0l.c (__j0l, __y0l): Likewise.
47070 * math/w_j1l.c (__j1l, __y1l): Likewise.
47071 * math/w_jnl.c (__jnl, __ynl): Likewise.
47072 * math/w_lgammal.c (__lgammal): Likewise.
47073 * math/w_log10l.c (__log10l): Likewise.
47074 * math/w_log2l.c (__log2l): Likewise.
47075 * math/w_logl.c (__logl): Likewise.
47076 * math/w_powl.c (__powl): Likewise.
47077 * math/w_remainderl.c (__remainderl): Likewise.
47078 * math/w_scalbl.c (sysv_scalbl): Likewise.
47079 * math/w_sinhl.c (__sinhl): Likewise.
47080 * math/w_sqrtl.c (__sqrtl): Likewise.
47081 * math/w_tgammal.c (__tgammal): Likewise.
47082 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47083 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47084 * math/libm-test.inc (acos_test): Add more tests.
47085 (acosh_test): Likewise.
47086 (asin_test): Likewise.
47087 (atanh_test): Likewise.
47088 (exp_test): Likewise.
47089 (exp10_test): Likewise.
47090 (exp2_test): Likewise.
47091 (expm1_test): Likewise.
47092 (lgamma_test): Likewise.
47093 (log_test): Likewise.
47094 (log10_test): Likewise.
47095 (log1p_test): Likewise.
47096 (log2_test): Likewise.
47097 (pow_test): Do not allow some spurious overflow exceptions.
47098 (sqrt_test): Add more tests.
47099 (tgamma_test): Likewise.
47100 (y0_test): Likewise.
47101 (y1_test): Likewise.
47102 (yn_test): Likewise.
47104 2012-03-27 Anton Blanchard <anton@samba.org>
47106 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47108 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47109 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47110 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47112 2012-03-27 David S. Miller <davem@davemloft.net>
47114 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47116 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47117 have-as-vis3 check.
47119 2012-03-27 Andreas Jaeger <aj@suse.de>
47121 * sysdeps/x86_64/elf/configure.in: Moved to ...
47122 * sysdeps/x86_64/configure.in: ... here.
47123 * sysdeps/x86_64/elf/start.S: Moved to ...
47124 * sysdeps/x86_64/start.S: ... here.
47125 * sysdeps/x86_64/elf/configure: Delete.
47127 * sysdeps/x86_64/configure.in: Merge contents from
47128 sysdeps/i386/configure.in (without i686 check).
47130 * sysdeps/i386/elf/Versions: Merge into ...
47131 * sysdeps/i386/Versions: ... this.
47132 * sysdeps/i386/elf/Versions: Delete file.
47133 * sysdeps/i386/elf/start.S: Moved to ...
47134 * sysdeps/i386/start.S: ...here.
47135 * sysdeps/i386/elf/configure.in: Merge into...
47136 * sysdeps/i386/configure.in: ...here.
47137 * sysdeps/i386/elf/configure.in: Delete file.
47138 * sysdeps/i386/elf/configure: Delete file.
47140 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47141 * debug/backtracesyms.c: ... here.
47142 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47143 * debug/backtracesymsfd.c: ... here.
47144 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47145 * sysdeps/generic/ifunc-sel.h: ... here.
47147 * sysdeps/unix/i386/start.c: Delete file.
47148 * sysdeps/unix/sparc/start.c: Delete file.
47149 * sysdeps/unix/start.c: Delete file.
47151 * sysdeps/sh/elf/configure.in: Moved to ...
47152 * sysdeps/sh/configure.in: ... here.
47153 * sysdeps/sh/elf/start.S: Moved to ...
47154 * sysdeps/sh/start.S: ... here.
47155 * sysdeps/sh/elf/configure: Delete file.
47157 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47158 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47159 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47160 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47161 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47162 * sysdeps/powerpc/powerpc64/start.S: here.
47163 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47164 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47165 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47166 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47167 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47169 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47170 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47171 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47172 * sysdeps/powerpc/powerpc32/start.S: ... here.
47173 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47174 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47175 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47177 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47178 * sysdeps/powerpc/ifunc-sel.h: ... here.
47179 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47180 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47182 * sysdeps/sparc/elf/configure.in: Moved to ...
47183 * sysdeps/sparc/configure.in: ... here.
47184 * sysdeps/sparc/elf/configure: Delete file.
47185 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47186 * sysdeps/sparc/sparc32/start.S: ... here.
47187 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47188 * sysdeps/sparc/sparc64/start.S: ... here.
47189 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47190 * sysdeps/sparc/sparc32/Makefile: ... this.
47191 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47192 * sysdeps/sparc/sparc64/Makefile: ... this.
47194 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47195 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47196 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47197 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47198 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47199 * sysdeps/s390/s390-32/setjmp.S: ... here.
47200 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47201 * sysdeps/s390/s390-32/configure.in: ... here.
47202 * sysdeps/s390/s390-32/elf/configure: Delete file.
47203 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47204 * sysdeps/s390/s390-32/start.S: ... here.
47206 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47207 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47208 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47209 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47210 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47211 * sysdeps/s390/s390-64/setjmp.S: ... here.
47212 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47213 * sysdeps/s390/s390-64/configure.in: ... here
47214 * sysdeps/s390/s390-64/elf/configure: Delete file.
47215 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47216 * sysdeps/s390/s390-64/start.S: ... here.
47217 * sysdeps/s390/s390-64/elf/configure: Delete.
47219 * configure.in: Remove support for elf directories in sysdeps.
47221 * configure: Regenerated.
47222 * sysdeps/i386/configure: Regenerated.
47223 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47224 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47225 * sysdeps/s390/s390-32/configure: Regenerated.
47226 * sysdeps/s390/s390-64/configure: Regenerated.
47227 * sysdeps/sh/configure: Regenerated.
47228 * sysdeps/sparc/configure: Regenerated.
47229 * sysdeps/x86_64/configure: Regenerated.
47231 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47235 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47236 denormal result into account.
47238 2012-03-25 Roland McGrath <roland@hack.frob.com>
47240 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47241 Reported by Allan McRae <allan@archlinux.org>.
47243 2012-03-23 Jeff Law <law@redhat.com>
47245 * nss/getnssent.c (__nss_getent): Fix typo.
47247 2012-03-23 David S. Miller <davem@davemloft.net>
47249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47251 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47253 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47254 to pad to uint64_t for each field.
47255 (dl_tls_index): Replace unsigned long with uint64_t.
47257 2012-03-23 Daniel Jacobowitz <dmj@google.com>
47258 Paul Pluzhnikov <ppluzhnikov@google.com>
47261 * grp/Makefile (otherlibs): Don't set it.
47262 * inet/Makefile (otherlibs): Likewise.
47263 * login/Makefile (otherlibs): Likewise.
47264 * nscd/Makefile (otherlibs): Likewise.
47265 * posix/Makefile (otherlibs): Likewise.
47266 * pwd/Makefile (otherlibs): Likewise.
47267 * rt/Makefile (otherlibs): Likewise.
47268 * sunrpc/Makefile (otherlibs): Likewise.
47269 * nss/Makefile (otherlibs): Likewise.
47270 Add libnss_files to routines and static-only-routines.
47271 ($(objpfx)getent): Remove rule.
47272 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47273 static-only-routines.
47275 2012-03-22 Joseph Myers <joseph@codesourcery.com>
47278 * math/s_cexp.c: Include <float.h>.
47279 (__cexp): Handle exp result overflowing not necessarily
47280 overflowing both real and imaginary parts of result.
47281 * math/s_cexpf.c: Likewise.
47282 * math/s_cexpl.c: Likewise.
47283 * math/libm-test.inc (cexp_test): Add more tests.
47284 * sysdeps/i386/fpu/libm-test-ulps: Update.
47285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47287 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47289 * include/link.h (ELFW): New macro.
47290 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47291 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47293 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47295 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47298 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47300 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47302 (struct La_x32_retval): Likewise.
47304 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47306 * sysdeps/x86_64/preconfigure.in: New file.
47307 * sysdeps/x86_64/preconfigure: New generated file.
47309 2012-03-22 Joseph Myers <joseph@codesourcery.com>
47312 * math/e_exp2l.c: Include <float.h>.
47313 (__ieee754_exp2l): Handle overflow and underflow cases
47314 separately. Only pass fractional part of argument to
47316 * math/libm-test.inc (exp2_test): Add more tests.
47318 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47319 negating x to take absolute value.
47320 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47322 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47323 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47325 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47326 computing low part if x was negated.
47327 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47329 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47331 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47332 la_x32_gnu_pltexit.
47333 (pltexit): Cast int_retval to ptrdiff_t.
47334 * elf/tst-auditmod3b.c: Likewise.
47335 * elf/tst-auditmod4b.c: Likewise.
47336 * elf/tst-auditmod5b.c: Likewise.
47337 * elf/tst-auditmod6b.c: Likewise.
47338 * elf/tst-auditmod6c.c: Likewise.
47339 * elf/tst-auditmod7b.c: Likewise.
47341 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47342 and x32_gnu_pltexit.
47344 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47345 __ELF_NATIVE_CLASS.
47346 (La_x32_regs): New macro.
47347 (La_x32_retval): Likewise.
47348 (la_x32_gnu_pltenter): New function prototype.
47349 (la_x32_gnu_pltexit): Likewise.
47351 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47353 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47358 * configure.in (libc_cv_cc_nofma): Check for option to disable
47359 generation of FMA instructions.
47360 * configure: Regenerate.
47361 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47362 * sysdeps/ieee754/dbl-64/Makefile: New file.
47363 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47364 Remove brandred-fma4.
47365 (CFLAGS-brandred-fma4.c): Remove.
47366 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47367 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47369 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47372 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47374 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47375 LLONG_MAX != LONG_MAX.
47376 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47377 (_fitoa_word): Likewise.
47378 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47379 LLONG_MAX != LONG_MAX.
47380 * stdio-common/_itowa.h: Include <_itoa.h>.
47381 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47382 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47383 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47384 only if not defined.
47385 (_ITOA_WORD_TYPE): Likewise.
47386 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47387 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47389 2012-03-21 David S. Miller <davem@davemloft.net>
47391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47393 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47395 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47396 of x86_64 when setting libc_cv_slibdir, libdir and
47398 * sysdeps/unix/sysv/linux/configure: Regenerated.
47400 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47402 * manual/lang.texi (Old Varargs): Remove section.
47403 (How Variadic): Update menu.
47404 (va_start): Do not mention varargs.h.
47406 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47407 Joseph Myers <joseph@codesourcery.com>
47409 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47411 * configure: Regenerated.
47413 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47415 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47416 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47419 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47422 * Makefile (files-for-dist): Remove NOTES.
47423 (NOTES): Remove rule.
47424 * README: Don't refer to NOTES.
47425 * manual/creature.texi: Don't include macros.texi.
47426 * manual/intro.texi (creature.texi): Remove comment referring to
47429 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47430 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47431 * configure: Regenerated.
47432 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47433 LIBC_TRY_CC_OPTION.
47434 (libc_cv_as_i686): Likewise.
47435 (libc_cv_cc_avx): Likewise.
47436 (libc_cv_cc_sse2avx): Likewise.
47437 (libc_cv_cc_fma4): Likewise.
47438 (libc_cv_cc_novzeroupper): Likewise.
47439 * sysdeps/i386/configure: Regenerated.
47442 * sysdeps/i386/fpu/s_cexp.S: Remove.
47443 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47444 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47445 * math/libm-test.inc (cexp_test): Add more tests.
47446 * sysdeps/i386/fpu/libm-test-ulps: Update.
47447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47449 2012-03-21 Allan McRae <allan@archlinux.org>
47451 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47453 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47456 * math/w_exp2.c: Do not include <float.h>.
47457 (o_threshold, u_threshold): Remove.
47458 (__exp2): Calculate result before checking finiteness and calling
47460 * math/w_exp2f.c: Likewise.
47461 * math/w_exp2l.c: Likewise.
47462 * math/libm-test.inc (exp2_test): Require overflow exception for
47466 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47467 range of signed 64-bit integers before using fistpll. Remove
47468 checks for whether integers fit in mantissa bits.
47469 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47470 the range of signed 32-bit integers before using fistpl. Remove
47471 checks for whether integers fit in mantissa bits.
47472 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47473 (__ieee754_powl): Test for y outside the range of signed 64-bit
47474 integers before using fistpll. Reduce 64-bit values to 63-bit
47476 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47477 divide-by-zero is raised for zero to large negative powers.
47478 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47479 (__ieee754_powl): Test for y outside the range of signed 64-bit
47480 integers before using fistpll. Reduce 64-bit values to 63-bit
47482 * math/libm-test.inc (pow_test): Add more tests.
47484 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47486 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47487 <stdio-common/_itoa.h>.
47488 * debug/segfault.c: Likewise.
47489 * elf/dl-cache.c: Likewise.
47490 * elf/dl-minimal.c: Likewise.
47491 * elf/dl-misc.c: Likewise.
47492 * elf/dl-sysdep.c: Likewise.
47493 * elf/dl-version.c: Likewise.
47494 * elf/rtld.c: Likewise.
47495 * hurd/hurdsock.c: Likewise.
47496 * hurd/lookup-retry.c: Likewise.
47497 * malloc/malloc.c: Likewise.
47498 * malloc/mtrace.c: Likewise.
47499 * nscd/nscd_getgr_r.c: Likewise.
47500 * nscd/nscd_getpw_r.c: Likewise.
47501 * nscd/nscd_getserv_r.c: Likewise.
47502 * posix/getopt_init.c: Likewise.
47503 * posix/wordexp.c: Likewise.
47504 * stdio-common/_itoa.c: Likewise.
47505 * stdio-common/printf_fphex.c: Likewise.
47506 * stdio-common/vfprintf.c: Likewise.
47507 * string/_strerror.c: Likewise.
47508 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47509 * sysdeps/i386/i686/hp-timing.h: Likewise.
47510 * sysdeps/mach/_strerror.c: Likewise.
47511 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47512 * sysdeps/mach/hurd/sethostid.c: Likewise.
47513 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47514 * sysdeps/mach/xpg-strerror.c: Likewise.
47515 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47516 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47517 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47518 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47519 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47520 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47521 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47522 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47523 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47524 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47525 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47526 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47527 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47528 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47529 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47530 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47531 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47532 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47533 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47534 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47535 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47537 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47539 * stdio-common/_itoa.h: Moved to ...
47540 * sysdeps/generic/_itoa.h: Here.
47542 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47544 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47545 instead of "_itoa.h" and "_itowa.h".
47546 * stdio-common/vfprintf.: Likewise.
47548 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47550 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47552 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47553 (__signbit): Likwise.
47554 (llrintf): Likwise.
47557 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47559 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47562 2012-03-20 Joseph Myers <joseph@codesourcery.com>
47564 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47565 OVERFLOW_EXCEPTION_OK.
47566 * math/libm-test.inc ("Philosophy"): Update comment about
47568 (OVERFLOW_EXCEPTION): Define.
47569 (OVERFLOW_EXCEPTION_OK): Likewise.
47570 (INVALID_EXCEPTION_OK): Renumber.
47571 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47572 (IGNORE_ZERO_INF_SIGN): Likewise.
47573 (test_exceptions): Handle FE_OVERFLOW.
47574 (exp10_test): Expect overflow exceptions.
47575 (exp2_test): Likewise.
47576 (expm1_test): Likewise.
47577 (nextafter_test): Likewise.
47578 (pow_test): Likewise.
47579 (scalbn_test): Likewise.
47580 (scalbln_test): Likewise.
47582 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47584 * sysdeps/x86_64/bits/atomic.h
47585 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47587 (atomic_exchange_acq): Likewise.
47588 (__arch_exchange_and_add_body): Likewise.
47589 (__arch_add_body): Likewise.
47590 (atomic_add_negative): Likewise.
47591 (atomic_add_zero): Likewise.
47593 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47595 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47596 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47598 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47600 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47601 Check __x86_64__ instead of __WORDSIZE.
47603 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47605 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47607 2012-03-19 David S. Miller <davem@davemloft.net>
47609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47611 * sysdeps/sparc/fpu/fenv_private.h: New file.
47612 * sysdeps/sparc/fpu/math_private.h: Use it.
47613 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47615 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47616 (libc_feholdexcept_setroundl): Remove.
47617 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47619 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47620 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47622 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47624 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47625 int64_t instead of long int.
47626 (INSERT_WORDS64): Likwise.
47628 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47630 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47631 _Unwind_GetCFA return to _Unwind_Ptr first.
47633 2012-03-19 Joseph Myers <joseph@codesourcery.com>
47636 * math/s_clog.c: Include <float.h>.
47637 (__clog): Scale large or subnormal inputs.
47638 * math/s_clogf.c: Likewise.
47639 * math/s_clogl.c: Likewise.
47640 * math/s_clog10.c: Include <float.h>.
47641 (M_LOG10_2): Define.
47642 (__clog10): Scale large or subnormal inputs.
47643 * math/s_clog10f.c: Likewise.
47644 * math/s_clog10l.c: Likewise.
47645 * math/libm-test.inc (clog_test): Add more tests.
47646 (clog10_test): Likewise.
47647 * sysdeps/i386/fpu/libm-test-ulps: Update.
47648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47651 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47653 * math/libm-test.inc (atan2_test): Add another test.
47655 * Makerules (common-objdir-compile): Remove.
47656 * sysdeps/unix/Makefile (config-generated): Do not add
47657 $(unix-generated) to variable.
47658 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47659 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47661 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47663 [generic bits/local_lim.h] (before-compile): Do not append to
47665 [generic bits/local_lim.h] (common-generated): Likewise.
47666 [generic sys/param.h] (before-compile): Do not append to variable.
47667 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47668 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47669 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47670 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47672 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47673 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47674 [generic sys/param.h] ($(addprefix
47675 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47676 [generic sys/param.h] (common-generated): Do not append to
47678 [generic sys/param.h] (sysdep_headers): Likewise.
47679 [generic bits/errno.h] (before-compile): Do not append to
47681 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47683 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47684 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47685 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47686 [generic bits/errno.h] (common-generated): Do not append to
47688 [generic bits/ioctls.h] (before-compile): Do not append to
47690 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47692 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47693 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47694 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47696 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47697 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47698 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47699 [generic bits/ioctls.h] (common-generated): Do not append to
47701 [generic sys/syscall.h] (syscall.h): Remove variable.
47702 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47704 [generic sys/syscall.h] (before-compile): Do not append to
47706 [generic sys/syscall.h] (common-generated): Likewise.
47707 * sysdeps/unix/errnos-tmpl.c: Remove file.
47708 * sysdeps/unix/errnos.awk: Likewise.
47709 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47710 * sysdeps/unix/ioctls.awk: Likewise.
47711 * sysdeps/unix/mk-local_lim.c: Likewise.
47712 * sysdeps/unix/snarf-ioctls: Likewise.
47714 2012-03-19 Richard Henderson <rth@twiddle.net>
47716 * sysdeps/i386/fpu/fenv_private.h: New file.
47717 * sysdeps/i386/fpu/math_private.h: Use it.
47718 (math_opt_barrier, math_force_eval): Remove.
47719 (libc_feholdexcept_setround_53bit): Remove.
47720 (libc_feupdateenv_53bit): Remove.
47721 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47722 (math_opt_barrier, math_force_eval): Remove.
47723 (libc_feholdexcept): Remove.
47724 (libc_feholdexcept_setround): Remove.
47725 (libc_fetestexcept, libc_fesetenv): Remove.
47726 (libc_feupdateenv_test): Remove.
47727 (libc_feupdateenv, libc_feholdsetround): Remove.
47728 (libc_feresetround): Remove.
47730 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47731 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47733 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47734 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47735 (libc_feupdateenv_testl): New.
47736 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47737 (libc_feupdateenv_testf): New.
47738 (libc_feupdateenv): Use libc_feupdateenv_test.
47739 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47740 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47742 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47743 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47744 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47745 (libc_feresetround_noex): New.
47746 (libc_feresetround_noexf): New.
47747 (libc_feresetround_noexl): New.
47748 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47749 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47750 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47751 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47753 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47754 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47756 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47757 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47758 SET_RESTORE_ROUND_NOEX.
47759 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47760 SET_RESTORE_ROUND_NOEXF.
47761 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47762 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47763 (libc_feholdsetroundf): New.
47764 (libc_feresetround, libc_feresetroundf): New.
47766 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47767 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47768 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47770 * sysdeps/generic/math_private.h: Include <fenv.h>.
47771 (default_libc_feholdexcept): New.
47772 (default_libc_feholdexcept_setround): New.
47773 (default_libc_fesetenv, default_libc_feupdateenv): New.
47774 (libc_feholdexcept): Only define if undefined.
47775 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47776 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47777 (libc_feholdexcept_setroundl): Likewise.
47778 (libc_feholdexcept_setround_53bit): Likewise.
47779 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47780 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47781 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47782 (libc_feupdateenv_53bit): Likewise.
47783 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47784 (libc_feholdexcept): Convert from macro to inline function.
47785 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47786 (libc_fesetenv, libc_feupdateenv): Likewise.
47788 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47789 not previously defined.
47790 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47791 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47792 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47793 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47794 * sysdeps/ieee754/flt-32/math_private.h: New file.
47795 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47796 math_private.h below SET_FLOAT_WORD.
47797 (__isnan, __isinf_ns, __finite): Remove.
47798 (__isnanf, __isinf_nsf, __finitef): Remove.
47800 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47804 2012-03-17 David S. Miller <davem@davemloft.net>
47807 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47810 2012-03-16 David S. Miller <davem@davemloft.net>
47812 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47816 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47818 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47819 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47820 sysdep_routines when subdir is sysvipc.
47821 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47822 __getshmlba helper.
47824 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47826 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47828 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47831 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47833 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47834 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47835 (__lround): Renamed to ...
47836 (__llround): This. Replace long int with long long int.
47837 Define lround functions as aliases of llround functions.
47838 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47840 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47842 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47843 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47844 adresses to uintptr_t. Replace "long int" and "unsigned long
47845 int" with "greg_t" on va_arg.
47847 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47849 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47850 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47852 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47853 Move e_machine check before EI_CLASS check. Handle x32
47854 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47855 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47856 SKIP_EM_IA_64 and include
47857 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47859 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47860 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47861 (add_system_dir): New macro.
47863 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47864 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47866 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47877 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47879 * math/w_j0f.c (j0f): Likewise.
47881 * math/w_j0l.c (__j0l): Likewise.
47883 * math/w_j1.c (j1): Likewise.
47885 * math/w_j1f.c (j1f): Likewise.
47887 * math/w_j1l.c (__j1l): Likewise.
47889 * math/w_jn.c (jn): Likewise.
47891 * math/w_jnf.c (jnf): Likewise.
47893 * math/w_jnl.c (__jnl): Likewise.
47895 * math/libm-test.inc (j0_test): Add more tests.
47896 (j1_test): Likewise.
47897 (jn_test): Likewise. Add trailing semicolon to existing test.
47898 (y0_test): Likewise.
47899 (y1_test): Likewise.
47900 * sysdeps/i386/fpu/libm-test-ulps: Update.
47901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47905 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47906 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47907 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47908 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47909 (__tanl): Set errno for infinite argument.
47910 * sysdeps/i386/fpu/mptan.c: Remove.
47911 * sysdeps/i386/fpu/s_tan.S: Likewise.
47912 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47913 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47914 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47915 * math/libm-test.inc (tan_test): Add more tests and enable more
47916 tests for double and long double.
47917 * sysdeps/i386/fpu/libm-test-ulps: Update.
47918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47920 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47922 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47923 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47925 2012-03-16 Roland McGrath <roland@hack.frob.com>
47927 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47928 * configure.in: Use it for both main tree and add-ons.
47929 * configure: Regenerated.
47931 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47933 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47935 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47937 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47941 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47942 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47943 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47944 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47945 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47947 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47948 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47949 != 0 for prec == 2.
47950 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47951 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47952 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47953 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47954 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47955 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47956 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47957 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47958 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47959 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47960 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47961 * math/libm-test.inc (cos_test): Add more tests and enable more
47962 tests for long double.
47963 (sin_test): Likewise.
47964 (sincos_test): Likewise.
47965 * sysdeps/i386/fpu/libm-test-ulps: Update.
47966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47968 2012-03-16 David S. Miller <davem@davemloft.net>
47970 * sysdeps/sparc/fpu/math_private.h: New file.
47972 2012-03-15 David S. Miller <davem@davemloft.net>
47974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47981 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47982 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47983 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47984 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47988 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47989 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47991 * sysdeps/sparc/sparc-ifunc.h: New file.
47992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
48008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48018 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48019 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48020 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48021 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48026 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48030 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48031 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48032 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48033 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48034 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48035 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48037 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48039 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48043 2012-03-15 Andreas Jaeger <aj@suse.de>
48046 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48047 ieee754/flt-32 implementation for sin, cos and sincos.
48048 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48049 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48050 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48051 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48052 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48053 ieee754/flt-32 implementation for tan.
48055 * math/libm-test.inc (cos_test): Enable some large input tests for
48057 (sin_test): Likewise.
48058 (sincos_test): Likewise.
48059 (tan_test): Add tests for large input.
48061 * sysdeps/i386/fpu/libm-test-ulps: Update.
48063 2012-03-15 Andreas Jaeger <aj@suse.de>
48066 * math/libm-test.inc (cos_test): Add more test cases.
48067 (sin_test): Likewise.
48068 (sincos_test): Likewise.
48070 2012-03-15 Andreas Jaeger <aj@suse.de>
48073 * math/libm-test.inc (cos_test): Add a test case for large input
48075 (sin_test): Likewise.
48076 (sincos_test): Likewise.
48078 2012-03-15 Andreas Jaeger <aj@suse.de>
48079 Joseph Myers <joseph@codesourcery.com>
48082 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
48083 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48084 * sysdeps/i386/fpu/branred.c: Likewise.
48085 * sysdeps/i386/fpu/dosincos.c: Likewise.
48086 * sysdeps/i386/fpu/mpa.c: Likewise.
48087 * sysdeps/i386/fpu/s_cos.S: Likewise.
48088 * sysdeps/i386/fpu/s_sin.S: Likewise.
48089 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48090 * sysdeps/i386/fpu/sincos32.c: Likewise.
48092 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48094 (libc_feupdateenv_53bit): Define.
48095 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48097 (libc_feupdateenv_53bit): Define.
48099 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48100 53 bit (without extend i386 double precision).
48102 * math/libm-test.inc (sincos_test): Add tests for large input.
48106 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48108 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48112 2012-03-15 David S. Miller <davem@davemloft.net>
48114 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48115 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48116 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48117 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48124 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
48129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
48132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
48135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
48138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48141 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48142 fmin/fmax sysdep routines.
48143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48145 2012-03-14 David S. Miller <davem@davemloft.net>
48147 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48148 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48151 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48153 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48154 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48155 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48157 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48158 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48163 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48164 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48165 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48166 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48167 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48168 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48169 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48170 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48171 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48172 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48173 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48174 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
48175 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48219 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48224 * sysdeps/sparc/configure.in: New file.
48225 * sysdeps/sparc/configure: Generate.
48226 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48227 * configure: Regenerate.
48228 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48229 * config.make.in (have-as-vis3): New.
48230 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48231 available use -Av9d instead of -Av9a.
48232 * sysdeps/sparc/sparc64/Makefile: Likewise.
48233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
48234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48242 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48243 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48244 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48245 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48246 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48248 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48249 fzeros/fnegs to load 0x80000000 into a float register instead of
48251 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48253 2012-03-14 Joseph Myers <joseph@codesourcery.com>
48255 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48257 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48258 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48259 ($(inst_includedir)/bits/syscall.h): Remove rule.
48260 ($(objpfx)bits/syscall.d): Include instead of
48261 $(objpfx)syscall-list.d.
48262 (generated): Change syscall-list.h and syscall-list.d to
48263 bits/syscall.h and bits/syscall.d.
48265 2012-03-14 Roland McGrath <roland@hack.frob.com>
48268 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48270 2012-03-14 Joseph Myers <joseph@codesourcery.com>
48273 * math/s_csqrt.c: Include <float.h>.
48274 (__csqrt): Scale large or subnormal inputs.
48275 * math/s_csqrtf.c: Likewise.
48276 * math/s_csqrtl.c: Likewise.
48277 * math/libm-test.inc (csqrt_test): Add more tests.
48278 * sysdeps/i386/fpu/libm-test-ulps: Update.
48279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48282 * math/libm-test.inc (hypot_test): Add more tests.
48284 2012-03-13 David S. Miller <davem@davemloft.net>
48287 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48288 double-precision for the calculation instead of scaling.
48290 2012-03-13 Joseph Myers <joseph@codesourcery.com>
48292 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48293 manipulate bits before adding and subtracting TWO52[sx].
48294 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48295 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48297 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48299 2012-03-13 David S. Miller <davem@davemloft.net>
48301 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48302 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48303 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48304 rtld-global-offsets.h
48305 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48307 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48310 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48312 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48313 'err' in the ifdef scope in which it is actually used.
48315 * nss/nss_db/db-init.c: Include string.h
48317 2012-03-12 David S. Miller <davem@davemloft.net>
48319 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48320 masking out of the most significant byte of random value used.
48321 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48322 Fix coding style in previous change.
48324 * sysdeps/unix/sysv/linux/kernel-features.h
48325 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48326 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48328 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48331 2012-03-11 David S. Miller <davem@davemloft.net>
48333 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48334 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48335 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48336 for 'resultvar' otherwise things get truncated on 64-bit.
48338 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48339 Fix masking out of the most significant byte of random value used.
48341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48343 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48347 2012-03-09 David S. Miller <davem@davemloft.net>
48349 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48350 variables with appropriate CPP guards.
48351 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48352 from the frame pointer, not the stack pointer. Correct layout
48353 comments. Fix test on resulting framesize and the management of
48354 the outregs buffer for pltexit. Preserve floating point return
48355 values across _dl_call_pltexit call.
48356 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48357 framesize and the management of the outregs buffer for pltexit.
48358 Preserve floating point return values across _dl_call_pltexit
48360 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48361 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48362 (la_sparc64_gnu_pltexit): New functions.
48363 (print_exit): Fix format string for return register value.
48365 2012-03-10 Joseph Myers <joseph@codesourcery.com>
48367 * sunrpc/Makefile (others): Add rpcgen.
48368 ($(objpfx)rpcgen): Remove special build rule and dependency on
48370 * sunrpc/rpcgen.c: New file.
48372 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48375 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48376 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48377 * sysdeps/i386/crti.S: Likewise.
48378 * sysdeps/i386/crtn.S: Likewise.
48379 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48380 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48381 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48382 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48383 * sysdeps/sh/crti.S: Likewise.
48384 * sysdeps/sh/crtn.S: Likewise.
48385 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48388 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48390 * locale/programs/locfile-kw.gperf: Likewise.
48391 * locale/programs/charmap-kw.h: Regenerated.
48392 * locale/programs/locfile-kw.h: Likewise.
48395 * intl/plural.y: Replace FSF snail mail address with URL.
48396 * intl/plural.c: Regenerated.
48398 2012-03-09 Richard Henderson <rth@twiddle.net>
48400 * include/math_private.h: Remove file.
48401 * math/math_private.h: Move file ...
48402 * sysdeps/generic/math_private.h: ... here.
48404 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48405 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48406 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48408 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48409 and <math_private.h>.
48410 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48411 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48412 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48413 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48414 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48415 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48416 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48417 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48418 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48419 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48420 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48421 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48422 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48423 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48424 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48425 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48426 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48427 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48428 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48429 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48430 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48431 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48432 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48434 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48435 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48436 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48437 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48438 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48439 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48440 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48441 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48442 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48443 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48444 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48445 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48446 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48447 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48448 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48449 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48450 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48451 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48452 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48453 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48454 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48455 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48456 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48457 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48458 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48459 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48460 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48461 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48462 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48463 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48464 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48465 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48466 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48467 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48468 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48469 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48470 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48471 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48472 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48473 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48474 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48475 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48476 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48477 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48478 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48479 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48480 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48481 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48482 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48483 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48484 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48485 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48486 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48487 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48488 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48489 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48490 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48491 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48492 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48493 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48494 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48495 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48496 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48497 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48498 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48499 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48500 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48501 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48502 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48503 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48504 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48505 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48506 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48507 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48508 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48509 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48510 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48511 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48512 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48513 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48514 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48515 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48516 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48517 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48518 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48519 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48520 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48521 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48522 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48523 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48524 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48525 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48526 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48527 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48528 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48529 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48530 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48531 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48532 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48533 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48534 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48535 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48536 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48537 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48538 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48539 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48540 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48541 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48542 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48543 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48544 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48545 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48546 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48547 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48548 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48549 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48550 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48551 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48552 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48553 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48554 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48555 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48556 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48557 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48558 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48559 * sysdeps/ieee754/k_standard.c: Likewise.
48560 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48561 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48562 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48563 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48564 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48565 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48566 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48567 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48568 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48569 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48570 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48571 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48572 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48573 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48574 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48575 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48576 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48577 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48578 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48579 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48580 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48581 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48582 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48583 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48584 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48585 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48586 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48587 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48588 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48589 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48590 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48591 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48592 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48593 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48594 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48595 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48596 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48597 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48598 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48599 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48600 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48601 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48602 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48603 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48604 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48605 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48606 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48607 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48608 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48609 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48610 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48611 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48612 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48613 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48614 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48615 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48616 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48617 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48618 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48619 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48620 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48621 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48622 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48623 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48624 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48625 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48626 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48627 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48628 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48629 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48630 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48631 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48632 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48633 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48634 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48635 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48636 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48637 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48638 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48639 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48640 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48641 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48642 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48643 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48644 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48645 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48646 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48647 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48648 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48649 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48650 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48651 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48652 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48653 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48654 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48655 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48656 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48657 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48658 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48659 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48660 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48661 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48662 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48663 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48664 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48665 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48666 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48667 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48668 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48669 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48670 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48671 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48672 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48673 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48674 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48675 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48676 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48677 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48678 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48679 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48680 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48681 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48682 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48683 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48684 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48685 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48686 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48687 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48688 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48689 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48690 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48691 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48692 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48693 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48694 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48695 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48696 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48697 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48698 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48699 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48700 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48701 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48702 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48703 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48704 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48705 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48706 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48707 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48708 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48709 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48710 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48711 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48712 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48713 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48714 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48715 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48716 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48717 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48718 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48719 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48720 * sysdeps/ieee754/s_lib_version.c: Likewise.
48721 * sysdeps/ieee754/s_matherr.c: Likewise.
48722 * sysdeps/ieee754/s_signgam.c: Likewise.
48723 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48724 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48725 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48726 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48727 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48728 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48729 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48730 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48731 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48732 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48733 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48734 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48735 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48736 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48737 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48738 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48739 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48740 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48741 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48742 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48743 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48745 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48747 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48748 * sunrpc/rpc_main.c: Likewise.
48749 * sunrpc/rpc_svcout.c: Likewise.
48751 2012-03-09 David S. Miller <davem@davemloft.net>
48753 * include/math_private.h: New file.
48755 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48757 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48758 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48759 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48760 from <bits/socket_type.h>.
48761 (enum __socket_type): Don't define here.
48762 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48764 bits/socket_type.h.
48767 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48768 checking __USE_GNU.
48770 * Makerules ($(inst_includedir)/%.h): New rule.
48771 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48772 (install-others): Remove variable setting.
48773 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48775 2012-03-08 Richard Henderson <rth@twiddle.net>
48777 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48778 from macro to inline function; merge with the
48779 !__LIBC_INTERNAL_MATH_INLINES version.
48780 (__ieee754_sqrtf): Likewise.
48782 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48783 to inline function.
48784 (__rintf, __floor, __floorf): Likewise.
48786 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48787 macro to inline function.
48788 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48790 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48791 not <math/math_private.h>.
48793 2012-03-08 David S. Miller <davem@davemloft.net>
48795 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48797 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48799 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48801 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48803 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48804 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48806 2012-03-08 Ulrich Drepper <drepper@gmail.com>
48808 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48809 be defined individually, they must be defined as a block. Define
48810 S for printing a string instead of hidint the different by using a
48811 macro for adding the 'l'.
48812 * stdio-common/tst-fphex-wide.c: Adjust.
48814 2012-03-07 Marek Polacek <polacek@redhat.com>
48816 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48818 2012-03-08 Marek Polacek <polacek@redhat.com>
48821 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48822 * stdio-common/tst-fphex.c: Define a few macros to make the
48823 test reusable. Use them.
48824 * stdio-common/tst-fphex-wide.c: New file.
48826 2012-03-08 Joseph Myers <joseph@codesourcery.com>
48829 * manual/macros.texi (gnusystems): New macro.
48830 (nongnusystems): Likewise.
48831 (gnulinuxhurdsystems): Likewise.
48832 (gnuhurdsystems): Likewise..
48833 (gnulinuxsystems): Likewise.
48834 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48835 variants of the GNU system, not "GNU system".
48836 * manual/conf.texi: Likewise.
48837 * manual/errno.texi: Likewise. Update example of errno macro
48839 * manual/filesys.texi: Likewise.
48840 (getumask): Document as specific to GNU/Hurd.
48841 * manual/install.texi: Likewise. Reword some references to
48843 * manual/intro.texi: Likewise.
48844 * manual/io.texi: Likewise.
48845 (File Name Portability): Detail which constraints are inapplicable
48846 to all GNU systems and which are only inapplicable to GNU/Hurd.
48847 * manual/job.texi: Likewise.
48848 * manual/llio.texi: Likewise.
48849 (O_NOCTTY): Document as present on GNU/Linux.
48850 * manual/maint.texi: Likewise.
48851 * manual/memory.texi: Likewise.
48852 * manual/pattern.texi: Likewise.
48853 * manual/pipe.texi: Likewise.
48854 * manual/process.texi: Likewise.
48855 * manual/resource.texi: Likewise.
48856 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48858 * manual/setjmp.texi: Likewise.
48859 * manual/signal.texi: Likewise.
48860 * manual/startup.texi: Likewise.
48861 * manual/stdio.texi: Likewise.
48862 * manual/terminal.texi: Likewise.
48863 (ONLCR): Document as POSIX.
48864 (OXTABS): Document availability on GNU/Linux as XTABS.
48865 (ONOEOT): Document availability separately from other bits.
48866 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48867 * manual/time.texi: Likewise.
48868 * manual/users.texi: Likewise.
48869 * INSTALL: Regenerated.
48870 * sysdeps/gnu/errlist.c: Regenerated.
48872 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48873 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48874 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48876 * configure: Regenerated.
48878 2012-03-07 Joseph Myers <joseph@codesourcery.com>
48880 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48881 default includes instead of AC_HEADER_CHECK.
48882 * sysdeps/i386/configure: Regenerated.
48885 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48886 * math/s_cacoshf.c (__cacoshf): Likewise.
48887 * math/s_cacoshl.c (__cacoshl): Likewise.
48888 * math/s_casinh.c (__casinh): Set signs of result from argument.
48889 * math/s_casinhf.c (__casinhf): Likewise.
48890 * math/s_casinhl.c (__casinhl): Likewise.
48891 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48892 (casinh_test): Add more tests.
48893 * sysdeps/i386/fpu/libm-test-ulps: Update.
48894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48896 2012-03-07 Ulrich Drepper <drepper@gmail.com>
48898 * po/zh_TW.po: Update from translation team.
48900 * login/Makefile (distribute): Remove variable.
48901 * catgets/Makefile: Likewise.
48902 * mach/Makefile: Likewise.
48903 * malloc/Makefile: Likewise.
48904 * misc/Makefile: Likewise.
48905 * iconv/Makefile: Likewise.
48906 * nscd/Makefile: Likewise.
48907 * hurd/Makefile: Likewise.
48908 * manual/Makefile: Likewise.
48909 * locale/Makefile: Likewise.
48910 * intl/Makefile: Likewise.
48911 * conform/Makefile: Likewise.
48912 * nss/Makefile: Likewise.
48913 * time/Makefile: Likewise.
48914 * soft-fp/Makefile: Likewise.
48915 * dirent/Makefile: Likewise.
48916 * gmon/Makefile: Likewise.
48917 * po/Makefile: Likewise.
48918 * rt/Makefile: Likewise.
48919 * socket/Makefile: Likewise.
48920 * math/Makefile: Likewise.
48921 * signal/Makefile: Likewise.
48922 * debug/Makefile: Likewise.
48923 * elf/Makefile: Likewise.
48924 * timezone/Makefile: Likewise.
48925 * stdlib/Makefile: Likewise.
48926 * iconvdata/Makefile: Likewise.
48927 * sunrpc/Makefile: Likewise.
48928 * io/Makefile: Likewise.
48929 * argp/Makefile: Likewise.
48930 * inet/Makefile: Likewise.
48931 * hesiod/Makefile: Likewise.
48932 * grp/Makefile: Likewise.
48933 * csu/Makefile: Likewise.
48934 * wctype/Makefile: Likewise.
48935 * crypt/Makefile: Likewise.
48936 * libio/Makefile: Likewise.
48937 * string/Makefile: Likewise.
48938 * nis/Makefile: Likewise.
48939 * resolv/Makefile: Likewise.
48940 * stdio-common/Makefile: Likewise.
48941 * wcsmbs/Makefile: Likewise.
48942 * dlfcn/Makefile: Likewise.
48943 * posix/Makefile: Likewise.
48946 * timezone/Makefile: Don't install timezone files, just the programs
48949 2012-03-06 Ulrich Drepper <drepper@gmail.com>
48951 * nss/databases.def: Add missing gshadow entry.
48953 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48955 2012-03-06 Marek Polacek <polacek@redhat.com>
48958 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48959 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48960 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48961 * stdio-common/tst-long-dbl-fphex.c: New file.
48963 2012-03-06 David S. Miller <davem@davemloft.net>
48965 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48966 (set_obp_int): New function.
48967 (get_obp_int): New function.
48968 (__get_clockfreq_via_dev_openprom): Likewise.
48969 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48970 Avoid unused variable warnings on 'val' and use builtin_expect.
48971 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48973 (INLINE_CLONE_SYSCALL): Likewise.
48975 2012-03-05 David S. Miller <davem@davemloft.net>
48977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48979 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48983 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48984 only for |x| >= 40.
48985 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48987 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
48989 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48990 Replace gettimeofday with __vdso_gettimeofday.
48992 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48993 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48994 __vdso_clock_gettime and __vdso_getcpu.
48996 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48997 time with __vdso_time.
48999 2012-03-05 Joseph Myers <joseph@codesourcery.com>
49001 * manual/lang.texi (size_t): Note types to which size_t may be
49002 equivalent with the GNU C Library, but do not describe when
49003 differences between them are significant.
49005 2012-03-05 Andreas Jaeger <aj@suse.de>
49007 * sysdeps/i386/fpu/libm-test-ulps: Update.
49009 2012-03-05 Joseph Myers <joseph@codesourcery.com>
49012 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49013 (__ieee754_pow): Save and restore rounding mode and use
49014 round-to-nearest for main computations.
49015 * math/libm-test.inc (pow_test_tonearest): New function.
49016 (pow_test_towardzero): Likewise.
49017 (pow_test_downward): Likewise.
49018 (pow_test_upward): Likewise.
49019 (main): Call the new functions.
49020 * sysdeps/i386/fpu/libm-test-ulps: Update.
49021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49024 * math/libm-test.inc (cosh_test_tonearest): New function.
49025 (cosh_test_towardzero): Likewise.
49026 (cosh_test_downward): Likewise.
49027 (cosh_test_upward): Likewise.
49028 (sinh_test_tonearest): Likewise.
49029 (sinh_test_towardzero): Likewise.
49030 (sinh_test_downward): Likewise.
49031 (sinh_test_upward): Likewise.
49032 (main): Call the new functions.
49033 * sysdeps/i386/fpu/libm-test-ulps: Update.
49034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49036 2012-03-05 Tom de Vries <tom@codesourcery.com>
49038 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49039 default stack guard is set in last bytes.
49040 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49042 2012-03-05 Kees Cook <keescook@chromium.org>
49044 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
49047 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49048 possibly allocate from heap instead of stack.
49049 * stdio-common/bug-vfprintf-nargs.c: New file.
49050 * stdio-common/Makefile (tests): Add nargs overflow test.
49052 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49056 2012-03-03 Marek Polacek <polacek@redhat.com>
49058 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49059 * math/math_private.h: Likewise.
49060 * stdlib/tst-strtod.c: Likewise.
49061 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49062 * sysdeps/x86_64/bits/atomic.h: Likewise.
49064 2012-03-02 David S. Miller <davem@davemloft.net>
49066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49070 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49071 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49072 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49073 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49075 2012-03-02 Roland McGrath <roland@hack.frob.com>
49078 * manual/examples/README: New file, says the example source files
49079 can be used under GPL>=2.
49080 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49081 line containing just "*/".
49082 * manual/examples/add.c: Add copyright header (GPL>=2).
49083 * manual/examples/argp-ex1.c: Likewise.
49084 * manual/examples/argp-ex2.c: Likewise.
49085 * manual/examples/argp-ex3.c: Likewise.
49086 * manual/examples/argp-ex4.c: Likewise.
49087 * manual/examples/atexit.c: Likewise.
49088 * manual/examples/db.c: Likewise.
49089 * manual/examples/dir.c: Likewise.
49090 * manual/examples/dir2.c: Likewise.
49091 * manual/examples/execinfo.c: Likewise.
49092 * manual/examples/filecli.c: Likewise.
49093 * manual/examples/filesrv.c: Likewise.
49094 * manual/examples/fmtmsgexpl.c: Likewise.
49095 * manual/examples/genpass.c: Likewise.
49096 * manual/examples/inetcli.c: Likewise.
49097 * manual/examples/inetsrv.c: Likewise.
49098 * manual/examples/isockad.c: Likewise.
49099 * manual/examples/longopt.c: Likewise.
49100 * manual/examples/memopen.c: Likewise.
49101 * manual/examples/memstrm.c: Likewise.
49102 * manual/examples/mkfsock.c: Likewise.
49103 * manual/examples/mkisock.c: Likewise.
49104 * manual/examples/mygetpass.c: Likewise.
49105 * manual/examples/pipe.c: Likewise.
49106 * manual/examples/popen.c: Likewise.
49107 * manual/examples/rprintf.c: Likewise.
49108 * manual/examples/search.c: Likewise.
49109 * manual/examples/select.c: Likewise.
49110 * manual/examples/setjmp.c: Likewise.
49111 * manual/examples/sigh1.c: Likewise.
49112 * manual/examples/sigusr.c: Likewise.
49113 * manual/examples/stpcpy.c: Likewise.
49114 * manual/examples/strdupa.c: Likewise.
49115 * manual/examples/strftim.c: Likewise.
49116 * manual/examples/strncat.c: Likewise.
49117 * manual/examples/subopt.c: Likewise.
49118 * manual/examples/swapcontext.c: Likewise.
49119 * manual/examples/termios.c: Likewise.
49120 * manual/examples/testopt.c: Likewise.
49121 * manual/examples/testpass.c: Likewise.
49122 * manual/examples/timeval_subtract.c: Likewise.
49125 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49127 * manual/timeval_subtract.c.texi: ... here, new file.
49129 2012-03-02 David S. Miller <davem@davemloft.net>
49131 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49133 2012-03-02 Joseph Myers <joseph@codesourcery.com>
49136 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49137 (__sin): Save and restore rounding mode and use round-to-nearest
49138 for all computations.
49139 (__cos): Save and restore rounding mode and use round-to-nearest
49140 for all computations.
49141 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49143 (tan): Save and restore rounding mode and use round-to-nearest for
49145 * math/libm-test.inc (cos_test_tonearest): New function.
49146 (cos_test_towardzero): Likewise.
49147 (cos_test_downward): Likewise.
49148 (cos_test_upward): Likewise.
49149 (sin_test_tonearest): Likewise.
49150 (sin_test_towardzero): Likewise.
49151 (sin_test_downward): Likewise.
49152 (sin_test_upward): Likewise.
49153 (tan_test_tonearest): Likewise.
49154 (tan_test_towardzero): Likewise.
49155 (tan_test_downward): Likewise.
49156 (tan_test_upward): Likewise.
49157 (main): Call the new functions.
49158 * sysdeps/i386/fpu/libm-test-ulps: Update.
49159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49162 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49163 small n, then large n, before computing and testing k+n.
49164 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49165 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49167 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49169 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49170 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49171 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49172 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49173 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49174 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49175 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49176 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49177 * math/libm-test.inc (scalbn_test): Add more tests.
49178 (scalbln_test): Likewise.
49180 * manual/filesys.texi (mode_t): Describe constraints on size and
49181 signedness, not exact equivalence to a particular type.
49183 (ino64_t): Likewise.
49185 (nlink_t): Likewise.
49186 (blkcnt_t): Likewise.
49187 (blkcnt64_t): Likewise.
49188 * manual/llio.texi (off_t): Likewise.
49191 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49192 (__ieee754_exp): Save and restore rounding mode and use
49193 round-to-nearest for all computations.
49194 * math/libm-test.inc (exp_test_tonearest): New function.
49195 (exp_test_towardzero): Likewise.
49196 (exp_test_downward): Likewise.
49197 (exp_test_upward): Likewise.
49198 (main): Call the new functions.
49199 * sysdeps/i386/fpu/libm-test-ulps: Update.
49200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49202 2012-03-01 Chris Demetriou <cgd@google.com>
49204 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49205 have predictable order.
49207 2012-03-01 David S. Miller <davem@davemloft.net>
49209 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49211 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49212 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49213 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49214 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49216 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49217 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49218 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49220 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49221 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49222 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49223 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49224 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49228 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49229 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49230 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49232 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49233 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49234 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49235 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49236 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49237 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49238 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49239 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49240 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49241 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49242 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49243 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49244 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49245 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49246 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49247 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49248 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49249 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49250 * sysdeps/sparc/elf/configure: Regenerated.
49252 2012-03-01 Joseph Myers <joseph@codesourcery.com>
49254 * configure.in (AS, LD): Require binutils 2.20 or later.
49255 * configure: Regenerated.
49256 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49257 as required minimum version.
49258 * INSTALL: Regenerated.
49262 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49263 before squaring exponent.
49264 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49265 bottom long double and 27 bits of top long double before squaring
49267 * math/libm-test.inc (erfc_test): Add more tests.
49268 * sysdeps/i386/fpu/libm-test-ulps: Update.
49269 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49272 2012-03-01 Kai Tietz <ktietz@redhat.com>
49274 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49275 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49276 containing bit-fields.
49277 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49278 * soft-fp/single.h (_FP_UNION_S): Likewise.
49279 * soft-fp/double.h (_FP_UNION_D): Likewise.
49281 2012-02-29 Joseph Myers <joseph@codesourcery.com>
49284 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49285 not include ../strcmp.S.
49286 [USE_AS_STRNCASECMP_L]: Likewise.
49287 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49288 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49289 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49290 (__strncasecmp_l_ia32): Define as alias to
49291 __strncasecmp_l_nonascii.
49294 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49295 * sysdeps/i386/fpu/libm-test-ulps: Update.
49296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49298 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49301 2012-02-29 Jeff Law <law@redhat.com>
49303 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49304 out of bounds read.
49306 2012-02-29 Marek Polacek <polacek@redhat.com>
49309 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49310 * elf/Makefile: Add rules to run tst-unused-dep.out.
49312 2012-02-28 David S. Miller <davem@davemloft.net>
49314 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49315 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49316 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49317 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49318 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49319 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49321 2012-02-29 Joseph Myers <joseph@codesourcery.com>
49323 * math/libm-test.inc (llround_test): Move one test from
49324 lround_test. Use TEST_f_L in moved test.
49325 (lround_test): Move misplaced test to llround_test. Add testcase
49328 2012-02-28 Ulrich Drepper <drepper@gmail.com>
49330 * sysdeps/x86_64/fpu/e_expf.S: New file.
49331 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49333 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49336 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49337 of remain_len that may cause incomplete multi-byte character and
49339 * posix/bug-regex33.c: New file.
49340 * posix/Makefile (tests): Add bug-regex33.
49342 2012-02-28 Joseph Myers <joseph@codesourcery.com>
49344 * manual/macros.texi: New file.
49345 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49346 * manual/libc.texinfo: Include macros.texi.
49347 * manual/creatute.texi: Likewise.
49348 * manual/install.texi: Likewise.
49349 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49350 @glibcadj{} in references to the GNU C Library.
49351 * manual/charset.texi: Likewise.
49352 * manual/conf.texi: Likewise.
49353 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49354 when not using those macros.
49355 * manual/creature.texi: Likewise.
49356 * manual/crypt.texi: Likewise.
49357 * manual/errno.texi: Likewise.
49358 * manual/filesys.texi: Likewise.
49359 * manual/header.texi: Likewise.
49360 * manual/install.texi: Likewise.
49361 * manual/intro.texi: Likewise.
49362 * manual/io.texi: Likewise.
49363 * manual/job.texi: Likewise.
49364 * manual/lang.texi: Likewise.
49365 * manual/libc.texiinfo: Likewise.
49366 * manual/llio.texi: Likewise.
49367 * manual/locale.texi: Likewise.
49368 * manual/maint.texi: Likewise.
49369 * manual/math.texi: Likewise.
49370 * manual/memory.texi: Likewise.
49371 * manual/message.texi: Likewise.
49372 * manual/nss.texi: Likewise.
49373 * manual/pattern.texi: Likewise.
49374 * manual/process.texi: Likewise.
49375 * manual/resource.texi: Likewise.
49376 * manual/search.texi: Likewise.
49377 * manual/setjmp.texi: Likewise.
49378 * manual/signal.texi: Likewise.
49379 * manual/socket.texi: Likewise.
49380 * manual/startup.texi: Likewise.
49381 * manual/stdio.texi: Likewise.
49382 * manual/string.texi: Likewise.
49383 * manual/sysinfo.texi: Likewise.
49384 * manual/syslog.texi: Likewise.
49385 * manual/terminal.texi: Likewise.
49386 * manual/time.texi: Likewise.
49387 * manual/users.texi: Likewise.
49388 * INSTALL: Regenerated.
49389 * NOTES: Regenerated.
49390 * sysdeps/gnu/errlist.c: Regenerated.
49392 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49394 * include/dirent.h: Include <dirstream.h> before
49397 2012-02-28 David S. Miller <davem@davemloft.net>
49399 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49400 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49401 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49402 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49404 2012-02-27 David S. Miller <davem@davemloft.net>
49406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49408 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49409 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49412 frame pointer instead of stack pointer relative arg slot.
49413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49414 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49415 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49417 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49420 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49422 2012-02-27 David S. Miller <davem@davemloft.net>
49424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49428 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49429 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49430 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49431 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49433 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49435 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49436 later. Allow versions 5-9.
49437 * configure: Regenerated.
49438 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49439 required minimum version and 4.6 as recommended version. Do not
49440 mention bugs in GCC 2.7 and 2.8.
49441 * INSTALL: Regenerated.
49443 2012-02-27 David S. Miller <davem@davemloft.net>
49445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49449 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49450 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49451 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49452 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49454 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49455 manipulate bits before adding and subtracting TWO112[sx].
49456 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49458 2012-02-27 Roland McGrath <roland@hack.frob.com>
49461 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49462 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49463 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49464 being in POSIX, because they are in 1003.1-2008.
49466 * rt/tst-aio.c: Include <fcntl.h>.
49467 * rt/tst-aio7.c: Likewise.
49468 * rt/tst-aio64.c: Likewise.
49470 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49472 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49474 * manual/install.texi (--with-headers): Describe headers as
49475 interface headers, not private headers.
49476 (Specific advice for GNU/Linux systems): Describe use of headers
49477 from "make headers_install", not private headers from older
49479 * INSTALL: Regenerated.
49480 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49482 * sysdeps/unix/sysv/linux/configure: Regenerated.
49484 * manual/llio.texi (fclean): Remove documentation.
49486 * manual/Makefile (libc-texi-generated): New variable. Include
49488 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49489 $(libc-texi-generated), not duplicated list of files.
49490 (version.texi, stamp-version): New rules.
49491 (realclean): Remove $(libc-texi-generated), not individual files
49492 from that list. Do not remove dir-add.texinfo.
49493 * manual/libc.texinfo: Comment out uses of edition numbers and
49494 references to printed manual. Remove last-updated dates.
49495 (EDITION): Comment out.
49497 (VERSION, UPDATED): Remove.
49498 (version.texi): Include.
49500 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49502 * sysdeps/posix/spawni.c: Include <signal.h>.
49503 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49504 * sysdeps/pthread/aio_fsync.c: Likewise.
49506 2012-02-26 Ulrich Drepper <drepper@gmail.com>
49508 * conform/Makefile (tests): Run only when not cross-compiling and
49509 when fast-check is not defined.
49511 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49512 * conform/data/limits.h-data: Fixes for POSIX2008.
49513 * conform/run-conformtest.sh: Run all tests.
49514 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49516 * include/bits/dlfcn.h: Likewise.
49517 * include/langinfo.h: Likewise.
49518 * include/monetary.h: Likewise.
49519 * include/sys/poll.h: Likewise.
49521 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49523 * posix/spawn.h: Define __need_sigset_t.
49524 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49525 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49526 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49527 to get sigevent_t only.
49528 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49529 only for __USE_GNU.
49530 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49531 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49532 process_vm_writev only for __USE_GNU.
49533 * termios/termios.h: Declare tcgetsid also for POSIX2008.
49535 * conform/Makefile: For now ignore errors from run-conformtest.
49536 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49537 POSIX to avoid namespace pollution. Don't prepend headers.
49538 * conform/data/aio.h-data: Fixes for POSIX testing.
49539 * conform/data/fcntl.h-data: Likewise.
49540 * conform/data/glob.h-data: Likewise.
49541 * conform/data/grp.h-data: Likewise.
49542 * conform/data/pthread.h-data: Likewise.
49543 * conform/data/pwd.h-data: Likewise.
49544 * conform/data/signal.h-data: Likewise.
49545 * conform/data/spawn.h-data: Likewise.
49546 * conform/data/stdio.h-data: Likewise.
49547 * conform/data/stdlib.h-data: Likewise.
49548 * conform/data/stropts.h-data: Likewise.
49549 * conform/data/sys/mman.h-data: Likewise.
49550 * conform/data/sys/stat.h-data: Likewise.
49551 * conform/data/sys/types.h-data: Likewise.
49552 * conform/data/sys/wait.h-data: Likewise.
49553 * conform/data/time.h-data: Likewise.
49554 * conform/data/unistd.h-data: Likewise.
49555 * conform/data/utime.h-data: Likewise.
49557 * io/sys/stat.h: fchmod was always in POSIX.
49558 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49559 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49560 * rt/aio.h: Define __need_timespec before including <time.h>.
49561 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49562 struct. Add forward declaration of pthread_attr_t and use it in
49564 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49565 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49566 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49567 always remove CLK_TCK definition.
49569 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49571 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49573 2012-02-25 Ulrich Drepper <drepper@gmail.com>
49575 * conform/run-conformtest.sh: New file.
49576 * conform/Makefile: Run run-conformtest for tests.
49577 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49580 * conform/data/uchar.h-data: New file.
49581 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49582 * conform/data/arpa/inet.h-data: Likewise.
49583 * conform/data/assert.h-data: Likewise.
49584 * conform/data/complex.h-data: Likewise.
49585 * conform/data/cpio.h-data: Likewise.
49586 * conform/data/ctype.h-data: Likewise.
49587 * conform/data/dirent.h-data: Likewise.
49588 * conform/data/dlfcn.h-data: Likewise.
49589 * conform/data/errno.h-data: Likewise.
49590 * conform/data/fcntl.h-data: Likewise.
49591 * conform/data/float.h-data: Likewise.
49592 * conform/data/fmtmsg.h-data: Likewise.
49593 * conform/data/fnmatch.h-data: Likewise.
49594 * conform/data/ftw.h-data: Likewise.
49595 * conform/data/glob.h-data: Likewise.
49596 * conform/data/grp.h-data: Likewise.
49597 * conform/data/iconv.h-data: Likewise.
49598 * conform/data/inttypes.h-data: Likewise.
49599 * conform/data/langinfo.h-data: Likewise.
49600 * conform/data/libgen.h-data: Likewise.
49601 * conform/data/limits.h-data: Likewise.
49602 * conform/data/locale.h-data: Likewise.
49603 * conform/data/math.h-data: Likewise.
49604 * conform/data/monetary.h-data: Likewise.
49605 * conform/data/mqueue.h-data: Likewise.
49606 * conform/data/ndbm.h-data: Likewise.
49607 * conform/data/net/if.h-data: Likewise.
49608 * conform/data/netdb.h-data: Likewise.
49609 * conform/data/netinet/in.h-data: Likewise.
49610 * conform/data/nl_types.h-data: Likewise.
49611 * conform/data/poll.h-data: Likewise.
49612 * conform/data/pthread.h-data: Likewise.
49613 * conform/data/pwd.h-data: Likewise.
49614 * conform/data/regex.h-data: Likewise.
49615 * conform/data/sched.h-data: Likewise.
49616 * conform/data/search.h-data: Likewise.
49617 * conform/data/semaphore.h-data: Likewise.
49618 * conform/data/setjmp.h-data: Likewise.
49619 * conform/data/signal.h-data: Likewise.
49620 * conform/data/spawn.h-data: Likewise.
49621 * conform/data/stdarg.h-data: Likewise.
49622 * conform/data/stdio.h-data: Likewise.
49623 * conform/data/stdlib.h-data: Likewise.
49624 * conform/data/string.h-data: Likewise.
49625 * conform/data/strings.h-data: Likewise.
49626 * conform/data/stropts.h-data: Likewise.
49627 * conform/data/sys/ipc.h-data: Likewise.
49628 * conform/data/sys/mman.h-data: Likewise.
49629 * conform/data/sys/msg.h-data: Likewise.
49630 * conform/data/sys/resource.h-data: Likewise.
49631 * conform/data/sys/select.h-data: Likewise.
49632 * conform/data/sys/sem.h-data: Likewise.
49633 * conform/data/sys/shm.h-data: Likewise.
49634 * conform/data/sys/socket.h-data: Likewise.
49635 * conform/data/sys/stat.h-data: Likewise.
49636 * conform/data/sys/statvfs.h-data: Likewise.
49637 * conform/data/sys/time.h-data: Likewise.
49638 * conform/data/sys/timeb.h-data: Likewise.
49639 * conform/data/sys/times.h-data: Likewise.
49640 * conform/data/sys/types.h-data: Likewise.
49641 * conform/data/sys/uio.h-data: Likewise.
49642 * conform/data/sys/un.h-data: Likewise.
49643 * conform/data/sys/utsname.h-data: Likewise.
49644 * conform/data/sys/wait.h-data: Likewise.
49645 * conform/data/syslog.h-data: Likewise.
49646 * conform/data/tar.h-data: Likewise.
49647 * conform/data/termios.h-data: Likewise.
49648 * conform/data/utime.h-data: Likewise.
49649 * conform/data/utmpx.h-data: Likewise.
49650 * conform/data/varargs.h-data: Likewise.
49651 * conform/data/wchar.h-data: Likewise.
49652 * conform/data/wctype.h-data: Likewise.
49653 * conform/data/wordexp.h-data: Likewise.
49655 * include/stropts.h: New file.
49656 * include/uchar.h: New file.
49657 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49658 * include/assert.h: Likewise.
49659 * include/ctype.h: Likewise.
49660 * include/dirent.h: Likewise.
49661 * include/dlfcn.h: Likewise.
49662 * include/fcntl.h: Likewise.
49663 * include/fnmatch.h: Likewise.
49664 * include/glob.h: Likewise.
49665 * include/grp.h: Likewise.
49666 * include/libio.h: Likewise.
49667 * include/locale.h: Likewise.
49668 * include/math.h: Likewise.
49669 * include/net/if.h: Likewise.
49670 * include/netdb.h: Likewise.
49671 * include/netinet/in.h: Likewise.
49672 * include/pthread.h: Likewise.
49673 * include/pwd.h: Likewise.
49674 * include/regex.h: Likewise.
49675 * include/sched.h: Likewise.
49676 * include/search.h: Likewise.
49677 * include/setjmp.h: Likewise.
49678 * include/signal.h: Likewise.
49679 * include/stdio.h: Likewise.
49680 * include/stdlib.h: Likewise.
49681 * include/string.h: Likewise.
49682 * include/sys/cdefs.h: Likewise.
49683 * include/sys/mman.h: Likewise.
49684 * include/sys/msg.h: Likewise.
49685 * include/sys/resource.h: Likewise.
49686 * include/sys/select.h: Likewise.
49687 * include/sys/socket.h: Likewise.
49688 * include/sys/stat.h: Likewise.
49689 * include/sys/statvfs.h: Likewise.
49690 * include/sys/time.h: Likewise.
49691 * include/sys/times.h: Likewise.
49692 * include/sys/uio.h: Likewise.
49693 * include/sys/utsname.h: Likewise.
49694 * include/sys/wait.h: Likewise.
49695 * include/termios.h: Likewise.
49696 * include/time.h: Likewise.
49697 * include/ulimit.h: Likewise.
49698 * include/unistd.h: Likewise.
49699 * include/utime.h: Likewise.
49700 * include/wchar.h: Likewise.
49701 * include/wctype.h: Likewise.
49702 * include/wordexp.h: Likewise.
49704 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49706 * time/time.h: TIME_UTC must be a macro.
49707 Make timespec_get available for ISO C11 only as well.
49709 2012-02-24 Ulrich Drepper <drepper@gmail.com>
49711 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49712 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49714 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49716 * configure.in: Use -o not -a in test for unsupported multi-arch.
49718 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49720 * manual/texinfo.tex: Update to version 2012-01-19.16.
49722 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49724 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49726 2012-02-24 Roland McGrath <roland@hack.frob.com>
49729 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49730 * manual/fdl-1.3.texi: New file.
49731 * manual/fdl-1.1.texi: File removed.
49734 * manual/libc.texinfo (FDL_VERSION): New @set.
49735 Use it for mention of FDL in cover text.
49736 (Documentation License): Use it in @include file name.
49738 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49739 Roland McGrath <roland@hack.frob.com>
49742 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49743 (not LONG_LONG_MAX and LONG_LONG_MIN.
49744 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49745 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49747 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49749 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49753 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49754 manipulate bits before adding and subtracting TWO23[sx].
49755 * math/libm-test.inc (nearbyint_test): Add more tests.
49757 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49760 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49761 bits before adding and subtracting TWO23[sx].
49762 * math/libm-test.inc (rint_test): Add more tests.
49763 (rint_test_tonearest): Likewise.
49764 (rint_test_towardzero): Likewise.
49765 (rint_test_downward): Likewise.
49766 (rint_test_upward: Likewise.
49768 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49771 * include/stdc-predef.h: New file. Extracted from features.h.
49772 * include/features.h: Include stdc-predef.h.
49773 * Makefile (headers): Add stdc-predef.h.
49774 * CONFORMANCE (Compiler limitations): Update.
49776 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49778 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49780 2012-02-21 David S. Miller <davem@davemloft.net>
49782 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49783 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49785 2012-02-20 David S. Miller <davem@davemloft.net>
49787 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49788 using a normal save/restore sequence, rather than allocating a
49789 dummy stack frame just to store a frame pointer and restore.
49790 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49792 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49794 * manual/install.texi: Fix stray word in line-wrapped comment.
49796 2012-02-20 David S. Miller <davem@davemloft.net>
49798 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49799 both binutils and gcc support GOTDATA.
49801 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49802 "rd %pc" in the PIC register setup sequences.
49804 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49805 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49806 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49807 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49808 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49809 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49810 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49811 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49812 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49813 (SYSCALL_ERROR_HANDLER): Likewise.
49814 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49815 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49816 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49817 (SYSCALL_ERROR_HANDLER): Likewise.
49819 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49820 (HAVE_GCC_GOTDATA): New.
49821 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49822 relocation support in both binutils and gcc.
49823 * sysdeps/sparc/elf/configure: Regenerate.
49825 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49826 * sysdeps/sparc/sparc32/elf/configure: Delete.
49827 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49828 * sysdeps/sparc/sparc64/elf/configure: Delete.
49829 * sysdeps/sparc/elf/configure.in: New file.
49830 * sysdeps/sparc/elf/configure: Generate.
49832 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49833 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49834 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49835 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49836 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49838 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49840 * manual/install.texi: Do not mention specific glibc version
49842 * manual/libc.texinfo (VERSION, UPDATED): Update.
49843 (@copying): Use @copyright{} and range of years.
49845 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49848 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49849 [crti.S not in sysdirs] (generated): Do not append.
49850 [crti.S not in sysdirs] (omit-deps): Likewise.
49851 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49852 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49853 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49854 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49855 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49857 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49858 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49859 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49860 * csu/defs.awk: Remove file.
49861 * sysdeps/generic/initfini.c: Likewise.
49862 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49864 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49867 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49869 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49870 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49871 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49872 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49873 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49874 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49876 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49877 (__EPOLL_PACKED): Define to empty if not defined by
49879 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49883 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49885 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49886 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49887 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49888 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49890 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49891 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49894 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49896 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49898 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49899 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49900 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49903 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49905 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49906 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49908 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49910 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49911 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49913 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49915 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49918 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49920 * math/w_acos.c: Use non-signaling floating-point comparisons.
49921 * math/w_acosf.c: Likewise.
49922 * math/w_acosh.c: Likewise.
49923 * math/w_acoshf.c: Likewise.
49924 * math/w_acoshl.c: Likewise.
49925 * math/w_acosl.c: Likewise.
49926 * math/w_asin.c: Likewise.
49927 * math/w_asinf.c: Likewise.
49928 * math/w_asinl.c: Likewise.
49929 * math/w_atanh.c: Likewise.
49930 * math/w_atanhf.c: Likewise.
49931 * math/w_atanhl.c: Likewise.
49932 * math/w_exp2.c: Likewise.
49933 * math/w_exp2f.c: Likewise.
49934 * math/w_exp2l.c: Likewise.
49935 * math/w_j0.c: Likewise.
49936 * math/w_j0f.c: Likewise.
49937 * math/w_j0l.c: Likewise.
49938 * math/w_j1.c: Likewise.
49939 * math/w_j1f.c: Likewise.
49940 * math/w_j1l.c: Likewise.
49941 * math/w_jn.c: Likewise.
49942 * math/w_jnf.c: Likewise.
49943 * math/w_log.c: Likewise.
49944 * math/w_log10.c: Likewise.
49945 * math/w_log10f.c: Likewise.
49946 * math/w_log10l.c: Likewise.
49947 * math/w_log2.c: Likewise.
49948 * math/w_log2f.c: Likewise.
49949 * math/w_log2l.c: Likewise.
49950 * math/w_logf.c: Likewise.
49951 * math/w_logl.c: Likewise.
49952 * math/w_sqrt.c: Likewise.
49953 * math/w_sqrtf.c: Likewise.
49954 * math/w_sqrtl.c: Likewise.
49955 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49956 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49957 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49958 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49959 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49961 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49964 * manual/string.texi (strnlen): Use correct parameter name in
49965 equivalent expression.
49967 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49970 * manual/users.texi (seteuid): Consistently use neweuid for
49973 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49976 * manual/nss.texi (Services in the NSS configuration): Correct
49977 list of services in example configuration file.
49979 2012-02-19 Nick Bowler <nbowler@draconx.ca>
49982 * manual/arith.texi: Remove statements about negative zero
49983 behaving identically to zero.
49985 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49988 * manual/install.texi: Do not document upgrading from libc5.
49990 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49993 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49995 2012-02-18 David S. Miller <davem@davemloft.net>
49997 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49998 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49999 %o7 across the call.
50000 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50002 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50003 SETUP_PIC_REG_LEAF.
50004 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50005 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50006 * sysdeps/sparc/crtn.S: Likewise.
50008 2012-02-17 Ulrich Drepper <drepper@gmail.com>
50010 * aout/Makefile: Remove.
50012 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
50015 * manual/examples/argp-ex1.c (main): Format definition in GNU
50017 * manual/examples/argp-ex2.c (main): Likewise.
50018 * manual/examples/argp-ex3.c (main): Likewise.
50019 * manual/examples/argp-ex4.c (main): Likewise.
50020 * manual/examples/longopt.c (main): Use new-style prototype
50022 * manual/examples/strncat.c (main): Specify return type and use
50023 (void) for arguments.
50024 * manual/examples/subopt.c (main): Use char **argv argument.
50026 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50029 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50032 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
50035 * manual/string.texi (strchr): Change when strchrnul is
50038 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50041 * manual/locale.texi (setlocale): Document LOCPATH.
50043 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50046 * manual/process.texi (execle): Move @dots{} before last argument.
50048 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
50051 * manual/charset.texi (Generic Charset Conversion): Fix typo
50052 (LC_TYPE -> LC_CTYPE).
50054 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50057 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50058 (scalbnf): Likewise.
50059 (scalbnl): Likewise.
50060 (scalbln): Likewise.
50061 (scalblnf): Likewise.
50062 (scalblnl): Likewise.
50063 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50064 (vwarnx): Likewise.
50067 * manual/filesys.texi (telldir): Use braces around return type.
50068 * manual/llio.texi (mmap): Add space after comma.
50069 (mmap64): Likewise.
50070 * manual/math.texi (jn): Use @var{} on parameter names.
50076 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50078 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50080 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50081 (sched_get_priority_max): Likewise.
50082 * manual/signal.texi (sigvec): Add space after comma.
50083 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50085 (if_indextoname): Likewise.
50086 (if_freenameindex): Likewise.
50087 (sendto): Use ',' instead of '.' in prototype.
50088 * manual/startup.texi (syscall): Use @dots{} instead of literal
50090 * manual/stdio.texi (__fpending): Separate initial words of
50091 paragraph from @deftypefun line.
50092 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50094 (vsyslog): Use @var{} on parameter names.
50095 * manual/terminal.texi (stty): Use @var{} on parameter names.
50096 * manual/users.texi (getutmp): Use @var{} on parameter names.
50097 (getutmpx): Likewise.
50099 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50102 * manual/stdio.texi (fopen): Fix typos in description of
50105 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50108 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50109 get clock_id definition.
50111 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
50114 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50115 (madvise): Cast every argument to void on its own.
50117 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50120 * manual/startup.texi (Exit Status): Fix typo.
50122 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50125 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50126 * manual/examples/argp-ex2.c: Likewise.
50127 * manual/examples/argp-ex3.c: Likewise.
50129 2012-02-16 Richard Henderson <rth@redhat.com>
50131 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50132 * sysdeps/s390/s390-32/initfini.c: Remove.
50133 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50134 * sysdeps/s390/s390-64/initfini.c: Remove.
50136 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50138 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50139 compiler output for sysdeps/generic/initfini.c.
50140 * sysdeps/sh/elf/initfini.c: Remove file.
50142 2012-02-16 David S. Miller <davem@davemloft.net>
50145 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50147 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50148 * sysdeps/sparc/crti.S: New file.
50149 * sysdeps/sparc/crtn.S: New file.
50150 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50151 * sysdeps/sparc/sparc64/Makefile: Likewise.
50153 2012-02-15 Mike Frysinger <vapier@gentoo.org>
50156 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50158 2012-02-15 Roland McGrath <roland@hack.frob.com>
50161 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50163 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50164 (write, read, close): Likewise.
50165 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50167 2012-02-15 Joseph Myers <joseph@codesourcery.com>
50169 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50170 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50171 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50172 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50174 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50175 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50178 2012-02-14 Marek Polacek <polacek@redhat.com>
50180 * sysdeps/x86_64/crti.S: New file.
50181 * sysdeps/x86_64/crtn.S: New file.
50182 * sysdeps/x86_64/elf/initfini.c: Remove file.
50184 2012-02-13 Joseph Myers <joseph@codesourcery.com>
50186 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50187 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50188 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50189 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50191 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50192 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50195 2012-02-13 Joseph Myers <joseph@codesourcery.com>
50197 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50198 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50199 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50200 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50202 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50203 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50206 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50208 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50209 __feraiseexcept instead of feraiseexcept.
50211 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50212 nanosleep invocations.
50213 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50214 strings, and add error checking for a nanosleep invocations.
50216 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50218 Replace FSF snail mail address with URLs, as per GNU coding standards.
50219 Most of the snail mail addresses were wrong anyway, and omitting
50220 them makes the source code easier to maintain. Almost all of the
50221 changes are to license notices and to locale LC_IDENTIFICATION
50222 addresses, except for this one:
50223 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50224 not its snail mail address.
50226 2012-02-09 Richard Henderson <rth@twiddle.net>
50228 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50229 of kernel-features.h.
50231 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50233 2012-02-08 Marek Polacek <polacek@redhat.com>
50235 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50236 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50237 * sysdeps/gnu/_G_config.h: Likewise.
50238 * sysdeps/generic/_G_config.h: Likewise.
50240 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50242 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50246 * sysdeps/powerpc/powerpc32/crti.S: New file.
50247 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50248 * sysdeps/powerpc/powerpc64/crti.S: New file.
50249 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50251 * Makeconfig (have-initfini): Don't set.
50252 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50253 * configure.in (nopic_initfini): Don't substitute.
50254 * config.h.in (HAVE_INITFINI): Don't #undef.
50255 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50256 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50258 2012-02-08 Joseph Myers <joseph@codesourcery.com>
50260 Support crti.S and crtn.S provided directly by architectures.
50261 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50262 [crti.S in sysdirs] (omit-deps): Likewise.
50263 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50264 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50265 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50266 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50267 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50268 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50269 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50270 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50271 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50272 compiler output for sysdeps/generic/initfini.c.
50273 * sysdeps/i386/elf/Makefile: Remove file.
50274 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50276 2012-02-07 Marek Polacek <polacek@redhat.com>
50278 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50279 * sysdeps/gnu/_G_config.h: Likewise.
50280 * sysdeps/mach/hurd/_G_config.h: Likewise.
50282 2012-02-07 Marek Polacek <polacek@redhat.com>
50284 * math/Makefile (tests): Add tst-CMPLX2.
50285 * math/tst-CMPLX2.c: New file.
50287 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50289 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50291 * math/libm-test.inc (jn_test): Add missing L suffix.
50293 2012-02-06 Marek Polacek <polacek@redhat.com>
50295 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50296 * sysdeps/i386/fpu/e_powf.S: Likewise.
50297 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50298 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50299 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50300 * sysdeps/i386/fpu/e_pow.S: Likewise.
50301 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50302 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50303 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50304 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50305 * sysdeps/i386/fpu/e_log2.S: Likewise.
50306 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50307 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50308 * sysdeps/i386/fpu/e_powl.S: Likewise.
50309 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50310 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50311 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50312 * sysdeps/i386/fpu/e_logl.S: Likewise.
50313 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50314 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50315 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50316 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50317 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50318 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50319 * sysdeps/i386/fpu/e_log.S: Likewise.
50320 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50321 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50322 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50323 * sysdeps/i386/fpu/e_logf.S: Likewise.
50324 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50325 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50326 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50327 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50328 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50329 * sysdeps/i386/fpu/e_log10.S: Likewise.
50330 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50331 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50332 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50333 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50334 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50335 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50336 * sysdeps/i386/asm-syntax.h: Likewise.
50337 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50338 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50339 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50340 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50341 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50342 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50343 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50344 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50345 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50346 * sysdeps/powerpc/sysdep.h: Likewise.
50347 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50348 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50350 2012-02-06 Joseph Myers <joseph@codesourcery.com>
50353 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50355 2012-02-06 Joseph Myers <joseph@codesourcery.com>
50357 * sysdeps/i386/sysdep.h: Include <features.h>.
50358 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50361 2012-02-05 Joseph Myers <joseph@codesourcery.com>
50363 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50365 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50368 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50370 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50371 (SETUP_PIC_REG): Use GET_PC_THUNK.
50372 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50375 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50377 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50378 for non-PIC compilation.
50379 (SETUP_PIC_REG): Add .p2align directive.
50380 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50381 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50382 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50383 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50384 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50385 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50386 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50387 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50388 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50389 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50390 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50391 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50392 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50393 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50394 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50395 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50396 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50397 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50398 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50399 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50400 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50401 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50402 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50403 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50404 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50405 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50406 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50407 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50408 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50409 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50410 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50411 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50412 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50413 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50414 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50415 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50416 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50417 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50418 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50419 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50420 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50422 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50424 * math/tst-CMPLX.c: Include <stdio.h>.
50426 2012-01-31 Joseph Myers <joseph@codesourcery.com>
50428 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50430 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50431 * sysdeps/sparc/bits/mathdef.h: Likewise.
50433 2012-01-31 Marek Polacek <polacek@redhat.com>
50435 * libio/libio.h: Don't define _PARAMS.
50436 * locale/programs/config.h: Don't define PARAMS.
50437 * stdlib/strtol_l.c: Likewise.
50438 (__strtol_l): Remove PARAMS from the prototype.
50440 2012-01-31 Ulrich Drepper <drepper@gmail.com>
50442 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50443 names. Just use the correct names. Remove unnecessary wrapper
50445 * malloc/arena.c: Likewise.
50446 * malloc/hooks.c: Likewise.
50448 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50449 ARENA_TEST says not to. Simplify test for creation of a new arena.
50450 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50452 2012-01-30 Ulrich Drepper <drepper@gmail.com>
50454 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50456 (update_get_addr): New function.
50457 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50458 GET_ADDR_MODULE parameter.
50460 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50462 * crypt/cert.c: Remove __STDC__ conditionals.
50463 * crypt/crypt-entry.c: Likewise.
50464 * crypt/crypt_util.c: Likewise.
50465 * libio/filedoalloc.c: Likewise.
50466 * libio/fileops.c: Likewise.
50467 * libio/genops.c: Likewise.
50468 * libio/iofclose.c: Likewise.
50469 * libio/iofdopen.c: Likewise.
50470 * libio/iofopen.c: Likewise.
50471 * libio/iofopen64.c: Likewise.
50472 * libio/iogetdelim.c: Likewise.
50473 * libio/iopopen.c: Likewise.
50474 * libio/obprintf.c: Likewise.
50475 * libio/oldfileops.c: Likewise.
50476 * libio/oldiofclose.c: Likewise.
50477 * libio/oldiofdopen.c: Likewise.
50478 * libio/oldiofopen.c: Likewise.
50479 * libio/oldiopopen.c: Likewise.
50480 * libio/wfiledoalloc.c: Likewise.
50481 * libio/wgenops.c: Likewise.
50482 * locale/programs/xmalloc.c: Likewise.
50483 * misc/syslog.c: Likewise.
50484 * stdio-common/xbug.c: Likewise.
50485 * string/memchr.c: Likewise.
50486 * string/memcmp.c: Likewise.
50487 * string/memrchr.c: Likewise.
50488 * string/rawmemchr.c: Likewise.
50489 * sysdeps/posix/getcwd.c: Likewise.
50490 * time/strftime_l.c: Likewise.
50492 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50494 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50495 * config.make.in (config-cflags-sse2avx): Define.
50496 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50499 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50501 * scripts/config.guess: Update from upstream config git repository.
50502 * scripts/config.sub: Likewise.
50504 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50506 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50508 (R_TILEPRO_*, R_TILEGX_*): New macros.
50510 * scripts/firstversions.awk: Fix bug in version range handling.
50512 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50514 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50516 * include/sys/epoll.h: New file.
50517 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50520 2012-01-28 Ulrich Drepper <drepper@gmail.com>
50522 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50523 Avoid unnecessary __WORDSIZE == 64 test.
50524 (fmaxf): Use VEX format if possible.
50529 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50530 * math/math_private.h: Remove libc_fegetround* and
50532 * sysdeps/i386/configure.in: Check for -msse2avx.
50533 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50534 also if SSE2AVX is defined.
50535 Remove libc_fegetround* and libc_fesetround*.
50536 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50537 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50538 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50540 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50541 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50542 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50543 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50544 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50546 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50548 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50550 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50552 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50554 2012-01-27 Ulrich Drepper <drepper@gmail.com>
50557 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50559 * Makeconfig (libm): Define.
50560 * elf/Makefile: Add rules to build and run tst-relsort1.
50561 * elf/tst-relsort1.c: New file.
50562 * elf/tst-relsort1mod1.c: New file.
50563 * elf/tst-relsort1mod2.c: New file.
50565 2012-01-27 Joseph Myers <joseph@codesourcery.com>
50567 * math/s_ldexp.c: Remove __STDC__ conditionals.
50568 * math/s_ldexpf.c: Likewise.
50569 * math/s_ldexpl.c: Likewise.
50570 * math/s_nextafter.c: Likewise.
50571 * math/s_nexttowardf.c: Likewise.
50572 * math/s_significand.c: Likewise.
50573 * math/s_significandf.c: Likewise.
50574 * math/s_significandl.c: Likewise.
50575 * math/w_jnl.c: Likewise.
50576 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50577 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50578 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50579 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50580 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50581 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50582 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50583 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50584 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50585 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50586 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50587 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50588 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50589 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50590 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50591 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50592 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50593 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50594 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50595 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50596 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50597 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50598 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50599 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50600 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50601 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50602 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50603 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50604 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50605 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50606 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50607 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50608 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50609 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50610 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50611 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50612 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50613 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50614 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50615 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50616 * sysdeps/ieee754/k_standard.c: Likewise.
50617 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50618 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50619 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50620 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50621 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50622 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50623 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50624 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50625 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50626 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50627 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50628 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50629 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50630 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50631 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50632 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50633 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50634 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50635 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50636 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50637 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50638 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50639 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50640 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50641 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50642 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50643 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50644 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50645 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50646 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50647 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50648 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50649 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50650 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50651 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50652 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50653 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50654 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50655 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50656 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50657 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50658 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50659 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50660 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50661 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50662 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50663 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50664 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50665 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50666 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50667 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50668 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50669 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50670 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50671 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50672 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50673 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50674 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50675 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50676 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50677 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50678 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50679 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50680 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50681 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50682 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50683 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50684 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50685 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50686 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50687 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50688 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50689 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50690 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50691 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50692 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50693 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50694 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50695 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50696 * sysdeps/ieee754/s_matherr.c: Likewise.
50697 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50698 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50699 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50700 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50702 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50704 * crypt/md5.h: Remove __STDC__ conditionals.
50705 * libio/libioP.h: Likewise.
50706 * locale/programs/config.h: Likewise.
50707 * sysdeps/generic/sysdep.h: Likewise.
50708 * sysdeps/i386/asm-syntax.h: Likewise.
50709 * sysdeps/s390/asm-syntax.h: Likewise.
50710 * sysdeps/unix/sysdep.h: Likewise.
50711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50714 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50716 * libio/libio.h: Remove __STDC__ conditionals.
50717 * malloc/obstack.h: Likewise.
50718 * math/complex.h: Likewise.
50719 * math/math.h: Likewise.
50720 * sysdeps/generic/_G_config.h: Likewise.
50721 * sysdeps/gnu/_G_config.h: Likewise.
50722 * sysdeps/mach/hurd/_G_config.h: Likewise.
50723 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50724 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50725 * sysdeps/sparc/bits/mathdef.h: Likewise.
50727 2012-01-26 Ulrich Drepper <drepper@gmail.com>
50730 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50731 Clean up HAS_* macros.
50732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50733 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50735 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50737 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50738 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50739 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50740 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50741 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50743 2012-01-25 Joseph Myers <joseph@codesourcery.com>
50745 * elf/tst-unique3.cc (gets): Remove declaration.
50746 * elf/tst-unique3lib.cc (gets): Likewise.
50747 * elf/tst-unique3lib2.cc (gets): Likewise.
50748 * elf/tst-unique4.cc (gets): Likewise.
50750 2012-01-24 Ulrich Drepper <drepper@gmail.com>
50752 * include/stdio.h: Add C++ protection. Add gets declarations and
50754 * debug/tst-chk1.c: Don't declare gets here.
50755 * stdio-common/tst-gets.c: Likewise.
50757 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50759 * posix/glob: Remove directory.
50761 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50763 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50765 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50767 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50768 of the non-standard EPFNOSUPPORT.
50770 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50772 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50773 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50774 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50776 2012-01-21 Ulrich Drepper <drepper@gmail.com>
50778 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50780 2012-01-20 Ulrich Drepper <drepper@gmail.com>
50782 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50784 * nscd/grpcache.c (cache_addgr): Likewise.
50785 * nscd/hstcache.c (cache_addhst): Likewise.
50786 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50787 * nscd/pwdcache.c (cache_addpw): Likewise.
50788 * nscd/servicescache.c (cache_addserv): Likewise.
50790 2012-01-16 Ulrich Drepper <drepper@gmail.com>
50792 * malloc/malloc.c: Various cleanups.
50793 * malloc/hooks.c: Likewise.
50795 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50796 * stdlib/bug-fmtmsg1.c: New file.
50798 * stdlib/fmtmsg.c (init): Add missing unlock.
50799 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50801 2012-01-12 Marek Polacek <polacek@redhat.com>
50803 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50806 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50808 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50809 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50810 macro to ensure uniqueness of label name.
50811 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50812 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50814 2012-01-11 Ulrich Drepper <drepper@gmail.com>
50816 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50818 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50819 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50820 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50821 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50823 2012-01-10 Ulrich Drepper <drepper@gmail.com>
50825 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50827 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50828 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50829 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50831 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50833 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50834 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50835 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50836 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50838 * math/bits/math-finite.h: Add ldexp support.
50840 2012-01-10 Marek Polacek <polacek@redhat.com>
50842 * locale/programs/localedef.h (show_archive_content): Add noreturn
50845 2012-01-09 Ulrich Drepper <drepper@gmail.com>
50847 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50849 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50851 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50853 * io/Makefile (headers): Add bits/poll2.h.
50855 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50858 typo #include statement.
50860 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50862 * include/sys/cdefs.h: Define __attribute_alloc_size.
50863 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50864 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50865 * elf/pldd.c: Likewise.
50866 * iconv/iconv_charmap.c: Likewise.
50867 * iconv/iconvconfig.c: Likewise.
50868 * iconv/strtab.c: Likewise.
50869 * locale/programs/locale.c: Likewise.
50870 * locale/programs/localedef.h: Likewise.
50871 * locale/programs/simple-hash.c: Likewise.
50872 * nscd/nscd.h: Likewise.
50873 * nss/makedb.c: Likewise.
50874 * sysdeps/generic/ldconfig.h: Likewise.
50875 * locale/programs/localedef.c: Remove xmalloc prototype.
50876 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50878 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50880 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50883 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50885 * math/Makefile (tests): Add tst-CMPLX.
50886 * math/tst-CMPLX.c: New file.
50888 * math/complex.h (CMPLXL): Fix typo.
50890 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50891 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50893 * debug/tst-chk1.c: Add poll and ppoll tests.
50894 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50895 * include/sys/poll.h: Add hidden proto for ppoll.
50896 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50897 * sysdeps/mach/hurd/ppoll.c: Likewise.
50898 * io/ppoll.c: Likewise.
50899 * debug/poll_chk.c: New file.
50900 * debug/ppoll_chk.c: New file.
50901 * include/bits/poll2.h: New file.
50902 * io/bits/poll2.h: New file.
50905 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50907 * configure.in: static is always set to yes. Remove.
50908 * config.make.in: Don't set build-static.
50909 * Makeconfig: Remove use of build-static.
50910 * dlfcn/Makefile: Likewise.
50911 * elf/Makefile: Likewise.
50912 * math/Makefile: Likewise.
50913 * misc/Makefile: Likewise.
50914 * nptl/Makefile: Likewise.
50915 * sysdeps/mach/hurd/Makefile: Likewise.
50917 * configure.in: PWD_P is not used anymore.
50918 * config.make.in: Remove PWD_P entry.
50920 * configure.in: Remove last remnants of RANLIB.
50921 No need to check for signed size_t anymore.
50922 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50924 Remove __builtin_expect test because we require at least gcc 3.4.
50925 * aclocal.m4: Likewise.
50927 * wcsmbs/mbrtoc16.c: Implement using towc function.
50928 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50929 * wcsmbs/wcsmbsload.c: Likewise.
50930 * iconv/gconv_simple.c: Likewise.
50931 * iconv/gconv_int.h: Likewise.
50932 * iconv/gconv_builtin.h: Likewise.
50933 * iconv/iconv_prog.c: Remove CHAR16 handling.
50935 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50937 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50939 * configure.in: Remove --with-elf and --enable-bounded options.
50940 Dont set base_machine for ia64. More non-ELF conditions removed.
50941 Remove testing and setting of leading underscore information.
50942 * config.make.in (build-bounded): Set to no.
50943 * config.h.in: Remove NO_UNDERSCORES entry.
50944 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50946 * csu/start.c: Remove !NO_UNDERSCORE code.
50947 * locale/localeinfo.h: Likewise.
50948 * sysdeps/generic/machine-gmon.h: Likewise.
50949 * sysdeps/generic/sysdep.h: Likewise.
50950 * sysdeps/i386/sysdep.h: Likewise.
50951 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50952 * sysdeps/mach/sysdep.h: Likewise.
50953 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50954 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50955 * sysdeps/sh/sysdep.h: Likewise.
50956 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50957 * sysdeps/unix/i386/sysdep.S: Likewise.
50958 * sysdeps/unix/sparc/start.c: Likewise.
50959 * sysdeps/unix/sparc/sysdep.S: Likewise.
50960 * sysdeps/unix/sparc/sysdep.h: Likewise.
50961 * sysdeps/unix/start.c: Likewise.
50962 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50963 * sysdeps/x86_64/sysdep.h: Likewise.
50965 2012-01-07 Ulrich Drepper <drepper@gmail.com>
50968 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50970 * argp/argp-fmtstream.h: Use const instead __const.
50971 * argp/argp.h: Likewise.
50972 * assert/assert.h: Likewise.
50973 * bits/fenv.h: Likewise.
50974 * bits/sched.h: Likewise.
50975 * bits/sigset.h: Likewise.
50976 * bits/sigthread.h: Likewise.
50977 * catgets/nl_types.h: Likewise.
50978 * conform/data/pthread.h-data: Likewise.
50979 * crypt/crypt-private.h: Likewise.
50980 * crypt/crypt.h: Likewise.
50981 * crypt/crypt_util.c: Likewise.
50982 * ctype/ctype.h: Likewise.
50983 * debug/execinfo.h: Likewise.
50984 * debug/mbsnrtowcs_chk.c: Likewise.
50985 * debug/mbsrtowcs_chk.c: Likewise.
50986 * debug/wcsnrtombs_chk.c: Likewise.
50987 * debug/wcsrtombs_chk.c: Likewise.
50988 * debug/wcstombs_chk.c: Likewise.
50989 * dirent/dirent.h: Likewise.
50990 * dlfcn/dlfcn.h: Likewise.
50991 * elf/neededtest4.c: Likewise.
50992 * grp/grp.h: Likewise.
50993 * gshadow/gshadow.h: Likewise.
50994 * iconv/gconv.h: Likewise.
50995 * iconv/gconv_int.h: Likewise.
50996 * iconv/gconv_simple.c: Likewise.
50997 * iconv/iconv.h: Likewise.
50998 * iconv/loop.c: Likewise.
50999 * iconv/skeleton.c: Likewise.
51000 * include/aio.h: Likewise.
51001 * include/aliases.h: Likewise.
51002 * include/argz.h: Likewise.
51003 * include/arpa/inet.h: Likewise.
51004 * include/assert.h: Likewise.
51005 * include/dirent.h: Likewise.
51006 * include/dlfcn.h: Likewise.
51007 * include/execinfo.h: Likewise.
51008 * include/fcntl.h: Likewise.
51009 * include/fenv.h: Likewise.
51010 * include/glob.h: Likewise.
51011 * include/grp.h: Likewise.
51012 * include/libintl.h: Likewise.
51013 * include/mntent.h: Likewise.
51014 * include/netdb.h: Likewise.
51015 * include/pwd.h: Likewise.
51016 * include/rpc/netdb.h: Likewise.
51017 * include/sched.h: Likewise.
51018 * include/search.h: Likewise.
51019 * include/shadow.h: Likewise.
51020 * include/signal.h: Likewise.
51021 * include/stdio.h: Likewise.
51022 * include/stdlib.h: Likewise.
51023 * include/string.h: Likewise.
51024 * include/sys/socket.h: Likewise.
51025 * include/sys/stat.h: Likewise.
51026 * include/sys/statfs.h: Likewise.
51027 * include/sys/statvfs.h: Likewise.
51028 * include/sys/syslog.h: Likewise.
51029 * include/sys/time.h: Likewise.
51030 * include/sys/uio.h: Likewise.
51031 * include/time.h: Likewise.
51032 * include/unistd.h: Likewise.
51033 * include/utmp.h: Likewise.
51034 * include/wchar.h: Likewise.
51035 * include/wctype.h: Likewise.
51036 * inet/aliases.h: Likewise.
51037 * inet/arpa/inet.h: Likewise.
51038 * inet/netinet/ether.h: Likewise.
51039 * inet/netinet/in.h: Likewise.
51040 * intl/libintl.h: Likewise.
51041 * io/bits/fcntl2.h: Likewise.
51042 * io/fcntl.h: Likewise.
51043 * io/ftw.h: Likewise.
51044 * io/sys/poll.h: Likewise.
51045 * io/sys/stat.h: Likewise.
51046 * io/sys/statfs.h: Likewise.
51047 * io/sys/statvfs.h: Likewise.
51048 * io/utime.h: Likewise.
51049 * libio/bits/stdio.h: Likewise.
51050 * libio/bits/stdio2.h: Likewise.
51051 * libio/libio.h: Likewise.
51052 * libio/libioP.h: Likewise.
51053 * libio/stdio.h: Likewise.
51054 * locale/lc-ctype.c: Likewise.
51055 * locale/locale.h: Likewise.
51056 * login/utmp.h: Likewise.
51057 * malloc/arena.c: Likewise.
51058 * malloc/malloc.c: Likewise.
51059 * malloc/malloc.h: Likewise.
51060 * malloc/mcheck.c: Likewise.
51061 * malloc/mtrace.c: Likewise.
51062 * math/bits/mathcalls.h: Likewise.
51063 * math/fenv.h: Likewise.
51064 * math/math_private.h: Likewise.
51065 * misc/bits/error.h: Likewise.
51066 * misc/bits/syslog.h: Likewise.
51067 * misc/err.h: Likewise.
51068 * misc/error.h: Likewise.
51069 * misc/fstab.h: Likewise.
51070 * misc/mntent.h: Likewise.
51071 * misc/regexp.h: Likewise.
51072 * misc/search.h: Likewise.
51073 * misc/sgtty.h: Likewise.
51074 * misc/sys/mman.h: Likewise.
51075 * misc/sys/syslog.h: Likewise.
51076 * misc/sys/uio.h: Likewise.
51077 * misc/sys/xattr.h: Likewise.
51078 * misc/ttyent.h: Likewise.
51079 * nis/rpcsvc/ypclnt.h: Likewise.
51080 * nss/nss.h: Likewise.
51081 * posix/bits/unistd.h: Likewise.
51082 * posix/fnmatch.h: Likewise.
51083 * posix/glob.h: Likewise.
51084 * posix/sched.h: Likewise.
51085 * posix/spawn.h: Likewise.
51086 * posix/sys/wait.h: Likewise.
51087 * posix/unistd.h: Likewise.
51088 * posix/wordexp.h: Likewise.
51089 * pwd/pwd.h: Likewise.
51090 * resolv/netdb.h: Likewise.
51091 * resource/sys/resource.h: Likewise.
51092 * rt/aio.h: Likewise.
51093 * rt/bits/mqueue2.h: Likewise.
51094 * rt/mqueue.h: Likewise.
51095 * shadow/shadow.h: Likewise.
51096 * signal/signal.h: Likewise.
51097 * socket/send.c: Likewise.
51098 * socket/sendto.c: Likewise.
51099 * socket/sys/socket.h: Likewise.
51100 * stdio-common/printf.h: Likewise.
51101 * stdlib/bits/stdlib.h: Likewise.
51102 * stdlib/fmtmsg.h: Likewise.
51103 * stdlib/monetary.h: Likewise.
51104 * stdlib/stdlib.h: Likewise.
51105 * stdlib/ucontext.h: Likewise.
51106 * streams/stropts.h: Likewise.
51107 * string/argz.h: Likewise.
51108 * string/bits/string2.h: Likewise.
51109 * string/string.h: Likewise.
51110 * string/strings.h: Likewise.
51111 * sunrpc/rpc/auth.h: Likewise.
51112 * sunrpc/rpc/auth_des.h: Likewise.
51113 * sunrpc/rpc/clnt.h: Likewise.
51114 * sunrpc/rpc/netdb.h: Likewise.
51115 * sunrpc/rpc/pmap_clnt.h: Likewise.
51116 * sunrpc/rpc/xdr.h: Likewise.
51117 * sysdeps/generic/inttypes.h: Likewise.
51118 * sysdeps/generic/net/if.h: Likewise.
51119 * sysdeps/generic/sys/swap.h: Likewise.
51120 * sysdeps/gnu/net/if.h: Likewise.
51121 * sysdeps/gnu/utmpx.h: Likewise.
51122 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51123 * sysdeps/i386/i486/bits/string.h: Likewise.
51124 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51125 * sysdeps/s390/bits/string.h: Likewise.
51126 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51127 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51128 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51129 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51130 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51131 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51132 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51133 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51134 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51135 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51136 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51137 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51138 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51139 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51140 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51141 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51142 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51143 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51144 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51145 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51146 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51147 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51148 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51149 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51150 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51151 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51152 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51153 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51154 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51155 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51156 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51157 * sysvipc/sys/ipc.h: Likewise.
51158 * sysvipc/sys/msg.h: Likewise.
51159 * sysvipc/sys/sem.h: Likewise.
51160 * sysvipc/sys/shm.h: Likewise.
51161 * termios/termios.h: Likewise.
51162 * time/sys/time.h: Likewise.
51163 * time/time.h: Likewise.
51164 * wcsmbs/bits/wchar2.h: Likewise.
51165 * wcsmbs/uchar.h: Likewise.
51166 * wcsmbs/wchar.h: Likewise.
51167 * wctype/wctype.h: Likewise.
51170 * Makeconfig: Remove all but ELF support including AIX support.
51171 * Makerules: Likewise.
51172 * config.h.in: Likewise.
51173 * config.make.in: Likewise.
51174 * configure: Likewise.
51175 * configure.in: Likewise.
51176 * csu/Makefile: Likewise.
51177 * csu/version.c: Likewise.
51178 * debug/Makefile: Likewise.
51179 * dlfcn/Makefile: Likewise.
51180 * elf/Makefile: Likewise.
51181 * extra-lib.mk: Likewise.
51182 * iconv/Makefile: Likewise.
51183 * include/libc-symbols.h: Likewise.
51184 * include/shlib-compat.h: Likewise.
51185 * resolv/Makefile: Likewise.
51186 * resolv/res_libc.c: Likewise.
51187 * rt/Makefile: Likewise.
51188 * sysdeps/i386/asm-syntax.h: Likewise.
51189 * sysdeps/i386/sysdep.h: Likewise.
51190 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51191 * sysdeps/mach/sysdep.h: Likewise.
51192 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51193 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51194 * sysdeps/s390/asm-syntax.h: Likewise.
51195 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51196 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51197 * sysdeps/sh/sysdep.h: Likewise.
51198 * sysdeps/unix/sparc/sysdep.h: Likewise.
51199 * sysdeps/wordsize-32/divdi3.c: Likewise.
51200 * sysdeps/x86_64/sysdep.h: Likewise.
51202 * argp/Versions: Remove _argp_unlock_xxx.
51205 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51206 * abilist/libBrokenLocale.abilist: Likewise.
51207 * abilist/libanl.abilist: Likewise.
51208 * abilist/libc.abilist: Likewise.
51209 * abilist/libcrypt.abilist: Likewise.
51210 * abilist/libdl.abilist: Likewise.
51211 * abilist/libm.abilist: Likewise.
51212 * abilist/libnsl.abilist: Likewise.
51213 * abilist/libpthread.abilist: Likewise.
51214 * abilist/libresolv.abilist: Likewise.
51215 * abilist/librt.abilist: Likewise.
51216 * abilist/libthread_db.abilist: Likewise.
51217 * abilist/libutil.abilist: Likewise.
51218 * abilist/libnss_db.abilist: New file.
51220 * scripts/abilist.awk: Add support for indirect functions.
51222 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51224 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51226 * shlib-versions: Remove entries for ports architectures.
51228 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51230 * elf/stackguard-macros.h: Remove support for IA-64.
51231 * elf/tst-auditmod1.c: Likewise.
51232 * sysdeps/generic/ldsodefs.h: Likewise.
51234 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51235 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51239 * configure.in: Remove --enable-omitfp support.
51241 * config.make.in: Likewise.
51242 * Makeconfig: Likewise.
51243 * manual/install.texi: Likewise.
51245 In case anyone cares, the IA-64 architecture could move to ports.
51246 * sysdeps/ia64/*: Removed.
51247 * sysdeps/unix/sysv/linux/ia64/*: Removed.
51248 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
51251 * configure.in: Remove entries for unsupported architectures.
51254 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51255 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51257 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51258 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51259 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51260 fall back to using wcrtomb.
51261 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51262 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51264 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51265 * wcsmbs/tst-c16c32-1.c: New file.
51267 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51270 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51272 * elf/tst-unique3.cc: Add explicit declaration of gets.
51273 * elf/tst-unique3lib.cc: Likewise.
51274 * elf/tst-unique3lib2.cc: Likewise.
51275 * elf/tst-unique4.cc: Likewise.
51277 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51279 2012-01-06 Joseph Myers <joseph@codesourcery.com>
51282 * assert/assert.h (static_assert): Don't define for C++.
51283 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51284 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51286 2012-01-03 Ulrich Drepper <drepper@gmail.com>
51288 * iconv/loop.c (single loop): Fix assertion in storing of
51291 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51293 2012-01-01 Ulrich Drepper <drepper@gmail.com>
51295 * posix/getconf.c: Update copyright year.
51296 * nss/getent.c: Likewise.
51297 * nss/makedb.c: Likewise.
51298 * iconv/iconvconfig.c: Likewise.
51299 * iconv/iconv_prog.c: Likewise.
51300 * elf/ldconfig.c: Likewise.
51301 * elf/pldd.c: Likewise.
51302 * elf/sotruss.ksh: Likewise.
51303 * catgets/gencat.c: Likewise.
51304 * csu/version.c: Likewise.
51305 * elf/ldd.bash.in: Likewise.
51306 * elf/sprof.c (print_version): Likewise.
51307 * locale/programs/locale.c: Likewise.
51308 * locale/programs/localedef.c: Likewise.
51309 * login/programs/pt_chown.c: Likewise.
51310 * nscd/nscd.c (print_version): Likewise.
51311 * debug/xtrace.sh: Likewise.
51312 * malloc/memusage.sh: Likewise.
51313 * malloc/mtrace.pl: Likewise.
51314 * debug/catchsegv.sh: Likewise.
51316 2011-12-30 Jakub Jelinek <jakub@redhat.com>
51318 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51321 2011-12-24 Ulrich Drepper <drepper@gmail.com>
51324 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51325 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51327 * iconv/gconv_int.h: Likewise.
51328 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51329 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51330 from libc for GLIBC_2.16.
51331 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51332 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51333 * wcsmbs/uchar.h: Really define mbstate_t.
51334 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51335 * wcsmbs/c16rtomb.c: New file.
51336 * wcsmbs/mbrtoc16.c: New file.
51337 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51338 for C/POSIX locale.
51339 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51340 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51342 * wcsmbs/wchar.h: Add missing __restrict.
51344 2011-12-23 Ulrich Drepper <drepper@gmail.com>
51347 * time/Makefile (routines): Add timespec_get.
51348 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51349 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51350 timespec for ISO C11.
51351 * time/timespec_get.c: New file.
51352 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51353 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51356 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51357 * stdlib/stdlib.h: Declare aligned_alloc.
51358 * Versions.def: Add GLIBC_2.16 for libc.
51359 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51362 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51365 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51369 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51372 * assert/assert.h (static_assert): Define.
51374 * version.h: Update for 2.16 development version.
51377 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51380 * version.h (RELEASE): Bump for 2.15 release.
51381 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51383 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51384 Patch by Marek Polacek <mpolacek@redhat.com>.
51386 * bits/byteswap.h: Protect long long constants with __extension__.
51387 * sysdeps/i386/bits/byteswap.h: Likewise.
51388 * sysdeps/ia64/bits/byteswap.h: Likewise.
51389 * sysdeps/s390/bits/byteswap.h: Likewise.
51390 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51392 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51395 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51396 destination buffer.
51397 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51399 2011-12-23 Marek Polacek <polacek@redhat.com>
51401 * elf/dl-addr.c (determine_info): Add inline keyword.
51402 * elf/tst-auditmod4b.c (check_avx): Likewise.
51403 * elf/tst-auditmod6b.c (check_avx): Likewise.
51404 * elf/tst-auditmod6c.c (check_avx): Likewise.
51405 * elf/tst-auditmod7b.c (check_avx): Likewise.
51407 2011-12-23 Ulrich Drepper <drepper@gmail.com>
51409 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51412 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51415 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51416 processing for last bytes.
51418 2011-08-06 Bruno Haible <bruno@clisp.org>
51421 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51422 U+0385, not to U+1FEE.
51425 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51426 entry for U+00A5 U+0301.
51428 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51431 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51432 buffer for the output is too small.
51434 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51438 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51439 SSE flags if possible.
51441 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51444 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51445 processing for last bytes.
51447 2011-12-22 Joseph Myers <joseph@codesourcery.com>
51449 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51450 (syscall-list-default-options, syscall-list-default-condition)
51451 (syscall-list-includes): Define.
51452 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51453 list of ABIs and options and #if conditions for each ABI. Do not
51454 handle common syscalls between ABIs specially.
51455 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51457 (syscall-list-variants, syscall-list-32bit-options)
51458 (syscall-list-32bit-condition, syscall-list-64bit-options)
51459 (syscall-list-64bit-condition): Define.
51460 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51461 (syscall-list-variants, syscall-list-32bit-options)
51462 (syscall-list-32bit-condition, syscall-list-64bit-options)
51463 (syscall-list-64bit-condition): Define.
51464 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51466 (syscall-list-variants, syscall-list-32bit-options)
51467 (syscall-list-32bit-condition, syscall-list-64bit-options)
51468 (syscall-list-64bit-condition): Define.
51469 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51471 (syscall-list-variants, syscall-list-32bit-options)
51472 (syscall-list-32bit-condition, syscall-list-64bit-options)
51473 (syscall-list-64bit-condition): Define.
51475 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51477 * locale/iso-639.def: Add brx entry.
51480 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51481 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51483 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51484 __feraiseexcept_renamed.
51486 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51489 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51490 EPOLLET with unsigned values.
51491 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51492 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51494 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51495 to large cancellation.
51496 * math/s_cacoshf.c: Likewise.
51497 * math/s_cacoshl.c: Likewise.
51499 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51503 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51504 * math/s_cacoshf.c: Likewise.
51505 * math/s_cacoshl.c: Likewise.
51507 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51510 * iconv/gconv.h: Define __GCONV_SWAP.
51511 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51512 * iconvdata/utf-16.c: Likewise.
51513 * iconvdata/utf-32.c: Likewise.
51515 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51518 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51519 numerator after shifting it by one limb.
51521 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51523 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51524 under [__USE_EXTERN_INLINES].
51526 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51529 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51531 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51533 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51534 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51536 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51537 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51538 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51539 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51540 for strncasecmp/strncasecmp_l compilation.
51541 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51542 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51544 2011-12-08 Marek Polacek <mpolacek@redhat.com>
51547 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51550 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51553 * time/tzfile.c (__tzfile_read): Check values from file header.
51555 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51557 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51558 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51559 * powerpc/powerpc32/dl-start.S: Likewise.
51560 * powerpc/powerpc32/elf/start.S: Likewise.
51561 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51562 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51563 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51564 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51565 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51566 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51567 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51568 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51569 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51570 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51571 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51572 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51573 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51574 * powerpc/powerpc32/memset.S: Likewise.
51575 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51576 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51577 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51578 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51579 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51580 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51581 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51582 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51583 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51584 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51585 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51586 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51587 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51589 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51591 * math/libm-test.inc: Added more nearbyint tests.
51592 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51593 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51594 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51595 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51597 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51599 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51602 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51604 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51605 Add wcscpy-ssse3 wcscpy-c.
51606 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51607 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51608 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51609 * sysdeps/x86_64/wcschr.S: New file.
51610 * sysdeps/x86_64/wcsrchr.S: New file.
51611 * string/test-strcmp.c: Remove checking of wcscmp function for
51613 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51614 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51615 wcsrchr-sse2 wcsrchr-c.
51616 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51617 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51618 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51619 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51620 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51621 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51622 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51623 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51624 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51625 * wcsmbc/wcschr.c (WCSCHR): New macro.
51627 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51629 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51630 * wcsmbs/test-wcsrchr.c: New file.
51631 * string/test-strrchr.c: Add wcsrchr support.
51633 * wcsmbs/test-wcscpy.c: New file.
51634 * string/test-strcpy.c: Add wcscpy support.
51637 2011-12-10 Ulrich Drepper <drepper@gmail.com>
51639 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51642 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51645 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51647 2011-12-04 Ulrich Drepper <drepper@gmail.com>
51649 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51650 Minor optimizations.
51652 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51653 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51654 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51656 2011-12-03 Ulrich Drepper <drepper@gmail.com>
51658 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51659 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51660 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51661 for gcc to avoid warnings.
51662 * inet/Makefile (tests): Add tst-checks.
51663 * inet/tst-checks.c: New file.
51665 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51668 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51671 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51672 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51674 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51676 2011-12-02 Ulrich Drepper <drepper@gmail.com>
51678 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51681 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51683 2011-11-29 Joseph Myers <joseph@codesourcery.com>
51685 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51686 conditional on GCC version.
51687 (__arch_compare_and_exchange_val_8_acq)
51688 (__arch_compare_and_exchange_val_16_acq)
51689 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51690 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51691 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51693 2011-12-02 Joseph Myers <joseph@codesourcery.com>
51695 * sysdeps/sh/backtrace.c: New file.
51697 2011-12-02 Andreas Schwab <schwab@redhat.com>
51699 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51702 2011-12-01 Andreas Schwab <schwab@redhat.com>
51704 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51705 falling back to utime.
51707 2011-11-30 Andreas Schwab <schwab@redhat.com>
51709 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51710 expectations for float.
51712 2011-11-29 Andreas Schwab <schwab@redhat.com>
51714 * locale/weight.h (findidx): Add parameter len.
51715 * locale/weightwc.h (findidx): Likewise.
51716 * posix/fnmatch_loop.c (FCT): Adjust caller.
51717 * posix/regcomp.c (build_equiv_class): Likewise.
51718 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51719 * posix/regexec.c (check_node_accept_bytes): Likewise.
51720 * string/strcoll_l.c (STRCOLL): Likewise.
51721 * string/strxfrm_l.c (STRXFRM): Likewise.
51723 2011-11-17 Ulrich Drepper <drepper@gmail.com>
51725 * Makefile.in: Remove CVSOPT handling.
51726 * configure.in: Remove use of AC_REVISION.
51727 * iconvdata/Makefile (distribute): No need to filter out CVS.
51728 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51731 2011-11-16 Andreas Schwab <schwab@redhat.com>
51733 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51734 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51735 [USE_AS_STRNCASECMP_L]: Likewise.
51736 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51737 NO_TLS_DIRECT_SEG_REFS.
51738 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51739 Fix argument offsets for non-PIC.
51740 [USE_AS_STRNCASECMP_L]: Likewise.
51741 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51742 NO_TLS_DIRECT_SEG_REFS.
51744 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51746 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51748 * locale/loadlocale.c (_nl_load_locale): Likewise.
51750 2011-11-15 Andreas Schwab <schwab@redhat.com>
51752 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51753 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51754 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51755 (SYSCALL_GETTIME): Set errno on error.
51757 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51758 count references to noai6ai_cached.
51760 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51762 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51764 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51765 FD_CLOEXEC for /proc/self/maps.
51767 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51768 FD_CLOEXEC for /proc/meminfo.
51770 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51773 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51774 FD_CLOEXEC for given file.
51776 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51778 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51779 FD_CLOEXEC for /etc/hosts.
51780 (_gethtent): Likewise.
51782 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51784 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51785 cancellation and set FD_CLOEXEC for /etc/netgroup.
51787 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51788 reading /etc/publickey.
51790 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51791 allow cancellation when reading /etc/group.
51793 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51795 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51797 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51798 when using data file.
51800 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51802 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51803 (write_nis_obj): Use "c" and "e" in fopen.
51805 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51807 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51809 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51811 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51813 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51816 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51818 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51820 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51822 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51823 file parsing and set FD_CLOEXEC.
51825 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51827 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51829 2011-11-14 Andreas Schwab <schwab@redhat.com>
51831 * malloc/arena.c (arena_get2): Don't call reused_arena when
51832 _int_new_arena failed.
51834 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51836 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51837 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51838 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51839 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51840 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51841 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51842 to compile strcasecmp and strncasecmp.
51843 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51844 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51846 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51848 2011-11-13 Ulrich Drepper <drepper@gmail.com>
51850 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51851 locale-defines.sym to gen-as-const-headers.
51852 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51853 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51854 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51855 to compile strcasecmp and strncasecmp.
51856 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51857 strcasecmp_l and strncasecmp_l.
51858 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51859 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51860 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51861 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51862 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51863 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51864 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51865 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51866 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51867 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51868 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51870 2011-11-12 Ulrich Drepper <drepper@gmail.com>
51872 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51873 result of SYSDEP_GETTIME_CPU to retval.
51874 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51875 parameter list to macro. Remove trailing semicolon. Adjust users.
51877 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51880 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51882 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51884 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51885 from unused variable.
51887 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51889 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51892 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51895 * sunrpc/rpc_prot.c (rejected): Fix case value.
51897 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51898 unsigned long long int to avoid warnings in shift.
51900 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51902 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51905 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51906 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51907 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51909 * nis/nis_table.c (nis_list): Use variable of correct type for
51910 result of __follow_path call.
51912 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51914 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51915 of math functions ceil, trunc, floor, round, and sqrt, when
51916 avaliable on the platform.
51917 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51919 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51920 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51921 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51923 2011-10-30 Marek Polacek <mpolacek@redhat.com>
51925 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51926 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51928 2011-11-11 Roland McGrath <roland@hack.frob.com>
51930 * include/unistd.h: Fix __readlink return type.
51931 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51933 2011-11-11 Ulrich Drepper <drepper@gmail.com>
51935 * stdlib/ucontext.h: Undo last change for makecontext.
51937 2011-11-11 Andreas Schwab <schwab@redhat.com>
51939 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51941 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51942 * setjmp/setjmp.h: Mark functions as non-leaf.
51943 * setjmp/bits/setjmp2.h: Likewise.
51944 * stdlib/ucontext.h: Likewise.
51946 2011-11-10 Andreas Schwab <schwab@redhat.com>
51948 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51949 (reused_arena): Don't check arena limit.
51950 (arena_get2): Atomically check arena limit.
51952 2011-11-08 Ulrich Drepper <drepper@gmail.com>
51954 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51955 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51957 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51960 2011-11-07 Andreas Schwab <schwab@redhat.com>
51962 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51963 handler when locking.
51965 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51966 Fix size of allocated buffer.
51968 2011-11-04 Andreas Schwab <schwab@redhat.com>
51971 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51972 declarations for long double functions.
51973 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51975 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51977 2011-11-03 Andreas Schwab <schwab@redhat.com>
51979 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51982 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51985 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51987 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51989 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51991 * include/alloca.h (stackinfo_alloca_round): Define.
51992 (extend_alloca): Use it.
51993 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51994 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51997 * scripts/check-local-headers.sh: Ignore libaudit.h.
51999 * nscd/Makefile (extra-objs): Make recursively expanded.
52001 2011-11-01 Ulrich Drepper <drepper@gmail.com>
52003 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52004 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52006 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52007 * posix/tst-rfc3484-2.c: Likewise.
52008 * posix/tst-rfc3484-3.c: Likewise.
52010 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52012 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52014 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52015 process_vm_writev from libc using GLIBC_2.15 version.
52017 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52019 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
52021 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52024 2011-10-31 Ulrich Drepper <drepper@gmail.com>
52027 * nss/getent.c (initgroups_keys): Show error message in case no group
52030 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52031 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52032 __bump_nl_timestamp.
52033 * nscd/connections (nscd_init): When host database is served open
52034 netlink socket and request notification about configuration changes.
52035 (main_loop_poll): Track netlink file descriptor and bump timestamp
52036 in case data becomes available.
52037 (main_loop_epoll): Likewise.
52038 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52039 (database_pers_head): Add extra_data fileds.
52040 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52041 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52042 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52044 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52045 in6ai data, call __free_in6ai.
52046 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52047 Add -DHAVE_NETLINK.
52048 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52049 interface information. Reuse previous data if netlink timestamp
52051 (__bump_nl_timestamp): New function.
52052 (__free_in6ai): New function.
52054 2011-10-30 Ulrich Drepper <drepper@gmail.com>
52056 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52057 close_not_cancel_no_status here.
52058 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52060 2011-10-29 Ulrich Drepper <drepper@gmail.com>
52063 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52066 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
52067 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52068 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52070 2011-07-03 Andreas Jaeger <aj@suse.de>
52073 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52074 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52075 * math/libm-test.inc (sin_test): Add test case.
52077 2011-10-29 Ulrich Drepper <drepper@gmail.com>
52080 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52081 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52083 * elf/chroot_canon.c (chroot_canon): Cleanups.
52085 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52088 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52089 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52091 * string/test-strchr.c: Make usable for strchrnul testing.
52092 * string/test-strchrnul.c: New file.
52093 * string/Makefile (strop-tests): Add strchrnul.
52095 * po/it.po: Update from translation team.
52096 * po/es.po: Likewise.
52098 2011-10-28 Ulrich Drepper <drepper@gmail.com>
52100 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52101 the three constants needed as parameters. Drop the others.
52102 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52103 __m128i_strloadu_tolower.
52104 Create and initialize variable zero and use it in all the places
52105 where _mm_setzero_si128 was used.
52107 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52108 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52109 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52110 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52112 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52113 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52114 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52115 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52116 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52117 __mpranred, __mptan.
52118 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52119 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52120 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52121 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52122 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52123 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52124 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52125 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52126 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52128 2011-10-28 Andreas Schwab <schwab@redhat.com>
52130 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52131 redefine if SHARED.
52132 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52134 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52135 wide char related routines to wcsmbs subdir.
52137 2011-10-27 Andreas Schwab <schwab@redhat.com>
52140 * misc/sys/cdefs.h (__THROWNL): Define.
52141 * posix/unistd.h: Use __THREADNL instead of __THREAD
52142 for memory synchronization functions.
52144 2011-10-26 Roland McGrath <roland@hack.frob.com>
52147 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52149 * manual/stdio.texi (Obstack Streams): Node removed.
52151 2011-10-26 Andreas Schwab <schwab@redhat.com>
52153 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52154 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52155 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52157 * math/math_private.h (math_force_eval): Allow non-addressable
52159 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52161 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52163 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52164 file is not needed.
52166 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52167 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52168 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52169 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52170 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52171 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52172 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52173 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52175 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52176 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52177 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52178 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52179 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52180 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52181 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52182 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52183 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52184 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52185 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52186 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52187 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52188 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52189 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52190 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52191 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52192 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52193 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52195 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52196 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52198 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52199 place. Use VEX encoding when compiling for AVX.
52201 2011-10-25 Andreas Schwab <schwab@redhat.com>
52203 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52204 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52206 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52208 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52210 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52211 useless if() expression.
52212 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52213 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52214 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52215 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52216 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52217 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52218 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52219 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52220 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52221 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52222 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52223 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52224 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52225 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52226 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52227 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52228 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52229 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52230 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52232 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52234 2011-10-25 Andreas Schwab <schwab@redhat.com>
52236 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52238 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52240 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52242 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52243 .text section. Avoid duplicate constants.
52244 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52245 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52246 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52247 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52248 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52249 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52250 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52251 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52252 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52253 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52254 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52255 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52256 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52257 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52258 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52259 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52260 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52261 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52262 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52263 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52264 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52265 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52266 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52267 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52268 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52269 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52270 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52271 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52272 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52273 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52274 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52275 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52276 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52277 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52278 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52279 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52280 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52281 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52282 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52283 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52284 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52285 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52286 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52287 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52288 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52290 2011-10-24 Ulrich Drepper <drepper@gmail.com>
52292 * sysdeps/x86_64/dla.h: Move to ...
52293 * sysdeps/x86_64/fpu/dla.h: ...here.
52294 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52295 situations. Use __builtin_fma only for gcc 4.6 and up.
52297 * config.make.in: Add have-mfma4 entry.
52298 * configure.in: Substitute libc_cv_cc_fma4.
52299 * math/Makefile (dbl-only-routines): Add sincostab.
52300 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52301 Use __sincostab not sincos.
52302 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52304 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52305 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52306 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52307 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52309 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52310 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52311 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52312 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52314 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52315 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52317 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52318 define aliases when function name is a macro.
52319 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52320 sysdeps/ieee754/dbl-64/sincos.tbl.
52321 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52322 fma4-enabled routines.
52323 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52324 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52325 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52326 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52327 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52328 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52329 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52330 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52331 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52332 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52333 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52334 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52335 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52336 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52337 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52338 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52339 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52340 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52341 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52342 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52343 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52344 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52345 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52346 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52347 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52348 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52349 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52350 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52351 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52352 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52354 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52356 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52357 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52358 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52359 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52360 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52361 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52362 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52363 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52365 2011-10-24 Andreas Schwab <schwab@redhat.com>
52367 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52369 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52371 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52373 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52375 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52377 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52378 Remove unused variable magic_bits.
52379 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52381 * string/strnlen.c: Define and use STRNLEN macro.
52382 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52383 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52384 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52385 * wcsmbs/wcslen.c: Define and use WCSLEN.
52386 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52387 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52388 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52389 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52390 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52391 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52392 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52394 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52396 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52397 strnlen-sse2-no-bsf.
52398 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52399 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52400 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52401 Add strnlen support.
52402 (USE_AS_STRNLEN): New macro.
52403 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52404 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52405 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52406 * sysdeps/x86_64/wcslen.S: New file.
52408 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52410 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52411 XMM-moves are used for copying on small sizes.
52413 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52415 * wcsmbs/Makefile (strop-tests): Add wcschr.
52416 * wcsmbs/test-wcschr.c: New file.
52417 * string/test-strchr.c: Update.
52418 Add wcschr support.
52421 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52423 * wcsmbs/Makefile (strop-tests): Add wcslen.
52424 * wcsmbs/test-wcslen.c: New file.
52425 * string/test-strlen.c: Update.
52426 Add wcslen support.
52429 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52431 * po/it.po: Update from translation team.
52433 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52435 * sysdeps/x86_64/wcscmp.S: Update.
52436 Fix wrong comparison semantics.
52437 wcscmp shall use signed comparison not unsigned.
52438 Don't use substraction to avoid overflow bug.
52439 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52440 * wcsmbc/wcscmp.c: Likewise.
52441 * string/test-strcmp.c: Likewise.
52442 Add new tests to check cases with negative values.
52444 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52446 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52447 * sysdeps/x86_64/dla.h: ...here. New file.
52448 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52449 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52450 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52451 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52452 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52453 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52454 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52455 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52456 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52458 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52460 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52461 __ynl_finite aliases.
52463 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52467 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52469 [DLA_FMA] (EMULV): Use DLA_FMA.
52470 [DLA_FMA] (MUL12): Use EMULV.
52471 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52472 that are not needed.
52473 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52474 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52475 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52476 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52477 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52478 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52479 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52481 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52483 * math/s_nan.c: Undef __nan.
52484 * math/s_nanf.c: Undef __nanf.
52485 * math/s_nanl.c: Undef __nanl.
52486 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52489 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52491 * math/s_catan.c: Add branch predictions.
52492 * math/s_catanf.c: Likewise.
52493 * math/s_catanh.c: Likewise.
52494 * math/s_catanhf.c: Likewise.
52495 * math/s_catanhl.c: Likewise.
52496 * math/s_catanl.c: Likewise.
52497 * math/s_cexp.c: Likewise.
52498 * math/s_cexpf.c: Likewise.
52499 * math/s_cexpl.c: Likewise.
52500 * math/s_clog.c: Likewise.
52501 * math/s_clog10.c: Likewise.
52502 * math/s_clog10f.c: Likewise.
52503 * math/s_clog10l.c: Likewise.
52504 * math/s_clogf.c: Likewise.
52505 * math/s_clogl.c: Likewise.
52506 * math/s_csqrt.c: Likewise.
52507 * math/s_csqrtf.c: Likewise.
52508 * math/s_csqrtl.c: Likewise.
52509 * math/s_ctanf.c: Likewise.
52510 * math/s_ctanh.c: Likewise.
52511 * math/s_ctanhf.c: Likewise.
52512 * math/s_ctanhl.c: Likewise.
52513 * math/s_ctanl.c: Likewise.
52515 * math/math_private.h: Define __nan, __nanf, __nanl.
52516 * math/s_cacosh.c: Include <math_private.h>.
52517 * math/s_cacoshl.c: Likewise.
52518 * math/s_casinh.c: Likewise.
52519 * math/s_casinhf.c: Likewise.
52520 * math/s_casinhl.c: Likewise.
52521 * math/s_ccos.c: Rely entire on ccosh.
52522 * math/s_ccosf.c: Rely entire on ccoshf.
52523 * math/s_ccosl.c: Rely entirely on ccoshl.
52524 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52525 Remove tests for FE_INVALID.
52526 * math/s_ccoshf.c: Likewise.
52527 * math/s_ccoshl.c: Likewise.
52528 * math/s_csin.c: Likewise.
52529 * math/s_csinf.c: Likewise.
52530 * math/s_csinh.c Likewise.
52531 * math/s_csinhf.c: Likewise.
52532 * math/s_csinhl.c: Likewise.
52533 * math/s_csinl.c: Likewise.
52534 * math/s_ctan.c: Likewise.
52535 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52536 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52537 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52539 2011-10-21 Ulrich Drepper <drepper@gmail.com>
52541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52542 compilation problems.
52544 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52547 2011-10-20 Ulrich Drepper <drepper@gmail.com>
52549 * sysdeps/i386/configure.in: Test for -mfma4 option.
52550 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52551 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52552 COMMON_CPUID_INDEX_80000001.
52553 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52554 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52555 use it if FMA3 is not supported.
52556 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52558 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52559 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52561 2011-10-20 Andreas Schwab <schwab@redhat.com>
52564 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52565 it would create a cycle with a link time dependency.
52567 2011-10-19 Ulrich Drepper <drepper@gmail.com>
52569 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52571 * string/Makefile (strop-tests): Add rawmemchr.
52572 * string/test-rawmemchr.c: New file.
52574 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52575 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52576 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52577 when compiling str{,n}casecmp and when AVX is available. Hook up
52578 new optimized code in initializers.
52580 2011-10-19 Andreas Schwab <schwab@redhat.com>
52582 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52583 __feraiseexcept instead of feraiseexcept.
52585 2011-10-18 Ulrich Drepper <drepper@gmail.com>
52587 * math/math_private.h: Define defaults for libc_fetestexcept and
52589 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52590 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52591 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52592 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52593 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52594 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52595 libc_fetestexcept and libc_feupdateenv.
52597 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52598 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52599 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52600 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52601 libc_feholdexcept_setround.
52603 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52604 Add s_nearbyint-c and s_nearbyintf-c.
52605 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52606 nearbyintf inlines.
52607 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52608 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52609 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52610 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52612 * math/math_private.h: Define defaults for libc_fegetround,
52613 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52614 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52615 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52616 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52617 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52618 standard functions.
52619 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52620 Remove comments and hacks for old compiler versions.
52621 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52622 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52623 libc_feholdexceptl.
52625 2011-10-18 Andreas Schwab <schwab@redhat.com>
52627 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52628 (__feraiseexcept_renamed): Add __NTH.
52629 (feraiseexcept): Add __NTH. Rename local variables to fix
52630 namespace violations.
52632 2011-10-17 Ulrich Drepper <drepper@gmail.com>
52634 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52636 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52638 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52639 recently added interfaces.
52640 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52642 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52643 about macro parameter expansion.
52645 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52646 __NO_MATH_INLINES is defined. Cleanups.
52648 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52649 and __floorf is target has SSE4.1.
52650 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52651 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52652 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52653 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52655 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52657 (floorf): Likewise.
52659 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52661 2011-10-17 Andreas Schwab <schwab@redhat.com>
52663 * misc/sys/cdefs.h: Fix last change.
52665 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52668 2011-10-16 Ulrich Drepper <drepper@gmail.com>
52670 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52672 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52673 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52674 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52675 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52676 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52677 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52678 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52679 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52680 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52681 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52682 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52683 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52684 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52685 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52686 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52687 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52688 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52689 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52690 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52691 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52692 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52693 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52695 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52696 ceil, ceilf, floor, floorf.
52698 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52699 Perform IRELATIVE relocations last.
52701 * elf/do-rel.h: Add another parameter nrelative, replacing the
52702 local variable with the same name. Change name of the function
52703 to end in Rel or Rela (uppercase).
52704 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52705 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52706 elf_dynamic_do_##reloc function.
52708 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52710 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52711 is sufficient, at least on modern CPUs.
52713 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52715 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52716 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52718 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52720 * math/bits/math-finite.h: Add entries for exp.
52721 * math/e_expl.c: Add __*_finite alias.
52722 * sysdeps/i386/fpu/e_exp.S: Likewise.
52723 * sysdeps/i386/fpu/e_expf.S: Likewise.
52724 * sysdeps/i386/fpu/e_expl.c: Likewise.
52725 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52726 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52727 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52728 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52729 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52730 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52731 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52733 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52734 is sufficient, at least on modern CPUs.
52736 * ctype/ctype-info.c (__ctype_init): Define.
52737 * include/ctype.h (__ctype_init): Declare.
52738 (__ctype_b_loc): The variable is always initialized.
52739 (__ctype_toupper_loc): Likewise.
52740 (__ctype_tolower_loc): Likewise.
52741 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52742 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52744 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52746 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52748 * configure.in: Also look in $cxxmachine/include for C++ system
52751 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52753 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52754 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52755 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52756 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52757 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52758 (USE_AS_WMEMCMP): New macro.
52760 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52761 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52762 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52763 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52764 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52765 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52766 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52767 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52768 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52769 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52770 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52771 (USE_AS_WMEMCMP): New macro.
52772 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52773 * sysdeps/string/test-memcmp.c: Update.
52774 Fix simple_wmemcmp.
52776 * wcsmbs/wmemcmp.c: Update.
52777 (WMEMCMP): New macro.
52780 2011-10-12 Andreas Jaeger <aj@suse.de>
52783 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52785 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52787 * libio/iofwide.c (do_length): Avoid warning.
52789 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52791 2011-10-14 Ulrich Drepper <drepper@gmail.com>
52793 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52795 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52796 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52797 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52798 * sysdeps/i386/i686/fpu/e_log.S: New file.
52799 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52800 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52802 * ctype/ctype.h: Add support for inlined isXXX functions when
52803 compiling C++ code.
52805 2011-10-14 Andreas Schwab <schwab@redhat.com>
52807 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52809 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52811 2011-10-13 Roland McGrath <roland@hack.frob.com>
52814 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52816 2011-10-13 Andreas Schwab <schwab@redhat.com>
52818 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52819 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52822 * sysdeps/x86_64/memrchr.S: Check for zero size.
52824 * string/stratcliff.c: Add memrchr tests.
52826 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52828 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52829 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52830 rawmemchr-sse2 rawmemchr-sse2-bsf.
52831 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52832 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52833 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52834 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52835 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52836 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52837 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52838 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52839 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52840 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52841 * string/memrchr.c (MEMRCHR): New macro.
52843 2011-10-12 Ulrich Drepper <drepper@gmail.com>
52845 Add integration with gcc's -ffinite-math-only and optimize wrapper
52847 * Versions.def: Define GLIBC_2.15 version for libm.
52848 * math/Makefile (headers): Add bits/math-finite.h.
52849 * math/bits/math-finite.h: New file.
52850 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52851 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52852 * math/e_acoshl.c: Add __*_finite alias.
52853 * math/e_acosl.c: Likewise.
52854 * math/e_asinl.c: Likewise.
52855 * math/e_atan2l.c: Likewise.
52856 * math/e_atanhl.c: Likewise.
52857 * math/e_coshl.c: Likewise.
52858 * math/e_exp10.c: Likewise.
52859 * math/e_exp10f.c: Likewise.
52860 * math/e_exp10l.c: Likewise.
52861 * math/e_exp2l.c: Likewise.
52862 * math/e_fmodl.c: Likewise.
52863 * math/e_gammal_r.c: Likewise.
52864 * math/e_hypotl.c: Likewise.
52865 * math/e_j0l.c: Likewise.
52866 * math/e_j1l.c: Likewise.
52867 * math/e_jnl.c: Likewise.
52868 * math/e_lgammal_r.c: Likewise.
52869 * math/e_log10l.c: Likewise.
52870 * math/e_log2l.c: Likewise.
52871 * math/e_logl.c: Likewise.
52872 * math/e_powl.c: Likewise.
52873 * math/e_sinhl.c: Likewise.
52874 * math/e_sqrtl.c: Likewise.
52875 * math/e_scalb.c: Completely rewritten and optimized.
52876 * math/e_scalbf.c: Likewise.
52877 * math/e_scalbl.c: Likewise.
52878 * math/w_acos.c: Likewise.
52879 * math/w_acosf.c: Likewise.
52880 * math/w_acosl.c: Likewise.
52881 * math/w_acosh.c: Likewise.
52882 * math/w_acoshf.c: Likewise.
52883 * math/w_acoshl.c: Likewise.
52884 * math/w_asin.c: Likewise.
52885 * math/w_asinf.c: Likewise.
52886 * math/w_asinl.c: Likewise.
52887 * math/w_atan2.c: Likewise.
52888 * math/w_atan2f.c: Likewise.
52889 * math/w_atan2l.c: Likewise.
52890 * math/w_atanh.c: Likewise.
52891 * math/w_atanhf.c: Likewise.
52892 * math/w_atanhl.c: Likewise.
52893 * math/w_exp10.c: Likewise.
52894 * math/w_exp10f.c: Likewise.
52895 * math/w_exp10l.c: Likewise.
52896 * math/w_fmod.c: Likewise.
52897 * math/w_fmodf.c: Likewise.
52898 * math/w_fmodl.c: Likewise.
52899 * math/w_j0.c: Likewise.
52900 * math/w_j0f.c: Likewise.
52901 * math/w_j0l.c: Likewise.
52902 * math/w_j1.c: Likewise.
52903 * math/w_j1f.c: Likewise.
52904 * math/w_j1l.c: Likewise.
52905 * math/w_jn.c: Likewise.
52906 * math/w_jnf.c: Likewise.
52907 * math/w_log.c: Likewise.
52908 * math/w_logf.c: Likewise.
52909 * math/w_logl.c: Likewise.
52910 * math/w_log10.c: Likewise.
52911 * math/w_log10f.c: Likewise.
52912 * math/w_log10l.c: Likewise.
52913 * math/w_log2.c: Likewise.
52914 * math/w_log2f.c: Likewise.
52915 * math/w_log2l.c: Likewise.
52916 * math/w_pow.c: Likewise.
52917 * math/w_powf.c: Likewise.
52918 * math/w_powl.c: Likewise.
52919 * math/w_remainder.c: Likewise.
52920 * math/w_remainderf.c: Likewise.
52921 * math/w_remainderl.c: Likewise.
52922 * math/w_scalb.c: Likewise.
52923 * math/w_scalbf.c: Likewise.
52924 * math/w_scalbl.c: Likewise.
52925 * math/w_sqrt.c: Likewise.
52926 * math/w_sqrtf.c: Likewise.
52927 * math/w_sqrtl.c: Likewise.
52928 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52929 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52931 * math/math_private.h: Declare __kernel_standard_f.
52932 * math/w_cosh.c: Remove cruft and optimize a bit.
52933 * math/w_coshf.c: Likewise.
52934 * math/w_coshl.c: Likewise.
52935 * math/w_exp2.c: Likewise.
52936 * math/w_exp2f.c: Likewise.
52937 * math/w_exp2l.c: Likewise.
52938 * math/w_hypot.c: Likewise.
52939 * math/w_hypotf.c: Likewise.
52940 * math/w_hypotl.c: Likewise.
52941 * math/w_lgamma.c: Likewise.
52942 * math/w_lgamma_r.c: Likewise.
52943 * math/w_lgammaf.c: Likewise.
52944 * math/w_lgammaf_r.c: Likewise.
52945 * math/w_lgammal.c: Likewise.
52946 * math/w_lgammal_r.c: Likewise.
52947 * math/w_sinh.c: Likewise.
52948 * math/w_sinhf.c: Likewise.
52949 * math/w_sinhl.c: Likewise.
52950 * math/w_tgamma.c: Likewise.
52951 * math/w_tgammaf.c: Likewise.
52952 * math/w_tgammal.c: Likewise.
52953 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52954 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52955 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52956 Minor optimizations. Pretty printing. Remove cruft.
52957 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52958 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52959 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52960 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52961 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52962 * sysdeps/i386/fpu/e_asin.S: Likewise.
52963 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52964 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52965 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52966 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52967 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52968 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52969 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52970 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52971 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52972 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52973 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52974 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52975 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52976 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52977 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52978 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52979 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52980 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52981 * sysdeps/i386/fpu/e_log.S: Likewise.
52982 * sysdeps/i386/fpu/e_log10.S: Likewise.
52983 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52984 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52985 * sysdeps/i386/fpu/e_log2.S: Likewise.
52986 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52987 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52988 * sysdeps/i386/fpu/e_logf.S: Likewise.
52989 * sysdeps/i386/fpu/e_logl.S: Likewise.
52990 * sysdeps/i386/fpu/e_pow.S: Likewise.
52991 * sysdeps/i386/fpu/e_powf.S: Likewise.
52992 * sysdeps/i386/fpu/e_powl.S: Likewise.
52993 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52994 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52995 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52996 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52997 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52998 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52999 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53000 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53001 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53002 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53003 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53004 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53005 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53006 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53007 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53008 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53009 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53010 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53011 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53012 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53013 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53014 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53015 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53016 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53017 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53018 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53019 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53020 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53021 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53022 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53023 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53024 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53025 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53026 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53027 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53028 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53029 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53030 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53031 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53032 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53033 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53034 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53035 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53036 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53037 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53038 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53039 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53040 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53041 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53042 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53043 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53044 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53045 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53046 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53047 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53048 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53049 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53050 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53051 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53052 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53053 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53054 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53055 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53056 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53057 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53058 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53059 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53060 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53061 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53062 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53063 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53064 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53065 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53066 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53067 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53068 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53069 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53070 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53071 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53072 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53073 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53074 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53075 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53076 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53077 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53078 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53079 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53080 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53081 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53082 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53083 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53084 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53085 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53086 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53087 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53088 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53089 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53090 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53091 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53092 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53093 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53094 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53095 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53096 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53097 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53098 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53099 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53100 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53101 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53102 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53103 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53104 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53105 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53106 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53107 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53108 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53109 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53110 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53111 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53112 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53113 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53114 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53115 (__isnanf): Likewise.
53116 (__isinf_ns): Likewise.
53117 (__isinf_nsf): Likewise.
53118 (__finite): Likewise.
53119 (__finitef): Likewise.
53120 (__ieee754_sqrt): Define as macro.
53121 (__ieee754_sqrtf): Define as macro.
53122 (__ieee754_sqrtl): Define as macro.
53123 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53125 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53126 __FINITE_MATH_ONLY__ consistent.
53127 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53129 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53131 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53134 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53136 2011-10-09 Ulrich Drepper <drepper@gmail.com>
53138 * po/ja.po: Update from translation team.
53140 2011-10-08 Roland McGrath <roland@hack.frob.com>
53142 * locale/programs/locarchive.c (prepare_address_space): New function.
53143 (create_archive, enlarge_archive, open_archive): Use it.
53145 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53146 inside [SHARED], where it is used.
53148 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53150 * nss/getent.c (netgroup_keys): Remove unused variable.
53151 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53153 2011-10-08 Ulrich Drepper <drepper@gmail.com>
53155 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53156 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53157 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53158 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53159 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53160 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53161 * math/Makefile (libm-calls): Add s_isinf_ns.
53162 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53163 * math/multc3.c: Likewise.
53164 * math/s_casin.c: Likewise.
53165 * math/s_casinf.c: Likewise.
53166 * math/s_casinl.c: Likewise.
53167 * math/s_ccos.c: Likewise.
53168 * math/s_ccosf.c: Likewise.
53169 * math/s_ccosl.c: Likewise.
53170 * math/s_ctan.c: Likewise.
53171 * math/s_ctanf.c: Likewise.
53172 * math/s_ctanh.c: Likewise.
53173 * math/s_ctanhf.c: Likewise.
53174 * math/s_ctanhl.c: Likewise.
53175 * math/s_ctanl.c: Likewise.
53176 * math/w_fmod.c: Likewise.
53177 * math/w_fmodf.c: Likewise.
53178 * math/w_fmodl.c: Likewise.
53179 * math/w_remainder.c: Likewise.
53180 * math/w_remainderf.c: Likewise.
53181 * math/w_remainderl.c: Likewise.
53182 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53183 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53184 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53185 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53186 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53187 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53188 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53189 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53191 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53193 * stdio-common/printf_fphex.c: Likewise.
53194 * stdio-common/printf_size.c: Likewise.
53196 * math/e_exp10.c: Include math_private.h using <...> not "...".
53197 * math/e_exp10f.c: Likewise.
53198 * math/e_exp10l.c: Likewise.
53199 * math/e_exp2l.c: Likewise.
53200 * math/e_j0l.c: Likewise.
53201 * math/e_j1l.c: Likewise.
53202 * math/e_jnl.c: Likewise.
53203 * math/e_lgammal_r.c: Likewise.
53204 * math/e_rem_pio2l.c: Likewise.
53205 * math/e_scalb.c: Likewise.
53206 * math/e_scalbf.c: Likewise.
53207 * math/e_scalbl.c: Likewise.
53208 * math/k_cosl.c: Likewise.
53209 * math/k_sinl.c: Likewise.
53210 * math/k_tanl.c: Likewise.
53211 * math/s_cacoshf.c: Likewise.
53212 * math/s_catan.c: Likewise.
53213 * math/s_catanf.c: Likewise.
53214 * math/s_catanh.c: Likewise.
53215 * math/s_catanhf.c: Likewise.
53216 * math/s_catanhl.c: Likewise.
53217 * math/s_catanl.c: Likewise.
53218 * math/s_ccosh.c: Likewise.
53219 * math/s_ccoshf.c: Likewise.
53220 * math/s_ccoshl.c: Likewise.
53221 * math/s_cexp.c: Likewise.
53222 * math/s_cexpf.c: Likewise.
53223 * math/s_cexpl.c: Likewise.
53224 * math/s_clog.c: Likewise.
53225 * math/s_clog10.c: Likewise.
53226 * math/s_clog10f.c: Likewise.
53227 * math/s_clog10l.c: Likewise.
53228 * math/s_clogf.c: Likewise.
53229 * math/s_clogl.c: Likewise.
53230 * math/s_csin.c: Likewise.
53231 * math/s_csinf.c: Likewise.
53232 * math/s_csinh.c: Likewise.
53233 * math/s_csinhf.c: Likewise.
53234 * math/s_csinhl.c: Likewise.
53235 * math/s_csinl.c: Likewise.
53236 * math/s_csqrt.c: Likewise.
53237 * math/s_csqrtf.c: Likewise.
53238 * math/s_csqrtl.c: Likewise.
53239 * math/s_ctan.c: Likewise.
53240 * math/s_ctanf.c: Likewise.
53241 * math/s_ctanh.c: Likewise.
53242 * math/s_ctanhf.c: Likewise.
53243 * math/s_ctanhl.c: Likewise.
53244 * math/s_ctanl.c: Likewise.
53245 * math/s_ldexp.c: Likewise.
53246 * math/s_ldexpf.c: Likewise.
53247 * math/s_ldexpl.c: Likewise.
53248 * math/s_significand.c: Likewise.
53249 * math/s_significandf.c: Likewise.
53250 * math/s_significandl.c: Likewise.
53251 * math/w_acos.c: Likewise.
53252 * math/w_acosf.c: Likewise.
53253 * math/w_acosh.c: Likewise.
53254 * math/w_acoshf.c: Likewise.
53255 * math/w_acoshl.c: Likewise.
53256 * math/w_acosl.c: Likewise.
53257 * math/w_asin.c: Likewise.
53258 * math/w_asinf.c: Likewise.
53259 * math/w_asinl.c: Likewise.
53260 * math/w_atan2.c: Likewise.
53261 * math/w_atan2f.c: Likewise.
53262 * math/w_atan2l.c: Likewise.
53263 * math/w_atanh.c: Likewise.
53264 * math/w_atanhf.c: Likewise.
53265 * math/w_atanhl.c: Likewise.
53266 * math/w_cosh.c: Likewise.
53267 * math/w_coshf.c: Likewise.
53268 * math/w_coshl.c: Likewise.
53269 * math/w_dremf.c: Likewise.
53270 * math/w_exp10.c: Likewise.
53271 * math/w_exp10f.c: Likewise.
53272 * math/w_exp10l.c: Likewise.
53273 * math/w_exp2.c: Likewise.
53274 * math/w_exp2f.c: Likewise.
53275 * math/w_fmod.c: Likewise.
53276 * math/w_fmodf.c: Likewise.
53277 * math/w_fmodl.c: Likewise.
53278 * math/w_hypot.c: Likewise.
53279 * math/w_hypotf.c: Likewise.
53280 * math/w_hypotl.c: Likewise.
53281 * math/w_j0.c: Likewise.
53282 * math/w_j0f.c: Likewise.
53283 * math/w_j0l.c: Likewise.
53284 * math/w_j1.c: Likewise.
53285 * math/w_j1f.c: Likewise.
53286 * math/w_j1l.c: Likewise.
53287 * math/w_jn.c: Likewise.
53288 * math/w_jnf.c: Likewise.
53289 * math/w_jnl.c: Likewise.
53290 * math/w_lgamma.c: Likewise.
53291 * math/w_lgamma_r.c: Likewise.
53292 * math/w_lgammaf.c: Likewise.
53293 * math/w_lgammaf_r.c: Likewise.
53294 * math/w_lgammal.c: Likewise.
53295 * math/w_lgammal_r.c: Likewise.
53296 * math/w_log.c: Likewise.
53297 * math/w_log10.c: Likewise.
53298 * math/w_log10f.c: Likewise.
53299 * math/w_log10l.c: Likewise.
53300 * math/w_log2.c: Likewise.
53301 * math/w_log2f.c: Likewise.
53302 * math/w_log2l.c: Likewise.
53303 * math/w_logf.c: Likewise.
53304 * math/w_logl.c: Likewise.
53305 * math/w_pow.c: Likewise.
53306 * math/w_powf.c: Likewise.
53307 * math/w_powl.c: Likewise.
53308 * math/w_remainder.c: Likewise.
53309 * math/w_remainderf.c: Likewise.
53310 * math/w_remainderl.c: Likewise.
53311 * math/w_scalb.c: Likewise.
53312 * math/w_scalbf.c: Likewise.
53313 * math/w_scalbl.c: Likewise.
53314 * math/w_sinh.c: Likewise.
53315 * math/w_sinhf.c: Likewise.
53316 * math/w_sinhl.c: Likewise.
53317 * math/w_sqrt.c: Likewise.
53318 * math/w_sqrtf.c: Likewise.
53319 * math/w_sqrtl.c: Likewise.
53320 * math/w_tgamma.c: Likewise.
53321 * math/w_tgammaf.c: Likewise.
53322 * math/w_tgammal.c: Likewise.
53324 * po/ja.po: Update from translation team.
53326 2011-09-29 Andreas Jaeger <aj@suse.de>
53329 * sunrpc/netname.c (netname2host): Fix logic.
53333 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53335 * math/w_remainder.c (__remainder): Likewise.
53336 * math/w_remainderf.c (__remainderf): Likewise.
53337 * math/libm-test.inc (remainder_test): Add test cases.
53339 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53341 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53344 2011-10-07 Ulrich Drepper <drepper@gmail.com>
53346 * string/test-memcmp.c: Avoid unncessary #defines.
53347 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53349 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53351 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53352 Use new sse2 version for core i3 - i7 as it's faster
53353 than sse42 version.
53354 (bit_Prefer_PMINUB_for_stringop): New.
53355 * sysdeps/x86_64/rawmemchr.S: Update.
53356 Replace with faster SSE2 version.
53357 * sysdeps/x86_64/memrchr.S: New file.
53358 * sysdeps/x86_64/memchr.S: Update.
53359 Replace with faster SSE2 version.
53361 2011-09-12 Marek Polacek <mpolacek@redhat.com>
53363 * elf/dl-load.c (lose): Add cast to avoid warning.
53365 2011-10-07 Ulrich Drepper <drepper@gmail.com>
53367 * po/ca.po: Update from translation team.
53369 * inet/getnetgrent_r.c: Hook up nscd.
53370 * nscd/Makefile (routines): Add nscd_netgroup.
53371 (nscd-modules): Add netgroupcache.
53372 (CFLAGS-netgroupcache.c): Define.
53373 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53374 (cache_search): Add const to second parameter.
53375 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53377 (dbs): Add netgrdb entry.
53378 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53379 (verify_persistent_db): Handle netgrdb.
53380 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53381 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53383 (netgroup_response_header): Define.
53384 (innetgroup_response_header): Define.
53385 (datahead): Add netgroup_response_header and innetgroup_response_header
53387 * nscd/nscd.conf: Add entries for netgroup cache.
53388 * nscd/nscd.h (dbtype): Add netgrdb.
53389 (_PATH_NSCD_NETGROUP_DB): Define.
53390 (netgroup_iov_disabled): Declare.
53391 (xmalloc, xcalloc, xrealloc): Move declarations here.
53392 (cache_search): Adjust prototype.
53393 Add netgroup-related prototypes.
53394 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53395 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53396 (__nscd_innetgr): Declare.
53397 * nscd/selinux.c (perms): Use access_vector_t as element type and
53398 add netgroup-related initializers.
53399 * nscd/netgroupcache.c: New file.
53400 * nscd/nscd_netgroup.c: New file.
53401 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53402 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53403 For four parameters use innetgr.
53404 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53405 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53406 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53407 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53409 * nscd/connections.c (register_traced_file): Don't register file
53410 for disabled databases.
53412 2011-10-06 Ulrich Drepper <drepper@gmail.com>
53414 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53416 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53417 from tree and freeing node.
53419 2011-09-25 Jiri Olsa <jolsa@redhat.com>
53421 * nss/nsswitch.c (__nss_database_lookup): Handle
53422 nss_parse_service_list out of memory case.
53424 2011-09-15 Jiri Olsa <jolsa@redhat.com>
53426 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53427 out of memory case.
53429 2011-10-04 Andreas Schwab <schwab@redhat.com>
53431 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53432 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53434 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53435 elf_machine_rela, elf_machine_lazy_rel.
53436 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53437 (ELF_DYNAMIC_DO_REL): Likewise.
53438 (ELF_DYNAMIC_DO_RELA): Likewise.
53439 (ELF_DYNAMIC_RELOCATE): Likewise.
53440 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53441 to ELF_DYNAMIC_DO_REL.
53442 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53443 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53444 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53446 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53447 skip_ifunc, don't call ifunc function if non-zero.
53448 (elf_machine_rela): Likewise.
53449 (elf_machine_lazy_rel): Likewise.
53450 (elf_machine_lazy_rela): Likewise.
53451 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53452 (elf_machine_lazy_rel): Likewise.
53453 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53455 (elf_machine_lazy_rel): Likewise.
53456 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53458 (elf_machine_lazy_rel): Likewise.
53459 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53460 (elf_machine_lazy_rel): Likewise.
53461 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53462 (elf_machine_lazy_rel): Likewise.
53463 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53464 (elf_machine_lazy_rel): Likewise.
53465 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53466 (elf_machine_lazy_rel): Likewise.
53467 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53468 (elf_machine_lazy_rel): Likewise.
53469 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53470 (elf_machine_lazy_rel): Likewise.
53472 2011-09-28 Ulrich Drepper <drepper@gmail.com>
53474 * nss/nss_files/files-init.c (_nss_files_init): Use static
53475 initialization for all the *_traced_file variables.
53477 2011-09-28 Andreas Schwab <schwab@redhat.com>
53479 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53481 2011-09-27 Roland McGrath <roland@hack.frob.com>
53484 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53486 2011-09-27 Andreas Schwab <schwab@redhat.com>
53488 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53489 Reread the line before reparsing it.
53491 2011-09-26 Andreas Schwab <schwab@redhat.com>
53493 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53495 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53496 Maxim Kuvyrkov <maxim@codesourcery.com>
53497 Joseph Myers <joseph@codesourcery.com>
53499 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53500 if needed for __stack_chk_guard.
53502 2011-09-19 Roland McGrath <roland@hack.frob.com>
53504 * sysdeps/posix/spawni.c (script_execute): Always define it.
53505 It will be optimized away if unused.
53506 (maybe_script_execute): New function.
53507 (__spawni): Call it.
53509 * Makerules: Don't include tls.make.
53510 (config-tls): Always set to thread.
53511 * tls.make.c: File removed.
53513 2011-09-19 Mike Frysinger <vapier@gentoo.org>
53515 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53516 * config.make.in (CPPFLAGS-config): New substituted variable.
53518 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53520 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53523 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53524 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53526 2011-09-15 Roland McGrath <roland@hack.frob.com>
53528 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53529 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53530 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53531 (CALL_FAIL): Likewise.
53532 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53533 (CALL_FAIL): Macro removed.
53534 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53536 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53538 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53539 for __FINITE_MATH_ONLY__ == 1.
53541 2011-09-15 Andreas Schwab <schwab@redhat.com>
53543 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53544 __ieee754_sqrt instead of sqrt.
53545 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53546 __ieee754_sqrtf instead of sqrtf.
53547 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53548 __floorf instead of floorf.
53549 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53550 __floorf, __truncf instead of floorf, truncf.
53552 2011-09-14 Ulrich Drepper <drepper@gmail.com>
53554 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53556 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53557 __extern_always_inline.
53558 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53561 2011-09-14 Andreas Schwab <schwab@redhat.com>
53563 * elf/rtld.c (dl_main): Also relocate in dependency order when
53564 doing symbol dependency testing.
53566 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53568 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53569 Always define `refsym'.
53571 2011-09-13 Andreas Schwab <schwab@redhat.com>
53573 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53574 (__FD_ELT): Renamed from __FDELT.
53575 * misc/bits/select2.h (__FD_ELT): Likewise.
53576 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53577 __FD_MASK instead of __FDELT, __FDMASK.
53578 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53580 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53583 * elf/Makefile (gen-ldd): Fix pattern.
53585 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53586 (init_tls): Likewise.
53588 2011-09-12 Ulrich Drepper <drepper@gmail.com>
53590 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53592 2011-09-12 Andreas Schwab <schwab@redhat.com>
53594 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53595 `struct cmsghdr *' instead of `void *'.
53596 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53599 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53601 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53603 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53604 ldd_rewrite_script.
53606 2011-09-11 Ulrich Drepper <drepper@gmail.com>
53608 * configure.in: Remove --with-tls option.
53609 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53610 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53611 out in case it is missing.
53612 * sysdeps/ia64/elf/configure.in: Likewise.
53613 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53614 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53615 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53616 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53617 * sysdeps/sh/elf/configure.in: Likewise.
53618 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53619 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53620 * sysdeps/x86_64/elf/configure.in: Likewise.
53621 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53622 * sysdeps/mach/hurd/tls.h: Likewise.
53625 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53628 * configure.in: Fix use of AC_INIT.
53630 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53632 2011-09-10 Ulrich Drepper <drepper@gmail.com>
53634 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53636 * malloc/hooks.c: Likewise.
53639 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53640 variables statically.
53641 (narenas): Initialize.
53642 (list_lock): Initialize.
53643 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53644 initializtion of main_arena and list_lock. Small cleanups.
53645 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53646 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53647 Add initializers to main_arena and mp_.
53648 (malloc_state): Remove pagesize member. Change all users to use
53651 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53652 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53653 is always initialized.
53655 * malloc/malloc.c: Removed unused configurations and dead code.
53656 * malloc/arena.c: Likewise.
53657 * malloc/hooks.c: Likewise.
53658 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53660 * include/tls.h: Removed. USE___THREAD must always be defined.
53661 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53662 * elf/dl-libc.c: Likewise.
53663 * elf/dl-tsd.c: Likewise.
53664 * include/errno.h: Likewise.
53665 * include/netdb.h: Likewise.
53666 * include/resolv.h: Likewise.
53667 * inet/herrno-loc.c: Likewise.
53668 * inet/herrno.c: Likewise.
53669 * malloc/arena.c: Likewise.
53670 * malloc/hooks.c: Likewise.
53671 * malloc/malloc.c: Likewise.
53672 * resolv/res-state.c: Likewise.
53673 * resolv/res_libc.c: Likewise.
53674 * sysdeps/i386/dl-machine.h: Likewise.
53675 * sysdeps/ia64/dl-machine.h: Likewise.
53676 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53677 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53678 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53679 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53680 * sysdeps/sh/dl-machine.h: Likewise.
53681 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53682 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53683 * sysdeps/unix/i386/sysdep.S: Likewise.
53684 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53685 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53686 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53687 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53688 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53689 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53690 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53691 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53692 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53693 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53694 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53695 * sysdeps/x86_64/dl-machine.h: Likewise.
53696 * tls.make.c: Likewise.
53698 * configure.in: Remove --with-__thread option. Make tests for
53699 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53700 tls_model attribute fail if no support is available. Remove
53702 * Makeconfig: Adjust for dropped configure option. All features are
53704 * Makerules: Likewise.
53705 * Versions.def: Likewise.
53706 * argp/argp-fmtstream.c: Likewise.
53707 * argp/argp-fmtstream.h: Likewise.
53708 * argp/argp-help.c: Likewise.
53709 * assert/assert.c: Likewise.
53710 * config.h.in: Likewise.
53711 * config.make.in: Likewise.
53712 * configure: Likewise.
53713 * configure.in: Likewise.
53714 * csu/Versions: Likewise.
53715 * csu/init.c: Likewise.
53716 * elf/tst-audit2.c: Likewise.
53717 * elf/tst-tls10.c: Likewise.
53718 * elf/tst-tls10.h: Likewise.
53719 * elf/tst-tls11.c: Likewise.
53720 * elf/tst-tls12.c: Likewise.
53721 * elf/tst-tls14.c: Likewise.
53722 * elf/tst-tlsmod11.c: Likewise.
53723 * elf/tst-tlsmod12.c: Likewise.
53724 * elf/tst-tlsmod13.c: Likewise.
53725 * elf/tst-tlsmod13a.c: Likewise.
53726 * elf/tst-tlsmod14a.c: Likewise.
53727 * elf/tst-tlsmod15b.c: Likewise.
53728 * elf/tst-tlsmod16a.c: Likewise.
53729 * elf/tst-tlsmod16b.c: Likewise.
53730 * elf/tst-tlsmod7.c: Likewise.
53731 * elf/tst-tlsmod8.c: Likewise.
53732 * elf/tst-tlsmod9.c: Likewise.
53733 * gmon/gmon.c: Likewise.
53734 * grp/fgetgrent_r.c: Likewise.
53735 * grp/putgrent.c: Likewise.
53736 * hurd/fopenport.c: Likewise.
53737 * include/libc-symbols.h: Likewise.
53738 * include/tls.h: Likewise.
53739 * intl/gettextP.h: Likewise.
53740 * intl/loadinfo.h: Likewise.
53741 * locale/global-locale.c: Likewise.
53742 * locale/localeinfo.h: Likewise.
53743 * mach/devstream.c: Likewise.
53744 * malloc/arena.c: Likewise.
53745 * malloc/set-freeres.c: Likewise.
53746 * misc/err.c: Likewise.
53747 * misc/getttyent.c: Likewise.
53748 * misc/mntent_r.c: Likewise.
53749 * posix/getopt.c: Likewise.
53750 * posix/wordexp.c: Likewise.
53751 * pwd/fgetpwent_r.c: Likewise.
53752 * resolv/Versions: Likewise.
53753 * resolv/res_hconf.c: Likewise.
53754 * shadow/fgetspent_r.c: Likewise.
53755 * shadow/putspent.c: Likewise.
53756 * stdio-common/printf_fphex.c: Likewise.
53757 * stdio-common/tmpfile.c: Likewise.
53758 * stdlib/abort.c: Likewise.
53759 * stdlib/fmtmsg.c: Likewise.
53760 * sunrpc/auth_unix.c: Likewise.
53761 * sunrpc/clnt_perr.c: Likewise.
53762 * sunrpc/clnt_tcp.c: Likewise.
53763 * sunrpc/clnt_udp.c: Likewise.
53764 * sunrpc/clnt_unix.c: Likewise.
53765 * sunrpc/openchild.c: Likewise.
53766 * sunrpc/svc_simple.c: Likewise.
53767 * sunrpc/svc_tcp.c: Likewise.
53768 * sunrpc/svc_udp.c: Likewise.
53769 * sunrpc/svc_unix.c: Likewise.
53770 * sunrpc/xdr.c: Likewise.
53771 * sunrpc/xdr_array.c: Likewise.
53772 * sunrpc/xdr_rec.c: Likewise.
53773 * sunrpc/xdr_ref.c: Likewise.
53774 * sunrpc/xdr_stdio.c: Likewise.
53776 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53778 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53780 2011-07-03 Andreas Jaeger <aj@suse.de>
53782 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53783 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53784 regenerate with gen-libm-tests.pl.
53786 2010-05-12 Petr Baudis <pasky@suse.cz>
53789 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53790 around j0() zero points by switching to j1().
53791 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53792 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53793 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53794 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53796 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53798 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53800 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53802 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53803 Patch in part by Pavel Roskin <proski@gnu.org>.
53806 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53808 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53809 Free memory block if necessary.
53812 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53813 be NULL. Don't lock in this case.
53815 2011-09-09 Roland McGrath <roland@hack.frob.com>
53817 * elf/elf.h (ELFOSABI_GNU): New macro.
53818 (ELFOSABI_LINUX): Define to that.
53820 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53822 * string/strncat.c (strncat): Undef the symbol in case it has been
53823 defined in bits/string.h.
53825 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53827 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53829 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53832 2011-08-17 Andreas Jaeger <aj@suse.de>
53834 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53836 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53837 Ian Lance Taylor <iant@google.com>
53839 * math/libm-test.inc (lround_test): New testcase.
53840 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53842 2011-09-08 Ulrich Drepper <drepper@gmail.com>
53844 * Makefile: Remove support for automatic cvs check-ins.
53845 * Makerules: Likewise.
53846 * config.make.in: Likewise.
53847 * configure.in: Likewise.
53848 * intl/Makefile: Likewise.
53849 * locale/Makefile: Likewise.
53850 * po/Makefile: Likewise.
53851 * posix/Makefile: Likewise.
53852 * sysdeps/gnu/Makefile: Likewise.
53853 * sysdeps/mach/hurd/Makefile: Likewise.
53854 * sysdeps/sparc/sparc32/Makefile: Likewise.
53857 * posix/Makefile (bug-regex32-ENV): Define.
53858 Patch by John Stanley <jpsinthemix@verizon.net>.
53860 * misc/Makefile (headers): Add bits/select2.h.
53861 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53862 * misc/bits/select2.h: New file.
53863 * include/bits/select2.h: New file.
53864 * debug/Makefile (routines): Add fdelt_chk.
53865 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53866 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53868 * debug/fdelt_chk.c: New file.
53870 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53871 * wcsmbs/test-wmemcmp.c: Likewise.
53872 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53873 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53875 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53877 * string/Makefile (strop-tests): Add memcmp.
53878 * string/test-wmemcmp.c: New file.
53879 * string/test-memcmp.c: Add wmemcmp support.
53881 2011-09-08 Roland McGrath <roland@hack.frob.com>
53884 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53887 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53888 garbage value in a __mach_port_mod_refs call in the cases of the
53889 task-self and thread-self ports.
53891 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53893 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53895 2011-09-08 Andreas Schwab <schwab@redhat.com>
53897 * elf/dl-load.c (lose): Check for non-null L.
53899 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53901 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53903 * elf/dl-libc.c (dlerror_run): Pass back error code from
53907 * elf/dl-load.c (lose): Free l_origin if it is valid.
53909 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53911 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53912 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53913 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53914 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53915 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53916 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53918 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53920 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53921 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53922 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53923 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53924 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53925 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53926 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53927 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53928 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53929 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53931 2011-08-15 Alan Modra <amodra@gmail.com>
53934 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53935 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53936 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53937 ppc_mcount to static-only-routines.
53938 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53940 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53941 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53943 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53945 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53946 for finite and infinity parameters.
53948 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53950 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53951 and add nop instructions for throughput optimization.
53952 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53954 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53956 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53957 aligned copy for power7 with vector-scalar instructions.
53958 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53960 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53962 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53965 2011-09-07 Andreas Schwab <schwab@redhat.com>
53968 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53971 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53973 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53974 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53975 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53976 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53979 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53981 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53982 Forgot to demangle the pointer.
53984 * sysdeps/i386/sysdep.h: Define atom_text_section.
53985 * sysdeps/x86_64/sysdep.h: Likewise.
53986 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53987 section with atom_text_section.
53988 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53989 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53990 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53991 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53992 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53994 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53995 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53996 already be defined. Change to take two parameters and don't assign
53997 result to variable. Adjust all users.
53998 Define INTERNAL_GETTIME if not already defined.
53999 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54001 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54002 HAVE_CLOCK_GETTIME_VSYSCALL.
54003 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54005 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54006 gettimeofday vsyscall, just use time.
54008 2011-09-06 Andreas Schwab <schwab@redhat.com>
54010 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54013 2011-09-06 Ulrich Drepper <drepper@gmail.com>
54015 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54017 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54019 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54020 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54021 syscall if possible.
54023 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54025 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54026 e_ident. Don't pass to find_mapsXX.
54027 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54029 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54032 strchr-sse2-no-bsf strrchr-sse2-no-bsf
54033 * sysdeps/x86_64/multiarch/strchr.S: Update.
54034 Check bit_slow_BSF bit.
54035 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54036 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54037 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54039 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54042 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54044 (tryshell): Define.
54045 (__spawni): Change last parameter to be flag. Test
54046 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54047 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54048 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54049 * posix/spawni.c: Likewise.
54050 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54051 * posix/spawnp.c: Likewise. Change normal version to use
54052 SPAWN_XFLAGS_USE_PATH.
54053 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54054 SPAWN_XFLAGS_TRY_SHELL.
54057 * posix/glob.h: Remove gcc 1.x support.
54060 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54062 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54065 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54067 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54068 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54069 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54070 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54071 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54072 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54074 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54076 * sysdeps/x86_64/wcscmp.S: New file.
54078 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54079 wcscmp-c wcscmp-sse2
54080 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54081 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54082 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54083 * wcsmbs/wcscmp.c: Allow renaming.
54085 2011-09-05 David S. Miller <davem@davemloft.net>
54087 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54088 stack slot, rather than the struct return pointer slot.
54089 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54090 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54092 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54094 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54096 * po/ja.po: Update from translation team.
54099 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54100 kernel in 64-bit binaries.
54102 2011-09-01 David S. Miller <davem@davemloft.net>
54104 * elf/elf.h (HWCAP_SPARC_*): Move to..
54105 * sysdeps/sparc/sysdep.h: this new file and add new values.
54106 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54107 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54108 _DL_HWCAP_COUNT to 24.
54109 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54111 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54112 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54113 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54114 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54115 instead of magic constants.
54116 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54118 2011-08-31 David S. Miller <davem@davemloft.net>
54120 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54121 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54122 Reimplement to do errno handling inline.
54123 (SYSCALL_ERROR_HANDLER): New macro.
54124 (__SYSCALL_STRING): Do not do errno handling in asm.
54125 (__CLONE_SYSCALL_STRING): Delete.
54126 (__INTERNAL_SYSCALL_STRING): Delete.
54127 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54128 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54129 (PSEUDO): Reimplement to do errno handling inline.
54130 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54131 (SYSCALL_ERROR_HANDLER): New macro.
54132 (__SYSCALL_STRING): Do not do errno handling in asm.
54133 (__CLONE_SYSCALL_STRING): Delete.
54134 (__INTERNAL_SYSCALL_STRING): Delete.
54135 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54136 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54138 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54139 (inline_syscall*): Add 'err' argument.
54140 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54141 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54142 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54143 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54145 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54146 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54148 2011-08-30 Andreas Schwab <schwab@redhat.com>
54150 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54152 2011-08-29 Jiri Olsa <jolsa@redhat.com>
54154 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54157 2011-08-24 David S. Miller <davem@davemloft.net>
54159 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54161 2011-08-24 Andreas Schwab <schwab@redhat.com>
54163 * elf/Makefile: Add rules to build and run unload8 test.
54164 * elf/unload8.c: New file.
54165 * elf/unload8mod1.c: New file.
54166 * elf/unload8mod1x.c: New file.
54167 * elf/unload8mod2.c: New file.
54168 * elf/unload8mod3.c: New file.
54170 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54173 2011-08-23 David S. Miller <davem@davemloft.net>
54175 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54176 subtract stack bias.
54177 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54178 %sp not %fp in calculations.
54179 (_JMPBUF_UNWINDS_ADJ): Likewise.
54181 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54182 (aio_suspend): Call it to force an exception region around the
54183 AIO_MISC_WAIT() invocation.
54185 2011-08-23 Andreas Schwab <schwab@redhat.com>
54187 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54190 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54192 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54194 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54195 and <dl-machine.h>.
54196 (Elf64_FuncDesc): Remove.
54198 2011-08-22 David S. Miller <davem@davemloft.net>
54200 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54201 sigaltstack check, add missing cfi directives.
54202 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54203 missing cfi directives, and sigaltstack handling.
54205 2011-08-16 Andreas Schwab <schwab@redhat.com>
54208 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54209 object is seen twice.
54210 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54212 * elf/Makefile (distribute): Add tst-initorder2.c.
54213 (tests): Add tst-initorder2.
54214 (modules-names): Add tst-initorder2a tst-initorder2b
54215 tst-initorder2c tst-initorder2d. Add rules to build them.
54216 ($(objpfx)tst-initorder2.out): New rule.
54217 * elf/tst-initorder2.c: New file.
54218 * elf/tst-initorder2.exp: New file.
54220 2011-08-22 Andreas Schwab <schwab@redhat.com>
54222 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54224 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54225 dependencies back to end of function.
54227 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54228 $(elfobjdir)/ld.so.
54230 2011-08-21 Ulrich Drepper <drepper@gmail.com>
54232 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54233 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54234 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54235 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54236 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54237 of __vdso_gettimeofday.
54238 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54239 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54241 (_libc_vdso_platform_setup): Remove initialization of
54242 __vdso_gettimeofday and __vdso_time.
54244 2011-08-20 Ulrich Drepper <drepper@gmail.com>
54246 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54247 and fgetc_unlocked.
54248 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54251 * elf/dl-open.c (add_to_global): Report additions to the global scope
54252 for LD_DEBUG=scopes.
54253 (dl_open_worker): Also print scope of newly loaded dependencies.
54254 (_dl_show_scope): Indicate if there is no scope.
54257 * stdio-common/Makefile (tests): Add bug24.
54258 * stdio-common/bug24.c: New file.
54260 2011-08-19 Andreas Jaeger <aj@suse.de>
54263 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54264 non-existant file when using close-on-exec mode.
54266 2011-08-20 Ulrich Drepper <drepper@gmail.com>
54268 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54269 the very first instruction.
54271 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54272 the CFI state in the end.
54273 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54274 inclusion of dl-trampoline.h.
54275 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54277 2011-08-19 Andreas Schwab <schwab@redhat.com>
54279 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54280 expectations for long double.
54282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54283 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54285 2011-08-14 David S. Miller <davem@davemloft.net>
54287 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54288 artificual limit depends upon the system page size.
54290 2011-08-17 Ulrich Drepper <drepper@gmail.com>
54292 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54293 * resolv/Makefile: Define CFLAGS-libresolv.
54295 2011-08-17 Andreas Schwab <schwab@redhat.com>
54297 * nss/makedb.c (compute_tables): Make variables used in nested
54300 2011-08-17 Ulrich Drepper <drepper@gmail.com>
54302 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54303 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54304 if buffer was too small.
54306 * elf/pldd.c (main): Attach to all threads in the process.
54307 Rewrite /proc handling to use *at functions.
54309 2011-08-16 Ulrich Drepper <drepper@gmail.com>
54311 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54312 specifies first scope to show.
54313 (dl_open_worker): Update callers. Move printing scope of new
54314 object to before the relocation.
54315 * elf/rtld.c (dl_main): Update _dl_show_scope call.
54316 * sysdeps/generic/ldsodefs.h: Update declaration.
54318 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54319 string for the scope number.
54321 2011-08-14 Ulrich Drepper <drepper@gmail.com>
54323 * nscd/servicescache.c (cache_addserv): Make sure written is always
54326 2011-08-14 Roland McGrath <roland@hack.frob.com>
54328 * sysdeps/i386/i486/bits/atomic.h
54329 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54330 statement expression, so as to suppress "set but not used" warning.
54331 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54333 * string/strncat.c (STRNCAT): Use prototype definition.
54335 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54336 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54338 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54339 (localedef-modules): Add localedef.
54340 (locale-modules): Add locale.
54342 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54343 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54344 to avoid a warning.
54346 2011-08-14 David S. Miller <davem@davemloft.net>
54348 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54349 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54351 2011-08-13 Ulrich Drepper <drepper@gmail.com>
54353 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54354 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54355 * elf/rtld.c (dl_main): Set l_name of vDSO.
54356 Call _dl_show_scope when DL_DEBUG_SCOPES.
54357 (process_dl_debug): Recognize scopes flag and also set it for all.
54358 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54359 Declare _dl_show_scope.
54361 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54362 (do_dlopen): Pass caller_dlopen to dl_open.
54363 (__libc_dlopen_mode): Initialize caller_dlopen.
54365 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54366 of libc. Make tolower call locale-independent. Optimize a bit by
54367 using isdigit instead of isalnum.
54368 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54370 2011-08-12 Ulrich Drepper <drepper@gmail.com>
54372 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54373 was a dependency or dynamically loaded.
54375 2011-08-11 Ulrich Drepper <drepper@gmail.com>
54377 * intl/l10nflist.c: Allow architecture-specific pop function.
54378 * sysdeps/x86_64/l10nflist.c: New file.
54380 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54383 2011-08-10 Andreas Schwab <schwab@redhat.com>
54385 * include/dirent.h: Add libc_hidden_proto for scandirat and
54386 scandirat64. Don't declare __scandirat64.
54387 * dirent/scandirat.c: Add libc_hidden_def.
54388 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54389 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54391 2011-08-10 David S. Miller <davem@davemloft.net>
54393 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54395 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54396 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54397 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54399 2011-08-09 Ulrich Drepper <drepper@gmail.com>
54401 * Versions.def [libc]: Add GLIBC_2.15.
54402 * dirent/Makefile (routines): Add scandirat and scandirat64.
54403 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54405 * dirent/dirent.h: Declare scandirat and scandirat64.
54406 * dirent/scandirat.c: New file.
54407 * dirent/scandirat64.c: New file.
54408 * sysdeps/wordsize-64/scandirat.c: New file.
54409 * sysdeps/wordsize-64/scandirat64.c: New file.
54410 * dirent/opendir.c: Define opendirat.
54411 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54413 * dirent/scandir64.c: Adjust for scandir.c change.
54414 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54415 __scandirat64, and __scandir_cancel_handler.
54416 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54417 additional parameter and use openat instead of open (outside of ld.so).
54418 Add new __opendir as wrapper around __opendirat.
54419 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54420 here without requiring old scandirat implementation.
54422 2011-08-08 Ulrich Drepper <drepper@gmail.com>
54424 * dirent/scandir.c (cancel_handler): Renamed to
54425 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54426 defined. Adjust users.
54427 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54428 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54430 2011-08-04 Ulrich Drepper <drepper@gmail.com>
54432 * string/test-string.h (IMPL): Use __STRING to expand name and then
54435 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54438 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54440 * string/Makefile: Update.
54441 (strop-tests): Append strncat.
54442 * string/test-wcscmp.c: New file.
54443 New comprehensive test for wcscmp.
54444 * string/test-strcmp.c: Update.
54445 (WIDE): New define.
54447 2011-07-22 Andreas Schwab <schwab@redhat.com>
54449 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54452 2011-07-26 Andreas Schwab <schwab@redhat.com>
54454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54455 encoding to ACE if AI_IDN.
54457 2011-08-01 Jakub Jelinek <jakub@redhat.com>
54459 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54460 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54462 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54464 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54465 Fix overflow bug in strncat.
54466 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54468 * string/test-strncat.c: Update.
54469 Add new tests for checking overflow bugs.
54471 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54473 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54474 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54475 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54476 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54477 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54478 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54479 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54480 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54481 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54483 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54484 (USE_AS_STRCAT): Define.
54485 Add strcat and strncat support.
54486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54488 2011-07-25 Andreas Schwab <schwab@redhat.com>
54490 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54491 __n bigger than INT_MAX+1.
54492 (__strncmp_g): Likewise.
54494 2011-07-23 Ulrich Drepper <drepper@gmail.com>
54496 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54497 * libio/stido.h: Likewise.
54499 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54501 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54504 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54505 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54506 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54507 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54508 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54511 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54514 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54516 (_dl_x86_64_save_sse): Likewise.
54518 2011-07-22 Ulrich Drepper <drepper@gmail.com>
54520 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54522 (_dl_x86_64_save_sse): Likewise.
54524 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54526 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54528 2011-07-21 Andreas Schwab <schwab@redhat.com>
54530 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54532 (_dl_x86_64_save_sse): Use correct AVX check.
54534 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54536 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54537 bug in strncpy/strncat.
54538 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54540 2011-07-21 Ulrich Drepper <drepper@gmail.com>
54542 * string/tester.c (test_strcat): Add tests for different alignments
54543 of source and destination.
54544 (test_strncat): Likewise.
54546 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54549 * posix/glob.c (glob): Check passed in values before using them in
54550 expressions to avoid some overflows.
54551 (glob_in_dir): Likewise.
54554 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54555 check for AVX enablement so that we don't crash with old kernels and
54557 * elf/tst-audit4.c: Add same checks here.
54558 * elf/tst-audit6.c: Likewise.
54560 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54562 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54564 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54566 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54568 * po/cs.po: Update from translation team.
54569 * po/bg.po: Likewise.
54571 2011-07-12 Marek Polacek <mpolacek@redhat.com>
54573 * misc/sys/cdefs.h: Add support for const attribute.
54574 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54575 to gnu_dev_{major,minor,makedev} functions.
54577 2011-07-20 Marek Polacek <mpolacek@redhat.com>
54579 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54581 2011-07-20 Andreas Schwab <schwab@redhat.com>
54583 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54586 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54588 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54589 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54590 register in order to avoid conflicts with the soft frame pointer
54591 being held in r11 when necessary.
54592 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54593 (INTERNAL_VSYSCALL_NCS): Likewise.
54595 2011-07-14 Marek Polacek <mpolacek@redhat.com>
54597 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54598 * elf/dl-fini.c (_dl_fini): Adjust caller.
54599 * elf/dl-close.c (_dl_close_worker): Likewise.
54600 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54602 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54604 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54605 "aux_cache->nlibs < 0".
54607 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54608 in the reload-count case.
54610 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54613 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54614 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54615 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54616 * sysdeps/x86_64/multiarch/strcat.S: New file.
54617 * sysdeps/x86_64/multiarch/strncat.S: New file.
54618 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54619 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54620 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54621 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54622 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54623 (USE_AS_STRCAT): Define.
54624 Add strcat and strncat support.
54625 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54626 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54627 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54628 * string/strncat.c: Update.
54629 (USE_AS_STRNCAT): Define.
54630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54631 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54633 * sysdeps/x86_64/multiarch/init-arch.h
54634 (bit_Prefer_PMINUB_for_stringop): New.
54635 (index_Prefer_PMINUB_for_stringop): Likewise.
54636 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54637 bit_Prefer_PMINUB_for_stringop.
54639 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54641 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54643 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54644 of casting of buffer.
54645 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54646 buffer32 and buffer64.
54647 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54648 writes instead of casting of buffer.
54649 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54651 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54654 2011-07-19 Andreas Schwab <schwab@redhat.com>
54656 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54658 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54660 * nscd/nscd.c (termination_handler): Don't do anything for a database
54661 if it has not yet been initialized.
54663 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54665 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54667 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54669 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54671 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54673 * po/nl.po: Update from translation team.
54674 * po/sv.po: Likewise.
54676 2011-07-16 Roland McGrath <roland@hack.frob.com>
54678 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54679 now disallowed by GCC.
54681 * configure.in (use-default-link): Default to yes if a test -shared
54682 link meets our qualifications.
54683 * configure: Regenerated.
54685 * config.make.in (output-format): New variable.
54686 * configure.in: Check for ld --print-output-format support.
54687 * configure: Regenerated.
54688 * Makerules ($(common-objpfx)format.lds)
54689 [$(output-format) != unknown]: Just use $(output-format),
54690 instead of the linker-script munging.
54692 2011-07-14 Roland McGrath <roland@hack.frob.com>
54694 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54695 of $(common-objpfx)shlib.lds.
54696 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54698 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54699 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54701 * configure.in (-z relro check): Adjust test code to add a large
54702 writable data section after it.
54703 * configure: Regenerated.
54705 2011-07-11 Roland McGrath <roland@hack.frob.com>
54707 * configure.in (-z relro check): Fix test code to make the variable
54709 * configure: Regenerated.
54711 2011-07-11 Ulrich Drepper <drepper@gmail.com>
54713 * nscd/nscd.h (struct traced_file): Define.
54714 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54715 elements. Add traced_files.
54716 (inotify_fd): Declare.
54717 (register_traced_file): Declare.
54718 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54719 (inotify_fd): Export.
54720 (resolv_conf_descr): Remove.
54721 (nscd_init): Move inotify descriptor creation to main.
54722 Don't register files for notification here.
54723 (register_traced_file): New function.
54724 (invalidate_cache): Don't use reset_res to determine whether to call
54725 res_init, go through the list of registered files.
54726 (main_loop_poll): The inotify descriptors are now stored in the
54727 structures for the traced files.
54728 (main_loop_epoll): Likewise
54729 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54730 to __nss_disable_nscd.
54731 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54732 for a database anymore. Check the records for all the registered
54734 * nss/Makefile (libnss_files-routines): Add files-init.
54735 (libnss_db-routines): Add db-init.
54736 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54737 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54738 * nss/nss_db/db-init.c: New file.
54739 * nss/nss_files/files-init.c: New file.
54740 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54741 __nss_lookup_function.
54742 (__nss_lookup_function): Call nss_load_library.
54743 (nss_load_all_libraries): New function.
54744 (__nss_disable_nscd): Take parameter with callback function for files
54745 to register. Set is_nscd. Load all the DSOs for the NSS modules
54746 used for the cached services.
54747 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54748 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54749 options for features to all the files in nscd.
54751 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54753 2011-07-10 Roland McGrath <roland@hack.frob.com>
54755 * csu/elf-init.c (__libc_csu_init): Comment typo.
54757 2011-07-09 Ulrich Drepper <drepper@gmail.com>
54759 * po/pl.po: Update from translation team.
54760 * po/ja.po: Likewise.
54761 * po/ru.po: Likewise.
54762 * po/ko.po: Likewise.
54763 * po/fr.po: Likewise.
54765 2011-07-09 Roland McGrath <roland@hack.frob.com>
54767 * configure.in (.ctors/.dtors header and trailer check):
54768 Use an empirical test on a built program.
54769 * configure: Regenerated.
54771 * configure.in (-z relro check): Use an empirical test on a built DSO.
54772 Detect, but do not require, on ia64.
54773 * configure: Regenerated.
54775 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54776 Update tests that use readelf to use $READELF instead.
54777 * configure: Regenerated.
54779 2011-07-08 Ulrich Drepper <drepper@gmail.com>
54781 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54782 if the result is not used.
54784 2011-07-05 Andreas Jaeger <aj@suse.de>
54787 * stdlib/tst-strtod.c: Add testcase.
54789 2011-07-07 Ulrich Drepper <drepper@gmail.com>
54791 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54792 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54793 The latter has a higher limit. Take additional parameter to pass to
54795 (__pathconf): Pass file to __statfs_link_max.
54796 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54798 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54802 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54803 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54805 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54806 (__statfs_filesize_max): Likewise.
54807 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54809 2011-07-05 Andreas Jaeger <aj@suse.de>
54811 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54813 2011-07-06 Marek Polacek <mpolacek@redhat.com>
54815 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54817 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54820 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54822 * Makefile (strop-tests): Add strncat.
54823 * string/test-strncat.c: New file.
54825 2011-06-30 Marek Polacek <mpolacek@redhat.com>
54827 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54829 2011-06-21 Andreas Jaeger <aj@suse.de>
54831 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54832 Copy rule from iconvdata/Makefile.
54834 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54837 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54838 but no long options are defined, just return 'W'.
54840 2011-06-22 Marek Polacek <mpolacek@redhat.com>
54843 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54845 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54847 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54849 (innetgr): Likewise.
54851 2011-07-05 Roland McGrath <roland@hack.frob.com>
54853 * config.make.in (install_root): Default to $(DESTDIR).
54855 2011-07-05 Ulrich Drepper <drepper@gmail.com>
54857 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54859 2011-07-02 Roland McGrath <roland@hack.frob.com>
54861 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54863 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54864 containing directory rather than embedding absolute directory names.
54866 * scripts/check-local-headers.sh: Rewritten using awk.
54867 Match by word, not by line. Print error messages for matches.
54868 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54870 * Makerules [shlib-lds-flags empty]:
54871 ($(common-objpfx)libc_pic.opts): New target.
54872 ($(common-objpfx)libc_pic.os.clean): New target.
54873 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54875 * config.make.in (OBJCOPY): New variable.
54876 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54877 * configure: Regenerated.
54879 * config.make.in (use-default-link): New variable.
54880 * configure.in (use_default_link): Grok --with-default-link to set it.
54881 * configure: Regenerated.
54882 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54883 (shlib-lds, shlib-lds-flags): Define to empty.
54885 * Makerules (shlib-lds): New variable.
54886 (shlib-lds-flags): New variable.
54887 (build-shlib, build-moduile, build-module-asneeded): Use it.
54888 ($(common-objpfx)libc.so): Use $(shlib-lds).
54889 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54890 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54892 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54893 DT_FLAGS/DT_FLAGS_1 with zero flags.
54895 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54896 linker script munging.
54898 2011-07-02 Ulrich Drepper <drepper@gmail.com>
54900 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54902 * crypt/sha512.c (sha512_process_block): Perform total addition using
54903 128-bit if possible.
54904 (__sha512_finish_ctx): Likewise.
54905 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54907 * crypt/sha256.c (SWAP64): Define.
54908 (sha256_process_block): Perform total addition using 64-bit if
54910 (__sha256_finish_ctx): Likewise.
54912 2011-07-01 Ulrich Drepper <drepper@gmail.com>
54914 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54915 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54916 * nscd/hstcache.c (cache_addhst): Likewise.
54917 * nscd/grpcache.c (cache_addgr): Likewise.
54918 * nscd/aicache.c (addhstaiX): Likewise
54919 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54921 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
54923 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54924 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54925 * nscd/hstcache.c (cache_addhst): Likewise.
54926 * nscd/grpcache.c (cache_addgr): Likewise.
54927 * nscd/aicache.c (addhstaiX): Likewise
54929 2011-07-01 Andreas Schwab <schwab@redhat.com>
54931 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54932 domain only when needed.
54934 2011-06-30 Andreas Schwab <schwab@redhat.com>
54936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54937 is always restored.
54939 2011-06-29 Ulrich Drepper <drepper@gmail.com>
54941 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54942 are re-adding the entry.
54943 * nscd/servicescache.c (cache_addserv): Likewise.
54945 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54947 * sysdeps/generic/dl-irel.h: fix protection against multiple
54949 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54951 2011-06-28 Ulrich Drepper <drepper@gmail.com>
54954 * malloc/memusage.sh: Fix quoting in message.
54955 * debug/xtrace.sh: Likewise.
54957 * configure.in: Remove support for --experimental-malloc option, make
54959 * config.make.in: Likewise.
54960 * malloc/Makefile: Likewise.
54962 2011-06-27 Andreas Schwab <schwab@redhat.com>
54964 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54965 two-byte characters.
54967 2011-06-27 Roland McGrath <roland@hack.frob.com>
54969 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54970 AC_CACHE_CHECK invocation.
54971 * configure: Regenerated.
54973 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54975 2011-06-27 Ulrich Drepper <drepper@gmail.com>
54978 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54979 bit from old_res_options.
54981 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54983 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54984 value type for setfct.
54986 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54988 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54989 __gettimeofday instead of gettimeofday.
54991 2011-06-26 Ulrich Drepper <drepper@gmail.com>
54993 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54995 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54997 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54999 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55002 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55004 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55005 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55006 strcpy-sse2-unaligned strncpy-sse2-unaligned
55007 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55008 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55009 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55010 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55011 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55012 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55013 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55014 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55015 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55016 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55017 (STRCPY): Support SSE2 and SSSE3 versions.
55019 2011-06-24 Ulrich Drepper <drepper@gmail.com>
55022 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55023 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55024 kernels which artificially limit size of requests.
55026 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55028 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55029 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55030 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55031 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55032 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55033 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55034 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55035 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55036 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55037 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55038 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55039 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55040 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55041 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55042 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55044 Enable unaligned load optimization for Intel Core i3, i5 and i7
55046 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55048 (index_Fast_Unaligned_Load): Define.
55049 (HAS_FAST_UNALIGNED_LOAD): Define.
55051 2011-06-23 Marek Polacek <mpolacek@redhat.com>
55053 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55055 2011-06-22 Ulrich Drepper <drepper@gmail.com>
55058 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55059 until it is clear that the information is realy needed.
55060 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55062 2011-06-22 Andreas Schwab <schwab@redhat.com>
55064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55066 2011-06-22 Ulrich Drepper <drepper@gmail.com>
55068 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55069 /sys/devices/system/cpu/online if it is usable.
55071 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55072 reading the information from the /proc filesystem to once a second.
55074 2011-06-21 Andreas Jaeger <aj@suse.de>
55076 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55077 NULL after inclusion of kernel headers.
55079 2011-06-21 Ulrich Drepper <drepper@gmail.com>
55081 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55082 calls to internal_setent.
55085 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55086 addresses using gethostbyname4_r ignore IPv4 addresses.
55088 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55089 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55091 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55093 2011-06-20 David S. Miller <davem@davemloft.net>
55095 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55097 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55099 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55100 (elf_irel): Use it.
55101 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55102 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55103 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55104 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55105 * sysdeps/x86_64/dl-irel.h: Likewise.
55107 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55108 * elf/dl-sym.c: Likewise.
55110 2011-06-15 Ulrich Drepper <drepper@gmail.com>
55112 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55113 need to dereference resplen2.
55115 2011-06-14 Andreas Schwab <schwab@redhat.com>
55117 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55119 2011-06-15 Ulrich Drepper <drepper@gmail.com>
55121 * Makeconfig: Define vardbdir and inst_vardbdir.
55122 * nss/Makefile: Add rules to install db-Makefile.
55124 * nss/nss_db/db-XXX.c: Cleanup.
55126 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55127 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55129 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55130 * nss/makedb.c: Implement -g option to specify that value strings
55131 are generated and should not be added to table iterated over for
55133 * nss/nss_db/db-initgroups.c: New file.
55135 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55138 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55139 (internal_getgrouplist): Adjust to name change.
55140 Update use_initgroups_entry if this is not the first call.
55141 * nss/databases.def: Add initgroups entry.
55143 * nss/makedb.c (compute_tables): Check result of multiple hash table
55144 sizes to minimize maximum chain length.
55146 2011-06-14 Ulrich Drepper <drepper@gmail.com>
55148 * Versions.def: Add entry for libnss_db.
55149 * shlib-versions: Likewise.
55150 * nss/Makefile: Add rules to build libnss_db.
55151 * nss/Versions: Add libnss_db information. Organize libnss_files
55153 * nss/db-Makefile: Add gshadow support. Change rules for the new
55154 makedb progra. Some minor improvements to generate smaller files.
55155 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55157 * nss/makedb.c: ...here.
55158 Improve database format to be smaller and require less memory at
55160 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55162 * nss/nss_db/db-netgrp.c: Likewise.
55163 * nss/nss_db/db-open.c: Likewise.
55164 * nss/nss_files/flies-XXX.x: Adjust comments.
55165 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55166 * nss/nss_files/files-grp.c: Likewise.
55167 * nss/nss_files/files-hosts.c: Likewise.
55168 * nss/nss_files/files-network.c: Likewise.
55169 * nss/nss_files/files-proto.c: Likewise.
55170 * nss/nss_files/files-pwd.c: Likewise.
55171 * nss/nss_files/files-rpc.c: Likewise.
55172 * nss/nss_files/files-service.c: Likewise.
55173 * nss/nss_files/files-sgrp.c: Likewise.
55174 * nss/nss_files/files-spwd.c: Likewise.
55175 * nss/nss_db/db-alias.c: Removed.
55176 * nss/nss_db/dummy-db.h: Removed.
55178 2011-06-02 Ulrich Drepper <drepper@gmail.com>
55180 * nss/makedb.c: Rewritten to not use database library.
55181 * nss/Makefile: Update to build new makedb program.
55183 2011-06-14 Andreas Jaeger <aj@suse.de>
55185 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55186 memset declaration.
55188 2011-06-10 Andreas Schwab <schwab@redhat.com>
55190 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55193 2011-06-10 Roland McGrath <roland@hack.frob.com>
55195 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55196 * elf/Makefile ($(objpfx)ld.so): Likewise.
55198 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55199 Don't list ld.so twice in dependencies.
55201 * posix/bug-regex31.c: Include <stdlib.h>.
55203 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55205 * nis/nss_compat/compat-spwd.c
55206 (getspent_next_nss_netgr): Remove unused variable.
55207 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55209 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55210 nonmembers" output to use the right array.
55212 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55214 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55216 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55217 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55218 * catgets/gencat.c (read_input_file): Likewise.
55219 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55221 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55222 variable definition inside #if's controlling its use.
55224 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55226 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55228 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55230 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55233 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55235 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55236 * configure: Regenerated.
55238 * Makerules: Revert last change.
55239 * elf/Makefile: Likewise.
55241 2011-06-09 Roland McGrath <roland@hack.frob.com>
55243 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55244 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55245 (reloc-link): Likewise.
55247 2011-06-09 Ulrich Drepper <drepper@gmail.com>
55249 * elf/Makefile: Add rules to build pldd.
55250 * elf/pldd.c: New file.
55251 * elf/pldd-xx.c: New file.
55253 2011-06-07 Ulrich Drepper <drepper@gmail.com>
55255 * version.h: Update for 2.15 development version.
55257 2011-06-07 David S. Miller <davem@davemloft.net>
55259 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55261 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55262 elf_machine_lazy_rel): Likewise.
55263 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55264 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55265 elf_machine_lazy_rel): Likewise.
55266 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55267 dl_hwcap via passed in argument.
55268 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55271 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55273 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55275 2011-06-06 Roland McGrath <roland@hack.frob.com>
55278 * manual/fdl-1.1.texi: New file, verbatim from:
55279 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55280 * manual/lgpl-2.1.texi: New file, verbatim from:
55281 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55282 * manual/Makefile (licenses): New variable, list those new file names.
55284 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55286 * manual/fdl.texi: File removed.
55287 * manual/lesser.texi: File removed.
55288 * manual/libc.texinfo (Copying, Documentation License):
55289 Use new @include file names, put @appendix directive before @include.
55291 2011-06-04 Jakub Jelinek <jakub@redhat.com>
55294 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55295 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55296 (mq_open): Add __NTH.
55298 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55300 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55301 Assume Intel Core i3/i5/i7 processor if AVX is available.
55303 2011-05-31 Ulrich Drepper <drepper@gmail.com>
55305 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55308 2011-05-31 Andreas Schwab <schwab@redhat.com>
55310 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55311 memory. Use alloca_account. Fix memory leak when retrying.
55313 2011-05-31 Ulrich Drepper <drepper@gmail.com>
55315 * version.h (RELEASE): Bump for 2.14 release.
55316 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55318 * config.make.in (RANLIB): Remove entry.
55320 2011-05-30 Ulrich Drepper <drepper@gmail.com>
55322 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55323 (libc.pot): Work around missing support for .ksh extension in xgettext.
55326 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55327 if both request failed.
55328 (send_dg): In case of server errors clear resplen or *resplen2.
55331 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55332 when there are multiple maps.
55333 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55334 (_dl_fini): Remove test here.
55336 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55338 2011-05-29 Ulrich Drepper <drepper@gmail.com>
55341 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55342 bit from old_res_options.
55343 (gaih_inet): Likewise.
55346 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55349 * resolv/res_init.c (res_setoptions): Make the code more compact.
55352 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55356 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55358 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55361 * malloc/malloc.h: Declare malloc hook variables as volatile.
55363 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55367 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55368 raise in the comment.
55369 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55370 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55371 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55373 2011-05-28 Ulrich Drepper <drepper@gmail.com>
55376 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55377 grow the buffers more if it already has to be sufficient.
55378 (build_wcs_upper_buffer): Likewise.
55379 * posix/regexec.c (check_matching): Likewise.
55380 (clean_state_log_if_needed): Likewise.
55381 (extend_buffers): Don't enlarge buffers beyond size of the input
55383 Patches mostly by Emil Wojak <emil@wojak.eu>.
55384 * posix/bug-regex32.c: New file.
55385 * posix/Makefile (tests): Add bug-regex32.
55387 * locale/findlocale.c (_nl_find_locale): Return right away if
55388 _nl_explode_name failed.
55389 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55391 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55393 * debug/xtrace.sh: Unify messages.
55394 * malloc/memusage.sh: Likewise.
55397 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55398 time symbol from vDSO. Substitute with vsyscall if not available.
55399 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55402 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55403 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55404 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55405 Add sendmmsg and internal_sendmmsg.
55406 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55407 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55408 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55410 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55411 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55412 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55414 2011-05-27 Ulrich Drepper <drepper@gmail.com>
55417 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55418 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55420 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55424 * iconvdata/Makefile (tests): Add bug-iconv9.
55425 * iconvdata/bug-iconv9.c: New file.
55427 2011-05-27 Andreas Schwab <schwab@redhat.com>
55430 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55432 2011-05-25 Jakub Jelinek <jakub@redhat.com>
55434 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55435 (struct user_regs_struct): Change intcs field back to cs.
55437 2011-05-25 Ulrich Drepper <drepper@gmail.com>
55439 * po/ja.po: Update from translation team.
55441 2011-05-23 Ulrich Drepper <drepper@gmail.com>
55444 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55445 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55447 2011-05-20 Andreas Schwab <schwab@redhat.com>
55449 * stdlib/longlong.h: Update from GCC.
55451 2011-05-23 Andreas Schwab <schwab@redhat.com>
55453 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55455 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55456 Add parameter name.
55457 (__sysconf): Pass it down.
55459 2011-05-22 Ulrich Drepper <drepper@gmail.com>
55462 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55464 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55465 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55466 add in in __libc_use_alloca calls. Adjust callers.
55467 (glob): Use malloc in some situations.
55469 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55470 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55473 2011-05-21 Ulrich Drepper <drepper@gmail.com>
55475 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55476 and CLOCK_BOOTTIME_ALARM.
55479 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55482 * string/_strerror.c (__strerror_r): Print negative errors as signed
55486 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55487 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55488 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55490 * configure.in: Fix typo in redirection and correct removal of test
55491 files in two cases.
55494 * locale/setlocale.c (new_composite_name): Fix test to check for
55495 identical name of all categories.
55498 * libio/filedoalloc.c (local_isatty): New function.
55499 (_IO_file_doallocate): Use local_isatty.
55500 * stdio-common/perror.c (perror): In case a new stream is used
55501 forward the stream error.
55502 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55505 2011-05-20 Ulrich Drepper <drepper@gmail.com>
55508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55510 * include/alloca.h (extend_alloca_account): Define.
55513 * posix/regex.h: Fix comments with documentation of user-accessible
55514 fields after compilation and describe correct free'ing of pattern
55515 after re_compile_pattern.
55516 Patch by Reuben Thomas <rrt@sc3d.org>.
55518 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55520 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55521 and -mno-altivec to prevent the compiler from using Altivec and/or
55522 VSX instructions when the corresponding registers are not available.
55524 2011-05-19 Andreas Schwab <schwab@redhat.com>
55526 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55528 2011-05-19 Ulrich Drepper <drepper@gmail.com>
55530 * libio/freopen.c (freopen): Use __dup2, not dup2.
55531 * libio/freopen64.c (freopen64): Likewise.
55533 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55536 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55537 * math/Makefile (tests): Add test-powl.
55538 (CFLAGS-test-powl.c): Define.
55539 * math/test-powl.c: New file.
55541 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55543 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55545 2011-05-17 Ulrich Drepper <drepper@gmail.com>
55548 * iconvdata/gb18030.c: Update to GB18020-2005.
55550 2011-05-16 Ulrich Drepper <drepper@gmail.com>
55552 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55553 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55554 Patch by Aharon Robbins <arnold@skeeve.com>.
55557 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55561 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55562 through underflows.
55565 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55566 point to strings before performing equality test for error_one_per_line
55570 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55573 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55574 (struct user_fpregs_struct): Avoid __uint*_t types.
55577 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55578 symbol info. Use it instead of calling _dl_addr locally.
55579 (lock_and_info): New function.
55580 (tr_freehook): Call lock_and_info and pass symbol info as additional
55581 parameter to tr_where.
55582 (tr_mallochook): Likewise.
55583 (tr_reallochook): Likewise.
55584 (tr_memalignhook): Likewise.
55586 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55587 used and couldn't be at all thread-safe.
55589 2011-05-15 Ulrich Drepper <drepper@gmail.com>
55591 * libio/freopen.c (freopen): Don't close old file descriptor
55592 before the new one is opened. Instead dup the new file descriptor
55593 to the old one after the new stream is created.
55594 * libio/freopen64.c (freopen64): Likewise.
55595 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55596 * libio/fileops.c (_IO_new_file_close_it): Handle new
55597 _IO_FLAGS2_NOCLOSE flag.
55598 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55599 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55600 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55601 _IO_FLAGS2_NOCLOSE flag.
55602 * include/unistd.h: Add hidden_proto for dup3.
55603 Define __have_dup3.
55604 * io/dup3.c: Define hidden symbol.
55605 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55608 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55609 when an incomplete long option is used.
55610 * posix/tst-getopt_long1.c: New file.
55611 * posix/Makefile (tests): Add tst-getopt_long1.
55614 * scripts/config.guess: Update from autoconf-2.68.
55615 * scripts/config.sub: Likewise.
55618 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55620 (has_cpuclock): ...this. New function.
55621 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55622 macro here based on has_cpuclock code.
55625 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55626 First byte (not low byte) is now always NUL.
55627 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55630 Use non-cancelable interfaces.
55633 * locale/iso-639.def: Add entry for Sorani.
55636 * include/stdlib.h: Move include protection to the right place.
55637 Define abort_msg_s. Declare __abort_msg with it.
55638 * stdlib/abort.c (__abort_msg): Adjust type.
55639 * assert/assert.c (__assert_fail_base): New function. Majority
55640 of code from __assert_fail. Allocate memory for __abort_msg with
55642 (__assert_fail): Now call __assert_fail_base.
55643 * assert/assert-perr.c: Remove bulk of implementation. Use
55644 __assert_fail_base.
55645 * include/assert.hL Declare __assert_fail_base.
55646 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55648 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55650 2011-05-14 Ulrich Drepper <drepper@gmail.com>
55654 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55655 until all modules are registered in the DTV.
55656 * elf/Makefile: Add rules to build and run tst-tls19.
55657 * elf/tst-tls19.c: New file.
55658 * elf/tst-tls19mod1.c: New file.
55659 * elf/tst-tls19mod2.c: New file.
55660 * elf/tst-tls19mod3.c: New file.
55661 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55664 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55668 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55669 two-byte sequence errors.
55670 * iconvdata/Makefile (tests): Add bug-iconv8.
55671 * iconvdata/bug-iconv8.c: New file.
55674 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55677 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55680 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55681 (dummy_getcfa): New function.
55682 (init): Get _Unwind_GetCFA address, use dummy if not found.
55683 (backtrace_helper): In recursion check, also check whether CFA changes.
55684 (__backtrace): Completely initialize arg.
55686 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55687 storing incomplete byte sequence in state object. Avoid testing for
55688 guaranteed too small input if we know there is enough data available.
55690 2011-05-11 Andreas Schwab <schwab@redhat.com>
55692 * Makeconfig (+link-pie): Indent.
55693 * Rules (binaries-pie): Define if $(have-fpie) and
55695 (binaries-shared): Also filter out $(binaries-pie).
55696 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55697 * nscd/Makefile (others-pie): Add nscd.
55698 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55699 ($(objpfx)nscd): Remove command override.
55700 * login/Makefile (others-pie): Add pt_chown.
55701 ($(objpfx)pt_chown): Remove command override.
55702 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55703 remove command overrides.
55705 2011-05-13 Ulrich Drepper <drepper@gmail.com>
55707 * libio/tst_putwc.c: Fix error messages.
55710 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55711 currently writing and seek to current position when not.
55712 * libio/Makefile (tests): Add bug-fclose1.
55713 * libio/bug-fclose1.c: New file.
55715 2011-05-12 Ulrich Drepper <drepper@gmail.com>
55718 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55719 don't set DF_1_NODELETE here.
55720 (do_lookup_x): When entering new entry test for copy relocation
55721 and if necessary set DF_1_NODELETE flag.
55722 * elf/tst-unique4.cc: New file.
55723 * elf/tst-unique4.h: New file.
55724 * elf/tst-unique4lib.cc: New file.
55725 * elf/Makefile: Add rules to build and run tst-unique4.
55726 Patch by Piotr Bury <pbury@goahead.com>.
55728 2011-05-11 Ulrich Drepper <drepper@gmail.com>
55731 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55734 * misc/mntent_r.c (addmntent): Flush the stream after the output
55737 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55738 (is_trusted_path_normalize): Skip initial colon. Append slash
55739 to empty buffer. Duplicate is_trusted_path code but allow
55740 constructed patch to be prefix.
55741 (is_dst): Allow $ORIGIN followed by /.
55742 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55743 Correct testing of result of is_trusted_path_normalize
55744 (decompose_rpath): Fix warning.
55746 2011-05-10 Ulrich Drepper <drepper@gmail.com>
55749 * grp/initgroups.c (internal_getgrouplist): When we found the service
55750 list through the initgroups entry in nsswitch.conf do not always
55751 continue on a successful lookup. Don't always use the
55752 __nss_group_database value if it is set.
55753 * nss/nsswitch.conf (initgroups): Change action for successful db
55754 lookup to continue for compatibility.
55756 2011-05-09 Ulrich Drepper <drepper@gmail.com>
55759 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55761 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55763 * iconvdata/tst-tables.sh: Likewise.
55764 * iconvdata/cp770.c: New file.
55765 * iconvdata/cp771.c: New file.
55766 * iconvdata/cp772.c: New file.
55767 * iconvdata/cp773.c: New file.
55768 * iconvdata/cp774.c: New file.
55769 * iconvdata/testdata/CP770: New file.
55770 * iconvdata/testdata/CP770..UTF8: New file.
55771 * iconvdata/testdata/CP771: New file.
55772 * iconvdata/testdata/CP771..UTF8: New file.
55773 * iconvdata/testdata/CP772: New file.
55774 * iconvdata/testdata/CP772..UTF8: New file.
55775 * iconvdata/testdata/CP773: New file.
55776 * iconvdata/testdata/CP773..UTF8: New file.
55777 * iconvdata/testdata/CP774: New file.
55778 * iconvdata/testdata/CP774..UTF8: New file.
55780 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55782 * iconvdata/gen-8bit-gap.sh: Likewise.
55783 * iconvdata/gen-8bit.sh: Likewise.
55785 * locale/iso-639.def: Add ary entry.
55788 * locale/C-translit.h.in: Add U20A1 transliteration.
55791 * locale/iso-639.def: Add wae entry.
55792 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55795 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55799 * locale/C-translit.h.in: Add entry for U20B9.
55800 Patch by pravin.d.s@gmail.com.
55802 2011-05-08 Ulrich Drepper <drepper@gmail.com>
55805 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55806 ENAMETOOLONG use generic getcwd.
55807 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55808 in rtld. Use *stat64.
55809 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55810 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55811 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55812 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55813 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55814 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55815 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55816 __fstatat64 macros.
55817 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55818 * dirent/rewinddir.c: Add libc_hidden_def.
55819 * sysdeps/mach/hurd/rewinddir.c: Likewise.
55820 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
55822 * include/dirent.h (__alloc_dir): Add flags parameter.
55823 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55824 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55826 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55827 from fdopendir if O_CLOEXEC is already set.
55829 2011-03-15 Alan Modra <amodra@gmail.com>
55831 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55832 l_tls_firstbyte_offset non-zero. Save padding offset in
55833 l_tls_firstbyte_offset for later use.
55834 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55835 freeing static tls block.
55837 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55839 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55840 where #ifdef was intended. The intent is to prevent ARG_MAX from
55841 being defined by the kernel headers.
55843 2011-05-07 Ulrich Drepper <drepper@gmail.com>
55846 * resolv/resolv.h: Define RES_NOTLDQUERY.
55847 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55848 no-tld-query and set RES_NOTLDQUERY.
55849 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55850 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55851 modern BIND to search name as TLD unless forbidden.
55853 2011-05-07 Petr Baudis <pasky@suse.cz>
55854 Ulrich Drepper <drepper@gmail.com>
55857 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55858 (is_trusted_path): ...to here.
55859 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55860 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55861 using is_trusted_path_normalize() in setuid scripts.
55863 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55865 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55866 __BEGIN/__END_DECLS.
55868 2011-05-06 Ulrich Drepper <drepper@gmail.com>
55870 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55871 NSS_STATUS_NOTFOUND if no record was found.
55873 2011-05-05 Andreas Schwab <schwab@redhat.com>
55875 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55876 (headers-not-in-tirpc): Remove rpc/netdb.h
55877 * resolv/netdb.h: Revert last change.
55879 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55881 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55882 circular dependency between libgcc.a and libc.a.
55884 2011-05-05 Andreas Schwab <schwab@redhat.com>
55886 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55887 * nis/Makefile: Don't install rpcsvc/*.
55888 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55889 instead of <rpc/types.h>.
55890 (MAXHOSTNAMELEN): Define.
55892 2011-05-03 Andreas Schwab <schwab@redhat.com>
55894 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55896 2011-04-28 Maciej Babinski <mbabinski@google.com>
55899 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55900 gethostbyname4_r when IPv6 results are possible.
55902 2011-05-02 Ulrich Drepper <drepper@gmail.com>
55905 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55906 _PC_PIPE_BUF handling.
55908 2011-04-30 Bruno Haible <bruno@clisp.org>
55911 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55912 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55914 * inet/getnameinfo.c (getnameinfo): Likewise.
55916 2011-04-29 Ulrich Drepper <drepper@gmail.com>
55918 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55919 to groups setting in database lookup.
55920 * nss/nsswitch.conf: Add initgroups entry.
55922 2011-04-22 Ulrich Drepper <drepper@gmail.com>
55925 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55927 Patch by Eric Blake <eblake@redhat.com>.
55929 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55931 * sunrpc/Makefile (need-export-routines): Add svc_run.
55932 (routines): Remove svc_run.
55933 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55934 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55935 * sunrpc/svc_run.c (svc_run): Likewise.
55936 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55938 2011-04-21 Ulrich Drepper <drepper@gmail.com>
55940 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55941 problem in reallocation in last patch.
55943 2011-04-20 Ulrich Drepper <drepper@gmail.com>
55945 * sunrpc/Makefile: Move inclusion of Rules.
55947 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55949 * nss/nss_files/files-initgroups.c: New file.
55950 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55951 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55952 _nss_files_initgroups_dyn.
55954 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55956 * elf/elf.h (R_ARM_IRELATIVE): Define.
55958 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55960 * po/ru.po: Update from translation team.
55962 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55964 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55967 2011-02-06 Mike Frysinger <vapier@gentoo.org>
55970 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55971 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55972 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55973 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55974 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55976 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55978 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55980 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55981 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55982 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55984 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55987 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55989 * stdlib/bug-getcontext.c: New file.
55990 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55992 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55994 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55995 instructions into .machine "z9-109".
55996 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55997 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55999 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56001 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56002 between environment variables and auxiliary vector.
56004 2011-04-16 Ulrich Drepper <drepper@gmail.com>
56006 * Makefile: Add rules to build linkobj/libc.so.
56007 * include/libc-symbols.h: Define libc_hidden_nolink.
56008 * include/rpc/auth.h: Mark functions which are to be hidden.
56009 * include/rpc/auth_des.h: Likewise.
56010 * include/rpc/auth_unix.h: Likewise.
56011 * include/rpc/clnt.h: Likewise.
56012 * include/rpc/des_crypt.h: Likewise.
56013 * include/rpc/key_prot.h: Likewise.
56014 * include/rpc/pmap_clnt.h: Likewise.
56015 * include/rpc/pmap_prot.h: Likewise.
56016 * include/rpc/pmap_rmt.h: Likewise.
56017 * include/rpc/rpc_msg.h: Likewise.
56018 * include/rpc/svc.h: Likewise.
56019 * include/rpc/svc_auth.h: Likewise.
56020 * include/rpc/xdr.h: Likewise.
56021 * nis/Makefile: Link all DSOs against linkobj/libc.so.
56022 * nss/Makefile: Likewise.
56023 * sunrpc/Makefile: Don't install headers. Build library with normal
56024 entry points. Don't build rpcinfo. Link RPC tests appropriately.
56025 * sunrpc/auth_des.c: Hide exported symbols by default, export some
56026 for the compat linking library. Remove use of INTDEF/INTUSE.
56027 * sunrpc/auth_none.c: Likewise.
56028 * sunrpc/auth_unix.c: Likewise.
56029 * sunrpc/authdes_prot.c: Likewise.
56030 * sunrpc/authuxprot.c: Likewise.
56031 * sunrpc/clnt_gen.c: Likewise.
56032 * sunrpc/clnt_perr.c: Likewise.
56033 * sunrpc/clnt_raw.c: Likewise.
56034 * sunrpc/clnt_simp.c: Likewise.
56035 * sunrpc/clnt_tcp.c: Likewise.
56036 * sunrpc/clnt_udp.c: Likewise.
56037 * sunrpc/clnt_unix.c: Likewise.
56038 * sunrpc/des_crypt.c: Likewise.
56039 * sunrpc/des_soft.c: Likewise.
56040 * sunrpc/get_myaddr.c: Likewise.
56041 * sunrpc/key_call.c: Likewise.
56042 * sunrpc/key_prot.c: Likewise.
56043 * sunrpc/netname.c: Likewise.
56044 * sunrpc/pm_getmaps.c: Likewise.
56045 * sunrpc/pm_getport.c: Likewise.
56046 * sunrpc/pmap_clnt.c: Likewise.
56047 * sunrpc/pmap_prot.c: Likewise.
56048 * sunrpc/pmap_prot2.c: Likewise.
56049 * sunrpc/pmap_rmt.c: Likewise.
56050 * sunrpc/publickey.c: Likewise.
56051 * sunrpc/rpc_cmsg.c: Likewise.
56052 * sunrpc/rpc_common.c: Likewise.
56053 * sunrpc/rpc_dtable.c: Likewise.
56054 * sunrpc/rpc_prot.c: Likewise.
56055 * sunrpc/rpc_thread.c: Likewise.
56056 * sunrpc/rtime.c: Likewise.
56057 * sunrpc/svc.c: Likewise.
56058 * sunrpc/svc_auth.c: Likewise.
56059 * sunrpc/svc_authux.c: Likewise.
56060 * sunrpc/svc_raw.c: Likewise.
56061 * sunrpc/svc_run.c: Likewise.
56062 * sunrpc/svc_simple.c: Likewise.
56063 * sunrpc/svc_tcp.c: Likewise.
56064 * sunrpc/svc_udp.c: Likewise.
56065 * sunrpc/svc_unix.c: Likewise.
56066 * sunrpc/svcauth_des.c: Likewise.
56067 * sunrpc/xcrypt.c: Likewise.
56068 * sunrpc/xdr.c: Likewise.
56069 * sunrpc/xdr_array.c: Likewise.
56070 * sunrpc/xdr_float.c: Likewise.
56071 * sunrpc/xdr_intXX_t.c: Likewise.
56072 * sunrpc/xdr_mem.c: Likewise.
56073 * sunrpc/xdr_rec.c: Likewise.
56074 * sunrpc/xdr_ref.c: Likewise.
56075 * sunrpc/xdr_sizeof.c: Likewise.
56076 * sunrpc/xdr_stdio.c: Likewise.
56078 2011-04-10 Ulrich Drepper <drepper@gmail.com>
56081 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56082 * sysdeps/ia64/dl-tls.h: Likewise.
56083 * sysdeps/powerpc/dl-tls.h: Likewise.
56084 * sysdeps/s390/dl-tls.h: Likewise.
56085 * sysdeps/sh/dl-tls.h: Likewise.
56086 * sysdeps/sparc/dl-tls.h: Likewise.
56087 * sysdeps/x86_64/dl-tls.h: Likewise.
56088 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56090 2011-03-14 Andreas Schwab <schwab@redhat.com>
56092 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56093 rpath element also skip the following colon.
56094 (expand_dynamic_string_token): Add is_path parameter and pass
56095 down to DL_DST_REQUIRED and _dl_dst_substitute.
56096 (decompose_rpath): Call expand_dynamic_string_token with
56097 non-zero is_path. Ignore empty rpaths.
56098 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56101 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56106 2011-04-09 Ulrich Drepper <drepper@gmail.com>
56109 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56110 Patch by Filipe David Manana <fdmanana@apache.org>.
56112 2011-04-07 Andreas Schwab <schwab@redhat.com>
56114 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56115 Maintain aligned stack.
56116 (CHECK_RSP): Remove unused macro.
56118 2011-04-03 Ulrich Drepper <drepper@gmail.com>
56120 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56121 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56123 2011-04-02 Ulrich Drepper <drepper@gmail.com>
56125 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56127 * include/features.h: Mention __USE_XOPEN2K8 in comment.
56129 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56132 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56133 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56134 * sysdeps/x86_64/memmove.c: New file.
56135 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56136 (memcpy): Renamed to ...
56137 (__new_memcpy): This.
56138 (memcpy): Provide GLIBC_2_14 memcpy.
56139 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56140 (memcpy): Provide GLIBC_2_2_5 memcpy.
56142 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56145 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56147 2011-03-30 Andreas Schwab <schwab@redhat.com>
56149 * misc/syncfs.c: New file.
56150 * misc/Makefile (routines): Add syncfs.
56151 * posix/unistd.h: Declare syncfs.
56152 * sysdeps/unix/syscalls.list: Add syncfs.
56154 2011-04-01 Andreas Schwab <schwab@redhat.com>
56156 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56158 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56159 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56160 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56161 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56163 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56164 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56166 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56168 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56169 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56170 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56171 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56172 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56174 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56176 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56177 sync_file_range.c with -fexceptions.
56178 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56179 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56180 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56181 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56182 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56183 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56184 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56185 sync_file_range as cancellation point
56186 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56187 now a wrapper around __call_sync_file_range with cancellation handling.
56188 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56189 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56190 function name to __call_sync_file_range.
56191 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56192 Add call_sync_file_range.
56194 2011-04-01 Andreas Schwab <schwab@redhat.com>
56196 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56199 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56201 * iconv/iconv.h: Fix typo in comment.
56202 * io/fcntl.h: Likewise.
56203 * libio/stdio.h: Likewise.
56204 * posix/spawn.h: Likewise.
56205 * posix/unistd.h: Likewise.
56206 * stdlib/stdlib.h: Likewise.
56207 * time/time.h: Likewise.
56208 * wcsmbs/wchar.h: Likewise.
56210 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56211 open_by_handle): Add.
56212 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56213 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56214 Augment a few comments.
56215 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56216 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56217 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56218 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56219 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56220 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56223 * io/fcntl.h (AT_EMPTY_PATH): Define.
56225 2011-03-30 Ulrich Drepper <drepper@gmail.com>
56227 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56228 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56229 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56231 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
56232 * Versions.def: Add GLIBC_2.14.
56233 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56236 2011-03-22 Ulrich Drepper <drepper@gmail.com>
56238 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56240 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56242 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56245 * string/test-strncmp.c (do_page_test): New function.
56246 (check2): Likewise.
56247 (test_main): Call check2.
56248 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56250 2011-03-20 Ulrich Drepper <drepper@gmail.com>
56253 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56254 Handle cache information in CPU leaf 4.
56255 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56257 2011-03-18 Ulrich Drepper <drepper@gmail.com>
56260 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56261 character representation.
56262 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56264 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56266 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56267 END(__isnan) to END(__isnanf) to match function entry point/label
56268 EALIGN(__isnanf,...).
56270 2011-03-10 Jakub Jelinek <jakub@redhat.com>
56272 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56274 2011-03-10 Ulrich Drepper <drepper@gmail.com>
56277 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56278 copy from the symbol referenced in the relocation to initialize the
56280 Patch by Piotr Bury <pbury@goahead.com>.
56281 * elf/Makefile: Add rules to build and tst-unique3.
56282 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56283 * elf/tst-unique3.cc: New file.
56284 * elf/tst-unique3.h: New file.
56285 * elf/tst-unique3lib.cc: New file.
56286 * elf/tst-unique3lib2.cc: New file.
56288 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56290 2011-03-10 Mike Frysinger <vapier@gentoo.org>
56292 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56293 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56296 2011-03-06 Ulrich Drepper <drepper@gmail.com>
56298 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56299 to-be-loaded object along a path to loader is ld.so.
56301 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56302 Ulrich Drepper <drepper@gmail.com>
56304 * sysdeps/x86_64/memset.S: After aligning destination, code
56305 branches to different locations depending on the value of
56306 misalignment, when multiarch is enabled. Fix this.
56308 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56310 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56311 Set _x86_64_preferred_memory_instruction for AMD processsors.
56312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56313 Set bit_Prefer_SSE_for_memop for AMD processors.
56315 2011-03-04 Ulrich Drepper <drepper@gmail.com>
56317 * libio/fmemopen.c (fmemopen): Optimize a bit.
56319 2011-03-03 Andreas Schwab <schwab@redhat.com>
56321 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56323 2011-03-03 Roland McGrath <roland@redhat.com>
56325 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56327 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56329 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56330 __bzero_ultra1 instead of __memset_ultra1.
56332 2011-02-23 Andreas Schwab <schwab@redhat.com>
56333 Ulrich Drepper <drepper@gmail.com>
56336 * include/link.h (struct link_map): Add l_orig_initfini.
56337 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56338 returning unsuccessfully.
56339 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56340 close of a file loaded at startup, restore the original l_initfini
56342 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56343 list, store the pointer.
56344 * elf/Makefile ($(objpfx)noload-mem): New rule.
56345 (noload-ENV): Define.
56346 (tests): Add $(objpfx)noload-mem.
56347 * elf/noload.c: Include <memcheck.h>.
56348 (main): Call mtrace. Close all opened handles.
56350 2011-02-17 Andreas Schwab <schwab@redhat.com>
56353 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56354 dependencies are missing.
56356 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56358 Fix __if_freereq crash: Unlike the generic version which uses free,
56360 * sysdeps/mach/hurd/ifreq.h: New file.
56362 2011-01-27 Petr Baudis <pasky@suse.cz>
56363 Ulrich Drepper <drepper@gmail.com>
56366 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56367 to extend_alloca().
56368 * stdio-common/bug23.c: New file.
56369 * stdio-common/Makefile (tests): Add bug23.
56371 2010-09-28 Andreas Schwab <schwab@redhat.com>
56372 Ulrich Drepper <drepper@gmail.com>
56375 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56376 before performing relro protection. At old place add assertion
56377 to make sure nothing changed.
56379 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56380 Glauber de Oliveira Costa <glommer@gmail.com>
56382 * elf/elf.h: Add new ARM TLS relocs.
56384 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56387 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56389 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56391 * sysdeps/wordsize-64/tst-writev.c: New file.
56393 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56395 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56396 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56397 insns in _dl_start to prevent a TOC reference before relocs are
56400 2011-02-15 Ulrich Drepper <drepper@gmail.com>
56403 * Makeconfig: Remove RANLIB definition.
56404 * Makerules: Don't use RANLIB.
56405 * aclocal.m4: Remove ranlib test.
56406 * configure.in: No need to check for ranlib.
56407 * elf/rtld-Rules: Don't use RANLIB.
56409 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56411 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56413 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56414 inclusion protection macro.
56416 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56417 SIGRTMIN and SIGRTMAX and print information in that case only when
56418 SIGRTMIN is defined.
56420 2011-02-11 Jakub Jelinek <jakub@redhat.com>
56422 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56423 arginfo fn returning -1.
56425 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56426 and thousands string is zero terminated.
56428 2011-02-03 Andreas Schwab <schwab@redhat.com>
56430 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56431 sysdeps/unix/sysv/linux/bits/socket.h.
56433 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56435 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56436 (__CPU_COUNT): Remove old macros.
56437 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56438 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56439 (__CPU_ALLOC, __CPU_FREE): Add macros.
56440 (__sched_cpualloc, __sched_cpufree): Add declarations.
56442 2011-02-05 Ulrich Drepper <drepper@gmail.com>
56444 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56445 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56446 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56447 (readdhstai): Return value of addhstaiX call.
56448 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56449 (addgrbyX): Return value returned by cache_addgr.
56450 (readdgrbyname): Return value returned by addgrbyX.
56451 (readdgrbygid): Likewise.
56452 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56453 (addpwbyX): Return value returned by cache_addpw.
56454 (readdpwbyname): Return value returned by addhstbyX.
56455 (readdpwbyuid): Likewise.
56456 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56457 (addservbyX): Return value returned by cache_addserv.
56458 (readdservbyname): Return value returned by addservbyX:
56459 (readdservbyport): Likewise.
56460 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56461 (addhstbyX): Return value returned by cache_addhst.
56462 (readdhstbyname): Return value returned by addhstbyX.
56463 (readdhstbyaddr): Likewise.
56464 (readdhstbynamev6): Likewise.
56465 (readdhstbyaddrv6): Likewise.
56466 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56467 (readdinitgroups): Return value returned by addinitgroupsX.
56468 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56469 (prune_cache): Keep track of timeout value of re-added entries.
56470 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56471 * nscd/nscd.h: Adjust prototypes of readd* functions.
56473 2011-02-04 Roland McGrath <roland@redhat.com>
56475 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56476 (nis_stats): Likewise.
56477 * nis/nis_modify.c (nis_modify): Likewise.
56478 * nis/nis_remove.c (nis_remove): Likewise.
56479 * nis/nis_add.c (nis_add): Likewise.
56481 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56483 * posix/fnmatch_loop.c: Add some consts.
56485 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56487 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56490 * config.make.in (config-cflags-novzeroupper): Define.
56491 * configure.in: Substitute libc_cv_cc_novzeroupper.
56492 * elf/Makefile (AVX-CFLAGS): Define.
56493 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56494 (CFLAGS-tst-auditmod4a.c): Likewise.
56495 (CFLAGS-tst-auditmod4b.c): Likewise.
56496 (CFLAGS-tst-auditmod6b.c): Likewise.
56497 (CFLAGS-tst-auditmod6c.c): Likewise.
56498 (CFLAGS-tst-auditmod7b.c): Likewise.
56499 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56501 2011-02-02 Ulrich Drepper <drepper@gmail.com>
56503 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56504 function to the callback.
56505 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56507 2011-02-02 Andreas Schwab <schwab@redhat.com>
56509 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56512 2011-01-19 Ulrich Drepper <drepper@gmail.com>
56515 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56517 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56519 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56522 * elf/Makefile: Add rules to build and run new test.
56523 * elf/tst-initorder.c: New file.
56524 * elf/tst-initorder.exp: New file.
56525 * elf/tst-initordera1.c: New file.
56526 * elf/tst-initordera2.c: New file.
56527 * elf/tst-initordera3.c: New file.
56528 * elf/tst-initordera4.c: New file.
56529 * elf/tst-initorderb1.c: New file.
56530 * elf/tst-initorderb2.c: New file.
56531 * elf/tst-order-a1.c: New file.
56532 * elf/tst-order-a2.c: New file.
56533 * elf/tst-order-a3.c: New file.
56534 * elf/tst-order-a4.c: New file.
56535 * elf/tst-order-b1.c: New file.
56536 * elf/tst-order-b2.c: New file.
56537 * elf/tst-order-main.c: New file.
56538 New test case by George Gensure <werkt0@gmail.com>.
56540 2010-10-01 Andreas Schwab <schwab@redhat.com>
56542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56543 decoding ACE if AI_CANONIDN.
56545 2011-01-18 Ulrich Drepper <drepper@gmail.com>
56547 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56549 2011-01-17 Ulrich Drepper <drepper@gmail.com>
56551 * version.h (RELEASE): Bump for 2.13 release.
56552 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56554 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56556 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56558 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56559 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56560 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56561 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56562 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56563 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56565 * posix/getconf.c: Update copyright year.
56566 * catgets/gencat.c: Likewise.
56567 * csu/version.c: Likewise.
56568 * debug/catchsegv.sh: Likewise.
56569 * debug/xtrace.sh: Likewise.
56570 * elf/ldconfig.c: Likewise.
56571 * elf/ldd.bash.in: Likewise.
56572 * elf/sprof.c (print_version): Likewise.
56573 * iconv/iconv_prog.c: Likewise.
56574 * iconv/iconvconfig.c: Likewise.
56575 * locale/programs/locale.c: Likewise.
56576 * locale/programs/localedef.c: Likewise.
56577 * malloc/memusage.sh: Likewise.
56578 * malloc/mtrace.pl: Likewise.
56579 * nscd/nscd.c (print_version): Likewise.
56580 * nss/getent.c: Likewise.
56582 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56583 PF_CAIF, and PF_ALG.
56584 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56586 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56588 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56589 (modules-names): Use them.
56590 (ifunc-test-modules, ifunc-pie-tests): Define.
56591 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56592 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56593 (test-extras): Likewise.
56594 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56595 $(compile-command.c).
56596 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56597 (all-built-dso): Define.
56598 (check-textrel.out, check-execstack.out): Depend on it.
56600 * configure.in: Don't override --enable-multi-arch.
56602 2011-01-15 Ulrich Drepper <drepper@gmail.com>
56605 * nscd/hstcache.c (tryagain): Define.
56606 (cache_addhst): Return tryagain not notfound for temporary errors.
56607 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56610 2011-01-14 Ulrich Drepper <drepper@gmail.com>
56613 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56614 to make the syscall.
56615 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56618 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56619 and fall back to matching as normal character if the string ends before
56620 the matching ']' is found. This is what POSIX requires.
56621 * posix/testfnm.c: Adjust test result.
56622 * posix/globtest.sh: Adjust test result. Add new test.
56623 * posix/tst-fnmatch.input: Likewise.
56624 * posix/tst-fnmatch2.c: Add new test.
56626 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56628 * elf/Makefile (check-execstack): Revert last change. Depend on
56630 (check-execstack.h): New target.
56631 (generated): Add check-execstack.h.
56632 * elf/check-execstack.c: Include "check-execstack.h".
56633 (main): Revert last change.
56634 (handle_file): Return zero if GNU_STACK is absent and
56635 DEFAULT_STACK_PERMS doesn't include PF_X.
56637 2011-01-13 Ulrich Drepper <drepper@gmail.com>
56639 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56640 in child fails because the descriptor is already closed.
56641 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56642 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56643 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56646 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56650 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56651 temporary buffer used to handle multi lookups locally.
56652 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56654 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56656 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56659 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56661 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56662 alignment for SSE2.
56664 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56667 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56668 characters. When rounding increased number of integer digits recompute
56670 * stdio-common/tst-grouping.c: New file.
56671 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56673 2011-01-09 Ulrich Drepper <drepper@gmail.com>
56675 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56676 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56678 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56680 * bits/select.h: Likewise.
56682 2011-01-08 Ulrich Drepper <drepper@gmail.com>
56684 * po/ja.po: Update from translation team.
56686 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
56689 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56690 implementation just like for lxstat, fxstatat, et al.
56692 2010-12-27 Jim Meyering <meyering@redhat.com>
56695 * posix/regexec.c (build_trtable): Return failure indication upon
56696 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56698 2010-12-25 Ulrich Drepper <drepper@gmail.com>
56701 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56702 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56703 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56704 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56707 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56710 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56711 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56713 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56715 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56716 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56717 script has SORT_BY_INIT_PRIORITY.
56718 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56719 NO_CTORS_DTORS_SECTIONS is defined.
56720 * elf/soinit.c: Likewise.
56721 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56722 NO_CTORS_DTORS_SECTIONS is defined.
56723 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56724 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56725 * sysdeps/sh/init-first.c: Likewise.
56726 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56728 2010-12-24 Ulrich Drepper <drepper@gmail.com>
56730 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56731 always use the slow path.
56733 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56735 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56736 similar rule which adds the sysdep directories to the header search in
56737 order to pick up the correct platform stackinfo.h.
56738 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56739 perform test if it is, otherwise return successfully without testing.
56740 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56741 DEFAULT_STACK_PERMS define in stackinfo.h.
56742 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56743 defined in stackinfo.h.
56744 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56745 DEFAULT_STACK_PERMS defined in stackinfo.h.
56746 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56747 * sysdeps/ia64/stackinfo.h: Likewise.
56748 * sysdeps/s390/stackinfo.h: Likewise.
56749 * sysdeps/sh/stackinfo.h: Likewise.
56750 * sysdeps/sparc/stackinfo.h: Likewise.
56751 * sysdeps/x86_64/stackinfo.h: Likewise.
56752 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56753 PF_X for powerpc64. Retain PF_X for powerpc32.
56755 2010-12-19 Ulrich Drepper <drepper@gmail.com>
56757 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56759 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56760 GETDENTS_64BIT_ALIGNED.
56762 2010-12-14 Ulrich Drepper <dreper@gmail.com>
56764 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56766 2010-12-10 Andreas Schwab <schwab@redhat.com>
56768 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56771 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56772 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56774 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56775 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56777 2010-12-09 Ulrich Drepper <drepper@gmail.com>
56780 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56783 2010-12-09 Jakub Jelinek <jakub@redhat.com>
56785 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56787 2010-12-03 Ulrich Drepper <drepper@gmail.com>
56789 * po/it.po: Update from translation team.
56791 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56793 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56796 2010-11-30 Ulrich Drepper <drepper@gmail.com>
56798 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56800 2010-11-24 Andreas Schwab <schwab@redhat.com>
56802 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56804 (gaih_getanswer_slice): Likewise.
56806 2010-10-20 Jakub Jelinek <jakub@redhat.com>
56808 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56810 2010-05-31 Petr Baudis <pasky@suse.cz>
56813 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56814 silently even in the chroot mode.
56816 2010-11-22 Ulrich Drepper <drepper@gmail.com>
56818 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56819 last patch a bit. Pretty printing
56821 2010-05-31 Petr Baudis <pasky@suse.cz>
56824 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56825 initialization of skip_initgroups_dyn.
56827 2010-11-19 Ulrich Drepper <drepper@gmail.com>
56829 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56830 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56832 2010-11-16 Ulrich Drepper <drepper@gmail.com>
56834 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56836 2010-11-11 Andreas Schwab <schwab@redhat.com>
56838 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56839 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56840 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56841 ($(objpfx)tst-fnmatch-mem): New rule.
56842 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56843 * posix/tst-fnmatch.c (main): Call mtrace.
56845 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56847 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56848 Support Intel processor model 6 and model 0x2c.
56850 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
56852 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56855 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56858 * string/test-strncasecmp.c (check_result): New function.
56859 (do_one_test): Use it.
56860 (check1): New function.
56861 (test_main): Use it.
56862 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56863 Support strcasecmp and strncasecmp.
56865 2010-11-08 Ulrich Drepper <drepper@gmail.com>
56868 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56869 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56871 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56873 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56877 * sysdeps/x86_64/multiarch/bzero.S: New file.
56878 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56879 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56880 * sysdeps/x86_64/multiarch/memset.S: New file.
56881 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56882 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56883 Set bit_Prefer_SSE_for_memop for Intel processors.
56884 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56886 (index_Prefer_SSE_for_memop): Define.
56887 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56889 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
56891 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56892 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56894 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56897 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56898 (__x86_64_raw_data_cache_size_half): Likewise.
56899 (__x86_64_raw_shared_cache_size): Likewise.
56900 (__x86_64_raw_shared_cache_size_half): Likewise.
56902 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56903 (__x86_64_raw_data_cache_size_half): Likewise.
56904 (__x86_64_raw_shared_cache_size): Likewise.
56905 (__x86_64_raw_shared_cache_size_half): Likewise.
56906 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56907 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56908 and __x86_64_raw_shared_cache_size_half. Round
56909 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56910 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56911 to multiple of 256 bytes.
56913 2010-11-03 Ulrich Drepper <drepper@gmail.com>
56916 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56917 of inacessible symlinks. Verify result of symlink before returning it.
56918 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56919 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56921 2010-10-28 Erich Ritz <erichritz@gmail.com>
56923 * math/math.h (isinf): Fix typo in comment.
56925 2010-11-01 Ulrich Drepper <drepper@gmail.com>
56927 * po/da.po: Update from translation team.
56929 2010-10-26 Ulrich Drepper <drepper@gmail.com>
56931 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56932 is added to the list.
56934 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56935 Ulrich Drepper <drepper@gmail.com>
56937 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56938 the global list here. Move code to...
56939 (_dl_add_to_namespace_list): ...here. New function.
56940 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56941 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56942 * elf/dl-load.c (lose): Don't remove the element from the list.
56943 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56944 (_dl_map_object): Likewise.
56946 2010-10-25 Ulrich Drepper <drepper@gmail.com>
56949 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56950 into all bytes of SSE register.
56951 Patch by Richard Li <richardpku@gmail.com>.
56953 2010-10-24 Ulrich Drepper <drepper@gmail.com>
56956 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56959 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56961 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56962 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56963 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56964 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56969 2010-10-22 Andreas Schwab <schwab@redhat.com>
56971 * include/dlfcn.h (__RTLD_SECURE): Define.
56972 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56973 mode & __RTLD_SECURE instead.
56974 (open_path): Rename preloaded parameter to secure.
56975 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56976 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56977 * elf/dl-deps.c (openaux): Likewise.
56978 * elf/rtld.c (struct map_args): Remove is_preloaded.
56979 (map_doit): Don't use it.
56980 (dl_main): Likewise.
56981 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56982 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56984 2010-09-09 Andreas Schwab <schwab@redhat.com>
56986 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56987 (sysd-rules-targets): Remove duplicates.
56988 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56989 rtld-%.$o dependency.
56991 2010-10-18 Andreas Schwab <schwab@redhat.com>
56993 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56994 _dl_map_object do it.
56996 2010-10-19 Ulrich Drepper <drepper@gmail.com>
56998 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56999 fast fma builtins, define the macros in the C99 standard.
57000 (FP_FAST_FMAF): Likewise.
57001 (FP_FAST_FMAL): Likewise.
57002 * sysdeps/x86_64/bits/mathdef.h: Likewise.
57004 * bits/mathdef.h: Update copyright year.
57005 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57007 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
57009 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57010 builtins, define the macros in the C99 standard.
57011 (FP_FAST_FMAF): Likewise.
57012 (FP_FAST_FMAL): Likewise.
57013 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57015 (FP_FAST_FMAF): Likewise.
57017 2010-10-15 Jakub Jelinek <jakub@redhat.com>
57020 * math/libm-test.inc (fma_test): Some new testcases.
57021 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57022 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57023 y and infinite z. Do multiplication by C already in long double.
57024 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57025 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57026 y and infinite z. Do bitwise or of inexact bit into u.d.
57027 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57028 * sysdeps/i386/fpu/s_fmaf.S: Removed.
57029 * sysdeps/i386/fpu/s_fma.S: Removed.
57030 * sysdeps/i386/fpu/s_fmal.S: Removed.
57032 2010-10-16 Jakub Jelinek <jakub@redhat.com>
57035 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57036 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57037 computation is not scheduled after fetestexcept. Fix value
57038 of minimum denormal long double.
57040 2010-10-14 Jakub Jelinek <jakub@redhat.com>
57043 * math/libm-test.inc (fma_test): Add some more tests.
57044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57047 2010-10-15 Andreas Schwab <schwab@redhat.com>
57049 * scripts/data/localplt-s390-linux-gnu.data: New file.
57050 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57052 2010-10-13 Jakub Jelinek <jakub@redhat.com>
57055 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57056 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57058 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57060 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57061 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57062 if one of x and y is very large and the other is subnormal.
57063 * sysdeps/s390/fpu/s_fmaf.c: New file.
57064 * sysdeps/s390/fpu/s_fma.c: New file.
57065 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57066 * sysdeps/powerpc/fpu/s_fma.S: New file.
57067 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57068 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57069 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57071 2010-10-12 Jakub Jelinek <jakub@redhat.com>
57074 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57076 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57077 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57078 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57079 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57080 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57081 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57082 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57084 2010-10-12 Ulrich Drepper <drepper@redhat.com>
57087 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57088 * posix/bug-regex31.input: Add test case.
57090 2010-10-11 Ulrich Drepper <drepper@gmail.com>
57092 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57093 * posix/bug-regex31.input: New file.
57096 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57097 (parse_sub_exp): Fix last change, use postorder.
57099 * posix/bug-regex31.c: New file.
57100 * posix/Makefile: Add rules to build and run bug-regex31.
57102 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57105 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57108 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57109 to have entries in sys_siglist.
57112 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57115 2010-10-07 Jakub Jelinek <jakub@redhat.com>
57118 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57119 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57120 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57121 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57122 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57123 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57124 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57125 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57126 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57127 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57128 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57129 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57130 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57131 * math/ftestexcept.c (fetestexcept): Likewise.
57132 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57133 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57134 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57135 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57136 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57137 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57138 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57140 2010-10-11 Ulrich Drepper <drepper@gmail.com>
57143 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57146 2010-10-06 Ulrich Drepper <drepper@gmail.com>
57148 * string/bug-strstr1.c: New file.
57149 * string/Makefile: Add rules to build and run bug-strstr1.
57151 2010-10-05 Eric Blake <eblake@redhat.com>
57154 * string/str-two-way.h (two_way_long_needle): Always clear memory
57155 when skipping input due to the shift table.
57157 2010-10-03 Ulrich Drepper <drepper@gmail.com>
57160 * malloc/mcheck.c: Handle large requests.
57163 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57164 for strncmp and strncasecmp.
57165 * string/stratcliff.c: Add tests for strcmp and strncmp.
57166 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57168 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57170 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57173 2010-09-30 Andreas Jaeger <aj@suse.de>
57175 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57176 (CGROUP_SUPER_MAGIC): Define.
57177 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57178 Handle btrfs and cgroup file systems.
57179 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57182 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
57184 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57185 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57187 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57190 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57191 trying to locate the ELF header.
57193 2010-09-27 Andreas Schwab <schwab@redhat.com>
57196 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57197 Mask out sign-bit copies when constructing f_fsid.
57199 2010-09-24 Petr Baudis <pasky@suse.cz>
57201 * debug/stack_chk_fail_local.c: Add missing licence exception.
57202 * debug/warning-nop.c: Likewise.
57204 2010-09-15 Joseph Myers <joseph@codesourcery.com>
57206 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57207 implementing getdents64 using getdents syscall, set d_type if
57208 __ASSUME_GETDENTS32_D_TYPE.
57210 2010-09-16 Andreas Schwab <schwab@redhat.com>
57212 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57213 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57215 2010-09-21 Ulrich Drepper <drepper@redhat.com>
57218 * posix/unistd.h: Undo change of feature selection for ftruncate from
57221 2010-09-20 Ulrich Drepper <drepper@redhat.com>
57223 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
57226 2010-09-20 Andreas Schwab <schwab@redhat.com>
57228 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57230 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57232 2010-09-14 Andreas Schwab <schwab@redhat.com>
57234 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57235 variables after CHECK_SP call.
57236 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57238 2010-09-13 Andreas Schwab <schwab@redhat.com>
57239 Ulrich Drepper <drepper@redhat.com>
57241 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57242 re-relocationg ld.so.
57243 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57244 _dl_init_paths call.
57245 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57248 2010-09-14 Ulrich Drepper <drepper@redhat.com>
57250 * resolv/res_init.c (__res_vinit): Count the default server we added.
57252 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57253 Ulrich Drepper <drepper@redhat.com>
57256 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57257 (____longjmp_chk): Use %ebx for saving value across system call.
57260 2010-09-06 Andreas Schwab <schwab@redhat.com>
57262 * manual/Makefile: Don't mix pattern rules with normal rules.
57264 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57266 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57268 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57269 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57270 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57271 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57272 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57275 2010-09-04 Ulrich Drepper <drepper@redhat.com>
57278 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57279 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57281 2010-09-02 Ulrich Drepper <drepper@redhat.com>
57283 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57284 * sysdeps/x86_64/addmul_1.S: Likewise.
57285 * sysdeps/x86_64/lshift.S: Likewise.
57286 * sysdeps/x86_64/mul_1.S: Likewise.
57287 * sysdeps/x86_64/rshift.S: Likewise.
57288 * sysdeps/x86_64/sub_n.S: Likewise.
57289 * sysdeps/x86_64/submul_1.S: Likewise.
57291 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57293 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57294 Define __sched_param instead of SCHED_* and sched_param when
57295 <bits/sched.h> is included with __need_schedparam defined.
57296 * bits/sched.h [__need_schedparam]
57297 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57298 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57299 (__defined_schedparam): Define to 1.
57300 (__sched_param): New structure, identical to sched_param.
57301 (__need_schedparam): Undefine.
57303 2010-08-31 Mike Frysinger <vapier@gentoo.org>
57305 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57306 (epoll_create1): Declare.
57308 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57310 2010-08-31 Andreas Schwab <schwab@redhat.com>
57313 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57314 shifting retval into place.
57316 2010-09-01 Ulrich Drepper <drepper@redhat.com>
57318 * nis/rpcsvc/nis.h: Update copyright notice.
57319 * nis/rpcsvc/nis.x: Likewise.
57320 * nis/rpcsvc/nis_callback.h: Likewise.
57321 * nis/rpcsvc/nis_callback.x: Likewise.
57322 * nis/rpcsvc/nis_object.x: Likewise.
57323 * nis/rpcsvc/nis_tags.h: Likewise.
57324 * nis/rpcsvc/yp.h: Likewise.
57325 * nis/rpcsvc/yp.x: Likewise.
57326 * nis/rpcsvc/ypupd.h: Likewise.
57327 * nis/yp_xdr.c: Likewise.
57328 * nis/ypupdate_xdr.c: Likewise.
57330 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57331 mainly the body of pmap_getport. Add parameters to specify timeouts.
57332 (pmap_getport): Use __libc_rpc_getport.
57333 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57334 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57335 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57337 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57342 2010-08-27 Roland McGrath <roland@redhat.com>
57344 * sysdeps/i386/i686/multiarch/Makefile
57345 (CFLAGS-varshift.c): New variable.
57347 2010-08-27 Ulrich Drepper <drepper@redhat.com>
57349 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57350 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57352 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57354 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57356 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57358 * sysdeps/x86_64/strlen.S: Unroll the loop.
57359 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57360 strlen-sse2 strlen-sse2-bsf.
57361 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57362 __strlen_no_bsf if bit_Slow_BSF is set.
57363 (__strlen_sse42): Removed.
57364 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57365 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57367 2010-08-25 Roland McGrath <roland@redhat.com>
57369 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57370 * sysdeps/x86_64/multiarch/varshift.c: New file.
57371 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57372 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57373 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57374 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57376 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57378 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57379 strlen-sse2 strlen-sse2-bsf.
57380 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57381 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57382 (__strlen_sse2): Removed.
57383 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57384 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57386 bit_Slow_BSF for Atom.
57387 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57388 (index_Slow_BSF): Define.
57389 (HAS_SLOW_BSF): Define.
57391 2010-08-25 Ulrich Drepper <drepper@redhat.com>
57394 * resolv/res_init.c (__res_vinit): When no server address at all
57395 is given default to loopback.
57397 2010-08-24 Roland McGrath <roland@redhat.com>
57399 * configure.in: Remove config-name.h generation.
57400 * configure: Regenerated.
57401 * config-name.in: File removed.
57402 * scripts/config-uname.sh: New file.
57403 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57404 ($(objdir)config-name.h): New target.
57406 * sunrpc/rpc_parse.h: Avoid nested comment.
57408 2010-08-24 Richard Henderson <rth@redhat.com>
57409 Ulrich Drepper <drepper@redhat.com>
57410 H.J. Lu <hongjiu.lu@intel.com>
57412 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57414 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57415 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57416 _mm_alignr_epi8 with _mm_loadu_si128.
57417 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57418 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57419 (__m128i_shift_right): Removed.
57420 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57421 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57422 * sysdeps/x86_64/multiarch/varshift.h: New file.
57423 * sysdeps/x86_64/multiarch/varshift.S: New file.
57425 2010-08-21 Mike Frysinger <vapier@gentoo.org>
57427 * configure.in: Move assembler checks to before sysdep dir checking.
57429 2010-08-20 Petr Baudis <pasky@suse.cz>
57431 * LICENSES: Sync the sunrpc license.
57433 2010-08-19 Ulrich Drepper <drepper@redhat.com>
57435 * sunrpc/auth_des.c: Update copyright notice once again.
57436 * sunrpc/auth_none.c: Likewise.
57437 * sunrpc/auth_unix.c: Likewise.
57438 * sunrpc/authdes_prot.c: Likewise.
57439 * sunrpc/authuxprot.c: Likewise.
57440 * sunrpc/bindrsvprt.c: Likewise.
57441 * sunrpc/clnt_gen.c: Likewise.
57442 * sunrpc/clnt_perr.c: Likewise.
57443 * sunrpc/clnt_raw.c: Likewise.
57444 * sunrpc/clnt_simp.c: Likewise.
57445 * sunrpc/clnt_tcp.c: Likewise.
57446 * sunrpc/clnt_udp.c: Likewise.
57447 * sunrpc/clnt_unix.c: Likewise.
57448 * sunrpc/des_crypt.c: Likewise.
57449 * sunrpc/des_soft.c: Likewise.
57450 * sunrpc/get_myaddr.c: Likewise.
57451 * sunrpc/getrpcport.c: Likewise.
57452 * sunrpc/key_call.c: Likewise.
57453 * sunrpc/key_prot.c: Likewise.
57454 * sunrpc/openchild.c: Likewise.
57455 * sunrpc/pm_getmaps.c: Likewise.
57456 * sunrpc/pm_getport.c: Likewise.
57457 * sunrpc/pmap_clnt.c: Likewise.
57458 * sunrpc/pmap_prot.c: Likewise.
57459 * sunrpc/pmap_prot2.c: Likewise.
57460 * sunrpc/pmap_rmt.c: Likewise.
57461 * sunrpc/rpc/auth.h: Likewise.
57462 * sunrpc/rpc/auth_unix.h: Likewise.
57463 * sunrpc/rpc/clnt.h: Likewise.
57464 * sunrpc/rpc/des_crypt.h: Likewise.
57465 * sunrpc/rpc/key_prot.h: Likewise.
57466 * sunrpc/rpc/netdb.h: Likewise.
57467 * sunrpc/rpc/pmap_clnt.h: Likewise.
57468 * sunrpc/rpc/pmap_prot.h: Likewise.
57469 * sunrpc/rpc/pmap_rmt.h: Likewise.
57470 * sunrpc/rpc/rpc.h: Likewise.
57471 * sunrpc/rpc/rpc_des.h: Likewise.
57472 * sunrpc/rpc/rpc_msg.h: Likewise.
57473 * sunrpc/rpc/svc.h: Likewise.
57474 * sunrpc/rpc/svc_auth.h: Likewise.
57475 * sunrpc/rpc/types.h: Likewise.
57476 * sunrpc/rpc/xdr.h: Likewise.
57477 * sunrpc/rpc_clntout.c: Likewise.
57478 * sunrpc/rpc_cmsg.c: Likewise.
57479 * sunrpc/rpc_common.c: Likewise.
57480 * sunrpc/rpc_cout.c: Likewise.
57481 * sunrpc/rpc_dtable.c: Likewise.
57482 * sunrpc/rpc_hout.c: Likewise.
57483 * sunrpc/rpc_main.c: Likewise.
57484 * sunrpc/rpc_parse.c: Likewise.
57485 * sunrpc/rpc_parse.h: Likewise.
57486 * sunrpc/rpc_prot.c: Likewise.
57487 * sunrpc/rpc_sample.c: Likewise.
57488 * sunrpc/rpc_scan.c: Likewise.
57489 * sunrpc/rpc_scan.h: Likewise.
57490 * sunrpc/rpc_svcout.c: Likewise.
57491 * sunrpc/rpc_tblout.c: Likewise.
57492 * sunrpc/rpc_util.c: Likewise.
57493 * sunrpc/rpc_util.h: Likewise.
57494 * sunrpc/rpcinfo.c: Likewise.
57495 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57496 * sunrpc/rpcsvc/key_prot.x: Likewise.
57497 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57498 * sunrpc/rpcsvc/mount.x: Likewise.
57499 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57500 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57501 * sunrpc/rpcsvc/rex.x: Likewise.
57502 * sunrpc/rpcsvc/rstat.x: Likewise.
57503 * sunrpc/rpcsvc/rusers.x: Likewise.
57504 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57505 * sunrpc/rpcsvc/spray.x: Likewise.
57506 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57507 * sunrpc/rtime.c: Likewise.
57508 * sunrpc/svc.c: Likewise.
57509 * sunrpc/svc_auth.c: Likewise.
57510 * sunrpc/svc_authux.c: Likewise.
57511 * sunrpc/svc_raw.c: Likewise.
57512 * sunrpc/svc_run.c: Likewise.
57513 * sunrpc/svc_simple.c: Likewise.
57514 * sunrpc/svc_tcp.c: Likewise.
57515 * sunrpc/svc_udp.c: Likewise.
57516 * sunrpc/svc_unix.c: Likewise.
57517 * sunrpc/svcauth_des.c: Likewise.
57518 * sunrpc/xcrypt.c: Likewise.
57519 * sunrpc/xdr.c: Likewise.
57520 * sunrpc/xdr_array.c: Likewise.
57521 * sunrpc/xdr_float.c: Likewise.
57522 * sunrpc/xdr_mem.c: Likewise.
57523 * sunrpc/xdr_rec.c: Likewise.
57524 * sunrpc/xdr_ref.c: Likewise.
57525 * sunrpc/xdr_sizeof.c: Likewise.
57526 * sunrpc/xdr_stdio.c: Likewise.
57528 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57531 2010-08-19 Andreas Schwab <schwab@redhat.com>
57533 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57535 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
57537 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57538 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57539 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57540 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57541 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57542 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57543 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57544 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57545 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57546 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57547 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57548 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57549 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57550 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57552 2010-07-26 Anton Blanchard <anton@samba.org>
57554 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57555 * malloc/arena.c (heap_trim): Likewise.
57557 2010-08-16 Ulrich Drepper <drepper@redhat.com>
57559 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57561 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57562 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57564 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57566 * sysdeps/i386/elf/Makefile: New file.
57568 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57570 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57571 from fanotify_init.
57572 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57573 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57575 2010-08-15 Ulrich Drepper <drepper@redhat.com>
57577 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57579 * sysdeps/multiarch/strcmp.S: Likewise.
57581 2010-08-14 Ulrich Drepper <drepper@redhat.com>
57583 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57584 strncase_l-nonascii.
57585 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57586 Add strncase_l-ssse3.
57587 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57588 * sysdeps/x86_64/strcmp.S: Likewise.
57589 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57590 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57591 * sysdeps/x86_64/strncase.S: New file.
57592 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57593 * sysdeps/x86_64/strncase_l.S: New file.
57594 * string/Makefile (strop-tests): Add strncasecmp.
57595 * string/test-strncasecmp.c: New file.
57597 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57600 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57601 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57603 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57605 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57607 2010-08-12 Ulrich Drepper <drepper@redhat.com>
57609 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57610 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57611 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57613 2010-05-01 Alan Modra <amodra@gmail.com>
57615 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57616 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57617 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57618 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57619 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57620 tidying. Don't tail-call __sigjmp_save for static lib.
57621 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57623 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57624 (CALL_MCOUNT): Add eh info, and nop after bl.
57625 (TAIL_CALL_SYSCALL_ERROR): New macro.
57626 (PSEUDO_RET): Use it.
57627 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57628 Correct save location of integer regs and cr.
57629 (_dl_profile_resolve): Correct cr save location. Delete nops
57630 after bl when SHARED. Reduce cfi size a little by better
57631 placement of cfi directives.
57632 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57633 make a stack frame. Instead use parm save area as a temp.
57634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57635 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57637 Don't make a stack frame for parent, use parm save area.
57638 Increase child stack frame to 112 bytes. Don't save unused reg,
57639 and adjust reg usage. Set up cfi on error recovery and
57640 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57642 (__makecontext): Add dummy nop after jump to exit.
57643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57644 Use correct parm save area and cr save, reduce stack frame.
57645 Correct cfi for possible PSEUDO_RET frame setup.
57646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57647 Branch to local label emitted by PSEUDO_RET rather than
57650 2010-08-12 Andreas Schwab <schwab@redhat.com>
57653 * locale/programs/locale.c (print_assignment): New function.
57654 (show_locale_vars): Use it.
57656 2010-08-11 Ulrich Drepper <drepper@redhat.com>
57658 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57660 (struct statfs64): Likewise.
57661 (_STATFS_F_FLAGS): Define.
57662 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57663 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57664 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57665 (ST_VALID): Define locally.
57666 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57667 __statvfs_getflags, use the provided value.
57668 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57669 __ASSUME_STATFS_F_FLAGS.
57671 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57673 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57674 Add sys/fanotify.h.
57675 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57676 fanotify_mask for GLIBC_2.13.
57677 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57678 fanotify_init and fanotify_mark.
57679 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57680 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57682 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57684 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57685 prlimit64 for GLIBC_2.13.
57686 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57688 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57691 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57692 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57693 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57694 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57696 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57699 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57700 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57702 * nss/Makefile: Add rules to build and run tst-nss-test1.
57703 * shlib-versions: Add entry for libnss_test1.
57704 * nss/nss_test1.c: New file.
57705 * nss/tst-nss-test1.c: New file.
57707 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57708 (__nss_configure_lookup): Set appropriate entry in
57709 __nss_configure_lookup to true.
57710 * nss/nsswitch.h: Define enum with indeces of databases in
57711 databases and __nss_database_custom arrays. Declare
57712 __nss_database_custom.
57713 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57714 to avoid using nscd when custom rules are installed.
57715 * nss/getXXbyYY_r.c: Likewise.
57716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57718 * nss/nss_files/files-parse.c: Whitespace fixes.
57720 2010-08-09 Ulrich Drepper <drepper@redhat.com>
57723 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57724 * posix/fnmatch_loop.c: Likewise.
57726 2010-07-17 Andi Kleen <ak@linux.intel.com>
57728 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57729 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57730 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57731 * Versions.def [GLIBC_2.13]: Add.
57733 2010-08-06 Ulrich Drepper <drepper@redhat.com>
57735 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57736 Also fail if tpwd after pwuid call is NULL.
57738 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57740 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57741 when converting to ms.
57743 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57745 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57746 EOPNOTSUPP errors with ENOTTY.
57747 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57748 EOPNOTSUPP errors with ENOTTY.
57750 2010-07-31 Ulrich Drepper <drepper@redhat.com>
57752 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57753 Add strcasecmp_l-ssse3.
57754 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57756 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57757 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57758 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57760 2010-07-30 Ulrich Drepper <drepper@redhat.com>
57762 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57764 * string/Makefile (strop-tests): Add strcasecmp.
57765 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57766 strcasecmp_l-nonascii.
57767 (gen-as-const-headers): Add locale-defines.sym.
57768 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57769 * sysdeps/x86_64/strcasecmp.S: New file.
57770 * sysdeps/x86_64/strcasecmp_l.S: New file.
57771 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57772 * sysdeps/x86_64/locale-defines.sym: New file.
57773 * string/test-strcasecmp.c: New file.
57775 * string/test-strcasestr.c: Test both ends of the range of characters.
57776 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57778 2010-07-29 Roland McGrath <roland@redhat.com>
57781 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57783 2010-07-27 Ulrich Drepper <drepper@redhat.com>
57785 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57788 2010-07-27 Andreas Schwab <schwab@redhat.com>
57790 * manual/memory.texi (Malloc Tunable Parameters): Document
57793 2010-07-26 Roland McGrath <roland@redhat.com>
57796 * configure.in (-fgnu89-inline check): Set and substitute
57797 gnu89_inline, not libc_cv_gnu89_inline.
57798 * configure: Regenerated.
57799 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57801 2010-07-26 Ulrich Drepper <drepper@redhat.com>
57803 * string/test-strnlen.c: New file.
57804 * string/Makefile (strop-tests): Add strnlen.
57805 * string/tester.c (test_strnlen): Add a few more test cases.
57806 * string/tst-strlen.c: Better error reporting.
57808 * sysdeps/x86_64/strnlen.S: New file.
57810 2010-07-24 Ulrich Drepper <drepper@redhat.com>
57812 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57813 lower-latency instructions.
57815 2010-07-23 Ulrich Drepper <drepper@redhat.com>
57817 * string/test-strcasestr.c: New file.
57818 * string/test-strstr.c: New file.
57819 * string/Makefile (strop-tests): Add strstr and strcasestr.
57820 * string/str-two-way.h: Don't undefine MAX.
57821 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57823 2010-07-21 Andreas Schwab <schwab@redhat.com>
57825 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57826 strcasestr-nonascii.
57827 (CFLAGS-strcasestr-nonascii.c): Define.
57828 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57829 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57830 Remove unused attribute.
57832 2010-07-20 Roland McGrath <roland@redhat.com>
57834 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57835 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57836 ld.so.cache was broken. With it, there is no way to disable dsocaps
57837 like LD_HWCAP_MASK can disable hwcaps.
57839 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57841 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57843 2010-07-16 Ulrich Drepper <drepper@redhat.com>
57845 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57846 call in strcasestr.
57847 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57848 __strcasestr_sse42_nonascii.
57849 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57850 strcasestr-nonascii.c.
57851 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57853 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
57855 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57856 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57857 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57858 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57860 2010-07-09 Ulrich Drepper <drepper@redhat.com>
57862 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57865 2010-07-06 Andreas Schwab <schwab@redhat.com>
57868 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57871 2010-07-06 Ulrich Drepper <drepper@redhat.com>
57873 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57874 _PC_PIPE_BUF using F_GETPIPE_SZ.
57876 2010-07-05 Roland McGrath <roland@redhat.com>
57878 * manual/arith.texi (Rounding Functions): Fix rint description
57879 implicit in round description.
57881 2010-07-02 Ulrich Drepper <drepper@redhat.com>
57883 * elf/Makefile: Fix linking for a few tests to make recent linker
57886 2010-06-30 Andreas Schwab <schwab@redhat.com>
57888 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57889 $(common-objpfx)libc_nonshared.a.
57891 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
57893 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57894 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57895 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57896 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57897 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57898 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57899 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57900 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57915 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57916 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57917 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57918 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57919 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57920 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57921 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57922 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57923 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57924 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57925 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57926 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57942 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57944 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57945 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57946 * string/memmove.c (memmove): Renamed to ...
57947 (MEMMOVE): ...this. Default to memmove.
57948 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57949 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57952 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57953 mempcpy-ssse3-back memmove-ssse3-back.
57954 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57955 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57956 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57957 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57958 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57959 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57960 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57961 * sysdeps/x86_64/multiarch/memmove.c: New file.
57962 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57963 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57964 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57965 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57966 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57967 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57969 (index_Fast_Copy_Backward): Define.
57970 (HAS_ARCH_FEATURE): Define.
57971 (HAS_FAST_REP_STRING): Define.
57972 (HAS_FAST_COPY_BACKWARD): Define.
57974 2010-06-21 Andreas Schwab <schwab@redhat.com>
57976 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57977 Restore proper fallback handling.
57979 2010-06-19 Ulrich Drepper <drepper@redhat.com>
57982 * posix/group_member.c (__group_member): Correct checking loop.
57984 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57985 OOM in getpwuid_r correctly. Return error number when the caller
57986 should return, otherwise -1.
57987 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57988 call returning > 0 value.
57989 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57991 2010-06-07 Andreas Schwab <schwab@redhat.com>
57993 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57994 libc_nonshared.a from targets in modules-names.
57996 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57998 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58001 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
58003 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58004 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58005 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58006 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58008 2010-06-02 Andreas Schwab <schwab@redhat.com>
58010 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58012 2010-06-14 Ulrich Drepper <drepper@redhat.com>
58014 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58016 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58017 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58018 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58019 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58020 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58021 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58023 2010-06-14 Roland McGrath <roland@redhat.com>
58025 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58027 2010-06-07 Jakub Jelinek <jakub@redhat.com>
58029 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58030 __REDIRECT followed by __THROW.
58031 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58032 * posix/getopt.h (getopt): Likewise.
58034 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58036 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58037 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58038 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58040 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58041 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58043 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
58045 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58047 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58051 Properly check family and model.
58053 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58055 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58057 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
58059 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58061 2010-05-21 Ulrich Drepper <drepper@redhat.com>
58063 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58066 2010-05-19 Andreas Schwab <schwab@redhat.com>
58068 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58071 2010-05-21 Andreas Schwab <schwab@redhat.com>
58073 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58074 and internal_recvmmsg.
58075 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58076 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58077 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58078 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58080 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58081 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58082 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58084 2010-05-20 Andreas Schwab <schwab@redhat.com>
58086 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58088 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
58090 POWER7 optimizations.
58091 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58092 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58094 2010-05-19 Ulrich Drepper <drepper@redhat.com>
58096 * version.h: Update for 2.13 development version.
58098 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
58100 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58101 exceptions. Return 0.
58103 2010-05-07 Roland McGrath <roland@redhat.com>
58105 * elf/ldconfig.c (main): Add a const.
58107 2010-05-06 Ulrich Drepper <drepper@redhat.com>
58109 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58110 (args_options): Add no-idn option.
58111 (ahosts_keys_int): Add idn_flags to ai_flags.
58112 (parse_option): Handle 'i' option to clear idn_flags.
58114 * malloc/malloc.c (_int_free): Possible race in the most recently
58115 added check. Only act on the data if no current modification
58118 See ChangeLog.17 for earlier changes.