1 2015-04-06 Richard Henderson <rth@redhat.com>
3 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7 unsigned int before printing.
9 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
13 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15 2015-04-02 Florian Weimer <fweimer@redhat.com>
17 * include/libc-internal.h (libc_max_align_t): Define.
19 2015-04-02 Andreas Schwab <schwab@suse.de>
22 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
24 2015-04-02 Mel Gorman <mgorman@suse.de>
27 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
28 as well as the main arena.
30 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
33 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
34 sharing L2 cache to 2 for Silvermont/Knights Landing.
36 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
39 * config.make.in (have-protected-data): New.
40 * configure.ac: Check linker support for protected data symbol.
41 * configure: Regenerated.
42 * elf/Makefile (modules-names): Add tst-protected1moda and
43 tst-protected1modb if $(have-protected-data) is yes.
44 (tests): Add tst-protected1a and tst-protected1b if
45 $(have-protected-data) is yes.
46 ($(objpfx)tst-protected1a): New.
47 ($(objpfx)tst-protected1b): Likewise.
48 (tst-protected1modb.so-no-z-defs): Likewise.
49 * elf/tst-protected1a.c: New file.
50 * elf/tst-protected1b.c: Likewise.
51 * elf/tst-protected1mod.h: Likewise.
52 * elf/tst-protected1moda.c: Likewise.
53 * elf/tst-protected1modb.c: Likewise.
55 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
58 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
59 indicates it is called from do_lookup_x on relocation against
60 protected data, skip the data definion in the executable from
62 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
63 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
64 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
65 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
66 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
68 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
69 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
70 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
71 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
72 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
73 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
75 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
77 * sysdeps/nptl/pthread.h: Remove duplicate definition of
78 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
80 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
82 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
84 * sysdeps/x86_64/nptl/tls.h: Ditto.
86 2015-03-27 Roland McGrath <roland@hack.frob.com>
88 * dlfcn/tststatic.c (main): Converted to ...
90 (TEST_FUNCTION): New macro.
91 Include test-skeleton.c.
93 2015-03-26 Alan Modra <amodra@gmail.com>
95 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
96 Don't segfault if ifunc resolver returns a NULL. Do set plt to
97 zero for undefined weak.
98 (elf_machine_plt_conflict): Similarly.
100 2015-03-25 Joseph Myers <joseph@codesourcery.com>
102 * math/auto-libm-test-in: Add more tests of acosh, asinh and
104 * math/auto-libm-test-out: Regenerated.
105 * sysdeps/i386/fpu/libm-test-ulps: Update.
106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
108 * math/auto-libm-test-in: Add another test of asin.
109 * math/auto-libm-test-out: Regenerated.
110 * sysdeps/i386/fpu/libm-test-ulps: Update.
111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
113 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
115 (LLL_EBX_REG): Likewise.
116 (LLL_ENTER_KERNEL): Likewise.
118 * math/auto-libm-test-in: Add more tests of asin.
119 * math/auto-libm-test-out: Regenerated.
120 * sysdeps/i386/fpu/libm-test-ulps: Update.
121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
124 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
125 libc_do_syscall_args): New structure.
126 (INTERNAL_SYSCALL_MAIN_0): New macro.
127 (INTERNAL_SYSCALL_MAIN_1): Likewise.
128 (INTERNAL_SYSCALL_MAIN_2): Likewise.
129 (INTERNAL_SYSCALL_MAIN_3): Likewise.
130 (INTERNAL_SYSCALL_MAIN_4): Likewise.
131 (INTERNAL_SYSCALL_MAIN_5): Likewise.
132 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
133 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
134 Replace conditional definitions by conditional definitions of ....
135 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
136 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
137 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
138 (libpthread-sysdep_routines): Add libc-do-syscall.
139 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
140 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
141 to __NR_futex not 240.
143 2015-03-25 Alan Modra <amodra@gmail.com>
145 * NEWS: Advertise TLS optimization.
146 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
147 (DT_PPC_NUM): Increment.
148 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
149 (CHECK_STATIC_TLS): Use here.
150 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
152 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
153 * sysdeps/powerpc/dl-tls.c: New file.
154 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
155 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
156 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
157 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
162 2015-03-25 Alan Modra <amodra@gmail.com>
164 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
165 for overlapping .opd entries" to "support...".
166 * sysdeps/powerpc/powerpc64/configure: Regenerate
168 2015-03-25 Joseph Myers <joseph@codesourcery.com>
170 * math/auto-libm-test-in: Add more tests of acos.
171 * math/auto-libm-test-out: Regenerated.
172 * sysdeps/i386/fpu/libm-test-ulps: Update.
173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
175 * math/auto-libm-test-in: Add more tests of expm1.
176 * math/auto-libm-test-out: Regenerated.
177 * sysdeps/i386/fpu/libm-test-ulps: Update.
178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
180 2015-03-24 Joseph Myers <joseph@codesourcery.com>
182 * math/auto-libm-test-in: Add more tests of cosh and sinh.
183 * math/auto-libm-test-out: Regenerated.
184 * sysdeps/i386/fpu/libm-test-ulps: Update.
185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
187 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
190 * math/auto-libm-test-in: Add more tests of log2.
191 * math/auto-libm-test-out: Regenerated.
192 * sysdeps/i386/fpu/libm-test-ulps: Update.
193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
195 2015-03-23 Roland McGrath <roland@hack.frob.com>
197 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
198 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
199 _IO_IS_APPENDING bit in READ_WRITE instead.
201 2015-03-23 Florian Weimer <fweimer@redhat.com>
203 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
204 (__determine_cpumask_size): Replace extend_alloca with a
205 variable-length array. Do not treat res == 0 as an error.
207 2015-03-23 Florian Weimer <fweimer@redhat.com>
210 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
211 and integer overflow.
212 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
213 (main): Add integer overflow tests.
214 * manual/pattern.texi (Calling Wordexp): Document additional use
217 2015-03-23 Alan Modra <amodra@gmail.com>
219 * config.h.in: Remove HAVE_ASM_PPC_REL16.
220 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
221 and false branch of conditional.
222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
225 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
227 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
229 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
230 unused declaration of _hurd_intr_rpc_msg_in_trap.
231 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
232 defined instead of whether it is non-zero.
233 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
234 input constraint instead of both input and output constraint. Use ecx
235 clobber instead of %ecx.
236 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
237 mutex_unlock): Use a statement expression instead of an expression list.
238 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
239 type to vm_size_t instead of vm_address_t.
240 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
241 defined instead of whether it is non-zero.
242 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
243 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
244 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
245 comparisons with mapaddr.
246 * nscd/nscd-client.h: Include <time.h>.
247 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
248 9th parameter to __vm_region instead of int.
249 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
250 * scripts/check-local-headers.sh (exclude): Add device/,
251 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
254 2015-03-19 Roland McGrath <roland@hack.frob.com>
256 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
257 to account for alignment padding.
258 * sysdeps/arm/memmove.S: Likewise.
260 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
262 * sysdeps/unix/sysv/linux/generic/README: New file.
264 2015-03-18 Joseph Myers <joseph@codesourcery.com>
267 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
268 (futex_abstimed_wait)
269 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
270 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
271 of lll_futex_timed_wait.
273 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
276 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
278 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
285 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
286 entries with Static TLS too. Skip entries past the end of the
287 allocated DTV, from Alan Modra.
288 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
289 Static TLS DTV entry set up from...
290 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
291 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
292 * nptl/allocatestack.c (init_one_static_tls): ... and here...
293 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
295 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
296 that the slot we find is associated with the given map before
297 using its generation count.
298 * nptl_db/db_info.c: Include ldsodefs.h.
299 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
300 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
301 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
302 (link_map::l_tls_offset): New struct field.
303 (dtv_t::counter): Likewise.
304 (rtld_global): New struct.
305 (_rtld_global): New rtld variable.
306 (dl_tls_dtv_slotinfo_list): New rtld global field.
307 (dtv_slotinfo_list): New struct.
308 (dtv_slotinfo): Likewise.
309 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
310 (td_lookup): Rename to...
311 (td_mod_lookup): ... this. Use new mod parameter instead of
313 * nptl_db/td_thr_tlsbase.c: Include link.h.
314 (dtv_slotinfo_list, dtv_slotinfo): New functions.
315 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
316 addresses even if the DTV is out of date or missing them.
317 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
318 index zero-length arrays.
319 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
320 (td_lookup): Make it a macro implemented in terms of...
321 (td_mod_lookup): ... this declaration.
322 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
323 (DB_MAIN_VARIABLE): Likewise.
325 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
328 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
330 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
332 * stdlib/setenv.c (__add_to_environ): Revert previous change.
334 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
337 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
338 (atomic_add, atomic_increment_and_test)
339 (atomic_decrement_and_test): Fix 64-bit arithmetic.
341 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
343 * stdlib/setenv.c (__add_to_environ):
344 Dump core quickly if setenv (..., NULL, ...) is called.
346 2015-03-13 Roland McGrath <roland@hack.frob.com>
348 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
349 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
350 all the necessary asm magic in one place.
351 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
354 2015-03-13 Carlos O'Donell <carlos@redhat.com>
357 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
358 traced file mtime. Use consistent log message.
359 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
360 (register_traced_file): Call install_watches. Always set mtime.
361 (invalidate_cache): Iterate over all trace files. Call install_watches.
362 (inotify_check_files): Don't inline. Handle watching parent
363 directories and configuration file movement in and out.
364 (handle_inotify_events): New function.
365 (main_loop_poll): Call handle_inotify_events.
366 (main_loop_epoll): Likewise.
367 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
368 (struct traced_file): Use array of inotify fds. Add parent directory,
370 (struct database_dyn): Remove unused file_mtime.
371 (init_traced_file): New inline function.
372 (define_traced_file): New macro.
373 * nss/nss_db/db-init.c: Use define_traced_file.
374 (_nss_db_init): Use init_traced_file.
375 * nss/nss_files/files-init.c: Use define_traced_file.
376 (_nss_files_init): Use init_traced_file.
378 2015-03-12 Joseph Myers <joseph@codesourcery.com>
380 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
381 [_LIBC]: Do not include <stdlib.h>.
382 [!_LIBC] (abort): Remove declaration.
383 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
384 _FP_STATIC_ASSERT instead of conditionally calling abort.
385 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
386 (_FP_EXTEND_CNAN): Likewise.
387 (FP_TRUNC): Likewise.
388 (__FP_CLZ): Likewise.
389 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
391 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
393 * manual/string.texi (XPG basename): Fix prototype.
395 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
398 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
399 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
400 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
401 (__setcontext): Likewise.
402 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
403 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
404 Call rt_sigprocmask syscall one time to set new signal mask
405 and retrieve the current signal mask instead of two calls.
406 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
407 (__swapcontext): Likewise.
408 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
409 * stdlib/tst-setcontext2.c: New file.
411 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
413 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
415 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
418 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
421 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
424 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
426 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
428 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
429 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
431 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
432 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
433 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
434 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
435 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
436 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
438 * nptl_db/td_symbol_list.c (td_lookup): Remove
439 HAVE_ASM_GLOBAL_DOT_NAME code.
440 * sysdeps/powerpc/powerpc64/configure.ac: Remove
441 HAVE_ASM_GLOBAL_DOT_NAME check.
442 * sysdeps/powerpc/powerpc64/configure: Regenerate.
443 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
444 (DOT_LABEL): Remove define.
445 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
446 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
447 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
448 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
449 (__TLS_GET_ADDR): Likewise.
450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
451 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
453 2015-03-11 Carlos O'Donell <carlos@redhat.com>
456 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
457 (_FPU_SETCW): Initialize cw from fpsr before storing.
458 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
459 (fesetexceptflag): Rewrite using fpu_control.h.
460 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
462 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
465 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
467 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
469 2015-03-11 Joseph Myers <joseph@codesourcery.com>
471 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
472 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
477 2015-03-10 Roland McGrath <roland@hack.frob.com>
479 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
481 * Makefile (summarize-tests): New canned sequence, factored out of
482 commands for targets tests and xtests. Display summary lines that
483 don't start with PASS: or XFAIL: rather than ones that do start with
484 ERROR: or FAIL:. Make the commands fail if any summary lines fail
485 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
486 do start with ERROR: or FAIL:.
487 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
488 (except for [$(build-shared) = yes]).
489 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
490 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
491 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
492 * nptl/Makefile: Revert 2015-03-04 changes.
493 [$(CXX) empty] (tests-unsupported): New variable.
494 * debug/Makefile: Likewise.
496 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
497 gnulib file. Replace __attribute with __attribute__ throughout.
499 2015-03-10 Carlos O'Donell <carlos@redhat.com>
501 * sysdeps/hppa/fpu/libm-test-ulps: Update.
503 2015-03-10 Joseph Myers <joseph@codesourcery.com>
506 * math/auto-libm-test-in: Add another test of pow.
507 * math/auto-libm-test-out: Regenerated.
509 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
511 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
512 $(config-cflags-nofma).
514 2015-03-10 Joseph Myers <joseph@codesourcery.com>
516 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
517 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
518 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
519 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
520 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
521 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
522 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
523 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
524 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
525 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
526 Add comment on closing #endif.
528 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
530 * posix/wordexp.c (CHAR_IN_SET): New macro.
531 (parse_param): Use it.
533 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
535 * sysdeps/powerpc/fpu/libm-test-ulps: update.
537 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
540 * posix/wordexp.c (parse_param): Fix buffer overflow.
541 * posix/wordexp-test.c (test_case): Add test case.
543 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
546 * posix/wordexp.c (parse_backtick): Fix off-by-one.
547 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
549 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
552 * posix/wordexp-test.c (test_case): Add test for BZ #18043
553 (do_bz18043): Delete.
555 (testit): Refactor to have words at the edge of unreadable page.
557 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
560 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
561 Cleanup read-only streams as well.
562 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
564 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
566 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
569 2015-03-07 Joseph Myers <joseph@codesourcery.com>
571 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
573 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
574 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
575 * soft-fp/op-common.h (_FP_DECL): Likewise.
577 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
579 * elf/ifuncdep2.c (global): Replace
580 __attribute__((visibility("protected"))) with
581 asm (".protected global").
582 * elf/ifuncmod1.c (global): Likewise.
583 * elf/ifuncmod5.c (global): Likewise.
585 2015-03-06 Joseph Myers <joseph@codesourcery.com>
587 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
588 <asm/sfp-machine.h> instead of <sfp-machine.h>.
590 2015-03-06 Roland McGrath <roland@hack.frob.com>
592 * manual/install.texi (Configuring and compiling):
593 Document test-wrapper-env-only.
594 * INSTALL: Regenerated.
596 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
599 * posix/wordexp.c (parse_param): Fix buffer overflow.
600 * posix/wordexp-test.c (do_bz18043): Add test case.
602 2015-03-06 Vincent Bernat <vincent@bernat.im>
604 * time/tst-strptime2.c (do_test): Ensure failing tests are
606 * time/tst-strptime3.c (do_test): Likewise.
608 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
610 Fix aio_error thread-safety.
611 * sysdeps/pthread/aio_error.c: New file
612 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
615 2015-03-06 Florian Weimer <fweimer@redhat.com>
617 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
618 (group_number, vfprintf): Use it.
619 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
621 (WORK_BUFFER_SIZE): New enum constant.
622 (process_arg, vfprintf): Use it.
624 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
626 * manual/errno.texi (Error Messages): Complete example function
627 by adding missing #define.
628 (program_invocation_name): Add statement indicating GNU
629 extension and reference which header file declares the variable.
630 (program_invocation_short_name): Likewise.
632 2015-03-06 Mike Frysinger <vapier@gentoo.org>
634 * manual/errno.texi (Error Messages): Delete strerror ISO C89
637 2015-03-05 Roland McGrath <roland@hack.frob.com>
639 * Makeconfig (test-wrapper-env-only): New variable.
640 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
641 then use that with $(test-wrapper-env-only) rather than using
642 $(test-wrapper-env) $(run-program-env) $($*-ENV).
644 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
647 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
648 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
649 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
650 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
651 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
652 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
653 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
654 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
656 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
657 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
659 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
661 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
663 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
665 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
666 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
668 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
670 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
671 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
673 2015-03-04 Roland McGrath <roland@hack.frob.com>
675 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
676 (ETH_ALEN): New macro.
677 (struct ether_addr): Use it for length of ether_addr_octet.
679 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
680 (setdb): Don't call __nss_configure_lookup for "rpc".
681 (do_test): Don't call test_rpc.
682 (output_rpcent, test_rpc): Functions moved ...
683 * sunrpc/test-rpcent.c: ... to this new file.
684 * sunrpc/Makefile (tests): Add it.
686 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
688 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
689 * nptl/tst-signal6.c: Likewise.
690 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
691 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
693 * configure.ac (libc_cv_cxx_link_ok): New check.
694 Reset CXX to empty if it fails to link.
695 * configure: Regenerated.
696 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
697 bug-atexit3-lib only if $(CXX) is nonempty.
698 * nptl/Makefile (tests): Likewise for tst-cancel24.
699 (tests, tests-static): Likewise for tst-cancel24-static.
700 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
701 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
702 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
703 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
705 2015-03-04 Andreas Schwab <schwab@suse.de>
708 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
709 for non-GCC compilers.
710 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
713 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
716 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
717 integer before bitwise and assembly operations.
718 (feclearexcept): Likewise.
719 * math/test-fenvinline.c: New file.
720 * math/Makefile: Add test-fenvinline test.
722 2015-03-03 Alan Modra <amodra@gmail.com>
725 * scripts/localplt.awk: Strip off symbol version.
726 * NEWS: Mention bug fix.
728 2015-03-02 Roland McGrath <roland@hack.frob.com>
730 * sysdeps/pthread/timer_routines.c
731 (timer_free_list, thread_free_list, thread_active_list): Make static.
733 2015-03-02 Joseph Myers <joseph@codesourcery.com>
736 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
737 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
739 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
740 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
742 * sysdeps/unix/sysv/linux/sh/kernel-features.h
743 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
746 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
749 * posix/fnmatch_loop.c (END): Detect invalid pattern.
750 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
752 2015-03-02 Andreas Schwab <schwab@suse.de>
754 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
757 2015-03-02 Florian Weimer <fweimer@redhat.com>
759 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
762 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
765 * locale/findlocale.c (_nl_find_locale): Introduce const
766 version of loc_name and drop unsafe type casts.
768 2015-02-27 Roland McGrath <roland@hack.frob.com>
770 * dlfcn/tststatic2.c (main): Converted to ...
772 (TEST_FUNCTION): New macro.
773 Include test-skeleton.c.
775 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
778 * elf/Makefile (tests): Add vismain only if PIE is enabled.
779 (tests-pie): Add vismain.
780 (CFLAGS-vismain.c): New.
781 * elf/vismain.c: Add comments for PIE requirement.
783 2015-02-27 Joseph Myers <joseph@codesourcery.com>
787 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
788 0x1p-56L as threshold for just returning the argument.
789 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
790 0x1p-32L as threshold for just returning the argument.
791 * math/auto-libm-test-in: Add more tests of atanh.
792 * math/auto-libm-test-out: Regenerated.
793 * sysdeps/i386/fpu/libm-test-ulps: Update.
794 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
796 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
798 * string/bcopy.c (bcopy): Call memmove for performance.
800 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
802 * string/bzero.c (__bzero): Call memset for performance.
804 2015-02-27 John David Anglin <dave.anglin@bell.net>
807 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
810 2015-02-27 Joseph Myers <joseph@codesourcery.com>
812 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
814 2015-02-26 Joseph Myers <joseph@codesourcery.com>
816 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
817 (__kernel_standard): Use CSTR macro when setting exc.name.
818 * sysdeps/ieee754/Makefile [$(subdir) = math]
819 (CFLAGS-k_standard.c): Remove variable.
821 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
822 setting p and q from "else if" to "else".
824 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
826 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
828 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
830 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
832 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
837 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
838 return pi/2 for arguments below 0x1p-113L.
839 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
840 return pi/2 for arguments below 0x1p-106L.
841 * math/auto-libm-test-in: Add more tests of acos.
842 * math/auto-libm-test-out: Regenerated.
845 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
847 (__ieee754_asin): Force underflow exception for results with small
849 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
851 (__ieee754_asinf): Force underflow exception for results with
852 small absolute value.
853 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
854 (__ieee754_asin): Force underflow exception for results with small
856 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
857 (__ieee754_asinf): Force underflow exception for results with
858 small absolute value.
859 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
860 (__ieee754_asinl): Force underflow exception for results with
861 small absolute value.
862 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
863 (__ieee754_asinl): Force underflow exception for results with
864 small absolute value.
865 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
866 (__ieee754_asinl): Force underflow exception for results with
867 small absolute value.
868 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
870 * math/auto-libm-test-in: Do not mark underflow exceptions as
871 possibly missing for bug 16351.
872 * math/auto-libm-test-out: Regenerated.
875 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
876 of power of 2 down when low part has opposite sign.
877 * math/libm-test.inc (logb_test_data): Add more tests.
879 2015-02-26 Andreas Schwab <schwab@suse.de>
882 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
883 over collating symbol inside a bracket expression. Minor cleanup.
884 * posix/tst-fnmatch3.c (do_test): Add test case.
886 2015-02-26 Joseph Myers <joseph@codesourcery.com>
889 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
890 Adjust exponent of power of 2 down when low part has opposite
892 * math/libm-test.inc (ilogb_test_data): Add more tests.
894 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
897 * locale/findlocale.c (_nl_find_locale): Fix constness error in
901 * locale/findlocale.c (_nl_find_locale): Retry archive search
902 after alias expansion.
904 2015-02-25 Roland McGrath <roland@hack.frob.com>
906 * iconv/tst-iconv3.c (main): Converted to ...
908 (TEST_FUNCTION): New macro.
909 Include test-skeleton.c.
911 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
912 (convert): Make function static.
913 (test_unalign): Likewise. Add const to argument pointee types.
914 (main): Replace with static function do_test.
915 Print "Succeeded." only if RET is zero.
916 (TEST_FUNCTION): New macro.
917 Include test-skeleton.c.
919 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
920 returns a null pointer.
922 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
924 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
925 to __memcpy_ppc only for static builds.
927 2015-02-25 Joseph Myers <joseph@codesourcery.com>
930 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
931 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
932 * math/auto-libm-test-in: Add more tests of asinh.
933 * math/auto-libm-test-out: Regenerated.
934 * sysdeps/i386/fpu/libm-test-ulps: Update.
935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
937 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
940 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
941 and ip6_mtuinfo definitions here.
942 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
943 in this define too. Update comment.
945 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
947 * elf/sprof.c (load_shobj): Tweak error message to match others.
949 2015-02-24 Kevin Easton <kevin@guarana.org>
951 [BZ #16145] (partial fix)
952 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
953 to reduce lock contention.
955 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
957 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
958 (struct timex): Update time comment.
959 (ADJ_SETOFFSET): Define.
961 2015-02-24 Joseph Myers <joseph@codesourcery.com>
964 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
965 2**56 not 2**28 as threshold for log (2x) formula.
966 * math/auto-libm-test-in: Add more tests of acosh.
967 * math/auto-libm-test-out: Regenerated.
968 * sysdeps/i386/fpu/libm-test-ulps: Update.
969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
971 2015-02-24 Mike Frysinger <vapier@gentoo.org>
973 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
974 parenthesis around the buf assignment.
975 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
977 2015-02-24 Joseph Myers <joseph@codesourcery.com>
980 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
981 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
982 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
983 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
984 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
985 * math/libm-test.inc (scalb_test_data): Add more tests.
987 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
990 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
991 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
993 2015-02-24 Eric Rannaud <e@nanocritical.com>
996 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
997 * io/bits/fcntl2.h (open): Use it.
999 * io/open.c (__libc_open): Likewise.
1000 * io/open64.c (__libc_open64): Likewise.
1001 * io/open64_2.c (__open64_2): Likewise.
1002 * io/open_2.c (__open_2): Likewise.
1003 * io/openat.c (__openat): Likewise.
1004 * io/openat64.c (__openat64): Likewise.
1005 * io/openat64_2.c (__openat64_2): Likewise.
1006 * io/openat_2.c (__openat_2): Likewise.
1007 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1008 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1009 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1010 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1011 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1012 (__open_nocancel): Likewise.
1013 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1014 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1015 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1017 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1020 * resolv/gethnamaddr.c (getanswer): Skip logging if
1021 RES_USE_DNSSEC is set.
1022 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1024 2015-02-24 Mike Frysinger <vapier@gentoo.org>
1026 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1028 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
1030 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1031 201304L, for Unicode 7.
1033 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1036 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1037 shared library. Add gmon-start.os otherwise.
1038 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1039 $(objpfx)gmon-start.os if builing shared library.
1040 ($(objpfx)g$(static-start-installed-name)): Likewise.
1042 2015-02-23 Andreas Schwab <schwab@suse.de>
1044 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1046 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1049 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1050 (enlarge_userbuf): Likewise.
1052 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1054 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1055 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1056 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1057 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1059 2015-02-20 Joseph Myers <joseph@codesourcery.com>
1061 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1062 expression inside statement expression.
1064 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1066 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1067 <sysdeps/nptl/lowlevellock.h> and remove macros and
1068 functions that are now defined there.
1069 (SYS_futex): Remove.
1070 (lll_compare_and_swap): Remove.
1071 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1073 2015-02-19 Joseph Myers <joseph@codesourcery.com>
1076 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1077 instead of scandirat.
1078 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1079 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1080 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1082 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1083 (__scandirat): Declare. Use libc_hidden_proto.
1084 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1086 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1088 2015-02-18 Joseph Myers <joseph@codesourcery.com>
1091 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1093 (__ieee754_atan2): For results with small absolute value, force
1094 underflow exception and remove excess range and precision from
1096 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1098 (__ieee754_atan2f): For results with small absolute value, force
1099 underflow exception and remove excess range and precision from
1101 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1103 (__atan): For results with small absolute value, force underflow
1104 exception and remove excess range and precision from return value.
1105 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1107 (__atanf): For results with small absolute value, force underflow
1108 exception and remove excess range and precision from return value.
1109 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1111 (__ieee754_atan2): Force underflow exception for results with
1112 small absolute value.
1113 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1115 (atan): Force underflow exception for results with small absolute
1117 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1118 (__atanf): Force underflow exception for results with small
1120 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1122 (__atanl): Force underflow exception for results with small
1124 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1125 (__atanl): Force underflow exception for results with small
1127 * sysdeps/x86/fpu/bits/mathinline.h
1128 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1129 (__ieee754_atan2): Only define inline for long double.
1130 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1131 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1132 * math/auto-libm-test-in: Do not mark underflow exceptions as
1133 possibly missing for bug 15319. Add more tests of atan2.
1134 * math/auto-libm-test-out: Regenerated.
1135 * math/libm-test.inc (casin_test_data): Do not mark underflow
1136 exceptions as possibly missing for bug 15319.
1137 (casinh_test_data): Likewise.
1138 * sysdeps/i386/fpu/libm-test-ulps: Update.
1140 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
1142 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1143 * sysdeps/mips/bits/endian.h: Fix comments.
1145 2015-02-18 Joseph Myers <joseph@codesourcery.com>
1148 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1149 (hdestroy_r): Likewise.
1150 (hsearch_r): Likewise.
1151 (__hcreate_r): Declare and use libc_hidden_proto.
1152 (__hdestroy_r): Likewise.
1153 (__hsearch_r): Likewise.
1154 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1155 (hcreate): Call __hcreate_r instead of hcreate_r.
1156 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1157 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1158 as weak alias of __hcreate_r.
1159 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1161 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1163 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1165 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1166 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1167 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1168 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1170 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1172 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1173 arena_lock into a single arena_get.
1175 2015-02-17 Carlos O'Donell <carlos@redhat.com>
1177 * dl-reloc.c: Inlucde libc-internal.h.
1178 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1179 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1180 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1181 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1182 (grow_heap): Likewise.
1183 * malloc/malloc.c: Include libc-internal.h.
1184 (do_check_malloc): Call powerof2.
1185 (sysmalloc): Use pagesize. Call ALIGN_UP.
1186 (systrim): Use pagesize.
1187 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1188 (__libc_valloc): Use pagesize.
1189 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1191 2015-02-17 Joseph Myers <joseph@codesourcery.com>
1194 * include/sys/resource.h (__getrlimit64): Declare. Use
1196 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1197 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1198 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1200 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1202 [!getrlimit64] (getrlimit64): Define as weak alias of
1203 __getrlimit64. Use libc_hidden_weak.
1204 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1205 using __getrlimit64 not __new_getrlimit64.
1206 (__GI_getrlimit64): Likewise.
1207 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1209 (__GI_getrlimit64): Likewise.
1210 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1212 (getrlimit): Add __getrlimit64 alias.
1213 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1215 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1217 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1218 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1220 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1222 * libio/fileops.c: Add missing sys/mman.h
1223 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1225 2015-02-17 Joseph Myers <joseph@codesourcery.com>
1227 * manual/math.texi (Errors in Math Functions): Clarify goals
1228 regarding inexact and underflow exceptions.
1230 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
1232 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1233 * sysdeps/mips/memset.S: Ditto.
1235 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
1237 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1239 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1241 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1242 (__v1longjmp): Remove versioned symbol.
1243 (__v1siglongjmp): Remove alias and versioned symbol.
1244 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1245 (__v2siglongjmp): Likewise.
1247 2015-02-16 Torvald Riegel <triegel@redhat.com>
1249 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1251 2015-02-16 Mike Frysinger <vapier@gentoo.org>
1253 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1255 2015-02-16 Joseph Myers <joseph@codesourcery.com>
1258 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1259 zero result does not depend on the sign resulting from
1261 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1263 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1264 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1265 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1266 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1267 * math/libm-test.inc (remquo_test_data): Add more tests.
1269 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1271 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1272 Problem reported by J William Piggott.
1274 2015-02-16 Joseph Myers <joseph@codesourcery.com>
1277 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1278 products 4 * y and 2 * y where those would overflow.
1279 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1281 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1282 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1283 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1284 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1285 * math/libm-test.inc (remquo_test_data): Add more tests.
1287 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1289 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1290 [defined _COMPILING_NEWLIB].
1291 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1292 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1294 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1295 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1297 2015-02-16 Torvald Riegel <triegel@redhat.com>
1299 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1302 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1305 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1306 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1307 HOST_STACK_END_ADDR): Likewise.
1309 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
1311 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1312 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1313 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1315 2015-02-13 Roland McGrath <roland@hack.frob.com>
1317 * sysdeps/generic/c++-types.data: New file.
1318 * sysdeps/generic/ld.abilist: New file.
1319 * sysdeps/generic/libBrokenLocale.abilist: New file.
1320 * sysdeps/generic/libanl.abilist: New file.
1321 * sysdeps/generic/libc.abilist: New file.
1322 * sysdeps/generic/libcrypt.abilist: New file.
1323 * sysdeps/generic/libdl.abilist: New file.
1324 * sysdeps/generic/libm.abilist: New file.
1325 * sysdeps/generic/libpthread.abilist: New file.
1326 * sysdeps/generic/libresolv.abilist: New file.
1327 * sysdeps/generic/librt.abilist: New file.
1329 2015-02-13 Joseph Myers <joseph@codesourcery.com>
1332 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1333 Compute absolute value of x as modified by fmod, not original
1335 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1336 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1337 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1338 RUN_TEST_ffI_f1_mod8.
1339 (remquo_test_data): Add more tests.
1341 2015-02-13 Roland McGrath <roland@hack.frob.com>
1343 * sysdeps/init_array/pt-crti.S: New file.
1345 2015-02-13 Joseph Myers <joseph@codesourcery.com>
1348 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1349 __builtin_fmaf instead of relying on contraction of a * b + c.
1351 2015-02-12 J William Piggott <elseifthen@gmx.com>
1354 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1357 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1360 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1361 __builtin_fma instead of relying on contraction of a * b + c.
1363 2015-02-12 Roland McGrath <roland@hack.frob.com>
1365 * Makeconfig (ASFLAGS): Add -Werror=undef.
1366 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1367 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1368 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1370 * Makeconfig (after-link): New variable.
1371 (+link-pie, +link-pie-tests): Use it.
1372 (+link-static, +link-static-tests): Likewise.
1373 (+link, +link-tests): Likewise.
1374 * Makerules (build-module, build-module-asneeded): Likewise.
1375 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1377 * elf/Makefile ($(objpfx)ld.so): Likewise.
1379 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1382 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1383 both struct timeval and struct timespec.
1385 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1388 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1390 (__ieee754_exp2l): Do not multiply small fractional parts by
1392 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1394 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1395 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1396 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1397 * math/auto-libm-test-in: Add more tests of exp2.
1398 * math/auto-libm-test-out: Regenerated.
1400 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1402 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1405 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1407 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1410 2015-02-12 Andreas Schwab <schwab@suse.de>
1413 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1414 Filter out elision flags from value returned in kind.
1415 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1416 * nptl/tst-pthread-mutexattr.c: New file.
1418 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1420 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1421 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1422 into gnu-gnu, and update comment to refer to abi-tags.
1424 2015-02-11 Joseph Myers <joseph@codesourcery.com>
1427 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1428 (__sincos): Set errno to EDOM for infinite argument.
1429 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1430 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1431 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1432 (__sincosl): Set errno to EDOM for infinite argument.
1433 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1434 (__sincosl): Set errno to EDOM for infinite argument.
1435 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1436 (__sincosl): Set errno to EDOM for infinite argument.
1437 * math/libm-test.inc (sincos_test_data): Test errno setting.
1439 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
1441 * string/strxfrm_l.c: Remove #define STRCMP.
1442 * string/strcoll_l.c: Remove #define STRLEN.
1443 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1444 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1446 2015-02-10 Joseph Myers <joseph@codesourcery.com>
1448 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1449 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1450 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1451 * sysdeps/mips/mips64/Makefile: ... here.
1452 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1453 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1454 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1455 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1456 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1457 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1458 * sysdeps/mips/mips64/n64/Implies: Likewise.
1460 2015-02-10 Roland McGrath <roland@hack.frob.com>
1462 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1463 <sys/time.h>, <string.h>, and <errno.h>.
1464 (dest_offset, dest_address, value, zero): Remove unused variables.
1465 (ldouble): Remove typedef.
1466 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1467 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1469 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1470 (check): Function removed.
1472 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1473 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1474 Don't call set_sigaction_FP and remove_sigaction_FP here.
1475 (ldouble_test): Just use 'long double' as macro argument, no need for
1476 the 'ldouble' typedef.
1477 (do_test): Set up SIGFPE handler at start, using plain signal rather
1478 than sigaction. Fix code style.
1480 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1483 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1486 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1488 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1489 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1491 * sysdeps/powerpc/configure.ac: Remove file.
1492 * sysdeps/powerpc/configure: Likewise.
1494 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1495 [sysdep_routines]: Remove wordcopy-power6 object.
1496 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1497 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1498 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1499 (__memmove_ppc32): Likewise.
1500 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1502 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1503 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1504 Remove preprocessor.
1506 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1507 [sysdep_routines]: Remove wide chars objects.
1508 [wcsmbs]: New rule for wide char objects.
1510 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1511 Remove wordcopy-power6 obejct.
1512 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1513 Use local call for wordcopy and memcpy symbols.
1514 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1515 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1516 implementation for loader.
1517 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1519 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1520 Remove wordcopy-power7 object.
1521 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1522 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1523 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1524 (_wordcopy_fwd_dest_aligned): Likewise.
1525 (_wordcopy_bwd_aligned): Likewise.
1526 (_wordcopy_bwd_dest_aligned): Likewise.
1528 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1529 Rewrite to call __memmove_ppc instead of include default
1532 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1533 Remove wide chars objects.
1534 [wcsmbs]: New rule for wide char objects.
1536 2015-02-09 Andreas Schwab <schwab@suse.de>
1539 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1540 in terms of __O_DIRECTORY.
1542 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1544 * time/getdate.c: Include <stdbool.h>.
1545 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1547 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1550 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1552 Add ersatz _Static_assert on older C hosts
1553 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1554 pre-C11 C platform that is not known to support _Static_assert.
1556 2015-02-07 Richard Braun <rbraun@sceen.net>
1558 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1560 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1562 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1564 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1565 priority against unexistent AIO_PRIO_DELTA_MAX.
1566 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1568 * misc/fchflags.c (fchflags): Likewise.
1569 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1570 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1571 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1572 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1573 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1575 [__USE_MISC] (chflags, fchflags): Declare functions.
1576 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1577 EINVAL when nfds is greater than FD_SETSIZE.
1578 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1579 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1581 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1582 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1583 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1585 * hurd/hurd/signal.h (_hurd_self_sigstate,
1586 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1587 Explicit casts from void *.
1588 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1589 * abi-tags: Rename gnu-gnu os into gnu.
1592 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1593 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1594 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1595 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1596 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1597 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1600 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1601 duplicates ADDR->sun_path with sockaddr LEN limitation.
1602 * sysdeps/mach/hurd/connect.c: Include <string.h>
1603 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1604 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1605 * sysdeps/mach/hurd/sendto.c: Likewise.
1606 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1607 implementing it by hand.
1609 2015-02-06 Roland McGrath <roland@hack.frob.com>
1611 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1612 Use sfi_breg on ldr.
1613 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1616 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1618 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1619 Test SIGSETXID only if it's defined.
1621 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1623 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1624 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1626 * nptl/tst-align2.c: Moved ...
1627 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1628 * nptl/Makefile (tests): Remove tst-align2.
1629 * sysdeps/unix/sysv/linux/Makefile
1630 [$(subdir) = nptl] (tests): Add tst-align-clone.
1631 * nptl/tst-getpid1.c: Moved ...
1632 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1633 * nptl/tst-getpid2.c: Moved ...
1634 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1635 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1636 * sysdeps/unix/sysv/linux/Makefile
1637 [$(subdir) = nptl] (tests): ... here.
1638 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1639 * sysdeps/unix/sysv/linux/Makefile
1640 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1642 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1643 Drop trailing \n from perror argument. Use return rather than exit.
1645 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1647 * nptl/tst-cancel21.c (do_test): Likewise.
1648 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1649 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1650 [!SA_SIGINFO]: Make it a stub test.
1652 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1653 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1655 * posix/tst-getlogin.c: Move to ...
1656 * login/tst-getlogin.c: ... here.
1657 * posix/Makefile (tests): Move tst-getlogin to ...
1658 * login/Makefile (tests): ... here.
1660 * libio/tst-atime.c (do_test): Move local variables SV and E
1661 inside [ST_NOATIME] conditional.
1663 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1665 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1667 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1668 (wait_code): New function replaces macro.
1669 Call nanosleep rather than syscall.
1671 * nptl/pt-system.c: Rewritten. Put everything under
1672 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1673 Use IFUNC to redirect when possible.
1675 * nptl/pt-longjmp.c: Rewritten. Put everything under
1676 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1677 Use IFUNC to redirect when possible.
1679 * nptl/pt-fork.c: Rewritten. Put everything under
1680 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1681 Use IFUNC to redirect when possible.
1682 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1684 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1685 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1686 unconditionally nowadays. This included the only reference to
1687 __vdso_clock_gettime that appears outside libc proper.
1688 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1689 Remove version set (containing only __vdso_clock_gettime).
1690 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1691 Add attribute_hidden.
1692 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1693 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1694 libc_hidden_data_def.
1695 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1696 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1698 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1699 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1700 setrpcent, and getrpcport to ...
1701 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1702 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1703 getrpcbynumber_r, and getrpcent_r to ...
1704 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1705 * inet/getrpcbyname.c: Moved ...
1706 * sunrpc/getrpcbyname.c: ... here.
1707 * inet/getrpcbyname_r.c: Moved ...
1708 * sunrpc/getrpcbyname_r.c: ... here.
1709 * inet/getrpcbynumber.c: Moved ...
1710 * sunrpc/getrpcbynumber.c: ... here.
1711 * inet/getrpcbynumber_r.c: Moved ...
1712 * sunrpc/getrpcbynumber_r.c: ... here.
1713 * inet/getrpcent.c: Moved ...
1714 * sunrpc/getrpcent.c: ... here.
1715 * inet/getrpcent_r.c: Moved ...
1716 * sunrpc/getrpcent_r.c: ... here.
1717 * inet/Makefile (routines): Move those to ...
1718 * sunrpc/Makefile (routines): ... here.
1719 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1720 the $(subdirs) list.
1721 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1722 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1723 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1724 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1726 * elf/Makefile (routines): Include $(all-dl-routines), not just
1728 (rtld-routines): Likewise. Use = rather than :=.
1729 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1730 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1731 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1732 * sysdeps/arm/Makefile: Likewise.
1733 * sysdeps/i386/Makefile: Likewise.
1734 * sysdeps/x86_64/Makefile: Likewise.
1735 * sysdeps/hppa/Makefile [$(subdir) = elf]
1736 (sysdep_routines, sysdep-rtld-routines): Don't add
1737 $(sysdep-dl-routines) to these.
1738 * sysdeps/ia64/Makefile: Likewise.
1739 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1740 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1741 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1742 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1743 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1744 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1745 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1746 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1747 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1748 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1749 these; sysdep-dl-routines alone is enough.
1751 2015-02-06 Joseph Myers <joseph@codesourcery.com>
1754 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1755 where multiplication results in zero and third argument is finite
1757 * math/auto-libm-test-in: Add more tests of fma.
1758 * math/auto-libm-test-out: Regenerated.
1760 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1761 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1762 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1763 (_FP_CMP_EQ): Likewise.
1764 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1766 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1767 extra argument CHECK_NAN. Redefine as wrapper around
1770 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1772 * version.h (RELEASE): Set to "stable".
1773 (VERSION): Set to "2.21"
1774 * include/features.h (__GLIBC_MINOR__): Set to 21.
1776 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1778 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1779 Paul Eggert <eggert@cs.ucla.edu>
1782 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1783 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1784 size in bytes. Store needed elements in wpmax. Use needed size
1785 in bytes for extend_alloca.
1787 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1789 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1790 binutls 2.25, and texinfo 5.2.
1791 * INSTALL: Regenerate.
1792 * sysdeps/nios2/configure: Regenerate.
1793 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1794 * manual/contrib.texi: Update.
1818 * po/pt_BR.po: Update.
1827 * po/zh_CN.po: Update.
1828 * po/zh_TW.po: Update.
1830 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1831 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1832 * sysdeps/hppa/dl-irel.h: Remove #warning.
1833 * sysdeps/hppa/entry.h: Provide prototype for
1834 __canonicalize_funcptr_for_compare and cast argument.
1835 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1836 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1837 * sysdeps/hppa/sotruss-lib.c: New file.
1838 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1839 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1840 (atomic_compare_and_exchange_bool_acq): Likewise.
1841 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1842 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1844 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1845 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1846 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1848 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1850 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1851 called function in non-PIC case.
1853 2015-01-31 David S. Miller <davem@davemloft.net>
1855 * sysdeps/sparc/sparc32/bits/atomic.h
1856 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1857 unlock not after it.
1858 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1859 volatile register usage warnings from the compiler.
1861 * sysdeps/sparc/nptl/sem_init.c: Delete.
1862 * sysdeps/sparc/nptl/sem_post.c: Delete.
1863 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1864 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1865 * sysdeps/sparc/sparc32/sem_init.c: New file.
1866 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1867 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1868 padding explicitly initialized.
1869 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1870 padding for in-semaphore spinlock.
1871 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1872 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1873 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1874 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1875 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1876 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1877 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1878 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1880 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1881 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1883 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1887 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1888 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1890 (index_AVX_Fast_Unaligned_Load): Likewise.
1891 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1892 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1893 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1894 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1895 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1896 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1897 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1898 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1899 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1901 2015-01-29 Andreas Schwab <schwab@suse.de>
1903 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1905 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1908 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1910 2015-01-28 Martin Sebor <msebor@redhat.com>
1912 * math/README.libm-test: Clarify. Add "How to read the test output."
1914 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1916 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1919 2015-01-28 Joseph Myers <joseph@codesourcery.com>
1921 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1922 (__HAVE_64B_ATOMICS): Define to 0.
1924 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1927 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1928 value to set as new flag.
1931 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1932 and use _ARCH_PPCSQ instead.
1933 (__ieee754_sqrt): Likewise.
1934 (__ieee754_sqrtf): Likewise.
1935 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1936 _ARCH_PPCSQ is defined.
1937 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1939 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1940 _ARCH_PPCSQ is defined.
1941 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1943 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1945 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1947 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1948 bug (GCC BZ #64739).
1950 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1952 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1953 Mark _retval as used.
1954 (lll_futex_wake_unlock): Likewise.
1955 (lll_futex_timed_wait_requeue_pi): Likewise.
1957 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1958 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1961 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1964 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1965 (__bswap_64): Mark as __always_inline.
1967 2015-01-25 Bram <bug_rh@spam.wizbit.be>
1970 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1971 when none of the search directories exist.
1973 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1976 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1977 power8 in .machine directive.
1980 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1981 set dependency from opd value.
1983 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1986 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1989 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1992 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1994 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1996 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1997 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1998 Replace 1UL with (uint64_t) 1.
1999 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2002 2015-01-23 Roland McGrath <roland@hack.frob.com>
2004 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2005 (if_freenameindex): Likewise.
2007 * resource/getrlimit64.c: Add missing libc_hidden_def.
2009 2015-01-22 Joseph Myers <joseph@codesourcery.com>
2011 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2013 (_FP_FMA): Likewise.
2014 (_FP_TO_INT_ROUND): Likewise.
2015 (_FP_FROM_INT): Likewise.
2017 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2020 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2021 Make code racy and cancel safe.
2023 2015-01-21 Carlos O'Donell <carlos@redhat.com>
2025 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2026 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2029 * pwd/tst-getpw.c: Rewrite.
2032 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2033 (modules-names): Add moddummy1 and moddummy2.
2034 ($(objpfx)tst-rec-dlopen): Define.
2035 * dlfcn/moddummy1.c: New file.
2036 * dlfcn/moddummy2.c: New file.
2037 * dlfcn/tst-rec-dlopen.c: New file.
2038 * elf/dl-cache.c (_dl_load_cache_lookup):
2039 Return char*. Copy result with alloca/strcpy/strdup.
2040 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2041 returns char*. Free cached. If not saving realname
2043 * elf/dl-open.c (dl_open_worker): Do not assert that
2044 _r_debug->r_state is RT_CONSISTENT.
2045 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2048 2015-01-21 Torvald Riegel <triegel@redhat.com>
2049 Carlos O'Donell <carlos@redhat.com>
2052 * nptl/sem_waitcommon.c: New file.
2053 * nptl/sem_wait.c: Include sem_waitcommon.c.
2054 (__sem_wait_cleanup, do_futex_wait): Remove.
2055 (__new_sem_wait): Adapt.
2056 (__new_sem_trywait): New function.
2057 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2058 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2059 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2060 (sem_timedwait): Adapt.
2061 * nptl/sem_post.c (__new_sem_post): Adapt.
2062 (futex_wake): New function.
2063 (__old_sem_post): Add release MO fence.
2064 * nptl/sem_open.c (sem_open): Adapt.
2065 * nptl/sem_init.c (__new_sem_init): Adapt.
2066 (futex_private_if_supported): New function.
2067 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2068 (__old_sem_getvalue): Add using previous code.
2069 * sysdeps/nptl/internaltypes.h: Adapt.
2070 * nptl/tst-sem13.c (do_test): Adapt.
2071 * nptl/tst-sem11.c (main): Adapt.
2072 * nptl/sem_trywait.c: Remove.
2073 * nptl/DESIGN-sem.txt: Remove.
2074 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2075 (gen-as-const-headers): Remove structsem.sym.
2076 * nptl/structsem.sym: Remove.
2077 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2078 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2079 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2080 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2081 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2082 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2083 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2084 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2085 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2086 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2087 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2088 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2089 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2090 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2091 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2092 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2093 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2094 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2095 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2096 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2097 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2098 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2100 2015-01-20 Carlos O'Donell <carlos@redhat.com>
2102 * INSTALL: Regenerated.
2104 * po/libc.pot: Regenerated.
2106 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2107 Sandra Loosemore <sandra@codesourcery.com>
2108 Andrew Jenner <andrew@codesourcery.com>
2109 Joseph Myers <joseph@codesourcery.com>
2110 Nathan Sidwell <nathan@codesourcery.com>
2112 * NEWS: Mention new Nios II port.
2113 * sysdeps/nios2/Implies: New file.
2114 * sysdeps/nios2/Makefile: New file.
2115 * sysdeps/nios2/Subdirs: New file.
2116 * sysdeps/nios2/Versions: New file.
2117 * sysdeps/nios2/__longjmp.S: New file.
2118 * sysdeps/nios2/abort-instr.h: New file.
2119 * sysdeps/nios2/backtrace.c: New file.
2120 * sysdeps/nios2/bits/endian.h: New file.
2121 * sysdeps/nios2/bits/fenv.h: New file.
2122 * sysdeps/nios2/bits/link.h: New file.
2123 * sysdeps/nios2/bits/setjmp.h: New file.
2124 * sysdeps/nios2/bsd-_setjmp.S: New file.
2125 * sysdeps/nios2/bsd-setjmp.S: New file.
2126 * sysdeps/nios2/configure: New generated file.
2127 * sysdeps/nios2/configure.ac: New file.
2128 * sysdeps/nios2/crti.S: New file.
2129 * sysdeps/nios2/crtn.S: New file.
2130 * sysdeps/nios2/dl-init.c: New file.
2131 * sysdeps/nios2/dl-machine.h: New file.
2132 * sysdeps/nios2/dl-sysdep.h: New file.
2133 * sysdeps/nios2/dl-tls.h: New file.
2134 * sysdeps/nios2/dl-trampoline.S: New file.
2135 * sysdeps/nios2/gccframe.h: New file.
2136 * sysdeps/nios2/gmp-mparam.h: New file.
2137 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2138 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2139 * sysdeps/nios2/ldsodefs.h: New file.
2140 * sysdeps/nios2/libc-tls.c: New file.
2141 * sysdeps/nios2/libm-test-ulps: New file.
2142 * sysdeps/nios2/machine-gmon.h: New file.
2143 * sysdeps/nios2/math-tests.h: New file.
2144 * sysdeps/nios2/math_private.h: New file.
2145 * sysdeps/nios2/memusage.h: New file.
2146 * sysdeps/nios2/nptl/Makefile: New file.
2147 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2148 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2149 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2150 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2151 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2152 * sysdeps/nios2/nptl/tls.h: New file.
2153 * sysdeps/nios2/preconfigure: New file.
2154 * sysdeps/nios2/s_fma.c: New file.
2155 * sysdeps/nios2/s_fmaf.c: New file.
2156 * sysdeps/nios2/setjmp.S: New file.
2157 * sysdeps/nios2/sfp-machine.h: New file.
2158 * sysdeps/nios2/sotruss-lib.c: New file.
2159 * sysdeps/nios2/stackguard-macros.h: New file.
2160 * sysdeps/nios2/stackinfo.h: New file.
2161 * sysdeps/nios2/start.S: New file.
2162 * sysdeps/nios2/sysdep.h: New file.
2163 * sysdeps/nios2/tls-macros.h: New file.
2164 * sysdeps/nios2/tst-audit.h: New file.
2165 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2166 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2167 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2168 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2169 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2170 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2171 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2172 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2173 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2174 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2175 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2176 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2177 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2178 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2179 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2180 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2181 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2182 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2183 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2184 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2185 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2186 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2187 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2188 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2189 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2190 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2191 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2192 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2193 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2194 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2195 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2196 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2197 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2198 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2199 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2200 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2201 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2202 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2203 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2204 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2205 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2206 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2207 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2208 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2210 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2213 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2214 (getutent): Use weak_alias in non SHARED case
2215 and default_symbol_version in SHARED case.
2216 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2217 (getutent_r, pututline): Likewise.
2218 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2219 (getutid): Likewise.
2220 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2221 (getutid_r): Likewise.
2222 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2223 (getutline): Likewise.
2224 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2225 (getutline_r): Likewise.
2226 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2227 (updwtmp): Likewise.
2229 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2232 * sysdeps/s390/s390-32/memcmp.S
2233 (memcmp_g5): Rename to __memcmp_g5.
2234 * sysdeps/s390/s390-32/memcpy.S
2235 (memcpy_g5): Rename to __memcpy_g5.
2236 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2237 (memcpy_mvcle) Rename to __memcpy_mvcle.
2238 * sysdeps/s390/s390-32/memset.S
2239 (memset_g5): Rename to __memset_g5.
2240 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2241 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2242 and use prefixed functions.
2243 * sysdeps/s390/s390-32/multiarch/memcmp.S
2244 (memcmp_z196): Rename to __memcmp_z196.
2245 (memcmp_z10): Rename to __memcmp_z10.
2246 (memcmp): Set alias to __memcmp_g5.
2247 (bcmp): Set alias to __memcmp_g5.
2248 * sysdeps/s390/s390-32/multiarch/memcpy.S
2249 (memcpy_z196): Rename to __memcpy_z196.
2250 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2251 (memcpy_z10): Rename to __memcpy_z10.
2252 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2253 (memcpy): Set alias to __memcpy_g5.
2254 * sysdeps/s390/s390-32/multiarch/memset.S
2255 (memset_z196): Rename to __memset_z196.
2256 Jump to __memset_mvcle instead of memset_mvcle.
2257 (memset_z10): Rename to __memset_z10.
2258 Jump to __memset_mvcle instead of memset_mvcle.
2259 (memset_mvcle) Rename to __memset_mvcle.
2260 (memset): Set alias to __memset_g5.
2261 * sysdeps/s390/s390-64/memcmp.S
2262 (memcmp_z900): Rename to __memcmp_z900.
2263 * sysdeps/s390/s390-64/memcpy.S
2264 (memcpy_z900): Rename to __memcpy_z900.
2265 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2266 (memcpy_mvcle) Rename to __memcpy_mvcle.
2267 * sysdeps/s390/s390-64/memset.S
2268 (memset_z900): Rename to __memset_z900.
2269 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2270 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2271 and use prefixed functions.
2272 * sysdeps/s390/s390-64/multiarch/memcmp.S
2273 (memcmp_z196): Rename to __memcmp_z196.
2274 (memcmp_z10): Rename to __memcmp_z10.
2275 (memcmp): Set alias to __memcmp_z900.
2276 (bcmp): Set alias to __memcmp_z900.
2277 * sysdeps/s390/s390-64/multiarch/memcpy.S
2278 (memcpy_z196): Rename to __memcpy_z196.
2279 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2280 (memcpy_z10): Rename to __memcpy_z10.
2281 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2282 (memcpy): Set alias to __memcpy_z900.
2283 * sysdeps/s390/s390-64/multiarch/memset.S
2284 (memset_z196): Rename to __memset_z196.
2285 Jump to __memset_mvcle instead of memset_mvcle.
2286 (memset_z10): Rename to __memset_z10.
2287 Jump to __memset_mvcle instead of memset_mvcle.
2288 (memset_mvcle) Rename to __memset_mvcle.
2289 (memset): Set alias to __memset_z900.
2291 2015-01-14 Joseph Myers <joseph@codesourcery.com>
2294 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2295 __fesetenv instead of fesetenv.
2297 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2299 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2302 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2304 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2307 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2308 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2309 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2310 strncmp-power8 object.
2311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2312 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2313 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2316 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2317 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2319 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2320 trailing byte check.
2322 2015-01-13 David S. Miller <davem@davemloft.net>
2324 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2326 2015-01-13 Roland McGrath <roland@hack.frob.com>
2328 * login/logout.c (logout): Use memset rather than bzero.
2329 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2330 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2331 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2332 (_gethtbyaddr): Likewise.
2333 * locale/programs/simple-hash.c (bcopy): Macro removed.
2335 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2337 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2338 Add strcmp-power8 object.
2339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2340 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2341 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2342 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2343 __strcmp_power8 implementation.
2344 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2347 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2348 Add strncpy-power8 and stpncpy-power8 objects.
2349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2350 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2352 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2353 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2354 __stpncpy_power8 implementation.
2355 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2356 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2357 __strncpy_power8 implementation.
2358 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2359 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2362 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2363 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2364 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2366 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2367 strncat-power8 object.
2368 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2369 __strcat_power8 implementation.
2370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2371 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2372 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2373 optimized strcat for power8.
2375 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2376 strcpy-power8 and stpcpy-power8 objects.
2377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2378 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2380 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2381 multiarch stpcpy implementation for POWER8.
2382 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2383 multiarch strcpy implementation for POWER8.
2384 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2385 __strcpy_power8 function.
2386 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2388 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2392 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
2395 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2396 weights and rules. Use do_xfrm_cached if data fits in cache,
2397 do_xfrm otherwise. Moved former main loop to...
2398 * (do_xfrm_cached): New function.
2399 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2400 find_idx, find_position and stack_push.
2401 * (find_idx): New function.
2402 * (find_position): Likewise.
2403 * localedata/sort-test.sh: Added test run for do_xfrm.
2404 * localedata/xfrm-test.c (main): Added command line option
2405 -nocache to run the test with strings that are too large for
2408 2015-01-13 Torvald Riegel <triegel@redhat.com>
2410 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2411 variable to lll_futex_wake call, not the value itself.
2413 2015-01-12 Joseph Myers <joseph@codesourcery.com>
2416 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2417 twom64. Adjust value to 0x1p-64L.
2418 (__scalblnl): Only return standard underflowing result for K <=
2419 -64 not K <= -63; adjust exponent for underflowing result by 64
2421 * math/libm-test.inc (scalbn_test_data): Add more tests.
2422 (scalbln_test_data): Likewise.
2425 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2427 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2429 * math/libm-test.inc (scalbn_test_data): Add more tests.
2430 (scalbln_test_data): Likewise.
2432 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2433 Stefani Seibold <stefani@seibold.net>
2435 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2436 (sysdep_routines): Add dl-vdso here, ...
2437 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2438 (sysdep_routines): ... not here.
2439 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2440 fallback when vDSO is not presented.
2441 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2442 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2443 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2444 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2445 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2446 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2447 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2448 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2449 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2450 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2451 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2452 fallback configurable symbol when vDSO is not available.
2453 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2454 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2455 be able to redefine fallback symbol when vDSO is not available.
2456 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2457 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2459 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2461 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2462 (TLS_INIT_TP): Add tm_capable initialization.
2463 (TLS_DEFINE_INIT_TP): Likewise.
2464 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2466 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2467 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2469 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2470 transactoion is lock elision is built and TCB tm_capable is set.
2471 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2473 (INTERNAL_SYSCALL_NCS): Likewise.
2474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2475 (INTERNAL_SYSCALL_NCS): Likewise.
2476 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2478 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2480 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2481 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2482 and remove it for 32 bits case.
2483 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2484 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2486 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2487 Disable lock elision with rdlocks if elision is not available.
2489 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2490 (sysdep_routines): Add lock elision objects.
2491 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2492 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2493 [pthread_mutex_t] (__elision): Add field.
2494 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2495 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2496 elision definitions for powerpc.
2497 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2498 implementation of lock elision for powerpc.
2499 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2500 implementation of timed lock elision for powerpc.
2501 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2502 implementation of trylock with lock elision for powerpc.
2503 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2504 implementaion of unlock for lock elision for powerpc.
2505 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2506 automatic enable lock elision for mutexes.
2507 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2508 transaction execution definitions for powerpc.
2509 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2511 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2512 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2513 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2514 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2517 2015-01-09 Roland McGrath <roland@hack.frob.com>
2519 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2520 for #include of <shm-directory.h>.
2522 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2524 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2525 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2527 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2530 * NEWS: Mention bug fix.
2531 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2532 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2533 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2535 2015-01-09 Torvald Riegel <triegel@redhat.com>
2537 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2539 2015-01-09 Torvald Riegel <triegel@redhat.com>
2541 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2543 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2545 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2546 pointer and cast to uintptr_t.
2548 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2550 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2552 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2554 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2556 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2559 2015-01-08 Roland McGrath <roland@hack.frob.com>
2561 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2562 <nptl/pthreadP.h> instead.
2563 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2565 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2567 [__SIGRTMIN] (init): Function removed.
2568 [__SIGRTMIN] (initialized): Variable removed.
2569 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2570 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2571 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2572 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2573 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2574 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2575 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2576 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2577 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2578 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2579 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2580 * sysdeps/nptl/allocrtsig.c: New file.
2581 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2582 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2583 * sysdeps/generic/testrtsig.h: File removed.
2585 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2586 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2588 * nptl/nptl-init.c (pthread_functions): Conditionalize
2589 .ptr__nptl_setxid initialization on [SIGSETXID].
2591 * sysdeps/nptl/sys/procfs.h: New file.
2592 * nptl_db/Makefile (headers): Add it.
2593 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2595 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2596 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2597 * nptl/pthread_attr_setaffinity.c: Include it.
2598 * nptl/pthread_setattr_default_np.c: Likewise.
2599 * nptl/check-cpuset.h: New file.
2601 2015-01-08 Richard Henderson <rth@redhat.com>
2603 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2604 (CFLAGS-tst-execstack-prog.c): Likewise.
2605 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2607 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2608 Sandra Loosemore <sandra@codesourcery.com>
2609 Andrew Jenner <andrew@codesourcery.com>
2610 Joseph Myers <joseph@codesourcery.com>
2611 Nathan Sidwell <nathan@codesourcery.com>
2613 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2614 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2615 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2616 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2617 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2618 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2619 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2620 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2621 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2622 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2623 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2624 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2625 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2626 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2627 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2628 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2629 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2631 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2633 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2634 timespec struct member in syscall macro.
2635 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2636 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2637 first timeval struct member in syscall macro.
2638 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2640 2015-01-07 Joseph Myers <joseph@codesourcery.com>
2643 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2644 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2645 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2646 __feupdateenv and define as weak alias of __feupdateenv. Use
2648 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2650 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2651 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2652 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2653 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2655 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2656 __feupdateenv and define as weak alias of __feupdateenv. Use
2658 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2660 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2661 __feupdateenv and define as weak alias of __feupdateenv. Use
2663 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2665 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2666 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2667 (__feupdateenv): Likewise.
2668 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2669 __feupdateenv and define as weak alias of __feupdateenv. Use
2671 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2672 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2674 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2676 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2678 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2679 __feupdateenv instead of feupdateenv.
2680 (default_libc_feupdateenv_test): Likewise.
2681 (libc_feresetround_ctx): Likewise.
2683 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2685 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2688 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2690 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2691 COLL_SYM in a couple of places to avoid uninitialized variable
2692 wanings on tilegx gcc 4.8.2.
2694 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2696 * sysdeps/aarch64/strcpy.S: New file.
2697 * sysdeps/aarch64/stpcpy.S: New file.
2700 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2702 * sysdeps/aarch64/strrchr.S: New file.
2705 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
2708 * stdlib/setenv.c: Fix memory leak when setting large,
2711 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2714 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2715 and tabs from buffer before parsing fstab entry.
2716 * misc/tst-mntent.c (main): Add test for mount entry with
2717 trailing spaces and tabs.
2719 2015-01-06 Joseph Myers <joseph@codesourcery.com>
2722 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2723 * math/fesetround.c (fesetround): Rename to __fesetround and
2724 define as weak alias of __fesetround. Use libm_hidden_weak.
2725 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2726 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2727 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2728 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2729 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2730 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2731 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2732 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2733 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2734 __fesetround_inline.
2735 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2736 __fesetround_inline instead of __fesetround.
2737 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2738 __fesetround and define as weak alias of __fesetround. Use
2739 libm_hidden_weak. Call __fesetround_inline instead of
2741 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2742 __fesetround and define as weak alias of __fesetround. Use
2744 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2746 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2747 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2748 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2749 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2750 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2751 __fesetround and define as weak alias of __fesetround. Use
2753 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2754 __fesetround instead of fesetround.
2755 (default_libc_feholdexcept_setround): Likewise.
2756 (libc_feholdsetround_ctx): Likewise.
2757 (libc_feholdsetround_noex_ctx): Likewise.
2760 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2761 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2762 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2763 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2764 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2765 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2766 define as weak alias of __fesetenv. Use libm_hidden_weak.
2767 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2768 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2769 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2770 define as weak alias of __fesetenv. Use libm_hidden_weak.
2771 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2772 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2773 define as weak alias of __fesetenv. Use libm_hidden_weak.
2774 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2776 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2777 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2779 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2780 define as weak alias of __fesetenv. Use libm_hidden_weak.
2781 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2782 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2783 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2784 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2785 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2786 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2787 __fesetenv instead of fesetenv.
2788 (libc_feresetround_noex_ctx): Likewise.
2789 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2790 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2791 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2792 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2793 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2794 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2795 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2796 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2797 (__feupdateenv): Likewise.
2798 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2799 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2800 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2801 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2803 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2806 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2807 addresses have been freed.
2809 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2811 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2814 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
2816 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2817 Clean up check_pf allocation pattern. addresses
2819 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2821 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2822 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2823 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2824 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2825 * nptl/pthread_join.c (pthread_join): Likewise.
2826 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2827 * sysdeps/posix/waitid.c (__waitid): Likewise.
2828 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2829 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2830 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2831 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2832 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2834 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2835 (__libc_pread64): Likewise.
2836 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2837 (__libc_pwrite): Likewise.
2838 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2839 (__libc_pwrite64): Likewsie.
2840 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2841 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2842 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2843 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2844 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2845 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2846 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2850 (__libc_pread64): Likewise.
2851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2854 (__libc_pwrite64): Likewise.
2855 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2856 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2857 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2858 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2859 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2860 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2861 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2862 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2863 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2864 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2865 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2866 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2867 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2868 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2869 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2870 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2873 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2875 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2876 (CFLAGS-test-double.c): Likewise.
2877 (CFLAGS-test-ldouble.c): Likewise.
2878 (CPPFLAGS-test-ifloat.c): Likewise.
2879 (CPPFLAGS-test-idouble.c): Likewise.
2880 (CPPFLAGS-test-ildoubl.c): Likewise.
2881 (CFLAGS-test-test-fenv.c): Remove variable.
2882 (CFLAGS-test-misc.c): Likewise.
2884 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2887 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2888 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2889 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2890 CLOCKS_PER_SEC == 1000000.
2891 * time/clocktest.c (main): Replace %ld with %jd and cast to
2894 2015-01-05 Roland McGrath <roland@hack.frob.com>
2896 * sysdeps/generic/unwind-resume.h: New file.
2897 * sysdeps/gnu/unwind-resume.c: Include it.
2898 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2899 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2901 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2902 global rather than static.
2903 (_Unwind_Resume): Update user.
2904 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2905 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2906 rather than static. Add __attribute__ ((cold)).
2907 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2908 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2909 * sysdeps/arm/arm-unwind-resume.S: New file.
2910 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2911 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2912 * sysdeps/arm/Makefile [$(subdir) = csu]
2913 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2914 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2915 Add rt-arm-unwind-resume.
2917 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2918 Add pt-arm-unwind-resume.
2919 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2920 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2922 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2925 * include/fenv.h (__feholdexcept): Declare. Use
2927 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2928 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2929 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2930 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2931 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2932 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2933 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2934 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2935 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2936 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2937 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2938 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2939 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2940 (feholdexcept): Likewise.
2941 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2942 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2943 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2944 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2945 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2946 __feholdexcept instead of feholdexcept.
2947 (default_libc_feholdexcept_setround): Likewise.
2949 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2951 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2952 to avoid using stl/str to align destination.
2954 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2956 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2958 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2961 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2962 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2963 Define as weak alias not strong alias.
2965 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2967 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2968 bltzal with addiupc.
2969 (RTLD_START): Ditto.
2971 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2973 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2974 for __vdso_* functions in declarations.
2975 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2977 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2978 INTERNAL_VSYSCALL): Use struct return types to check for error.
2980 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2981 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2982 function with cast from llround().
2983 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2984 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2987 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2990 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2991 Define as weak alias not strong alias.
2994 * ctype/ctype-c99.c: New file. isblank implementation moved from
2996 * ctype/ctype-extn.c: ... here.
2997 (__isblank_l): Move to ...
2998 * ctype/ctype-c99_l.c: ... here. New file.
2999 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3000 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3002 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3003 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3004 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3005 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3006 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3009 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3010 (posix_fadvise64): Define as weak alias not strong alias.
3011 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3012 (posix_fallocate64): Likewise.
3013 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3015 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3016 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3017 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3018 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3019 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3021 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3024 * NEWS: Mention bug fix.
3025 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3026 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3027 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3028 (HOST_STACK_END_ADDR): Likewise.
3030 2015-01-02 Joseph Myers <joseph@codesourcery.com>
3033 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3034 * math/fegetround.c (fegetround): Rename to __fegetround and
3035 define as weak alias of __fegetround. Use libm_hidden_weak.
3036 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3037 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3038 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3039 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3040 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3041 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3042 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3043 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3044 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3045 Undefine after rather than before function definition; use
3046 parentheses around function name in definition.
3047 (__fegetround): Also undefine macro after function definition.
3048 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3049 __fegetround and define as weak alias of __fegetround. Use
3050 libm_hidden_weak. Do not undefine as macro.
3051 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3053 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3054 __fegetround and define as weak alias of __fegetround. Use
3056 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3057 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3058 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3059 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3060 __fegetround and define as weak alias of __fegetround. Use
3062 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3063 __fegetround instead of fegetround.
3066 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3067 Condition macro definition on [__USE_MISC].
3070 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3071 (struct sigaction): Change type of sa_flags field to int.
3074 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3075 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3078 * nptl/version.c (banner): Use single year in copyright notice.
3080 * NEWS: Update copyright dates.
3081 * catgets/gencat.c (print_version): Likewise.
3082 * csu/version.c (banner): Likewise.
3083 * debug/catchsegv.sh: Likewise.
3084 * debug/pcprofiledump.c (print_version): Likewise.
3085 * debug/xtrace.sh (do_version): Likewise.
3086 * elf/ldconfig.c (print_version): Likewise.
3087 * elf/ldd.bash.in: Likewise.
3088 * elf/pldd.c (print_version): Likewise.
3089 * elf/sotruss.sh: Likewise.
3090 * elf/sprof.c (print_version): Likewise.
3091 * iconv/iconv_prog.c (print_version): Likewise.
3092 * iconv/iconvconfig.c (print_version): Likewise.
3093 * locale/programs/locale.c (print_version): Likewise.
3094 * locale/programs/localedef.c (print_version): Likewise.
3095 * login/programs/pt_chown.c (print_version): Likewise.
3096 * malloc/memusage.sh (do_version): Likewise.
3097 * malloc/memusagestat.c (print_version): Likewise.
3098 * malloc/mtrace.pl: Likewise.
3099 * manual/libc.texinfo: Likewise.
3100 * nptl/version.c (banner): Likewise.
3101 * nscd/nscd.c (print_version): Likewise.
3102 * nss/getent.c (print_version): Likewise.
3103 * nss/makedb.c (print_version): Likewise.
3104 * posix/getconf.c (main): Likewise.
3105 * scripts/test-installation.pl: Likewise.
3106 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3108 2015-01-02 Will Newton <will.newton@linaro.org>
3110 * sysdeps/arm/armv7/configure: Removed.
3111 * sysdeps/arm/armv7/configure.ac: Likewise.
3113 2015-01-02 Joseph Myers <joseph@codesourcery.com>
3115 * All files with FSF copyright notices: Update copyright dates
3116 using scripts/update-copyrights.
3117 * intl/plural.c: Regenerated.
3118 * locale/programs/charmap-kw.h: Likewise.
3119 * locale/programs/locfile-kw.h: Likewise.
3121 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3123 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3125 2014-12-31 Joseph Myers <joseph@codesourcery.com>
3128 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3129 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3130 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3131 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3132 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3133 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3134 define as weak alias of __fegetenv. Use libm_hidden_weak.
3135 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3136 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3137 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3138 define as weak alias of __fegetenv. Use libm_hidden_weak.
3139 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3140 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3141 define as weak alias of __fegetenv. Use libm_hidden_weak.
3142 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3144 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3145 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3147 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3148 define as weak alias of __fegetenv. Use libm_hidden_weak.
3149 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3150 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3151 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3152 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3153 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3154 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3155 __fegetenv instead of fegetenv.
3156 (libc_feholdsetround_noex_ctx): Likewise.
3158 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3160 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3161 (Elf_MIPS_ABIFlags_v0): New structure.
3162 (EF_MIPS_FP64): Define.
3163 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3164 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3165 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3166 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3167 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3168 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3169 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3170 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3171 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3172 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3173 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3174 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3175 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3176 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3177 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3178 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3179 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3180 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3181 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3182 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3183 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3184 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3186 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3188 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3189 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3190 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3191 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3192 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3193 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3194 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3195 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3196 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3197 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3198 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3199 record the current FP ABI extension.
3200 (mips-mode-switch): Define to show if kernel headers support mode
3202 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3203 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3204 supported SYSV ABI version to 3.
3205 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3208 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3209 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3211 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3213 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3215 2014-12-31 Joseph Myers <joseph@codesourcery.com>
3217 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3218 __fegetround and redefine to call __fegetround. Remove condition
3219 on [!__NO_MATH_INLINES].
3220 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3222 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3223 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3225 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3226 instead of <fenv_libc.h>.
3227 (__llrintl): Call fegetround instead of __fegetround.
3228 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3229 instead of <fenv_libc.h>.
3230 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3231 (__lrintl): Call fegetround instead of __fegetround.
3232 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3233 instead of <fenv_libc.h>.
3234 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3235 (__rintl): Call fegetround instead of __fegetround.
3237 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3239 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3242 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3245 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3246 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3247 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3249 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3251 * sysdeps/i386/tls-macros.h: Include <features.h>.
3252 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3256 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3257 define for GCC >= 5.0.
3259 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3261 * math/test-fenv.c (test_single_exception, set_single_exc,
3262 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3263 feexcp_mask_test, feenable_test, fe_single_test): Add
3264 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3265 case where they are not used.
3266 * math/libm-test.inc: Likewise.
3267 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3268 unused in the absence of FP rounding/exception support.
3269 * stdio-common/tst-printf-round.c: Likewise.
3270 * stdlib/tst-strtod-round.c: Likewise.
3271 * stdlib/tst-strtod-underflow.c: Likewise.
3273 2014-12-30 Joseph Myers <joseph@codesourcery.com>
3276 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3277 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3278 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3279 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3281 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3282 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3283 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3285 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3286 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3288 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3290 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3291 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3292 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3294 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3296 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3297 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3298 (__feraiseexcept): Likewise.
3299 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3300 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3302 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3303 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3305 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3306 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3307 Use libm_hidden_def.
3308 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3310 (feraiseexcept): Define as weak not strong alias. Use
3312 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3313 New inline function. Factored out of ...
3314 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3315 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3316 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3318 * math/w_acos.c (__acos): Likewise.
3319 * math/w_asin.c (__asin): Likewise.
3320 * math/w_ilogb.c (__ilogb): Likewise.
3321 * math/w_j0.c (y0): Likewise.
3322 * math/w_j1.c (y1): Likewise.
3323 * math/w_jn.c (yn): Likewise.
3324 * math/w_log.c (__log): Likewise.
3325 * math/w_log10.c (__log10): Likewise.
3326 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3327 * sysdeps/aarch64/fpu/math_private.h
3328 (libc_feupdateenv_test_aarch64): Likewise.
3329 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3330 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3331 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3332 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3333 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3334 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3335 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3336 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3337 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3338 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3340 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3343 * io/test-utime.c (main): Replace %ld with %jd and cast to
3345 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3346 * nptl/tst-mutex5.c: Include <stdint.h>.
3347 (do_test): Replace %ld with %jd and cast to intmax_t.
3348 * posix/tst-regex.c (run_test): Likewise.
3349 (run_test_backwards): Likewise.
3350 * rt/tst-clock.c: Include <stdint.h>.
3351 (clock_test): Replace %ld with %jd and cast to intmax_t.
3352 * rt/tst-cpuclock1.c: Include <stdint.h>.
3353 (do_test): Replace %lu with %ju and cast to uintmax_t.
3354 * rt/tst-cpuclock2.c: Include <stdint.h>.
3355 (do_test): Replace %lu with %ju and cast to uintmax_t.
3356 * rt/tst-mqueue1.c: Include <stdint.h>.
3357 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3358 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3360 * rt/tst-mqueue4.c (do_test): Likewise.
3361 * rt/tst-timer4.c: Include <stdint.h>.
3362 (check_ts): Replace %ld with %jd and cast to intmax_t.
3363 (do_test): Likewise.
3364 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3365 and cast to intmax_t.
3366 * sysdeps/pthread/tst-timer.c (main): Likewise.
3367 * time/clocktest.c (main): Likewise.
3368 * time/tst-posixtz.c (do_test): Likewise.
3369 * timezone/tst-timezone.c (main): Likewise.
3371 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3372 H.J. Lu <hongjiu.lu@intel.com>
3374 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3375 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3376 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3377 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3378 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3379 version if bit_Fast_Unaligned_Load is set.
3380 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3381 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3382 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3383 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3384 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3385 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3386 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3387 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3388 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3389 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3391 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3392 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3393 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3394 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3396 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3398 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3399 instead of #if to avoid a Wundef warning.
3400 * stdlib/tst-limits.c (do_test): Likewise.
3402 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3403 parallel other exception macros.
3404 (fegetenv): Convert from macro to extern inline so that it applies
3405 retroactively to inline functions already seen by the compiler.
3406 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3408 * posix/Makefile (before-compile): Use $(objpfx) for
3409 posix-conf-vars-def.h.
3411 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3413 * posix/getconf.c (main): Use size_t for type of I.
3414 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3417 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3418 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3419 * posix/posix-envs.def: Likewise.
3420 * sysdeps/posix/sysconf.c: Likewise.
3421 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3422 (specs): Remove array.
3423 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3426 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3427 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3428 (__sysconf): Use CONF_IS_* macros.
3430 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3431 ($(objpfx)posix-conf-vars-def.h): New target.
3432 * posix/posix-conf-vars.list: New file.
3433 * posix/posix-conf-vars.h: New file.
3434 * posix/confstr.c: Include posix-conf-vars.h.
3435 (confstr): Use CONF_IS_* macros.
3436 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3438 * scripts/gen-posix-conf-vars.awk: New file.
3440 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3442 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3443 fegetround): Add no-op macros to avoid linknamespace issues.
3445 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3446 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3448 * sysdeps/unix/sysv/linux/tile/sysdep.h
3449 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3450 assembly-specific section to avoid a redefinition warning.
3452 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3453 long before casting to pointer to avoid a cast warning.
3455 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3457 * sysdeps/tile/tilegx/Implies: New file.
3459 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
3461 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3463 2014-12-23 Florian Weimer <fweimer@redhat.com>
3465 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3467 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3469 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3471 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3472 <kernel-features.h>.
3473 (__utimes) [__NR_utimes]: Make code unconditional.
3474 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3475 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3476 (__ASSUME_UTIMES): Do not undefine.
3477 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3478 (__ASSUME_UTIMES): Likewise.
3479 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3480 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3481 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3482 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3484 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3486 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3488 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3491 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3492 alias to weak alias for j0l, y0l.
3493 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3494 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3497 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3500 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3502 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3503 to zero if not already defined.
3505 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3508 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3509 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3510 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3511 (char *) casts added.
3512 * sysdeps/ieee754/k_standardf.c: New file.
3513 * sysdeps/ieee754/k_standardl.c: Likewise.
3514 * math/Makefile (libm-support): Remove k_standard.
3515 (libm-calls): Add k_standard.
3517 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3519 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3520 Optimize to avoid an unnecessary FPCR read.
3522 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3524 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3525 Optimize to reduce FPCR/FPSR accesses.
3527 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3529 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3530 Call libc_fetestexcept_aarch64.
3532 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3534 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3535 Call libc_fesetround_aarch64.
3537 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3540 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3541 (__bind): Do not define as weak alias.
3542 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3544 (__getsockname): Do not define as weak alias.
3546 2014-12-22 Will Newton <will.newton@linaro.org>
3548 * manual/install.texi: Document that we require bison 2.7
3550 * INSTALL: Regenerate.
3551 * configure.ac: Use AC_CHECK_PROG_VER instead of
3552 AC_PATH_PROG when checking for bison and check for
3553 version 2.7 or above.
3554 * configure: Regenerate.
3556 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3559 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3560 * sysdeps/tile/ffsll.c (ffsll): To here.
3562 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3564 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3566 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3568 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3570 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3571 hidden ___tls_get_addr.
3572 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3573 hidden __tls_get_addr.
3574 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3575 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3578 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3580 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3583 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3585 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3586 from "call _dl_init@PLT".
3587 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3589 2014-12-21 Anders Kaseorg <andersk@mit.edu>
3591 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3594 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3596 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3598 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3601 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3604 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3606 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3608 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3609 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3610 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3611 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3612 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3614 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3616 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3617 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3618 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3619 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3620 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3622 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3624 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
3626 * string/strncat.c (STRNCAT): Simplify implementation.
3628 2014-12-19 David S. Miller <davem@davemloft.net>
3630 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3631 access the quad as both a long double and as a series of 4 words.
3633 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3634 link_map->l_info array access.
3636 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3638 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3640 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3641 * math/atest-exp2.c (TIMEOUT): Likewise.
3642 * math/atest-sincos.c (TIMEOUT): Likewise.
3644 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3646 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3647 -Wno-error with -fno-builtin-lround.
3649 2014-12-19 Torvald Riegel <triegel@redhat.com>
3651 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3652 Contains futex constants and functions moved over from ...
3653 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3654 <lowlevellock-futex.h>.
3655 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3656 (lll_timedwait_tid): Add comments and parentheses around macro
3659 2014-12-19 Torvald Riegel <triegel@redhat.com>
3661 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3662 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3663 (__lll_private_flag): Remove.
3664 (lll_futex_wait): Likewise.
3665 (lll_futex_timed_wait): Likewise.
3666 (lll_futex_wake): Likewise.
3667 (lll_futex_requeue): Likewise.
3668 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3669 (__lll_timedwait_tid): Spell out argument names.
3670 (lll_timedwait_tid): Add comments and parentheses around macro
3672 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3673 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3675 2014-12-19 Torvald Riegel <triegel@redhat.com>
3677 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3678 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3679 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3680 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3681 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3682 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3683 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3684 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3685 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3686 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3687 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3688 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3689 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3690 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3691 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3692 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3693 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3694 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3695 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3697 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3699 * sysdeps/x86_64/x32/Makefile: New file.
3701 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3703 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3704 1L with (mp_limb_t) 1.
3706 2014-12-17 Roland McGrath <roland@hack.frob.com>
3708 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3709 * nptl/libc_pthread_init.c: ... here.
3710 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3711 * nptl/register-atfork.c: ... here.
3713 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3714 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3715 Use assert_perror to check its return value.
3716 (__gai_create_helper_thread): Likewise.
3718 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3720 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3722 2014-12-17 Joseph Myers <joseph@codesourcery.com>
3725 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3727 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3729 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3731 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3733 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3734 (profil_counter): Likewise.
3735 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3736 (profil_counter): Likewise.
3737 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3739 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3741 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3742 (profil_counter): Likewise.
3743 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3745 [!__profil_counter] (profil_counter): Define as weak alias of
3747 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3748 (profil_counter): Rename to __profil_counter.
3749 [!__profil_counter] (profil_counter): Define as weak alias of
3751 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3752 (profil_counter): Rename to __profil_counter.
3753 [!__profil_counter] (profil_counter): Define as weak alias of
3755 * sysdeps/posix/profil.c: Update comment referring to
3757 (__profil): Use __profil_counter instead of profil_counter.
3758 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3759 __profil_counter. Use __profil_counter_ushort and
3760 __profil_counter_uint in definitions.
3761 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3762 instead of profil_counter_uint and profil_counter_ushort.
3765 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3766 define as weak alias of __inet_makeaddr.
3767 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3768 as weak alias of __inet_addr.
3769 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3770 as weak alias of __inet_pton. Use libc_hidden_weak.
3771 * include/arpa/inet.h (__inet_pton): Declare. Use
3773 (inet_makeaddr): Don't use libc_hidden_proto.
3774 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3775 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3776 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3777 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3779 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3780 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3782 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
3784 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3786 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3788 * stdio-common/bug-vfprintf-nargs.c (do_test):
3789 Cast value to intptr_t to avoid format warning
3790 for usage with PRIdPTR printing macro.
3792 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3794 * libio/tst-widetext.c (do_test):
3795 Use format type %td instead of %Zd for ptrdiff_t
3796 in order to avoid format warning.
3798 2014-12-17 Andreas Schwab <schwab@suse.de>
3800 * nscd/mem.c (gc): Add size_t cast to match printf format.
3802 2014-12-16 Roland McGrath <roland@hack.frob.com>
3804 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3805 (init): Apply PTR_MANGLE to pointers before storing them.
3806 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3809 2014-12-16 Joseph Myers <joseph@codesourcery.com>
3812 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3813 define as weak alias of __memrchr.
3814 (__memrchr): Do not define as strong alias of memrchr.
3815 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3817 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3818 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3819 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3822 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3823 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3824 (if_indextoname): Rename to __if_indextoname and define as weak
3825 alias of __if_indextoname. Use libc_hidden_weak.
3826 (if_freenameindex): Rename to __if_freenameindex and define as
3827 weak alias of __if_freenameindex.
3828 (if_nameindex): Rename to __if_nameindex and define as weak alias
3830 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3831 __if_nametoindex and define as weak alias of __if_nametoindex.
3832 Use libc_hidden_weak.
3833 (if_freenameindex): Rename to __if_freenameindex and define as
3834 weak alias of __if_freenameindex.
3835 (if_nameindex): Rename to __if_nameindex and define as weak alias
3837 (if_indextoname): Rename to __if_indextoname and define as weak
3838 alias of __if_indextoname. Use libc_hidden_weak.
3839 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3840 __if_nametoindex and define as weak alias of __if_nametoindex.
3841 Use libc_hidden_weak.
3842 (if_freenameindex): Rename to __if_freenameindex and define as
3843 weak alias of __if_freenameindex. Use libc_hidden_weak.
3844 (if_nameindex_netlink): Use __if_freenameindex instead of
3846 (if_nameindex): Rename to __if_nameindex and define as weak alias
3847 of __if_nameindex. Use libc_hidden_weak.
3848 (if_indextoname): Rename to __if_indextoname and define as weak
3849 alias of __if_indextoname. Use libc_hidden_weak.
3850 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3852 [!_ISOMAC] (__if_freenameindex): Likewise.
3853 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3855 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3857 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3858 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3859 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3860 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3861 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3862 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3863 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3865 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3867 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3868 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3870 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3872 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3873 subscript above bounds'
3875 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3878 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
3880 * libio/tst-fopenloc.c: Use test-skeleton.c.
3882 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3883 (entry): Rename to ITEM.
3884 (do_test, comp): Adjust.
3886 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3888 2014-12-16 Torvald Riegel <triegel@redhat.com>
3890 * string/tester.c: Include <libc-internal.h>.
3891 (test_memset): Ignore -Wmemset-transposed-args.
3893 2014-12-16 Torvald Riegel <triegel@redhat.com>
3895 * misc/tst-mntent2.c (do_test): Fix warning.
3897 2014-12-16 Torvald Riegel <triegel@redhat.com>
3899 * elf/tst-unique4lib.cc(a): Mark as used.
3901 2014-12-16 Florian Weimer <fweimer@redhat.com>
3904 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3907 2014-12-16 Allan McRae <allan@archlinux.org>
3909 * stdio-common/Makefile (tests): Re-add bug26.
3911 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
3914 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3917 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3919 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3920 (__lll_lock_wait): Likewise.
3921 (__lll_timedlock_wait): Likewise.
3922 (__lll_timedwait_tid): Likewise.
3923 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3924 (__lll_robust_timedlock_wait): Likewise.
3925 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3926 (lll_cond_trylock): Likewise.
3927 (__lll_lock): Likewise.
3928 (__lll_robust_lock): Likewise.
3929 (__lll_cond_lock): Likewise.
3930 (lll_robust_cond_lock): Likewise.
3931 (__lll_timedlock): Likewise.
3932 (__lll_robust_timedlock): Likewise.
3933 (__lll_unlock): Likewise.
3934 (__lll_robust_unlock): Likewise.
3935 (lll_wait_tid): Likewise.
3936 (lll_timedwait_tid): Likewise.
3938 2014-12-15 Torvald Riegel <triegel@redhat.com>
3940 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3942 2014-12-15 Torvald Riegel <triegel@redhat.com>
3944 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3946 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3948 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3949 * stdio-common/tst-sprintf.c: Likewise.
3951 2014-12-15 Torvald Riegel <triegel@redhat.com>
3953 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3955 2014-12-15 Jeff Law <law@redhat.com>
3958 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3959 on the heap. (CVE-2012-3406)
3960 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3961 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3962 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3964 2014-12-15 Will Newton <will.newton@linaro.org>
3966 * manual/install.texi: Bump required version of texinfo
3968 * INSTALL: Regenerated.
3969 * configure.ac: Check for makeinfo version 4.7 and above.
3970 * configure: Regenerated.
3972 2014-12-12 Roland McGrath <roland@hack.frob.com>
3974 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3975 PREFIX, string constant to insert between directory and name.
3976 * sysdeps/posix/shm_open.c: Update caller.
3977 * sysdeps/posix/shm_unlink.c: Likewise.
3978 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3979 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3980 (SEM_SHM_PREFIX): New macro.
3981 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3982 [$(have-thread-library) = no].
3983 * nptl/Makefile (libpthread-routines): Add shm-directory.
3984 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3985 * sysdeps/nptl/shm-directory.h: New file.
3986 * sysdeps/posix/shm-directory.c
3987 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3988 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3989 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3991 (__where_is_shmfs): Function removed.
3992 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3994 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3996 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3998 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3999 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4000 unconditional for use inside libpthread.
4001 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4003 2014-12-12 Roland McGrath <roland@hack.frob.com>
4005 * nptl/pthread_getaffinity.c: New file.
4006 * nptl/pthread_setaffinity.c: New file.
4007 * nptl/pthread_getname.c: New file.
4008 * nptl/pthread_setname.c: New file.
4010 * nptl/pthread_create.c (START_THREAD_DEFN)
4011 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4013 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4014 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4016 * resolv/res_send.c (send_vc): Disable warning resplen may
4017 be used uninitialized.
4019 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4022 (ATTR_NULL): New define checks ATTR against NULL.
4023 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4024 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4026 2014-12-11 James Lemke <jwlemke@codesourcery.com>
4030 (mem2mem_check): Revert my previous change.
4031 (malloc_check_get_size): Revert my previous change.
4032 (mem2chunk_check): Revert my previous change.
4034 2014-12-11 Roland McGrath <roland@hack.frob.com>
4036 * sysdeps/posix/shm-directory.c: New file.
4037 * sysdeps/posix/shm-directory.h: New file.
4038 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4039 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4040 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4041 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4042 Transmute EPERM to EACCES.
4043 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4045 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4046 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4048 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4050 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4051 pointer and cast to uintptr_t.
4052 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4053 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4054 Add cast to avoid warning.
4055 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4057 2014-12-11 Joseph Myers <joseph@codesourcery.com>
4059 * nptl/semaphore.h: Move to ...
4060 * sysdeps/pthread/semaphore.h: ... here.
4061 * Makefile (installed-headers): Change nptl/semaphore.h to
4062 sysdeps/pthread/semaphore.h.
4064 2014-12-11 Roland McGrath <roland@hack.frob.com>
4066 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4067 generated error format strings.
4069 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4070 -Wformat-extra-args warnings for scanf formats.
4071 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4072 test of zero-length format (duh).
4073 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4074 corner-case scanf format test.
4075 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4076 generated fprintf format string.
4077 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4078 corner-case sprintf format tests.
4079 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4080 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4081 -Wformat-extra-args warnings throughout.
4082 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4083 (CFLAGS-scanf4.c): Likewise.
4084 (CFLAGS-scanf7.c): Likewise.
4085 (CFLAGS-tst-sprintf.c): Likewise.
4086 (CFLAGS-tst-printf.c): Likewise.
4087 (CFLAGS-tst-printfsz.c): Likewise.
4089 2014-12-11 Joseph Myers <joseph@codesourcery.com>
4091 * include/cpio.h: New file.
4092 * include/fmtmsg.h: Likewise.
4094 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4095 corresponding format argument to size_t.
4096 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4098 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4099 corresponding format argument to size_t.
4100 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4102 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4103 corresponding format argument to size_t.
4104 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4105 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4106 (CFLAGS-tst-mbswcs2.c): Likewise.
4107 (CFLAGS-tst-mbswcs3.c): Likewise.
4108 (CFLAGS-tst-mbswcs4.c): Likewise.
4109 (CFLAGS-tst-mbswcs5.c): Likewise.
4110 (CFLAGS-tst-trans.c): Likewise
4112 2014-12-11 Roland McGrath <roland@hack.frob.com>
4114 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4115 rather than assuming they won't contain any '%'s.
4117 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4119 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4120 inhibit_loop_to_libcall to avoid recursive calls.
4121 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4122 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4124 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4126 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4129 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
4131 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4132 integer value instead of boolean.
4134 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
4136 * malloc/malloc.c: Fix powerof2 check.
4138 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4140 * locale/programs/locfile.h (maybe_swap_uint32):
4141 Remove inline and add unused attribute.
4143 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4145 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4146 Truncating assembler expression to a .long expression.
4148 2014-12-11 Andreas Schwab <schwab@suse.de>
4150 * elf/rtld.c (struct map_args): Constify str member.
4151 (do_preload): Constify fname argument.
4153 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4155 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4156 constants definition.
4158 2014-12-11 Andreas Schwab <schwab@suse.de>
4161 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4162 FORCE_ELISION instead of DO_ELISION.
4163 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4165 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4168 * iconvdata/gconv-modules: Remove duplicate entry.
4170 2014-12-11 Will Newton <will.newton@linaro.org>
4172 Merge gettext 0.19.3 into intl/.
4174 This involves a number of cosmetic changes to comments
4175 and ANSI function definitions and prototypes throughout
4176 all the files. The gettext copyright header is used but
4177 with the date ranges taken from the glibc copy.
4179 * NEWS: Add gettext merge to 2.21.
4180 * intl/bindtextdom.c: Switch to gettext copyright.
4181 Use ANSI definitions and prototypes.
4182 Use gl_* locking primitives rather than __libc_* ones.
4183 Use __builtin_expect rather than __glibc_likely/unlikely.
4184 * intl/dcgettext.c: Switch to gettext copyright.
4185 Use ANSI definitions and prototypes.
4186 * intl/dcigettext.c: Switch to gettext copyright.
4187 Use ANSI definitions and prototypes.
4188 (INTDIV0_RAISES_SIGFPE): New define.
4189 Use gl_* locking primitives rather than __libc_* ones.
4190 Include eval-plural.h instead of plural-eval.c.
4191 Use __builtin_expect rather than __glibc_likely/unlikely.
4192 * intl/dcngettext.c: Switch to gettext copyright.
4193 Use ANSI definitions and prototypes.
4194 * intl/dgettext.c: Likewise.
4195 * intl/dngettext.c: Likewise.
4196 * intl/plural-eval.c: Renamed to...
4197 * intl/eval-plural.h: ...this.
4198 * intl/explodename.c: Switch to gettext copyright.
4199 Use ANSI definitions and prototypes.
4200 (_nl_explode_name): Use strchr instead of __rawmemchr.
4201 * intl/finddomain.c: Switch to gettext copyright.
4202 Use ANSI definitions and prototypes.
4203 Use gl_* locking primitives rather than __libc_* ones.
4204 (_nl_find_domain): Use malloc rather than alloca for
4205 allocation of temporary locale name.
4206 * intl/gettext.c: Switch to gettext copyright.
4207 Use ANSI definitions and prototypes.
4208 * intl/gettextP.h: Switch to gettext copyright.
4209 Use ANSI definitions and prototypes.
4210 Use gl_* locking primitives rather than __libc_* ones.
4211 * intl/gmo.h: Switch to gettext copyright.
4212 (struct sysdep_string): Move struct segment_pair outside of
4214 * intl/hash-string.c: Use ANSI definitions and prototypes.
4215 * intl/hash-string.h: Switch to gettext copyright.
4216 Use ANSI definitions and prototypes.
4217 * intl/l10nflist.c: Switch to gettext copyright.
4218 Use ANSI definitions and prototypes.
4219 (_nl_normalize_codeset): Avoid integer overflow.
4220 * intl/loadinfo.h: Switch to gettext copyright.
4221 Use ANSI definitions and prototypes.
4222 (LIBINTL_DLL_EXPORTED): New define.
4223 (PATH_SEPARATOR): New define.
4224 * intl/loadmsgcat.c: Switch to gettext copyright.
4225 * intl/localealias.c: Switch to gettext copyright.
4226 Use ANSI definitions and prototypes.
4227 (_nl_expand_alias): Use PATH_SEPARATOR.
4228 * intl/ngettext.c: Switch to gettext copyright.
4229 Use ANSI definitions and prototypes.
4230 * intl/plural-exp.c: Likewise.
4231 * intl/plural-exp.h: Switch to gettext copyright.
4232 Use ANSI definitions and prototypes.
4233 (struct expression): Move definition of enum operator outside
4234 of struct definition.
4235 * intl/plural.c: Regenerate.
4236 * intl/plural.y: Switch to gettext copyright.
4237 Use ANSI definitions and prototypes.
4239 * intl/textdomain.c: Switch to gettext copyright.
4240 Use ANSI definitions and prototypes.
4241 Use gl_* locking primitives rather than __libc_* ones.
4243 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
4245 * debug/warning-nop.c: Add used atrribute.
4247 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4249 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4251 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4252 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4253 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4255 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4256 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4259 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4260 Undefine after defining function. Define as weak alias of
4261 __wcschr. Use libc_hidden_weak.
4262 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4263 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4264 (libc_hidden_def): Also define __GI___wcschr alias.
4265 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4266 __wcschr and define as weak alias of __wcschr.
4267 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4269 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4270 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4271 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4272 libc_hidden_weak. Do not use libc_hidden_def.
4273 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4274 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4275 __GI___wcschr alias.
4276 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4277 [IS_IN (libc)] (wcschr): Define as macro expanding to
4279 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4280 [IS_IN (libc)] (__wcschr_power6): Likewise.
4281 [IS_IN (libc)] (__wcschr_power7): Likewise.
4282 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4284 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4286 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4287 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4288 __wcschr and define as weak alias of __wcschr. Use
4289 libc_hidden_builtin_def.
4290 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4291 as weak alias of __wcschr. Use libc_hidden_weak.
4292 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4294 * time/era.c (_nl_init_era_entries): Likewise.
4295 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4297 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4298 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4300 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4302 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4303 format for long int variable.
4305 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4308 * manual/search.texi: (Array Sort Function): Remove claim how to make
4311 2014-12-10 Andreas Schwab <schwab@suse.de>
4314 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4315 user-controlled locks.
4317 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
4319 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4322 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4324 * configure.ac (--disable-werror): New configure option.
4325 (enable_werror): New AC_SUBST.
4326 * configure: Regenerated.
4327 * config.make.in (enable-werror): New variable.
4328 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4330 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4331 * manual/install.texi (Configuring and compiling): Document
4333 * INSTALL: Regenerated.
4334 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4335 (CFLAGS-tst-chk2.c): Likewise.
4336 (CFLAGS-tst-chk3.c): Likewise.
4337 (CFLAGS-tst-chk4.cc): Likewise.
4338 (CFLAGS-tst-chk5.cc): Likewise.
4339 (CFLAGS-tst-chk6.cc): Likewise.
4340 (CFLAGS-tst-lfschk1.c): Likewise.
4341 (CFLAGS-tst-lfschk2.c): Likewise.
4342 (CFLAGS-tst-lfschk3.c): Likewise.
4343 (CFLAGS-tst-lfschk4.cc): Likewise.
4344 (CFLAGS-tst-lfschk5.cc): Likewise.
4345 (CFLAGS-tst-lfschk6.cc): Likewise.
4347 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4348 (main): Disable -Wdeprecated-declarations around calls to
4349 register_printf_function.
4351 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4352 (do_test): Disable -Wdiv-by-zero around some calls to
4353 fwrite_unlocked and fread_unlocked.
4355 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4356 (DIAG_POP_NEEDS_COMMENT): Likewise.
4357 (_DIAG_STR1): Likewise.
4358 (_DIAG_STR): Likewise.
4359 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4360 * stdio-common/bug21.c: Include <libc-internal.h>.
4361 (do_test): Disable -Wformat around call to sscanf.
4362 * stdio-common/scanf14.c: Include <libc-internal.h>.
4363 (main): Disable -Wformat around some calls to scanf functions.
4365 2014-12-09 Torvald Riegel <triegel@redhat.com>
4367 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4369 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4371 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4372 stack variable alignment.
4374 2014-12-06 Joseph Myers <joseph@codesourcery.com>
4377 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4378 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4379 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4380 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4381 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4382 __getrlimit instead of getrlimit.
4383 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4384 __gettimeofday instead of gettimeofday.
4385 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4387 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4389 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4390 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4392 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4393 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4395 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4397 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4398 for wide-character tests.
4400 2014-12-04 Roland McGrath <roland@hack.frob.com>
4402 * io/openat64.c: #include <libc-internal.h>
4403 (__openat64): Prototypify. Use ignore_value on MODE.
4404 * io/openat.c: Likewise.
4405 * misc/reboot.c: #include <libc-internal.h>
4406 (reboot): Prototypify. Use ignore_value on HOWTO.
4407 * misc/ptrace.c: #include <libc-internal.h>
4408 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4410 2014-12-04 Joseph Myers <joseph@codesourcery.com>
4412 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4413 XPG4, UNIX98 and XOPEN2K.
4414 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4416 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4418 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4420 * libio/fileops.c: Use ISO C style for function definitions.
4421 * libio/iofopen.c: Likewise.
4422 * libio/wfileops.c: Likewise.
4425 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4427 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4428 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4429 (fgets_func): Function pointer to fgets and fgetws.
4430 (do_ftell_test): Add test to verify ftell value after read
4432 (do_test): Set fgets_func.
4434 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4435 O_TRUNC flag for w and w+ modes.
4436 (do_rewind_test): Likewise.
4437 (do_ftell_test): Likewise.
4438 (do_write_test): Likewise.
4441 * libio/fileops.c (do_ftell): Seek only when there are
4443 * libio/wfileops.c (do_ftell_wide): Likewise.
4444 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4446 (do_one_test): Call it.
4448 2014-12-03 Joseph Myers <joseph@codesourcery.com>
4450 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4451 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4452 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4454 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4455 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4456 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4458 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4460 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4462 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4465 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4466 as weak alias of __getifaddrs. Use libc_hidden_weak.
4467 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4468 __freeifaddrs. Use libc_hidden_weak.
4469 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4470 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4471 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4472 __freeifaddrs. Use libc_hidden_weak.
4473 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4474 __getifaddrs and define as weak alias of __getifaddrs. Use
4476 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4477 __freeifaddrs. Use libc_hidden_weak.
4478 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4480 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4481 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4483 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4486 * sysdeps/mips/start.S (__start): Use indirect jump to call
4489 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4491 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4493 * nptl/tst-mutex1.c: Include <stdbool.h>.
4494 [!ATTR] (ATTR_NULL): New macro.
4495 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4496 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4497 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4499 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4503 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4504 Change conditional to [__USE_MISC].
4507 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4509 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4511 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4513 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4515 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4516 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4517 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4518 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4519 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4520 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4521 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4522 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4523 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4525 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4527 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4529 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4530 Remove strpbrk objects.
4531 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4532 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4533 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4534 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4535 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4536 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4538 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4539 Remove strcspn objects.
4540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4541 (__libc_ifunc_impl_list): Remove strcspn implementation.
4542 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4543 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4544 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4545 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4547 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4548 Remove strspn objetcs.
4549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4550 (__libc_ifunc_impl_list): Remove strspn implementation.
4551 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4552 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4553 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4554 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4556 2014-12-01 James Lemke <jwlemke@codesourcery.com>
4560 (mem2mem_check): Add a terminator to the chain of checking blocks.
4561 (malloc_check_get_size): Use it here.
4562 (mem2chunk_check): Ditto.
4564 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4566 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4567 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4569 2014-11-29 Carlos O'Donell <carlos@redhat.com>
4571 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4573 * nptl/nptl-init.c: Include libc-internal.h.
4574 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4576 * elf/ldconfig.c (search_dir): Expand comment.
4578 2014-11-29 Joseph Myers <joseph@codesourcery.com>
4580 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4582 (linknamespace-symlist-stdlibs-tests): Likewise.
4583 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4584 instead of $(objpfx)symlist-stdlibs.
4585 (linknamespace-libs-isoc): New variable.
4586 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4587 (linknamespace-libs-ISO): New variable.
4588 (linknamespace-libs-ISO99): Likewise.
4589 (linknamespace-libs-ISO11): Likewise.
4590 (linknamespace-libs-XPG3): Likewise.
4591 (linknamespace-libs-XPG4): Likewise.
4592 (linknamespace-libs-POSIX): Likewise.
4593 (linknamespace-libs-UNIX98): Likewise.
4594 (linknamespace-libs-XOPEN2K): Likewise.
4595 (linknamespace-libs-POSIX2008): Likewise.
4596 (linknamespace-libs-XOPEN2K8): Likewise.
4597 ($(objpfx)symlist-stdlibs): Replace by
4598 $(linknamespace-symlist-stdlibs-tests). Use
4599 $(linknamespace-libs-$*) as set of libraries.
4600 ($(linknamespace-header-tests)): Update dependencies. Use
4601 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4602 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4603 * conform/linknamespace.pl: Remove comment about considering
4604 definitions of symbols from irrelevant libraries.
4606 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4609 * elf/dl-tls.c: Include <atomic.h>.
4610 (oom): Remove #ifdef SHARED/#endif.
4611 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4612 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4613 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4615 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4616 * nptl/Makefile (tests): Add tst-stack4.
4617 (modules-names): Add tst-stack4mod.
4618 ($(objpfx)tst-stack4): New.
4619 (tst-stack4mod.sos): Likewise.
4620 ($(objpfx)tst-stack4.out): Likewise.
4621 ($(tst-stack4mod.sos)): Likewise.
4623 * nptl/tst-stack4.c: New file.
4624 * nptl/tst-stack4mod.c: Likewise.
4626 2014-11-27 J. Brown <jb999@gmx.de>
4628 * sysdeps/x86/bits/string.h: Add recent CPUs.
4630 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4632 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4635 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4638 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4641 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4643 * nscd/connections.c: Include libc-internal.h because of macro
4646 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4648 * string/bits/string3.h (__warn_memset_zero_len): Don't
4649 declare for gcc newer than 5.0.
4650 (memset): Don't test for zero-length __LEN for gcc newer than
4653 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4655 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4656 size_t for %zu format.
4658 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4659 difference, not %ju.
4661 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4663 * include/libc-internal.h (ignore_value): New macro.
4664 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4667 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4670 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4671 pthread_cleanup_push to void *.
4673 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4678 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4679 instead of 1L << 52.
4681 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4682 * libio/bug-rewind2.c (do_test): Likewise.
4684 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4685 * debug/test-strcpy_chk-ifunc.c: Likewise.
4686 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4687 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4688 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4689 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4690 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4691 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4692 * Rules [$(multi-arch) = no] (tests): Do not filter out
4694 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4695 * debug/Makefile (tests-ifunc): Remove variable.
4696 (tests): Do not add $(tests-ifunc).
4697 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4698 (tests): Do not add $(tests-ifunc).
4699 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4700 [TEST_IFUNC]: Remove conditionals.
4701 * string/test-string.h (TEST_IFUNC): Remove macro.
4702 [TEST_IFUNC]: Remove conditionals.
4704 * string/test-strchr.c [!WIDE] (L): New macro.
4705 [WIDE] (L): Likewise.
4706 (check1): Use CHAR instead of char. Use L on string and character
4709 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4711 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4713 * sysdeps/powerpc/bits/atomic.h
4714 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4715 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4716 (atomic_exchange_and_add_acq): Likewise.
4717 (atomic_exchange_and_add_rel): Likewise.
4718 * sysdeps/powerpc/powerpc32/bits/atomic.h
4719 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4720 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4721 * sysdeps/powerpc/powerpc64/bits/atomic.h
4722 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4723 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4725 2014-11-26 Torvald Riegel <triegel@redhat.com>
4727 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4728 Change synchronization of __sched_fifo_min_prio and
4729 __sched_fifo_max_prio.
4730 * nptl/pthread_mutexattr_getprioceiling.c
4731 (pthread_mutexattr_getprioceiling): Likewise.
4732 * nptl/pthread_mutexattr_setprioceiling.c
4733 (pthread_mutexattr_setprioceiling): Likewise.
4734 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4735 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4738 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4740 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4743 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4745 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4746 third argument const.
4748 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4750 fnmatch: work around GCC compiler warning bug with uninit var
4751 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4752 This works around a bug with x86-64 GCC 4.9.2 and earlier
4753 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4754 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4755 used uninitialized in this function [-Wmaybe-uninitialized]".
4757 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4759 * posix/bug-regex31.c (main): Return RES not 0.
4761 2014-11-25 Anton Blanchard <anton@samba.org>
4763 * sysdeps/powerpc/bits/atomic.h
4764 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4766 2014-11-24 Sterling Augustine <saugustine@google.com>
4768 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4770 2014-11-24 Ryan Cumming <etaoins@gmail.com>
4773 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4775 2014-11-24 Joseph Myers <joseph@codesourcery.com>
4778 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4779 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4781 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4782 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4784 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4786 * string/strncpy.c (strncpy): Improve performance by using memset.
4788 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4790 * string/strcpy.c (strcpy):
4791 Improve performance by using strlen and memcpy.
4793 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
4795 * string/strcoll_l.c (get_next_seq): __always_inline.
4796 * string/strcoll_l.c (do_compare): __always_inline.
4798 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4800 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4802 * include/mqueue.h: Likewise.
4803 * include/stdlib.h: Likewise.
4805 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4806 (get_null_defines): Adjust.
4807 * sunrpc/Makefile: Adjust comment.
4808 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4809 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4810 (CFLAGS-interp.c): Likewise.
4811 (CFLAGS-ldconfig.c): Likewise.
4812 (CPPFLAGS-.os): Likewise.
4813 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4814 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4815 * extra-modules.mk (extra-modules.mk): Likewise.
4816 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4817 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4818 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4819 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4820 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4821 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4822 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4823 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4824 * iconvdata/Makefile (CPPFLAGS): Likewise.
4825 (cpp-srcs-left): Add libof for all iconvdata routines.
4826 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4827 * include/assert.h: Likewise.
4828 * include/ctype.h: Likewise.
4829 * include/errno.h: Likewise.
4830 * include/libc-symbols.h: Likewise.
4831 * include/math.h: Likewise.
4832 * include/netdb.h: Likewise.
4833 * include/resolv.h: Likewise.
4834 * include/stdio.h: Likewise.
4835 * include/stdlib.h: Likewise.
4836 * include/string.h: Likewise.
4837 * include/sys/stat.h: Likewise.
4838 * include/wctype.h: Likewise.
4839 * intl/l10nflist.c: Likewise.
4840 * libidn/idn-stub.c: Likewise.
4841 * libio/libioP.h: Likewise.
4842 * nptl/libc_multiple_threads.c: Likewise.
4843 * nptl/pthreadP.h: Likewise.
4844 * posix/regex_internal.h: Likewise.
4845 * resolv/res_hconf.c: Likewise.
4846 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4847 * sysdeps/arm/memmove.S: Likewise.
4848 * sysdeps/arm/sysdep.h: Likewise.
4849 * sysdeps/generic/_itoa.h: Likewise.
4850 * sysdeps/generic/symbol-hacks.h: Likewise.
4851 * sysdeps/gnu/errlist.awk: Likewise.
4852 * sysdeps/gnu/errlist.c: Likewise.
4853 * sysdeps/i386/i586/memcpy.S: Likewise.
4854 * sysdeps/i386/i586/memset.S: Likewise.
4855 * sysdeps/i386/i686/memcpy.S: Likewise.
4856 * sysdeps/i386/i686/memmove.S: Likewise.
4857 * sysdeps/i386/i686/mempcpy.S: Likewise.
4858 * sysdeps/i386/i686/memset.S: Likewise.
4859 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4860 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4861 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4862 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4863 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4864 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4865 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4866 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4867 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4868 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4869 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4870 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4871 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4872 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4873 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4874 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4875 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4876 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4877 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4878 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4879 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4880 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4881 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4882 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4883 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4884 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4885 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4886 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4887 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4888 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4889 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4890 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4891 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4892 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4893 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4894 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4895 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4896 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4897 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4898 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4899 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4900 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4901 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4902 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4903 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4904 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4905 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4906 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4907 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4908 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4909 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4910 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4911 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4912 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4913 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4914 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4915 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4916 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4917 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4918 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4919 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4920 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4921 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4922 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4923 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4924 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4925 * sysdeps/posix/closedir.c: Likewise.
4926 * sysdeps/posix/opendir.c: Likewise.
4927 * sysdeps/posix/readdir.c: Likewise.
4928 * sysdeps/posix/rewinddir.c: Likewise.
4929 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4930 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4931 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4932 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4933 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4934 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4935 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4936 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4937 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4938 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4939 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4940 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4941 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4942 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4943 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4944 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4945 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4946 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4947 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4948 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4949 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4950 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4951 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4952 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4953 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4954 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4955 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4956 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4957 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4958 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4959 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4960 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4961 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4962 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4963 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4964 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4965 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4966 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4967 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4968 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4969 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4970 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4971 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4972 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4973 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4974 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4975 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4976 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4977 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4978 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4979 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4980 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4981 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4982 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4983 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4984 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4985 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4986 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4987 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4988 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4989 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4990 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4991 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4992 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4993 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4994 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4995 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4996 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4997 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4998 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4999 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5000 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5001 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5002 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5003 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5004 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5005 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5006 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5007 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5008 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5009 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5010 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5011 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5012 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5013 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5014 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5015 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5016 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5017 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5018 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5019 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5020 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5021 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5022 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5023 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5024 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5025 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5026 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5027 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5028 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5029 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5030 * sysdeps/unix/alpha/sysdep.S: Likewise.
5031 * sysdeps/unix/alpha/sysdep.h: Likewise.
5032 * sysdeps/unix/make-syscalls.sh: Likewise.
5033 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5034 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5035 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5036 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5037 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5038 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5039 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5040 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5041 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5042 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5043 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5044 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5045 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5046 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5047 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5048 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5049 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5050 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5051 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5052 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5053 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5054 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5055 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5056 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5057 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5058 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5059 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5062 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5063 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5064 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5065 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5066 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5067 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5068 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5069 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5070 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5071 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5072 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5073 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5074 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5075 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5076 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5077 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5078 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5079 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5080 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5081 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5082 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5083 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5084 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5085 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5086 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5087 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5088 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5089 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5090 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5091 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5092 * sysdeps/x86_64/memcpy.S: Likewise.
5093 * sysdeps/x86_64/memmove.c: Likewise.
5094 * sysdeps/x86_64/memset.S: Likewise.
5095 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5096 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5097 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5098 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5099 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5100 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5101 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5102 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5103 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5104 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5105 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5106 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5107 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5108 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5109 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5110 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5111 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5112 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5113 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5114 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5115 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5116 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5117 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5118 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5119 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5120 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5121 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5122 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5123 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5124 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5125 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5126 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5127 * sysdeps/x86_64/strcmp.S: Likewise.
5129 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5131 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5132 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5133 * elf/rtld-Rules: Likewise.
5134 * elf/setup-vdso.h: Likewise.
5135 * include/assert.h: Likewise.
5136 * include/bits/stdlib-float.h: Likewise.
5137 * include/errno.h: Likewise.
5138 * include/sys/stat.h: Likewise.
5139 * include/unistd.h: Likewise.
5140 * sysdeps/aarch64/setjmp.S: Likewise.
5141 * sysdeps/alpha/setjmp.S: Likewise.
5142 * sysdeps/arm/__longjmp.S: Likewise.
5143 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5144 * sysdeps/arm/setjmp.S: Likewise.
5145 * sysdeps/arm/sysdep.h: Likewise.
5146 * sysdeps/generic/_itoa.h: Likewise.
5147 * sysdeps/generic/dl-sysdep.h: Likewise.
5148 * sysdeps/generic/ldsodefs.h: Likewise.
5149 * sysdeps/i386/dl-tls.h: Likewise.
5150 * sysdeps/i386/setjmp.S: Likewise.
5151 * sysdeps/m68k/setjmp.c: Likewise.
5152 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5153 * sysdeps/mach/hurd/opendir.c: Likewise.
5154 * sysdeps/posix/getcwd.c: Likewise.
5155 * sysdeps/posix/opendir.c: Likewise.
5156 * sysdeps/posix/profil.c: Likewise.
5157 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5158 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5159 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5160 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5161 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5162 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5163 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5164 * sysdeps/s390/dl-tls.h: Likewise.
5165 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5166 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5167 * sysdeps/sh/sh3/setjmp.S: Likewise.
5168 * sysdeps/sh/sh4/setjmp.S: Likewise.
5169 * sysdeps/unix/alpha/sysdep.h: Likewise.
5170 * sysdeps/unix/arm/sysdep.S: Likewise.
5171 * sysdeps/unix/i386/sysdep.S: Likewise.
5172 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5173 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5174 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5175 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5176 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5177 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5178 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5179 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5180 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5181 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5182 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5183 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5184 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5187 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5188 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5189 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5190 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5191 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5192 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5193 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5194 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5195 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5196 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5197 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5198 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5199 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5200 * sysdeps/x86_64/setjmp.S: Likewise.
5202 * include/math.h: Use IS_IN instead of IS_IN_libm.
5203 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5204 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5205 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5206 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5207 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5208 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5209 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5210 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5211 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5212 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5213 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5215 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5216 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5217 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5219 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5221 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5222 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5223 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5224 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5225 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5226 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5227 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5228 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5229 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5230 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5231 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5232 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5233 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5234 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5235 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5246 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5247 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5248 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5249 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5250 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5251 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5257 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5258 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5259 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5260 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5261 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5262 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5263 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5264 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5265 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5266 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5267 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5268 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5269 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5270 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5272 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5274 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5275 * nptl/pthreadP.h: Likewise.
5276 * nptl_db/structs.def: Likewise.
5277 * sysdeps/arm/sysdep.h: Likewise.
5278 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5279 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5280 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5281 * sysdeps/unix/alpha/sysdep.h: Likewise.
5282 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5283 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5284 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5285 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5286 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5287 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5288 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5289 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5290 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5291 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5292 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5293 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5294 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5295 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5298 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5299 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5300 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5301 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5303 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5304 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5305 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5306 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5307 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5309 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5310 * nptl/pthreadP.h: Likewise.
5311 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5312 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5313 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5314 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5315 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5316 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5317 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5318 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5319 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5320 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5321 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5322 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5327 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5328 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5329 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5330 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5332 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5333 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5334 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5336 * dlfcn/dladdr.c: Use IS_IN.
5337 * dlfcn/dladdr1.c: Likewise.
5338 * dlfcn/dlclose.c: Likewise.
5339 * dlfcn/dlerror.c: Likewise.
5340 * dlfcn/dlinfo.c: Likewise.
5341 * dlfcn/dlmopen.c: Likewise.
5342 * dlfcn/dlopen.c: Likewise.
5343 * dlfcn/dlsym.c: Likewise.
5344 * dlfcn/dlvsym.c: Likewise.
5346 * include/ifaddrs.h: Use IS_IN.
5347 * inet/check_pf.c: Likewise.
5348 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5349 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5351 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5353 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5354 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5356 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5357 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5360 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5362 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5363 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5364 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5365 * include/libc-symbols.h (IS_IN_LIB): New macro.
5366 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5367 * include/netdb.h: Likewise.
5368 * include/stap-probe.h: Remove all uses of IN_LIB.
5370 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5371 instead of IN_MODULE.
5372 * include/libc-symbols.h (IN_MODULE): Define using
5374 (PASTE_NAME, PASTE_NAME1): New macros.
5375 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5377 (STAP_PROBE_ASM): Likewise.
5379 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5381 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5382 __mach_init in dlopened libc.
5384 2014-11-22 Mike Frysinger <vapier@gentoo.org>
5386 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5387 * sysdeps/arm/preconfigure: Regenerate.
5389 2014-11-21 Roland McGrath <roland@hack.frob.com>
5391 * nptl/pthread_create.c (__pthread_create_2_1): Set
5392 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5393 when copying values from IATTR into PD.
5395 2014-11-21 Will Newton <will.newton@linaro.org>
5396 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5398 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5399 Refactor inline-asm. Also add comment.
5401 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5402 ElfW macro instead of hardcoded Elf64 types.
5403 (la_aarch64_gnu_pltenter): Likewise.
5404 * sysdeps/aarch64/dl-machine.h
5405 (elf_machine_runtime_setup): Use ElfW(Addr).
5407 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5408 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5409 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5410 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5411 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5412 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5413 (R_AARCH64_TLS_DTPMOD): This.
5414 (R_AARCH64_TLS_DTPREL64): Rename to ...
5415 (R_AARCH64_TLS_DTPREL): This.
5416 (R_AARCH64_TLS_TPREL64): Rename to ...
5417 (R_AARCH64_TLS_TPREL): This.
5418 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5419 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5420 R_AARCH64_TLS_TPREL64.
5421 (elf_machine_rela): Likewise.
5423 2014-11-21 Torvald Riegel <triegel@redhat.com>
5425 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5426 by setting it to 0. 64b atomics are not supported currently.
5428 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5431 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5432 search domain names.
5434 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5438 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5440 * posix/tst-getaddrinfo5.c: New.
5441 * posix/Makefile (tests): Add it.
5443 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5447 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5448 after parsing line but before break_if_match.
5449 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5450 if there is a protocol mismatch.
5452 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5454 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5455 because the potential race is on the user-supplied stream.
5457 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5459 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5460 string literal if not passed a buffer.
5461 * manual/job.texi (ctermid): Update reasoning, note deviation
5462 from posix, suggest mtasurace when not passed a buffer, for
5463 future non-preliminary safety notes.
5465 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5467 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5468 of not passing it a buffer.
5469 Reported by Peng Haitao.
5471 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5473 * manual/Makefile ($(objpfx)stamp-summary): Require
5474 check-safety.sh to pass.
5475 * manual/check-safety.sh: Wish for verification that every
5476 @deftypefn and @deftypefun is followed by a @safety remark.
5478 2014-11-20 Roland McGrath <roland@hack.frob.com>
5480 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5482 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5483 PTHREAD_CANCEL_ASYNCHRONOUS.
5484 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5487 * nptl/default-sched.h: New file.
5488 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5489 * nptl/pthread_create.c: Include it.
5490 (__pthread_create_2_1): Use collect_default_sched instead of making
5491 Linux syscalls here directly.
5493 2014-11-20 Torvald Riegel <triegel@redhat.com>
5495 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5496 __pthread_once): Use C11 atomics.
5498 2014-11-20 Torvald Riegel <triegel@redhat.com>
5500 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5502 2014-11-20 Torvald Riegel <triegel@redhat.com>
5504 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5505 atomic_thread_fence_acquire, atomic_thread_fence_release,
5506 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5507 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5508 atomic_compare_exchange_weak_relaxed,
5509 atomic_compare_exchange_weak_acquire,
5510 atomic_compare_exchange_weak_release,
5511 atomic_exchange_acquire, atomic_exchange_release,
5512 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5513 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5514 atomic_fetch_and_acquire,
5515 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5517 2014-11-20 Torvald Riegel <triegel@redhat.com>
5519 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5520 USE_ATOMIC_COMPILER_BUILTINS): Define.
5521 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5522 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5523 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5524 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5525 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5526 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5527 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5528 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5529 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5530 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5531 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5532 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5533 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5534 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5535 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5536 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5537 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5538 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5539 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5540 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5541 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5542 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5543 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5544 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5545 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5546 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5547 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5548 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5549 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5550 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5551 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5552 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5553 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5554 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5555 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5556 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5557 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5558 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5559 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5560 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5562 2014-11-19 Roland McGrath <roland@hack.frob.com>
5564 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5565 the sched_priority value here. It was already checked when the user
5566 called pthread_attr_setschedparam.
5568 * nptl/tst-bad-schedattr.c: New file.
5569 * nptl/Makefile (tests): Add it.
5571 2014-11-19 Carlos O'Donell <carlos@redhat.com>
5572 Florian Weimer <fweimer@redhat.com>
5573 Joseph Myers <joseph@codesourcery.com>
5574 Adam Conrad <adconrad@0c3.net>
5575 Andreas Schwab <schwab@suse.de>
5576 Brooks <bmoses@google.com>
5579 * wordexp-test.c (__dso_handle): Add prototype.
5580 (__register_atfork): Likewise.
5581 (__app_register_atfork): New function.
5582 (registered_forks): New global.
5583 (register_fork): New function.
5584 (test_case): Add 3 new tests for WRDE_CMDSUB.
5585 (main): Call __app_register_atfork.
5586 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5587 fork count is non-zero fail the test.
5588 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5590 (parse_dollars): Remove check for WRDE_NOCMD.
5591 (parse_dquote): Likewise.
5593 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5595 * Makeconfig (built-modules): List non-library modules to be
5597 (module-cppflags): Include libc-modules.h for
5598 everything except shlib-versions.v.i.
5600 (before-compile): Add libc-modules.h.
5601 ($(common-objpfx)libc-modules.h,
5602 $(common-objpfx)libc-modules.stmp): New targets.
5603 (common-generated): Add libc-modules.h and libc-modules.stmp.
5604 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5605 * include/libc-symbols.h: Don't include libc-modules.h.
5606 * include/libc-modules.h: Remove file.
5607 * scripts/gen-libc-modules.awk: New script to generate
5609 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5610 Depend on libc-modules.stmp.
5612 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5614 * Makeconfig (in-module): Get value of libof set for the
5616 (CPPFLAGS): Use $(in-module).
5617 * Makerules: Don't suffix routine names for nonlib.
5618 * include/libc-modules.h: New file.
5619 * include/libc-symbols.h: Include libc-modules.h
5620 (IS_IN): New macro to replace IS_IN_* macros.
5621 * elf/Makefile: Set libof-* for each routine.
5622 * elf/rtld-Rules: Likewise.
5623 * extra-modules.mk: Likewise.
5624 * iconv/Makefile: Likewise.
5625 * iconvdata/Makefile: Likewise.
5626 * locale/Makefile: Likewise.
5627 * malloc/Makefile: Likewise.
5628 * nss/Makefile: Likewise.
5629 * sysdeps/gnu/Makefile: Likewise.
5630 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5631 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5632 * sysdeps/s390/s390-64/Makefile: Likewise.
5633 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5634 CPPFLAGS for nscd instead of nonlib.
5636 2014-11-18 Roland McGrath <roland@hack.frob.com>
5638 * nptl/createthread.c: New file.
5640 * nptl/createthread.c: Moved ...
5641 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5643 * nptl/createthread.c: Add proper top-line comment.
5644 (do_clone): Folded into ...
5645 (create_thread): ... here. Take new arguments STOPPED_START and
5646 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5647 increment __nptl_threads, do event-reporting logic, do
5648 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5649 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5650 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5651 just send SIGCANCEL.
5652 * nptl/pthread_create.c: Forward-declare create_thread before
5653 including createthread.c.
5654 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5655 declaration, and new macro START_THREAD_SELF to replace argument.
5656 Remove return statement.
5657 (report_thread_creation): New function.
5658 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5659 synchronization logic, and __nptl_nthreads increment here, around
5660 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5661 PD->parent_cancelhandling here, before create_thread. When
5662 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5663 __deallocate_stack, and ENOMEM translation here.
5665 2014-11-18 Joseph Myers <joseph@codesourcery.com>
5668 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5669 (mptwo): Rename to __mptwo.
5670 (__inv): Use __mptwo instead of mptwo.
5671 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5672 (mptwo): Rename to __mptwo.
5673 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5674 of mpone and __mptwo instead of mptwo.
5675 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5677 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5678 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5679 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5680 of mpone and __mptwo instead of mptwo.
5681 (__mpranred): Use __mpone instead of mpone.
5682 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5684 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5685 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5686 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5687 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5688 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5689 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5690 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5691 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5692 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5693 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5694 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5695 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5696 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5697 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5698 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5699 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5700 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5701 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5702 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5704 2014-11-18 Tom de Vries <tom@codesoucery.com>
5706 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5707 replace BSD Handler xref with BSD Signal Handling.
5709 2014-11-17 Richard Henderson <rth@redhat.com>
5711 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5712 (_FP_PACK_RAW_2): Remove.
5713 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5714 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5715 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5716 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5717 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5718 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5719 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5720 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5721 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5722 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5723 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5724 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5725 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5726 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5727 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5728 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5730 2014-11-14 Roland McGrath <roland@hack.frob.com>
5732 * signal/signal.h [__USE_MISC]
5733 (struct sigvec): Remove type.
5734 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5735 (sigvec): Remove declaration.
5736 * sysdeps/posix/sigvec.c: Moved ...
5737 * signal/sigvec.c: ... here, replacing old file.
5738 (struct sigvec): New type, copied from old signal.h definition.
5739 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5740 (__sigvec): Convert definition to prototype.
5741 (sigvec): Replace weak_alias with compat_symbol.
5742 * signal/Versions (libc: GLIBC_2.21): New version set.
5743 * include/signal.h: Remove __sigvec declaration.
5744 * sysdeps/unix/bsd/sigvec.c: Remove file.
5745 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5746 * manual/signal.texi (BSD Handler): Remove subsection.
5747 Move siginterrupt up to ...
5748 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5749 (Blocking in BSD): Fold subsection into its parent.
5750 * NEWS: Mention sigvec removal.
5752 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5754 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5755 (DLA_FMS): Make definition conditional only on [__FMA4__].
5756 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5759 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5760 Make definition conditional only on [PROF].
5761 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5763 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5764 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5766 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5768 * include/signal.h (__sigpause): Move declaration above call to
5770 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5772 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5773 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5775 2014-11-14 David S. Miller <davem@davemloft.net>
5777 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5778 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5780 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5782 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5783 * configure: Regenerated.
5784 * manual/install.texi (Tools for Compilation): Document a
5785 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5786 compiler verified to work.
5787 * INSTALL: Regenerated.
5789 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5790 redeclare with asm name.
5791 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5792 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5793 including <string.h>.
5794 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5795 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5796 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5797 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5798 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5799 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5800 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5802 2014-11-13 Joseph Myers <joseph@codesourcery.com>
5804 * stdlib/strtol.c (__strtol): Use prototype definition.
5807 * stdlib/strtol.c (SYM__): New macro.
5809 (__strtol): Likewise.
5810 (strtol): Rename to __strtol and define as weak alias of
5811 __strtol. Use libc_hidden_weak.
5813 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5815 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5816 Use numbered labels in inline assembly.
5818 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5820 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5821 Add setjmp LIBC_PROBE.
5822 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5824 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5825 Add longjmp, longjmp_target LIBC_PROBE.
5826 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5829 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5831 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5832 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5833 to get rid of unused variable warning.
5835 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5837 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5838 Check for unwind_backtrace == NULL only in SHARED case.
5839 (__backchain_backtrace): Compile only in SHARED case.
5840 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5842 (__backchain_backtrace): Declare as static.
5844 2014-11-12 Roland McGrath <roland@hack.frob.com>
5846 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5847 (__libc_multiple_threads_ptr): Variable moved ...
5848 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5850 2014-11-12 Joseph Myers <joseph@codesourcery.com>
5852 * conform/GlibcConform.pm: New file.
5853 * conform/conformtest.pl: Use GlibcConform module.
5854 * conform/linknamespace.pl: New file.
5855 * conform/list-header-symbols.pl: Likewise.
5856 * conform/Makefile (linknamespace-symlists-base): New variable.
5857 (linknamespace-symlists-tests): Likewise.
5858 (linknamespace-header-base): Likewise.
5859 (linknamespace-header-tests): Likewise.
5860 (tests-special): Add new tests.
5861 ($(linknamespace-symlists-tests)): New rule.
5862 (linknamespace-libs): New variable.
5863 ($(objpfx)symlist-stdlibs): New rule.
5864 ($(linknamespace-header-tests)): Likewise.
5865 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5866 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5867 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5868 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5869 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5870 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5871 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5872 (test-xfail-ISO/math.h/linknamespace): Likewise.
5873 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5874 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5875 (test-xfail-ISO/time.h/linknamespace): Likewise.
5876 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5877 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5878 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5879 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5880 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5881 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5882 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5883 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5884 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5885 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5886 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5887 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5888 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5889 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5890 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5891 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5892 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5893 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5894 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5895 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5896 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5897 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5898 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5899 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5900 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5901 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5902 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5903 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5904 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5905 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5906 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5907 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5908 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5909 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5910 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5911 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5912 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5913 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5914 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5915 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5916 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5917 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5918 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5919 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5920 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5921 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5922 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5923 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5924 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5925 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5926 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5927 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5928 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5929 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5930 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5931 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5932 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5933 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5934 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5935 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5936 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5937 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5938 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5939 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5940 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5941 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5942 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5943 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5944 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5945 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5946 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5947 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5948 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5949 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5950 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5951 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5952 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5953 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5954 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5955 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5956 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5957 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5958 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5959 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5960 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5961 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5962 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5963 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5964 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5965 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5966 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5967 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5968 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5969 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5970 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5971 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5972 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5973 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5974 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5975 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5976 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5977 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5978 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5979 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5980 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5981 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5982 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5983 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5984 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5985 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5986 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5987 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5988 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5989 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5990 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5991 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5992 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5993 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5994 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5995 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5996 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5997 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5998 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5999 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6000 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6001 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6002 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6003 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6004 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6005 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6006 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6007 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6008 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6009 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6010 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6011 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6012 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6013 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6014 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6015 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6016 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6017 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6018 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6019 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6020 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6021 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6022 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6023 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6024 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6025 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6028 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6032 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6033 (memmem): Rename to __memmem and define as weak alias of
6034 __memmem. Use libc_hidden_weak.
6035 (__memmem): Use libc_hidden_def.
6036 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6037 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6041 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6042 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6043 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6044 and define as weak alias of __fgets_unlocked. Use
6046 (__fgets_unlocked): Use libc_hidden_def.
6047 * include/stdio.h (__fgets_unlocked): Declare. Use
6049 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6050 __fgets_unlocked instead of fgets_unlocked.
6051 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6052 (GET_NPROCS_CONF_PARSER): Likewise.
6053 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6054 (GET_NPROCS_CONF_PARSER): Likewise.
6057 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6058 weak alias of __wmemset. Use libc_hidden_weak.
6059 (__wmemset): Use libc_hidden_def.
6060 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6061 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6065 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6066 with asm name __mempcpy.
6067 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6070 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6071 and define as weak alias of __rawmemchr.
6072 (__rawmemchr): Do not define as strong alias of rawmemchr.
6075 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6077 (qsort): Call __qsort_r instead of qsort_r.
6078 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6079 (__qsort_r): Declare. Call libc_hidden_proto.
6080 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6082 * nscd/gai.c (__qsort_r): Define to qsort_r.
6083 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6084 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6085 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6088 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6089 define as weak alias of __malloc_info.
6092 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6093 as weak alias of __rewinddir. Don't use libc_hidden_def.
6094 (__rewinddir): Use libc_hidden_def.
6095 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6096 as weak alias of __rewinddir. Don't use libc_hidden_def.
6097 (__rewinddir): Use libc_hidden_def.
6098 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6099 weak alias of __rewinddir. Don't use libc_hidden_def.
6100 (__rewinddir): Use libc_hidden_def.
6101 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6102 (__rewinddir): Use libc_hidden_proto.
6103 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6105 (__getcwd): Use __rewinddir instead of rewinddir.
6108 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6109 alias of __fileno. Use libc_hidden_weak.
6110 (__fileno): Use libc_hidden_def.
6111 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6112 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6114 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6116 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6117 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6119 (fread_unlocked): Don't use libc_hidden_ver.
6120 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6121 and define as weak alias of __fread_unlocked. Don't use
6123 (__fread_unlocked): Use libc_hidden_def.
6124 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6125 (ftello): Don't use libc_hidden_proto.
6126 (__ftello): Declare. Use libc_hidden_proto.
6127 (fread_unlocked): Don't use libc_hidden_proto.
6128 (__fread_unlocked): Declare. Use libc_hidden_proto.
6129 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6130 and __ftello instead of fileno, fread_unlocked and ftello.
6132 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6134 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6136 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6138 (_dl_start_user): Likewise.
6139 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6141 2014-11-12 Carlos O'Donell <carlos@redhat.com>
6142 Siddhesh Poyarekar <siddhesh@redhat.com>
6144 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6145 Move argv and envp down instead of moving argc up.
6146 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6148 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
6151 * test-skeleton.c (main): Return successful if one of
6152 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6153 * string/tst-strcoll-overflow.c: Define expected status.
6155 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6158 * locale/iso-639.def: Define Bhili and Tulu language codes.
6160 2014-11-11 Alan Hayward <alan.hayward@arm.com>
6162 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6164 2014-11-10 Renlin Li <Renlin.Li@arm.com>
6167 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6169 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6171 * configure.ac: Updated check of minimal required version to
6173 * manual/install.texi (Tools for Compilation): Updated version
6175 * configure: Regenerated.
6176 * INSTALL: Likewise.
6178 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6180 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6183 2014-11-07 Joseph Myers <joseph@codesourcery.com>
6185 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6186 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6187 (__waitpid): Don't define as alias. Use libc_hidden_def not
6189 (waitpid): Define as alias of __waitpid.
6190 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6192 (__waitpid): Don't define as alias. Use libc_hidden_def not
6194 (waitpid): Define as alias of __waitpid.
6195 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6196 __libc_waitpid alias.
6197 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6198 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6200 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6201 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6202 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6204 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6206 (__waitpid): Don't define as alias. Use libc_hidden_def not
6208 (waitpid): Define as alias of __waitpid.
6210 2014-11-06 Carlos O'Donell <carlos@redhat.com>
6212 * manual/llio.texi: Add comment that write safety has been
6215 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6216 (localplt-build-dso): Add elf/ld.so.
6217 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6218 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6221 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6226 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6227 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6228 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6229 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6230 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6231 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6232 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6233 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6234 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6235 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6236 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6238 2014-11-05 Joseph Myers <joseph@codesourcery.com>
6241 * include/libc-symbols.h (INTUSE): Remove macro.
6243 (INTVARDEF): Likewise.
6244 (_INTVARDEF): Likewise.
6245 (INTDEF2): Likewise.
6246 (INTVARDEF2): Likewise.
6247 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6248 rtld_hidden_def instead of INTVARDEF.
6249 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6250 (_dl_starting_up_internal): Remove declaration.
6251 (_dl_starting_up): Use rtld_hidden_proto.
6252 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6254 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6255 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6257 * elf/dl-writev.h (_dl_writev): Likewise.
6258 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6259 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6260 _dl_starting_up_internal.
6262 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6264 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6267 2014-11-05 Will Newton <will.newton@linaro.org>
6269 * benchtests/Makefile: (bench-malloc): Add malloc thread
6270 scalability benchmark.
6271 * benchtests/bench-malloc-threads.c: New file.
6273 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
6275 * sysdeps/aarch64/strchrnul.S: New file.
6277 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6279 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6281 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6283 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6285 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6287 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6289 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6292 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
6294 * catgets/test-gencat.c: Use test-skeleton.c.
6295 * catgets/tst-catgets.c: Likewise.
6296 * csu/tst-empty.c: Likewise.
6297 * elf/tst-audit2.c: Likewise.
6298 * elf/tst-global1.c: Likewise.
6299 * elf/tst-pathopt.c: Likewise.
6300 * elf/tst-piemod1.c: Likewise.
6301 * elf/tst-tls10.c: Likewise.
6302 * elf/tst-tls11.c: Likewise.
6303 * elf/tst-tls12.c: Likewise.
6304 * gnulib/tst-gcc.c: Likewise.
6305 * iconvdata/tst-e2big.c: Likewise.
6306 * iconvdata/tst-loading.c: Likewise.
6307 * iconv/tst-iconv1.c: Likewise.
6308 * iconv/tst-iconv2.c: Likewise.
6309 * inet/test-inet6_opt.c: Likewise.
6310 * inet/tst-gethnm.c: Likewise.
6311 * inet/tst-network.c: Likewise.
6312 * inet/tst-ntoa.c: Likewise.
6313 * intl/tst-codeset.c: Likewise.
6314 * intl/tst-gettext2.c: Likewise.
6315 * intl/tst-gettext3.c: Likewise.
6316 * intl/tst-ngettext.c: Likewise.
6317 * intl/tst-translit.c: Likewise.
6318 * io/test-stat.c: Likewise.
6319 * libio/test-fmemopen.c: Likewise.
6320 * libio/tst-freopen.c: Likewise.
6321 * libio/tst-sscanf.c: Likewise.
6322 * libio/tst-ungetwc1.c: Likewise.
6323 * libio/tst-ungetwc2.c: Likewise.
6324 * libio/tst-widetext.c: Likewise.
6325 * localedata/tst-ctype.c: Likewise.
6326 * localedata/tst-digits.c: Likewise.
6327 * localedata/tst-leaks.c: Likewise.
6328 * localedata/tst-mbswcs1.c: Likewise.
6329 * localedata/tst-mbswcs2.c: Likewise.
6330 * localedata/tst-mbswcs3.c: Likewise.
6331 * localedata/tst-mbswcs4.c: Likewise.
6332 * localedata/tst-mbswcs5.c: Likewise.
6333 * localedata/tst-setlocale.c: Likewise.
6334 * localedata/tst-trans.c: Likewise.
6335 * localedata/tst-wctype.c: Likewise.
6336 * localedata/tst-xlocale1.c: Likewise.
6337 * login/tst-grantpt.c: Likewise.
6338 * malloc/tst-calloc.c: Likewise.
6339 * malloc/tst-malloc.c: Likewise.
6340 * malloc/tst-mallocstate.c: Likewise.
6341 * malloc/tst-mcheck.c: Likewise.
6342 * malloc/tst-mtrace.c: Likewise.
6343 * malloc/tst-obstack.c: Likewise.
6344 * math/atest-exp2.c: Likewise.
6345 * math/atest-exp.c: Likewise.
6346 * math/atest-sincos.c: Likewise.
6347 * math/test-matherr.c: Likewise.
6348 * math/test-misc.c: Likewise.
6349 * math/test-powl.c: Likewise.
6350 * math/tst-definitions.c: Likewise.
6351 * misc/tst-dirname.c: Likewise.
6352 * misc/tst-efgcvt.c: Likewise.
6353 * misc/tst-fdset.c: Likewise.
6354 * misc/tst-hsearch.c: Likewise.
6355 * misc/tst-mntent2.c: Likewise.
6356 * nptl/tst-sem7.c: Likewise.
6357 * nptl/tst-sem8.c: Likewise.
6358 * nptl/tst-sem9.c: Likewise.
6359 * nss/test-netdb.c: Likewise.
6360 * posix/tst-fnmatch.c: Likewise.
6361 * posix/tst-getlogin.c: Likewise.
6362 * posix/tst-gnuglob.c: Likewise.
6363 * posix/tst-mmap.c: Likewise.
6364 * pwd/tst-getpw.c: Likewise.
6365 * resolv/tst-inet_ntop.c: Likewise.
6366 * rt/tst-timer.c: Likewise.
6367 * stdio-common/test-fseek.c: Likewise.
6368 * stdio-common/test-popen.c: Likewise.
6369 * stdio-common/test-vfprintf.c: Likewise.
6370 * stdio-common/tst-cookie.c: Likewise.
6371 * stdio-common/tst-fileno.c: Likewise.
6372 * stdio-common/tst-gets.c: Likewise.
6373 * stdio-common/tst-obprintf.c: Likewise.
6374 * stdio-common/tst-perror.c: Likewise.
6375 * stdio-common/tst-sprintf2.c: Likewise.
6376 * stdio-common/tst-sprintf3.c: Likewise.
6377 * stdio-common/tst-sprintf.c: Likewise.
6378 * stdio-common/tst-swprintf.c: Likewise.
6379 * stdio-common/tst-tmpnam.c: Likewise.
6380 * stdio-common/tst-unbputc.c: Likewise.
6381 * stdio-common/tst-wc-printf.c: Likewise.
6382 * stdlib/tst-environ.c: Likewise.
6383 * stdlib/tst-fmtmsg.c: Likewise.
6384 * stdlib/tst-limits.c: Likewise.
6385 * stdlib/tst-rand48-2.c: Likewise.
6386 * stdlib/tst-rand48.c: Likewise.
6387 * stdlib/tst-random2.c: Likewise.
6388 * stdlib/tst-random.c: Likewise.
6389 * stdlib/tst-strtol.c: Likewise.
6390 * stdlib/tst-strtoll.c: Likewise.
6391 * stdlib/tst-tls-atexit.c: Likewise.
6392 * stdlib/tst-xpg-basename.c: Likewise.
6393 * string/test-ffs.c: Likewise.
6394 * string/tst-bswap.c: Likewise.
6395 * string/tst-inlcall.c: Likewise.
6396 * string/tst-strtok.c: Likewise.
6397 * string/tst-strxfrm.c: Likewise.
6398 * sysdeps/x86_64/tst-audit10.c: Likewise.
6399 * sysdeps/x86_64/tst-audit3.c: Likewise.
6400 * sysdeps/x86_64/tst-audit4.c: Likewise.
6401 * sysdeps/x86_64/tst-audit5.c: Likewise.
6402 * time/tst-ftime_l.c: Likewise.
6403 * time/tst-getdate.c: Likewise.
6404 * time/tst-mktime3.c: Likewise.
6405 * time/tst-mktime.c: Likewise.
6406 * time/tst-posixtz.c: Likewise.
6407 * time/tst-strptime2.c: Likewise.
6408 * time/tst-strptime3.c: Likewise.
6409 * wcsmbs/tst-btowc.c: Likewise.
6410 * wcsmbs/tst-mbrtowc.c: Likewise.
6411 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6412 * wcsmbs/tst-wchar-h.c: Likewise.
6413 * wcsmbs/tst-wcpncpy.c: Likewise.
6414 * wcsmbs/tst-wcrtomb.c: Likewise.
6415 * wcsmbs/tst-wcsnlen.c: Likewise.
6416 * wcsmbs/tst-wcstof.c: Likewise.
6418 2014-11-04 Joseph Myers <joseph@codesourcery.com>
6421 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6423 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6425 (_dl_mcount): Use rtld_hidden_proto.
6426 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6428 * elf/rtld.c (_rtld_global_ro): Likewise.
6431 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6432 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6433 of _dl_init_internal.
6434 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6435 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6436 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6437 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6438 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6439 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6440 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6441 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6442 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6443 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6444 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6445 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6446 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6447 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6448 * sysdeps/tile/dl-start.S (_start): Likewise.
6449 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6450 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6453 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6454 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6455 (rtld_progname): Make macro definition unconditional.
6456 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6458 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6459 (dl_main): Likewise.
6460 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6461 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6462 instead of _dl_argv_internal.
6463 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6464 __GI__dl_argv instead of INTUSE(_dl_argv).
6465 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6466 __GI__dl_argv instead of _dl_argv_internal.
6468 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6469 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6471 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6472 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6474 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6475 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6477 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6478 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6480 2014-11-04 Andreas Schwab <schwab@suse.de>
6482 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6484 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6486 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6487 mtvsrd instruction in binary form.
6489 2014-11-03 Andreas Schwab <schwab@suse.de>
6492 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6493 for less than MB_LEN_MAX use a local buffer of that size.
6494 * libio/tst-fputws.c: New file.
6495 * libio/Makefile (tests): Add tst-fputws.
6497 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6499 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6500 the size of the fpu_fr.fpu_dregs[] array.
6502 2014-11-01 Joseph Myers <joseph@codesourcery.com>
6504 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6505 (__nanosleep): Do not define as alias.
6506 (nanosleep): Define as alias of __nanosleep.
6507 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6508 __libc_nanosleep name.
6510 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6512 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6513 install.texi in comment.
6515 2014-10-31 Torvald Riegel <triegel@redhat.com>
6517 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6518 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6519 ... add here and use lwsync or sync ...
6520 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6521 ... and add here using lwsync.
6523 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6525 * elf/dl-machine-reject-phdr.h: New file.
6526 * elf/dl-load.c: #include that.
6527 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6528 if that returned true.
6530 2014-10-31 Roland McGrath <roland@hack.frob.com>
6533 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6534 gen-as-const-headers chunk. Add a big scare comment after the last
6535 safe place to touch before-compile.
6537 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6539 * manual/install.texi (Tools for Compilation): Update autoconf
6540 version requirements.
6541 * INSTALL: Regenerated.
6543 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6544 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6545 (__libc_pselect): Likewise.
6548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6553 2014-10-31 Torvald Riegel <triegel@redhat.com>
6555 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6556 correct barrier instruction.
6557 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6559 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6562 2014-10-30 Roland McGrath <roland@hack.frob.com>
6564 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6565 after defining inlines. Instead, just use parens to defeat macro
6566 expansion of __isctype in its declaration.
6568 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6570 * include/sys/uio.h (__libc_readv): Remove declaration.
6571 (__libc_writev): Likewise.
6572 * misc/readv.c (__libc_readv): Rename to __readv.
6573 (__readv): Do not define as alias.
6574 (readv): Define as alias of __readv.
6575 * misc/writev.c (__libc_writev): Rename to __writev.
6576 (__writev): Do not define as alias.
6577 (writev): Define as alias of __writev.
6578 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6579 (__readv): Do not define as alias.
6580 (readv): Define unconditionally as alias of __readv.
6581 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6582 (__writev): Do not define as alias.
6583 (writev): Define unconditionally as alias of __writev.
6584 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6586 (writev): Do not define __libc_writev name.
6588 2014-10-30 Roland McGrath <roland@hack.frob.com>
6590 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6591 (convert_charseq): New function, broken out of ...
6592 (use_from_charmap): ... here. Call it.
6593 (use_to_charmap): Use convert_charseq and free instead of duplicating
6594 its code with a variable-length stack struct.
6596 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6598 * include/fcntl.h (__libc_creat): Remove declaration.
6599 * io/creat.c (__libc_creat): Rename to creat.
6600 (creat): Do not define as alias.
6601 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6602 of creat instead of __libc_creat.
6603 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6605 (creat): Do not define as alias.
6606 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6608 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6610 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6613 2014-10-29 Carlos O'Donell <carlos@redhat.com>
6615 * manual/llio.texi: Add comments discussing why write() may be
6616 considered MT-unsafe on Linux.
6618 2014-10-28 Carlos O'Donell <carlos@redhat.com>
6620 * dl-load.c (local_strdup): Remove.
6621 (expand_dynamic_string_token): Use __strdup.
6622 (decompose_rpath): Likewise.
6623 (_dl_map_object): Likewise.
6625 2014-10-28 Joseph Myers <joseph@codesourcery.com>
6628 * sysdeps/generic/unwind-dw2-fde.c
6629 (__register_frame_info_bases_internal): Do not declare.
6630 (__register_frame_info_table_bases_internal): Likewise.
6631 (__deregister_frame_info_bases_internal): Likewise.
6632 (__register_frame_info_bases): Declare and use hidden_proto before
6633 definition. Use hidden_def instead of INTDEF.
6634 (__register_frame_info_table_bases): Likewise.
6635 (__deregister_frame_info_bases): Likewise.
6636 (__register_frame_info): Do not use INTUSE.
6637 (__register_frame): Likewise.
6638 (__register_frame_info_table): Likewise.
6639 (__register_frame_table): Likewise.
6640 (__deregister_frame_info): Likewise.
6641 (__deregister_frame): Likewise.
6643 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6645 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6646 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6648 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6650 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6653 2014-10-27 Joseph Myers <joseph@codesourcery.com>
6656 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6657 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6658 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6659 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6660 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6661 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6662 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6663 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6664 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6665 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6666 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6667 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6668 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6670 (setfsuid): Likewise.
6671 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6672 (setfsuid): Likewise.
6673 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6674 (setfsuid): Likewise.
6675 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6677 (setfsuid): Likewise.
6678 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6679 (setfsuid): Likewise.
6680 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6682 (setfsuid): Likewise.
6684 2014-10-27 Andreas Schwab <schwab@suse.de>
6687 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6688 check for Slow_SSE4_2 feature bit.
6689 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6690 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6691 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6692 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6694 2014-10-24 Roland McGrath <roland@hack.frob.com>
6696 * configure.ac: Validate compiler version with a empirical test of
6697 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6699 * configure: Regenerated.
6701 * inet/htons.c (htons): Prototypify.
6702 * inet/htonl.c (htonl): Likewise.
6704 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6706 * string/strncat.c (strncat): Improve performance by using strlen.
6708 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6710 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6712 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6714 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6715 Call libc_fetestexcept_aarch64.
6717 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6719 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6720 Call libc_feholdexcept_aarch64.
6722 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6724 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6725 Call get_rounding_mode.
6727 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6729 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6732 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6734 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6737 2014-10-24 Joseph Myers <joseph@codesourcery.com>
6740 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6741 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6742 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6743 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6744 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6745 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6746 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6747 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6748 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6749 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6750 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6751 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6752 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6753 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6754 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6755 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6756 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6757 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6758 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6759 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6760 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6761 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6762 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6763 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6764 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6765 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6766 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6767 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6768 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6769 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6770 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6771 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6772 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6773 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6774 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6775 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6776 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6777 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6778 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6779 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6780 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6782 (geteuid): Likewise.
6785 (getresgid): Likewise.
6786 (getresuid): Likewise.
6787 (getgroups): Likewise.
6788 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6789 (geteuid): Likewise.
6792 (getresgid): Likewise.
6793 (getresuid): Likewise.
6794 (getgroups): Likewise.
6795 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6796 (geteuid): Likewise.
6799 (getresgid): Likewise.
6800 (getresuid): Likewise.
6801 (getgroups): Likewise.
6802 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6804 (geteuid): Likewise.
6807 (getresgid): Likewise.
6808 (getresuid): Likewise.
6809 (getgroups): Likewise.
6810 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6811 (geteuid): Likewise.
6814 (getresgid): Likewise.
6815 (getresuid): Likewise.
6816 (getgroups): Likewise.
6817 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6819 (geteuid): Likewise.
6822 (getgroups): Likewise.
6825 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6826 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6827 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6828 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6829 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6830 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6831 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6832 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6833 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6834 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6835 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6836 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6837 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6839 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6842 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6846 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6849 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6854 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6856 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6859 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6861 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6864 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6866 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6867 Remove unused include.
6869 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6871 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6872 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6873 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6874 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6876 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6877 Helge Deller <deller@gmx.de>
6880 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6881 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6882 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6884 2014-10-23 Joseph Myers <joseph@codesourcery.com>
6887 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6888 Remove macro definition.
6889 (__ashrdi3_v_glibc20): Likewise.
6890 (__lshrdi3_v_glibc20): Likewise.
6891 (__cmpdi2_v_glibc20): Likewise.
6892 (__ucmpdi2_v_glibc20): Likewise.
6893 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6894 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6895 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6896 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6897 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6898 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6900 2014-10-22 Roland McGrath <roland@hack.frob.com>
6902 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6903 old GNU extension [0] syntax.
6904 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6905 alloca rather than an array member with variable length.
6906 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6907 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6908 (parse_opt): ... here. Likewise use alloca there.
6909 Validate the -i argument before checking for rootness.
6910 (send_shutdown): New function, broken out of ...
6911 (parse_opt): ... here.
6913 2014-10-22 Roland McGrath <roland@hack.frob.com>
6915 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6916 macro to get at the _rt_local_ro field.
6917 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6918 ([PIC] case) or _dl_hwcap ([!PIC] case).
6919 * sysdeps/arm/setjmp.S: Likewise.
6921 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6922 * sysdeps/arm/configure.ac: New check to define it.
6923 * sysdeps/arm/configure: Regenerated.
6924 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6925 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6926 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6927 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6928 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6929 Use move/movt pair instead of a load.
6930 (LDST_GLOBAL): Macro removed.
6931 (LDR_GLOBAL): New macro replaces it.
6932 (LDR_HIDDEN): New macro.
6933 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6934 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6936 * setjmp/tst-setjmp-static.c: New file.
6937 * setjmp/Makefile (tests): Add it.
6938 (tests-static): New variable.
6940 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6943 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6945 2014-10-21 Joseph Myers <joseph@codesourcery.com>
6948 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6950 2014-10-21 Roland McGrath <roland@hack.frob.com>
6952 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6954 2014-10-20 Roland McGrath <roland@hack.frob.com>
6956 * io/fts.c (dirent_not_directory): New function.
6957 (fts_build): Call it.
6959 2014-10-20 Roland McGrath <roland@hack.frob.com>
6961 * nptl/version.c (__nptl_main): Use normal __write rather than
6963 (banner): Update copyright years.
6965 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6967 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6968 * nptl/pthread_cond_timedwait.c: Likewise.
6969 * nptl/pthread_mutex_timedlock.c: Likewise.
6970 * nptl/sem_timedwait.c: Likewise.
6972 * sysdeps/nptl/bits/libc-lock.h
6973 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6974 (__libc_lock_init_recursive): Return void, not 0.
6975 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6976 (__libc_rwlock_init): Likewise.
6977 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6979 2014-10-20 Torvald Riegel <triegel@redhat.com>
6982 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6983 (__pthread_once_slow): ... here.
6984 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6985 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6987 2014-10-20 Torvald Riegel <triegel@redhat.com>
6990 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6991 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6992 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6993 * nptl/pthread_once.c (__pthread_once): Likewise.
6996 2014-10-20 Joseph Myers <joseph@codesourcery.com>
6999 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7001 (writev): Use __libc_writev as strong name.
7002 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7003 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7005 2014-10-17 Roland McGrath <roland@hack.frob.com>
7007 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7009 * sysdeps/i386/nptl/tls.h
7010 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7011 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7013 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7014 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7015 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7016 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7017 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7018 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7020 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7021 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7023 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7025 (__pthread_mutex_init): ... here. Call it.
7026 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7027 Conditionalize PI cases on [__NR_futex].
7028 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7029 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7030 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7032 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7033 conditional on [SIGSETXID].
7034 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7035 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7036 is defined. Likewise for SIGSETXID.
7037 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7038 Conditionalize definitions on [SIGSETXID].
7039 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7040 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7041 unblocking on [SIGCANCEL].
7043 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7044 [__NR_set_robust_list].
7046 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7048 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7049 (do_compare): Likewise.
7051 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
7054 * string/strcoll_l.c: Don't include stdio.h.
7055 (coll_seq): Remove members idxarr and rulearr.
7056 (get_next_seq_cached): Remove function.
7057 (get_next_seq): Likewise.
7058 (get_next_seq_nocache): Rename to get_next_seq.
7059 (do_compare): Remove function.
7060 (do_compare_nocache): Rename to do_compare.
7061 (STRCOLL): Remove weight and rules cache.
7063 2014-10-16 Roland McGrath <roland@hack.frob.com>
7065 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7066 * sysdeps/arm/sfp-machine.h: ... to here.
7067 * sysdeps/arm/Implies: Remove arm/soft-fp.
7069 2014-10-14 Joseph Myers <joseph@codesourcery.com>
7071 * conform/data/sys/utsname.h-data (*_t): Allow.
7072 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7073 [POSIX] (WEXITED): Do not expect constant.
7074 [POSIX] (WSTOPPED): Likewise.
7075 [POSIX] (WNOHANG): Likewise.
7076 [POSIX] (WNOWAIT): Likewise.
7077 [POSIX] (siginfo_t): Do not expect type or elements.
7078 [POSIX] (pid_t): Do not expect type.
7079 [POSIX] (signal.h): Do not allow header.
7080 [POSIX] (sys/resource.h): Likewise.
7081 [POSIX] (si_*): Do not allow pattern.
7082 [POSIX] (W*): Likewise.
7083 [POSIX] (P_*): Likewise.
7084 [POSIX] (BUS_*): Likewise.
7085 [POSIX] (CLD_*): Likewise.
7086 [POSIX] (FPE_*): Likewise.
7087 [POSIX] (ILL_*): Likewise.
7088 [POSIX] (POLL_*): Likewise.
7089 [POSIX] (SEGV_*): Likewise.
7090 [POSIX] (SI_*): Likewise.
7091 [POSIX] (TRAP_*): Likewise.
7092 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7095 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7098 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7099 infinite loop when __recvmsg returns 0.
7101 2014-10-10 Joseph Myers <joseph@codesourcery.com>
7103 * CANCEL-FCT-WAIVE: Remove file.
7104 * CANCEL-FILE-WAIVE: Likewise.
7107 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7108 instead of INTVARDEF.
7109 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7110 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7111 rtld_hidden_data_def instead of INTVARDEF.
7112 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7113 * elf/dl-deps.c (expand_dst): Likewise.
7114 * elf/dl-load.c (_dl_dst_count): Likewise.
7115 (_dl_dst_substitute): Likewise.
7116 (decompose_rpath): Likewise.
7117 (_dl_init_paths): Likewise.
7118 (open_path): Likewise.
7119 (_dl_map_object): Likewise.
7120 * elf/rtld.c (dl_main): Likewise.
7121 (process_dl_audit): Likewise.
7122 (process_envvars): Likewise.
7123 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7125 (__libc_enable_secure): Use rtld_hidden_proto.
7127 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7130 (add_path): New function broken out of _dl_rtld_di_serinfo.
7131 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7133 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7135 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7136 parentheses around macro arguments.
7137 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7138 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7139 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7140 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7141 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7142 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7143 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7144 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7145 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7146 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7147 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7148 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7149 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7150 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7151 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7152 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7153 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7154 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7155 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7156 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7157 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7158 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7159 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7160 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7161 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7162 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7163 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7164 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7165 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7166 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7167 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7168 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7169 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7170 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7171 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7172 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7174 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7175 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7176 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7177 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7178 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7179 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7180 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7181 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7182 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7183 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7184 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7185 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7186 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7187 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7188 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7189 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7190 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7191 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7192 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7193 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7194 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7195 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7196 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7197 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7198 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7199 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7200 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7201 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7202 (_FP_FRAC_SRS_1): Likewise.
7203 (_FP_FRAC_CLZ_1): Likewise.
7204 (_FP_MUL_MEAT_1_imm): Likewise.
7205 (_FP_MUL_MEAT_1_wide): Likewise.
7206 (_FP_MUL_MEAT_1_hard): Likewise.
7207 (_FP_SQRT_MEAT_1): Likewise.
7208 (_FP_FRAC_ASSEMBLE_1): Likewise.
7209 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7210 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7211 (__FP_CLZ_2): Likewise.
7212 (_FP_MUL_MEAT_2_wide): Likewise.
7213 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7214 (_FP_MUL_MEAT_2_gmp): Likewise.
7215 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7216 (_FP_SQRT_MEAT_2): Likewise.
7217 (_FP_FRAC_ASSEMBLE_2): Likewise.
7218 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7219 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7220 (_FP_FRAC_CLZ_4): Likewise.
7221 (_FP_MUL_MEAT_4_wide): Likewise.
7222 (_FP_MUL_MEAT_4_gmp): Likewise.
7223 (_FP_SQRT_MEAT_4): Likewise.
7224 (_FP_FRAC_ASSEMBLE_4): Likewise.
7225 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7226 * soft-fp/op-common.h (_FP_CMP): Likewise.
7227 (_FP_CMP_EQ): Likewise.
7228 (_FP_CMP_UNORD): Likewise.
7229 (_FP_TO_INT): Likewise.
7230 (_FP_FROM_INT): Likewise.
7231 [!__FP_CLZ] (__FP_CLZ): Likewise.
7232 (_FP_DIV_HELP_imm): Likewise.
7233 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7235 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7236 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7237 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7238 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7239 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7240 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7241 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7242 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7243 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7244 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7245 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7246 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7247 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7248 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7249 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7250 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7251 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7252 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7253 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7254 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7255 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7256 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7257 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7258 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7259 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7260 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7261 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7262 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7263 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7264 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7265 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7266 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7267 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7268 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7269 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7270 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7271 (FP_UNPACK_RAW_SP): Likewise.
7272 (FP_PACK_RAW_S): Likewise.
7273 (FP_PACK_RAW_SP): Likewise.
7274 (FP_UNPACK_S): Likewise.
7275 (FP_UNPACK_SP): Likewise.
7276 (FP_UNPACK_SEMIRAW_S): Likewise.
7277 (FP_UNPACK_SEMIRAW_SP): Likewise.
7278 (FP_PACK_S): Likewise.
7279 (FP_PACK_SP): Likewise.
7280 (FP_PACK_SEMIRAW_S): Likewise.
7281 (FP_PACK_SEMIRAW_SP): Likewise.
7282 (_FP_SQRT_MEAT_S): Likewise.
7283 (FP_CMP_S): Likewise.
7284 (FP_CMP_EQ_S): Likewise.
7285 (FP_CMP_UNORD_S): Likewise.
7286 (FP_TO_INT_S): Likewise.
7287 (FP_FROM_INT_S): Likewise.
7289 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7291 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7292 (FP_EX_INVALID_IMZ): Likewise.
7293 (FP_EX_INVALID_IMZ_FMA): Likewise.
7294 (FP_EX_INVALID_ISI): Likewise.
7295 (FP_EX_INVALID_ZDZ): Likewise.
7296 (FP_EX_INVALID_IDI): Likewise.
7297 (FP_EX_INVALID_SQRT): Likewise.
7298 (FP_EX_INVALID_CVI): Likewise.
7299 (FP_EX_INVALID_VC): Likewise.
7300 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7301 "invalid" exceptions.
7302 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7303 (_FP_ADD_INTERNAL): Likewise.
7304 (_FP_MUL): Likewise.
7305 (_FP_FMA): Likewise.
7306 (_FP_DIV): Likewise.
7307 (_FP_CMP_CHECK_NAN): Likewise.
7308 (_FP_SQRT): Likewise.
7309 (_FP_TO_INT): Likewise.
7310 (FP_EXTEND): Likewise.
7312 2014-10-09 Allan McRae <allan@archlinux.org>
7314 * po/fr.po: Update French translation from translation project.
7316 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7319 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7321 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7322 (__cxa_atexit): Use libc_hidden_proto.
7323 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7326 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7328 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7329 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7330 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7331 [!_ISOMAC] (__iswctype_internal): Likewise.
7332 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7333 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7335 (fcntl): Remove __fcntl_internal alias.
7336 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7337 __connect_internal alias.
7338 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7341 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7342 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7344 (_FP_CHECK_FLUSH_ZERO): New macro.
7345 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7346 (_FP_CMP): Likewise.
7347 (_FP_CMP_EQ): Likewise.
7348 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7350 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7351 (FP_TRUNC): Likewise.
7353 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7354 treated as invalid conversion, not as normal exponent.
7356 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7357 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7358 (_FP_CMP_EQ): Likewise.
7359 (_FP_CMP_UNORD): Likewise.
7360 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7361 (FP_CMP_EQ_D): Likewise.
7362 (FP_CMP_UNORD_D): Likewise.
7363 * soft-fp/extended.h (FP_CMP_E): Likewise.
7364 (FP_CMP_EQ_E): Likewise.
7365 (FP_CMP_UNORD_E): Likewise.
7366 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7367 (FP_CMP_EQ_Q): Likewise.
7368 (FP_CMP_UNORD_Q): Likewise.
7369 * soft-fp/single.h (FP_CMP_S): Likewise.
7370 (FP_CMP_EQ_S): Likewise.
7371 (FP_CMP_UNORD_S): Likewise.
7372 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7373 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7374 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7375 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7376 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7377 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7378 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7379 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7380 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7381 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7382 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7383 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7384 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7386 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7388 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7389 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7391 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7393 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7394 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7395 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7396 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7398 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7400 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7401 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7403 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7405 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7406 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7407 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7408 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7411 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7412 a subnormal result, set the underflow exception if trapping on
7413 underflow is enabled.
7414 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7415 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7416 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7418 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7419 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7420 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7421 * soft-fp/extendxftf2.c (__extendxftf2): Use
7422 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7424 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7425 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7426 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7427 FP_HANDLE_EXCEPTIONS.
7428 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7429 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7430 FP_HANDLE_EXCEPTIONS.
7431 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7432 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7433 FP_HANDLE_EXCEPTIONS.
7434 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7435 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7436 FP_HANDLE_EXCEPTIONS.
7438 2014-10-08 Joseph Myers <joseph@codesourcery.com>
7441 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7442 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7444 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7445 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7447 (__adjtimex): Define using libc_hidden_ver.
7448 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7450 (ntp_gettime): Call __adjtimex directly.
7451 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7453 (ntp_gettimex): Call __adjtimex directly.
7454 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7455 __adjtimex_internal alias.
7457 2014-10-08 Roland McGrath <roland@hack.frob.com>
7460 * nscd/nscd.c (more_help): Rewrite list of tables collection
7461 using xstrdup and asprintf.
7463 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7465 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7466 Roland McGrath <roland@hack.frob.com>
7468 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7469 (do_lookup_unique): ... local function 'enter' here; update callers.
7471 2014-10-06 Joseph Myers <joseph@codesourcery.com>
7473 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7474 compat_symbol calls on [SHARED].
7475 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7476 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7478 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7479 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7480 (oldsetrlimit): Remove.
7481 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7483 (lchown): New syscall entry.
7484 (oldsetrlimit): Remove.
7485 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7486 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7487 (oldsetrlimit): Remove.
7488 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7491 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7492 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7493 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7494 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7495 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7496 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7498 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7503 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7505 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7506 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7507 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7508 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7509 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7511 (__old_sem_post): Likewise.
7513 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
7515 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7516 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7517 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7518 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7519 Use INLINE_VSYSCALL macro.
7520 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7521 __vdso_clock_gettime.
7522 * sysdeps/unix/sysv/linux/tile/init-first.c
7523 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7524 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7525 __vdso_clock_gettime.
7527 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7528 to set up frame more cleanly.
7530 * sysdeps/tile/memcmp.c: New file.
7532 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7534 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7535 * sysdeps/tile/tilegx/strcasestr.c: New file.
7536 * sysdeps/tile/tilegx/strnlen.c: New file.
7537 * sysdeps/tile/tilegx/strstr.c: New file.
7539 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7541 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
7543 * nptl/tst-setuid3.c: Write errors to stdout.
7545 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7548 (preload): New functions broken out of _dl_map_object_deps.
7549 (_dl_map_object_deps): Remove a nested function. Update call sites.
7551 2014-10-01 Joseph Myers <joseph@codesourcery.com>
7554 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7555 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7557 2014-10-01 Steve Ellcey <sellcey@mips.com>
7559 * sysdeps/mips/strcmp.S: New.
7561 2014-09-30 Joseph Myers <joseph@codesourcery.com>
7564 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7566 (mkdirat): Likewise.
7567 (readlinkat): Likewise.
7568 (renameat): Likewise.
7569 (symlinkat): Likewise.
7570 (unlinkat): Likewise.
7571 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7572 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7573 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7574 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7575 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7576 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7577 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7579 2014-09-30 Will Newton <will.newton@linaro.org>
7581 * math/math.h: Define long double math functions if
7582 _LIBC_TEST is defined.
7583 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7585 * localedata/Makefile: Move assignment to tests-special
7586 into an ifdef testing run-built-tests.
7587 * timezone/Makefile: Likewise.
7589 2014-09-29 Joseph Myers <joseph@codesourcery.com>
7591 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7592 with $(BASH) not $(SHELL).
7594 2014-09-29 Carlos O'Donell <carlos@redhat.com>
7595 Matthew LeGendre <legendre1@llnl.gov>
7598 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7601 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7603 * stdio-common/printf_fp.c
7604 (hack_digit): New function, broken out of ...
7605 (__printf_fp): ... local function here. Update call sites.
7606 hack_digit now takes an additional parameter that is a pointer
7607 to a struct of the referenced locals. Those locals moved inside
7608 the struct and references updated.
7610 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7612 * aclocal.m4: Require autoconf 2.69.
7613 * configure: Regenerated.
7614 * sysdeps/aarch64/configure: Likewise.
7615 * sysdeps/alpha/configure: Likewise.
7616 * sysdeps/arm/armv7/configure: Likewise.
7617 * sysdeps/arm/configure: Likewise.
7618 * sysdeps/ia64/configure: Likewise.
7619 * sysdeps/mach/configure: Likewise.
7620 * sysdeps/mips/configure: Likewise.
7621 * sysdeps/s390/configure: Likewise.
7622 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7625 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7627 * sysdeps/ia64/configure.ac: Likewise.
7629 2014-09-26 Joseph Myers <joseph@codesourcery.com>
7631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7632 specify symbol version for ld.so. Do not include entry for
7634 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7635 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7636 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7639 * Makeconfig [$(build-shared) = yes]
7640 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7642 [$(build-shared) = yes && $(soversions.mk-done) = t]
7643 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7644 [$(build-shared) = yes && $(soversions.mk-done) = t]
7645 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7647 [$(build-shared) = yes && $(soversions.mk-done) = t]
7648 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7650 [$(build-shared) = yes && $(soversions.mk-done) = t]
7651 (common-generated): Don't append gnu/lib-names.h and
7652 gnu/lib-names.stmp here.
7653 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7654 (lib-names-h-abi): New variable.
7655 [$(build-shared) = yes && $(soversions.mk-done) = t]
7656 (lib-names-stmp-abi): Likewise.
7657 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7658 abi-variants] (before-compile): Append
7659 $(common-objpfx)$(lib-names-h-abi).
7660 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7661 abi-variants] (common-generated): Append gnu/lib-names.h.
7662 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7663 abi-variants] (install-others-nosubdir): Depend on
7664 $(inst_includedir)/$(lib-names-h-abi).
7665 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7666 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7667 [$(build-shared) = yes && $(soversions.mk-done) = t]
7668 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7669 [$(build-shared) = yes && $(soversions.mk-done) = t]
7670 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7671 [$(build-shared) = yes && $(soversions.mk-done) = t]
7672 (common-generated): Append $(lib-names-h-abi) and
7673 $(lib-names-stmp-abi).
7674 * scripts/lib-names.awk: Do not handle multi being set.
7675 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7677 (abi-lp64_be-ld-soname): Likewise.
7678 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7680 (abi-hard-ld-soname): Likewise.
7681 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7682 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7684 (abi-o32_hard-ld-soname): Likewise.
7685 (abi-o32_soft_2008-ld-soname): Likewise.
7686 (abi-o32_hard_2008-ld-soname): Likewise.
7687 (abi-n32_soft-ld-soname): Likewise.
7688 (abi-n32_hard-ld-soname): Likewise.
7689 (abi-n32_soft_2008-ld-soname): Likewise.
7690 (abi-n32_hard_2008-ld-soname): Likewise.
7691 (abi-n64_soft-ld-soname): Likewise.
7692 (abi-n64_hard-ld-soname): Likewise.
7693 (abi-n64_soft_2008-ld-soname): Likewise.
7694 (abi-n64_hard_2008-ld-soname): Likewise.
7695 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7697 (abi-64-v2-ld-soname): Likewise.
7698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7700 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7702 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7704 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7706 (abi-64-ld-soname): Likewise.
7707 (abi-x32-ld-soname): Likewise.
7708 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7710 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7712 2014-09-23 Joseph Myers <joseph@codesourcery.com>
7715 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7716 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7717 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7718 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7719 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7720 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7721 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7722 syscall entry for GLIBC_2.2 symbol version.
7723 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7726 (setrlimit): Likewise.
7727 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7730 2014-09-23 Will Newton <will.newton@linaro.org>
7732 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7733 _LINUX_ARM_SYSDEP_H include guard too.
7734 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7737 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7739 * sysdeps/unix/sysv/linux/eventfd.c:
7740 Make first argument unsigned.
7741 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7742 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7744 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
7746 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7747 * socket/sys/socket.h: Likewise
7748 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7750 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7752 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7754 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
7756 * time/tst-ftime.c: New test.
7757 * time/Makefile (tests): Add tst-ftime.
7759 2014-09-17 Joseph Myers <joseph@codesourcery.com>
7761 * soft-fp/extended.h: Fix comment formatting.
7762 * soft-fp/op-1.h: Likewise.
7763 * soft-fp/op-2.h: Likewise.
7764 * soft-fp/op-4.h: Likewise.
7765 * soft-fp/op-8.h: Likewise.
7766 * soft-fp/op-common.h: Likewise.
7767 * soft-fp/soft-fp.h: Likewise.
7769 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7771 2014-09-16 Joseph Myers <joseph@codesourcery.com>
7774 * Makeconfig (soversions-default-setname): Remove variable.
7775 ($(common-objpfx)soversions.i): Don't pass default_setname to
7777 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7778 oldest_abi to abi-versions.awk.
7779 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7780 * config.make.in (oldest-abi): Remove variable.
7781 * configure.ac (--enable-oldest-abi): Remove configure option.
7782 * configure: Regenerated.
7783 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7785 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7786 * scripts/soversions.awk: Do not handle default_setname variable.
7787 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7789 * sysdeps/mach/hurd/configure: Regenerated.
7790 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7792 * sysdeps/unix/sysv/linux/configure: Regenerated.
7794 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7796 * elf/Makefile (CFLAGS-interp.c): Remove.
7797 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7799 * elf/interp.c: Include generated runtime-linker.h
7801 * Makerules (lib%.so): Don't include $(+interp) in
7803 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7804 * dlfcn/eval.c: Remove file.
7806 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7810 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7814 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7816 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7817 Jakub Jelinek <jakub@redhat.com>
7820 * libio/stdio.h: Check definition of __fortify_function
7821 instead of __extern_always_inline to include bits/stdio2.h.
7822 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7823 check if __extern_always_inline is defined.
7824 [__USE_MISC || __USE_XOPEN]: Likewise.
7825 [__USE_ISOC99] Likewise.
7826 * misc/sys/cdefs.h (__fortify_function): Define only if
7827 __extern_always_inline is defined.
7828 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7829 __extern_always_inline and __extern_inline only for g++-4.3
7830 and newer or a compatible gcc.
7832 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7835 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7836 last change to handle zero prefix length.
7838 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7840 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7843 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7846 2014-09-13 Allan McRae <allan@archlinux.org>
7848 * po/ru.po: Update Russian translation from translation project.
7850 2014-09-12 Roland McGrath <roland@hack.frob.com>
7852 * locale/programs/locale.c (show_locale_vars): Inline local function
7853 into its sole call site. Clean up some style nits.
7854 (print_item): New function, broken out of ...
7855 (show_info): ... local function here. Clean up style nits.
7857 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7859 (set_class_defaults): ... local function set_default here.
7860 Define set_default as a macro locally to pass constant parameters.
7861 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7862 rather than a shared local.
7864 * stdlib/rpmatch.c (try): New function, broken out of ...
7865 (rpmatch): ... local function here. Also, prototypify definition.
7867 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7869 * scripts/soversions.awk: Do not handle configuration names.
7870 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7871 vendor and os variables to soversions.awk.
7872 * configure.ac: Do not modify gnu-* host_os.
7873 * configure: Regenerated
7874 * shlib-versions: Remove first column with configuration names.
7875 * nptl/shlib-versions: Likewise.
7876 * nptl_db/shlib-versions: Likewise.
7877 * sysdeps/hppa/shlib-versions: Likewise.
7878 * sysdeps/m68k/shlib-versions: Likewise.
7879 * sysdeps/mach/hurd/shlib-versions: Likewise.
7880 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7881 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7882 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7883 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7884 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7885 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7886 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7887 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7890 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7891 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7892 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7893 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7894 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7895 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7896 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7897 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7900 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7903 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7905 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7907 * shlib-versions: Remove OS-specific entries. Moved to files in
7909 * sysdeps/mach/hurd/shlib-versions: New file.
7910 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7912 * nptl/shlib-versions: Remove architecture-specific entries.
7913 Moved to files in sysdeps.
7914 * shlib-versions: Likewise.
7915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7917 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7918 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7919 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7920 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7922 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7923 (UDP_NO_CHECK6_RX): Likewise.
7925 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7927 * sysdeps/posix/sysconf.c (__sysconf): Spell
7928 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7930 2014-08-12 Florian Weimer <fweimer@redhat.com>
7932 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7934 * iconv/Versions (__gconv_transliterate): Export for use from
7936 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7937 (struct __gconv_trans_data, __gconv_trans_fct,
7938 __gconv_trans_context_fct, __gconv_trans_query_fct,
7939 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7941 (struct __gconv_step_data): Remove __trans member.
7942 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7943 longer hidden. Remove unused trans_data argument.
7944 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7945 (__gconv_translit_find): Remove declaration.
7946 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7948 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7949 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7950 trans_data argument. Add hidden definition.
7951 (__gconv_translit_find): Remove.
7952 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7953 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7954 * iconv/skeleton.c: Remove transliteration initialization.
7955 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7956 __gconv_step_data initialization.
7957 * libio/iofwide.c (__libio_translit_): Remove.
7958 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7959 * wcsmbs/btowc.c (__btowc): Likewise.
7960 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7961 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7962 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7963 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7964 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7965 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7966 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7967 * wcsmbs/wctob.c (wctob): Likewise.
7969 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7972 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7973 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7975 * sysdeps/x86/Makefile: Adjust.
7977 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7978 Roland McGrath <roland@hack.frob.com>
7980 * locale/weight.h: Add include guard.
7981 (findidx): Make static rather than auto; take new parameters
7982 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7983 * locale/weightwc.h: Likewise.
7984 * posix/fnmatch_loop.c
7985 (FCT): Change type of EXTRA from int32_t to wint_t.
7986 Don't include either header inside the function.
7987 Call FINDIDX rather than findidx, and pass new arguments.
7988 #undef FINDIDX at the end of the file.
7989 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7990 FINDIDX before including fnmatch_loop.c for the non-wide version.
7991 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7992 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7993 for the wide version.
7994 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7995 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7996 Pass new arguments to findidx.
7997 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7998 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7999 Don't #include it inside the function. Pass new arguments to findidx.
8000 * posix/regex_internal.h
8001 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8002 (re_string_elem_size_at): Don't #include it inside the function.
8003 Pass new arguments to findidx.
8004 * string/strcoll_l.c: #include WEIGHT_H at top level.
8005 (get_next_seq): Don't #include it inside the function.
8006 Pass new arguments to findidx.
8007 (get_next_seq_nocache): Likewise.
8008 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8009 (STRXFRM): Don't #include it inside the function.
8010 Pass new arguments to findidx.
8012 2014-09-11 Florian Weimer <fweimer@redhat.com>
8015 * malloc/malloc.c (unlink): Turn asserts into a call to
8018 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
8021 * libio/wfileops (do_ftell_wide): Free OUT.
8023 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8025 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8027 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8030 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8031 group if the current group is empty.
8033 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8035 * benchtests/bench-memset.c (test_main): Add more test from size
8036 from 32 to 512 bytes.
8037 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8038 Add POWER8 memset object.
8039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8040 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8041 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8043 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8045 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8046 multiarch POWER8 memset optimization.
8047 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8048 POWER8 memset optimization.
8050 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8051 Remove bzero multiarch objects.
8052 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8053 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8054 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8055 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8057 [__bzero]: Redefine to specific name.
8058 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8059 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8060 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8062 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8063 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8065 2014-09-10 Florian Weimer <fweimer@redhat.com>
8067 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8068 warnings into errors.
8070 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8071 __cxa_thread_atexit_impl prototype.
8073 2014-09-09 Steve Ellcey <sellcey@mips.com>
8075 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8076 Fix capitalization of error message.
8078 2014-09-09 Steve Ellcey <sellcey@mips.com>
8080 * sysdeps/mips/preconfigure: Modify ABI tests.
8082 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8084 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8086 2014-09-07 Roland McGrath <roland@hack.frob.com>
8087 Carlos O'Donell <carlos@systemhalted.org>
8089 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8090 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8091 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8092 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8093 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8094 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8095 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8096 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8097 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8098 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8099 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8100 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8101 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8102 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8103 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8104 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8105 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8106 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8107 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8108 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8109 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8110 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8111 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8112 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8113 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8114 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8115 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8116 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8117 Deconditionalize the code that was previously under [RESET_PID].
8118 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8119 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8120 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8121 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8124 2014-09-08 Allan McRae <allan@archlinux.org>
8126 * version.h (RELEASE): Set to "development".
8127 (VERSION): Set to "2.20.90"
8129 2014-09-07 Allan McRae <allan@archlinux.org
8131 * version.h (RELEASE): Set to "stable".
8132 (VERSION): Set to "2.20"
8133 * include/features.h (__GLIBC_MINOR__): Set to 20.
8135 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8138 * po/ko.po: Update Korean translation from translation project.
8140 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8143 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8144 macro for handling signed relocations.
8146 2014-09-03 Florian Weimer <fweimer@redhat.com>
8149 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8150 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8152 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8153 * iconvdata/ibm935.c (BODY): Likewise.
8154 * iconvdata/ibm937.c (BODY): Likewise.
8155 * iconvdata/ibm939.c (BODY): Likewise.
8156 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8158 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8160 * iconvdata/run-iconv-test.sh: New test loop for checking for
8163 2014-09-02 Khem Raj <raj.khem@gmail.com>
8165 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8168 2014-09-01 Allan McRae <allan@archlinux.org>
8170 * po/eo.po: Update Esperanto translation from translation project.
8172 * po/ca.po: Update Catalan translation from translation project.
8174 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8176 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8179 2014-08-27 Mark Wielaard <mjw@redhat.com>
8182 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8183 to call set_thread_area instead of hand written asm.
8184 (__NR_set_thread_area): Removed define.
8185 (TLS_FLAG_WRITABLE): Likewise.
8186 (__ASSUME_SET_THREAD_AREA): Remove check.
8187 (TLS_EBX_ARG): Remove define.
8188 (TLS_LOAD_EBX): Likewise.
8190 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8192 Simplify atomicity of socket creation in bind.
8194 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8195 looking up the name after linking the file.
8197 2014-08-27 Allan McRae <allan@archlinux.org>
8199 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8201 2014-08-26 Florian Weimer <fweimer@redhat.com>
8204 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8205 trans_compare, open_translit, __gconv_translit_find):
8206 Remove module loading code.
8208 2014-08-26 Allan McRae <allan@archlinux.org>
8210 * po/vi.po: Update Vietnamese translation from translation project.
8212 * po/uk.po: Update Ukrainian translation from translation project.
8214 * po/fr.po: Update French translation from translation project.
8216 * po/ru.po: Update Russian translation from translation project.
8218 * po/pl.po: Update Polish translation from translation project.
8220 * po/cs.po: Update Czech translation from translation project.
8222 * po/de.po: Update German translation from translation project.
8224 * po/bg.po: Update Bulgarian translation from translation project.
8226 * po/sv.po: Update Sweedish translation from translation project.
8228 * po/nl.po: Update Dutch translation from translation project.
8230 * po/es.po: Update Spanish translation from translation project.
8232 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8234 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8236 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8237 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8238 (CPPFLAGS-iconvconfig): Likewise.
8239 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8241 * include/libc-symbols.h: Remove unnecessary check for
8243 * nptl/pthreadP.h: Likewise.
8244 * sysdeps/aarch64/setjmp.S: Likewise.
8245 * sysdeps/alpha/setjmp.S: Likewise.
8246 * sysdeps/arm/sysdep.h: Likewise.
8247 * sysdeps/i386/setjmp.S: Likewise.
8248 * sysdeps/m68k/setjmp.c: Likewise.
8249 * sysdeps/posix/getcwd.c: Likewise.
8250 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8251 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8252 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8253 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8254 * sysdeps/sh/sh3/setjmp.S: Likewise.
8255 * sysdeps/sh/sh4/setjmp.S: Likewise.
8256 * sysdeps/unix/alpha/sysdep.h: Likewise.
8257 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8258 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8259 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8260 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8263 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8264 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8265 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8266 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8267 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8268 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8269 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8270 * sysdeps/x86_64/setjmp.S: Likewise.
8272 2014-08-13 Joseph Myers <joseph@codesourcery.com>
8275 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8277 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8278 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8280 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8282 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8285 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8286 and __x86_64__ when disabling x87 inline functions.
8288 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8291 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8292 asm statement with __cpuid_count.
8294 2014-08-12 Mike Frysinger <vapier@gentoo.org>
8296 * configure.ac: Change __ehdr_start code to dereference the struct.
8297 Run readelf on the output to look for relocations.
8298 * configure: Regenerated.
8300 2014-08-12 Joseph Myers <joseph@codesourcery.com>
8303 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8305 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8307 2014-08-12 Roland McGrath <roland@hack.frob.com>
8309 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8311 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8314 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8315 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8317 2014-08-12 Sean Anderson <seanga2@gmail.com>
8319 * malloc/malloc.c: Fix typo in comment.
8321 2014-08-09 Allan McRae <allan@archlinux.org>
8323 * Regenerate libc.po.
8325 2014-08-08 Mike Frysinger <vapier@gentoo.org>
8327 * intl/tst-gettext2.sh: Check every lang file for creation.
8329 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8331 * sysdeps/aarch64/fpu/math_private.h
8332 (libc_feholdsetround_noex_aarch64_ctx): New function.
8334 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8336 * sysdeps/arm/armv6/strcpy.S (strcpy):
8337 Fix performance issue in misaligned cases.
8339 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8341 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8342 Move definition from termios.h.
8343 (struct termio): Likewise.
8344 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8345 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8346 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8347 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8349 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8350 Move definition to ioctl-types.h
8351 (struct termio): Likewise.
8352 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8353 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8354 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8355 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8358 2014-08-05 Richard Henderson <rth@redhat.com>
8360 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8362 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8364 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8365 Use __feraiseexcept.
8366 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8367 Protect libm symbols with IS_IN_libm.
8369 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8371 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8373 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8375 2014-08-04 Will Newton <will.newton@linaro.org>
8377 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8380 2014-08-04 Mike Frysinger <vapier@gentoo.org>
8382 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8383 variants for each function.
8385 2014-08-04 Roland McGrath <roland@hack.frob.com>
8387 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8389 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8390 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8392 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8393 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8394 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8395 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8396 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8397 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8398 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8399 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8400 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8401 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8402 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8403 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8404 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8405 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8406 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8407 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8408 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8409 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8410 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8411 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8412 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8413 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8414 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8415 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8416 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8417 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8418 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8419 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8420 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8421 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8422 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8423 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8424 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8425 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8426 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8427 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8428 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8429 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8430 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8431 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8432 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8433 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8434 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8435 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8436 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8437 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8438 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8439 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8440 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8441 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8442 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8443 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8444 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8446 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8447 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8449 2014-08-04 Roland McGrath <roland@hack.frob.com>
8451 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8452 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8453 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8454 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8455 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8456 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8458 2014-08-04 Roland McGrath <roland@hack.frob.com>
8460 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8461 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8462 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8463 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8465 2014-08-04 Roland McGrath <roland@hack.frob.com>
8467 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8468 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8469 (__libc_vfork): Define function under this name.
8470 (__vfork): Define as an alias.
8471 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8472 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8474 2014-08-04 Roland McGrath <roland@hack.frob.com>
8476 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8477 that was previously under [RESET_PID].
8478 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8480 2014-08-04 Andreas Schwab <schwab@suse.de>
8482 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8484 2014-08-03 Mike Frysinger <vapier@gentoo.org>
8486 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8489 2014-08-01 Roland McGrath <roland@hack.frob.com>
8491 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8493 2014-08-01 Richard Henderon <rth@redhat.com>
8495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8496 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8497 typo in exact zero test.
8498 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8499 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8500 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8502 2014-08-01 Roland McGrath <roland@hack.frob.com>
8504 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8505 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8506 * sysdeps/arm/sysdep.h: ... here.
8507 [!__ASSEMBLER__]: Include <stdint.h>.
8509 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8511 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8512 (HAVE_WCTYPE_H): Likewise.
8513 (HAVE_ISWCTYPE): Likewise.
8514 (ENABLE_NLS): Likewise.
8515 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8516 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8518 * posix/regex_internal.c: Check if DEBUG is defined and is
8521 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8522 (HAVE_MBSRTOWCS): Likewise.
8523 * posix/fnmatch.c: Include string.h unconditionally.
8525 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8527 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8530 2014-07-31 Roland McGrath <roland@hack.frob.com>
8532 * sysdeps/generic/safe-fatal.h: New file.
8533 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8534 * nptl/forward.c: Include it.
8535 (__pthread_unwind): Use __safe_fatal as default action, rather
8536 than a bogus use of INTERNAL_SYSCALL that could never work.
8538 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8539 * configure.ac (libc_cv_builtin_trap): New test.
8540 * configure: Regenerated.
8541 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8542 (ABORT_INSTRUCTION): Define using __builtin_trap.
8544 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8545 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8546 * sysdeps/nptl/nptl-signals.h: New file.
8547 * nptl/pthreadP.h: Include <nptl-signals.h>.
8549 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8551 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8552 (ONE_DIRECTION): Define.
8553 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8554 (ONE_DIRECTION): Define.
8555 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8556 (ONE_DIRECTION): Define.
8558 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8560 * sysdeps/s390/Makefile: Delete file.
8561 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8562 * sysdeps/s390/__longjmp.c: Delete file.
8563 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8564 Remove fields __flags and __reserved.
8565 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8567 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8568 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8569 * sysdeps/s390/rtld-setjmp.S: Likewise.
8570 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8571 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8572 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8573 * sysdeps/s390/s390-32/setjmp.S: ... here.
8575 (__sigsetjmp): Remove setting __flags field.
8576 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8577 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8578 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8579 * sysdeps/s390/s390-64/setjmp.S: ... here.
8581 (__sigsetjmp): Remove setting __flags field.
8582 * sysdeps/s390/setjmp.S: Delete file.
8583 * sysdeps/s390/sigjmp.c: Likewise.
8584 * sysdeps/s390/v1-longjmp.c: Likewise.
8585 * sysdeps/s390/v1-setjmp.h: Likewise.
8586 * sysdeps/s390/v1-sigjmp.c: Likewise.
8587 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8588 Remove v1-longjmp_chk.
8589 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8590 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8591 Include debug/longjmp_chk.c and add versioning.
8592 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8593 Include nptl/pt-longjmp.c and add versioning.
8594 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8595 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8596 Include __longjmp.c.
8597 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8599 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8600 (__getcontext): Remove setting __flags field.
8602 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8603 Don't restore upper high grps.
8604 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8606 (__swapcontext): Remove setting uc_flags field.
8607 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8609 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8610 Include __longjmp.c.
8611 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8613 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8614 (__getcontext): Remove setting __flags field.
8616 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8617 (__swapcontext): Remove setting uc_flags field.
8618 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8619 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8620 Remove fields uc_high_gprs and __reserved.
8621 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8622 New file with reverted content.
8623 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8624 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8626 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8629 2014-07-31 Andreas Schwab <schwab@suse.de>
8631 * config.h.in (HAVE_IFUNC): Define to 0.
8632 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8635 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8637 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8638 memmove-avx-unaligned, memcpy-avx-unaligned and
8639 mempcpy-avx-unaligned.
8640 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8641 Add tests for AVX memcpy functions.
8642 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8643 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8645 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8646 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8648 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8649 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8651 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8652 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8653 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8655 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8658 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8661 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
8664 * manual/llio.texi: Add section about open file description locks.
8665 * manual/examples/ofdlocks.c: Example of open file description
8667 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8668 F_OFD_SETLK, and F_OFD_SETLKW.
8670 2014-07-23 Allan McRae <allan@archlinux.org>
8672 * po/es.po: Update Spanish translation from translation project.
8674 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8676 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8678 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8681 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8682 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8683 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8685 2014-07-17 Joseph Myers <joseph@codesourcery.com>
8688 * math/fesetenv.c (__fesetenv)
8689 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8690 * math/feupdateenv.c (__feupdateenv)
8691 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8693 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8694 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8695 (__ASSUME_SOCKETCALL): Do not define.
8697 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8698 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8699 (__ASSUME_SOCKETCALL): Do not define.
8700 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8701 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8702 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8703 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8704 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8705 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8706 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8707 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8709 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8710 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8711 (__ASSUME_SOCKETCALL): Do not define.
8712 (__ASSUME_IPC64): Define unconditionally.
8713 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8714 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8715 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8716 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8717 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8718 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8719 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8722 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8723 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8724 (__ASSUME_SOCKETCALL): Do not define.
8725 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8726 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8727 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8728 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8729 (__ASSUME_REQUEUE_PI): Define unconditionally.
8730 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8731 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8732 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8733 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8734 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8735 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8737 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8738 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8739 (__ASSUME_SOCKETCALL): Do not define.
8740 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8741 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8742 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8743 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8744 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8745 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8747 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8748 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8749 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8750 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8751 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8752 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8753 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8754 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8755 (__ASSUME_GETCPU_SYSCALL): Likewise.
8757 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8758 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8759 cases for individual architectures.
8760 * sysdeps/gnu/configure: Regenerated.
8761 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8762 LIBC_SLIBDIR_RTLDDIR.
8763 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8764 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8765 LIBC_SLIBDIR_RTLDDIR.
8766 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8768 LIBC_SLIBDIR_RTLDDIR.
8769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8771 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8772 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8774 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8775 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8777 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8778 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8779 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8780 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8782 * sysdeps/aarch64/shlib-versions: Move to ...
8783 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8784 * sysdeps/alpha/shlib-versions: Move to ...
8785 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8786 * sysdeps/arm/shlib-versions: Move to ...
8787 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8788 * sysdeps/hppa/shlib-versions: Move all contents except for
8789 libgcc_s entry to ...
8790 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8792 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8793 * sysdeps/ia64/shlib-versions: Move to ...
8794 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8796 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8797 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8798 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8799 * sysdeps/microblaze/shlib-versions: Move to ...
8800 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8801 * sysdeps/mips/shlib-versions: Move to ...
8802 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8804 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8805 * sysdeps/tile/shlib-versions: Move to ...
8806 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8807 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8809 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8810 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8812 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8814 2014-07-17 Will Newton <will.newton@linaro.org>
8816 * sysdeps/arm/bits/atomic.h
8817 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8818 (__arch_compare_and_exchange_bool_16_int): Likewise.
8819 (__arch_compare_and_exchange_bool_64_int): Likewise.
8821 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8822 into an #else block.
8824 2014-07-16 Roland McGrath <roland@hack.frob.com>
8826 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8827 just Linux configurations. Test empirically that the compiler sets
8828 __ARM_EABI__, rather than using the tuple to decide.
8829 * sysdeps/arm/preconfigure: Regenerated.
8830 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8831 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8832 contents appended ...
8833 * sysdeps/arm/configure.ac: ... here.
8834 * sysdeps/arm/configure: Regenerated.
8836 2014-07-15 Roland McGrath <roland@hack.frob.com>
8838 * nptl/pthread_kill.c: New file.
8839 * nptl/pthread_sigmask.c: New file.
8840 * nptl/pthread_sigqueue.c: New file.
8842 * sysdeps/nptl/lowlevellock.h: New file.
8843 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8844 * sysdeps/nptl/lowlevellock-futex.h: New file.
8846 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8847 Remove dead declarations.
8849 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8851 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8852 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8854 * sysdeps/x86_64/configure.ac: Likewise.
8855 * sysdeps/i386/configure: Regenerated.
8856 * sysdeps/x86_64/configure: Likewise.
8857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8858 memset-avx2 only if config-cflags-avx2 is yes.
8859 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8860 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8862 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8863 only if HAVE_AVX2_SUPPORT is defined.
8864 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8866 2014-07-14 Alan Modra <amodra@gmail.com>
8869 * elf/elf.h (DT_PPC64_NUM): Correct value.
8870 * NEWS: Add to fixed bug list.
8872 2014-07-13 Jim Meyering <meyering@fb.com>
8875 regex: don't deref NULL upon heap allocation failure
8876 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8877 failure in one more place.
8878 To trigger the segfault, configure grep -with-included-regex,
8879 build it, and run these commands:
8880 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8882 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8884 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8886 2014-07-11 Richard Henderson <rth@redhat.com>
8888 * sysdeps/aarch64/libm-test-ulps: Update.
8890 2014-07-10 Florian Weimer <fweimer@redhat.com>
8893 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8894 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8895 (__nptl_setxid): Initialize error member. Call
8896 __nptl_setxid_error.
8897 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8898 * nptl/descr.h (struct xid_command): Add error member.
8899 * nptl/tst-setuid3.c: New file.
8900 * nptl/Makefile (tests): Add it.
8902 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8904 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8906 (__lll_trylock): Use __lll_base_trylock.
8907 (__lll_cond_trylock): Likewise.
8909 2014-07-10 Roland McGrath <roland@hack.frob.com>
8911 * nptl/pthread_create.c (start_thread): Use atomic_or and
8912 lll_futex_wake directly rather than lll_robust_dead.
8913 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8914 (lll_robust_dead): Macro removed.
8915 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8916 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8917 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8918 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8919 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8920 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8921 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8922 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8923 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8924 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8925 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8926 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8927 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8928 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8929 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8931 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8932 Use atomic_compare_and_exchange_val_acq directly rather than
8934 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8935 (__lll_robust_trylock, lll_robust_trylock): Removed.
8936 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8937 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8938 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8939 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8940 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8941 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8942 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8943 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8944 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8945 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8946 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8947 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8948 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8949 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8951 2014-07-02 Florian Weimer <fweimer@redhat.com>
8953 * manual/locale.texi (Locale Names): New section documenting
8954 locale name syntax. Adjust menu and node chaining accordingly.
8955 (Choosing Locale): Reference Locale Names, Locale Categories.
8956 Mention setting LC_ALL=C. Reflect that name syntax is now
8958 (Locale Categories): New section title. Reference Locale Names.
8959 LC_ALL is an environment variable, but not a category.
8960 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8961 description, now in Locale Name. Reference that section. Locale
8962 name syntax is now documented.
8964 2014-07-02 Florian Weimer <fweimer@redhat.com>
8967 * locale/findlocale.c (name_present, valid_locale_name): New
8969 (_nl_find_locale): Use the loc_name variable to store name
8970 candidates. Call name_present and valid_locale_name to check and
8971 validate locale names. Return an error if the locale is invalid.
8973 2014-07-02 Florian Weimer <fweimer@redhat.com>
8975 * locale/setlocale.c (setlocale): Use strdup for allocating
8976 composite name copy.
8978 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8980 Sync up with gnulib.
8981 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8982 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8983 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8984 and _GL_ARG_NONNULL.
8985 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8986 [!_LIBC]: Include code for Windows and Cygwin.
8987 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8988 Include prototype for int strerror_r.
8989 [!_LIBC] (is_open): New function.
8990 (flush_stdout): New function.
8991 (print_errno_message): Use it.
8993 (error_at_line): Likewise.
8994 (error_tail) Add function attribute macros. Use
8997 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8999 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9001 * io/ftw.c: Include sys/param.h unconditionally.
9003 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9006 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9008 (freecache): New function to free CACHE on exit.
9010 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9013 2014-07-09 David S. Miller <davem@davemloft.net>
9015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9017 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9018 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9019 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9020 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9021 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9022 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9023 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9024 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9025 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9026 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9027 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9028 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9029 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9031 2014-07-09 Andreas Schwab <schwab@suse.de>
9033 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9035 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9036 (do_test): Likewise.
9038 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9040 2014-07-09 Will Newton <will.newton@linaro.org>
9042 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9043 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9044 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9045 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9046 * sysdeps/hppa/start.S (_start): Likewise.
9048 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9050 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9052 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9055 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9057 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9058 after checking that it is non-NULL.
9060 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9062 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9064 * sysdeps/powerpc/memmove.c: Remove file.
9065 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9066 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9067 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9068 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9069 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9070 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9071 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9072 string memmove instead of removed powerpc one.
9074 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9075 [weak_alias]: Fix compiler warning due trailing data.
9076 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9077 [weak_alias]: Likewise.
9078 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9079 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9081 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9082 (__libc_ifunc_impl_list): Add memmove functions.
9084 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9086 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9088 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9090 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9092 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9094 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9096 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9098 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9100 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9102 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9104 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9106 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9108 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9110 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9112 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9114 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9116 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9118 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9121 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9123 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9124 to avoid alignment traps in non-cacheable memory.
9125 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9129 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9130 file: multiarch power7 memmove.
9131 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9132 multiarch default memmove.
9133 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9134 multiarch memove for powerpc32/power4.
9136 * string/bcopy.c: Use full path to include memmove.c.
9137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9139 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9140 bcopy for powerpc64.
9141 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9142 bcopy for powerpc64.
9143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9144 and memmove implementations.
9145 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9146 optimized multiarch memmove for POWER7/powerpc64.
9147 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9148 default multiarch memmove for powerpc64.
9149 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9150 multiarch for powerpc64.
9151 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9152 for POWER7/powerpc64.
9153 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9154 memmove for POWER7/powerpc64.
9156 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9159 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9160 __ELF_NATIVE_CLASS equal to 64.
9162 2014-07-07 Roland McGrath <roland@hack.frob.com>
9164 * sysdeps/nptl/lowlevellock.h: File removed.
9166 * NEWS: NPTL is no longer an add-on!
9167 * nptl/internaltypes.h: Moved ...
9168 * sysdeps/nptl/internaltypes.h: ... here.
9169 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9170 * sysdeps/nptl/fork.c: Likewise.
9171 * sysdeps/nptl/gai_misc.h: Likewise.
9172 * sysdeps/nptl/librt-cancellation.c: Likewise.
9173 * sysdeps/nptl/jmp-unwind.c: Likewise.
9174 * sysdeps/nptl/setxid.h: Likewise.
9175 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9176 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9177 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9178 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9179 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9180 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9181 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9182 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9183 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9184 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9185 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9186 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9187 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9188 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9189 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9190 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9191 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9192 * nptl/Makeconfig: Moved ...
9193 * sysdeps/nptl/Makeconfig: ... here.
9194 * nptl/configure: File removed.
9195 * nptl/ANNOUNCE: File removed.
9196 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9197 * sysdeps/unix/sysv/linux/configure: Regenerated.
9199 * nptl/Makefile (routines): Add libc_pthread_init,
9200 libc_multiple_threads, register-atfork and unregister-atfork.
9201 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9202 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9203 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9204 pthread-pi-defines.sym, structsem.sym.
9205 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9206 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9207 [$(subdir) = nptl] (tests): Add tst-setgetname.
9208 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9209 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9210 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9211 [!LIBC_SIGACTION]: Remove aliases.
9212 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9213 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9214 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9215 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9216 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9217 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9218 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9219 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9220 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9221 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9222 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9223 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9224 __libc_allocate_rtsig_private.
9225 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9226 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9227 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9228 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9229 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9230 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9231 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9232 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9233 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9234 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9235 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9236 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9237 * nptl/internaltypes.h: ... here.
9238 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9239 * sysdeps/nptl/jmp-unwind.c: ... here.
9240 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9241 * nptl/libc-lowlevellock.c: ... here.
9242 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9243 * nptl/libc_multiple_threads.c: ... here.
9244 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9245 * nptl/libc_pthread_init.c: ... here.
9246 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9247 * nptl/lowlevelbarrier.sym: ... here.
9248 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9249 * nptl/lowlevelcond.sym: ... here.
9250 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9251 * nptl/lowlevellock.c: ... here.
9252 * nptl/lowlevellock.h: Moved ...
9253 * sysdeps/nptl/lowlevellock.h: ... here.
9254 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9255 * nptl/lowlevelrobustlock.c: ... here.
9256 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9257 * nptl/lowlevelrobustlock.sym: ... here.
9258 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9259 * nptl/lowlevelrwlock.sym: ... here.
9260 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9261 * nptl/pt-fork.c: ... here.
9262 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9263 * nptl/pthread-pi-defines.sym: ... here.
9264 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9265 * nptl/pthread_attr_getaffinity.c: ... here.
9266 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9267 * nptl/pthread_attr_setaffinity.c: ... here.
9268 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9269 * nptl/pthread_mutex_cond_lock.c: ... here.
9270 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9272 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9273 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9274 * nptl/pthread_once.c: ... here, replacing old file.
9275 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9276 * nptl/pthread_yield.c: ... here.
9277 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9278 * nptl/register-atfork.c: ... here.
9279 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9280 * nptl/sem_post.c: ... here.
9281 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9282 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9283 * nptl/sem_timedwait.c: ... here.
9284 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9285 * nptl/sem_trywait.c: ... here.
9286 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9287 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9288 * nptl/sem_wait.c: ... here.
9289 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9290 * nptl/structsem.sym: ... here.
9291 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9292 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9293 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9294 * nptl/unregister-atfork.c: ... here.
9295 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9296 * nptl/unwindbuf.sym: ... here.
9297 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9298 * sysdeps/nptl/fork.c: ... here.
9299 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9300 * sysdeps/nptl/fork.h: ... here.
9301 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9302 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9303 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9304 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9305 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9306 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9307 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9308 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9309 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9310 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9311 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9312 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9313 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9314 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9315 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9316 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9317 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9318 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9319 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9320 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9321 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9322 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9323 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9324 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9325 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9326 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9327 * sysdeps/unix/sysv/linux/raise.c: ... here.
9328 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9329 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9330 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9331 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9332 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9333 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9334 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9335 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9336 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9337 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9338 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9339 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9340 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9341 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9342 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9344 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9346 * sysdeps/generic/memcopy.h: Add comment for
9347 MEMCPY_OK_FOR_FWD_MEMMOVE.
9349 2014-07-04 Will Newton <will.newton@linaro.org>
9351 * string/memchr.c: Merge from gnulib.
9352 [_LIBC]: Remove conditionals.
9353 (__ptr_t): Remove define.
9354 (LONG_MAX_32_BITS): Likewise.
9355 (LONG_MAX): Likewise.
9356 (MEMCHR): Use ANSI prototype and optimize algorithm.
9358 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9360 2014-07-03 Roland McGrath <roland@hack.frob.com>
9362 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9363 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9365 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9366 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9367 in a bare environment with no <stdlib.h> installed.
9368 * sysdeps/nptl/configure: Regenerated.
9370 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9372 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9373 AC_EGREP_CPP for kernel header checks, so they only succeed if
9374 including <linux/version.h> actually works right.
9375 * sysdeps/unix/sysv/linux/configure: Regenerated.
9377 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9378 value so it's not diagnosed as unused.
9380 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9381 thing) with "ifeq ($(subdir),rt)".
9383 2014-07-03 Richard Henderson <rth@redhat.com>
9385 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9386 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9387 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9389 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9390 (math_force_eval): New.
9392 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9393 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9395 * sysdeps/alpha/fpu/s_round.c: Remove file.
9396 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9398 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9399 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9400 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9401 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9402 (_dl_start, print_statistics): Likewise.
9403 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9404 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9406 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9407 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9408 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9409 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9410 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9411 (HP_SMALL_TIMING_AVAIL): Define.
9412 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9413 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9414 (HP_SMALL_TIMING_AVAIL): Define.
9415 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9416 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9418 * sysdeps/aarch64/hp-timing.h: New file.
9420 * sysdeps/generic/hp-timing.h: Remove dead comment.
9421 * sysdeps/generic/hp-timing-common.h: New file.
9422 * sysdeps/alpha/hp-timing.h: Include it.
9423 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9424 * sysdeps/i386/i686/hp-timing.h: Likewise.
9425 * sysdeps/ia64/hp-timing.h: Likewise.
9426 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9427 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9428 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9429 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9430 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9431 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9434 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9435 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9436 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9437 * elf/rtld.c (_dl_start_final): Likewise.
9438 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9439 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9440 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9441 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9442 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9443 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9444 (HP_TIMING_DIFF_INIT): Remove.
9445 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9446 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9447 (HP_TIMING_DIFF_INIT): Remove.
9448 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9449 * sysdeps/i386/i686/hp-timing.c: Remove file.
9450 * sysdeps/x86_64/hp-timing.c: Remove file.
9451 * sysdeps/ia64/hp-timing.c: Remove file.
9452 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9453 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9454 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9455 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9457 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9458 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9459 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9460 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9461 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9462 (HP_TIMING_ACCUM): Remove.
9463 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9464 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9465 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9467 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9468 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9469 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9470 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9471 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9472 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9473 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9474 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9476 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9478 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9480 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9482 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9484 Sync up with gettext.
9485 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9486 [_MSC_VER]: Include malloc.h
9487 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9488 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9489 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9490 TEMP_FAILURE_RETRY. Cast return of alloca.
9491 [!_LIBC] Call gl_rwlock_init.
9492 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9494 2014-07-02 Roland McGrath <roland@hack.frob.com>
9496 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9497 before checking its value.
9499 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9501 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9503 * debug/memcpy_chk.c: Don't include pagecopy.h.
9504 * debug/mempcpy_chk.c: Likewise.
9505 * string/memcpy.c: Likewise.
9506 * string/memmove.c: Likewise.
9507 * sysdeps/powerpc/memmove.c: Likewise.
9508 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9509 definition of PAGE_COPY_FWD_MAYBE here...
9510 * sysdeps/generic/pagecopy.h: ... from here.
9511 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9513 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9514 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9516 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9520 (__libc_ifunc_impl_list): Likewise.
9521 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9522 multiarch strcat for PPC64.
9523 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9524 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9526 2014-07-02 Roland McGrath <roland@hack.frob.com>
9528 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9530 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9532 * intl/loadmsgcat.c: Remove declaration of
9533 get_sysdep_segment_value.
9534 (get_sysdep_segment_value): Use ISO C style.
9535 (_nl_load_domain): Use ISO C style. Get rid of redundant
9536 semicolon. Fix typo and formatting in comment.
9537 (_nl_unload_domain): Use ISO C style.
9539 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9541 2014-07-02 Will Newton <will.newton@linaro.org>
9543 * malloc/obstack.c: Merge from gnulib master.
9544 [HAVE_CONFIG_H]: Remove conditional code.
9545 [!_LIBC]: Include config.h.
9546 [!ELIDE_CODE]: Don't include inttypes.h, include
9547 stdint.h unconditionally.
9548 (print_and_abort): Mark as _Noreturn.
9549 (_obstack_allocated_p): Mark as __attribute_pure__.
9550 (obstack_free): Rename to __obstack_free.
9551 [!__attribute__]: Remove conditional code.
9552 * malloc/obstack.h: Merge from gnulib master.
9553 [__cplusplus]: Move conditional down.
9554 [!__attribute_pure__]: Define __attribute_pure__ here
9555 if it is not already defined.
9556 (_obstack_memory_used): Mark as __attribute_pure__.
9557 [!__obstack_free]: Define as obstack_free.
9558 [__GNUC__]: Remove check for ancient NeXT gcc.
9560 2014-07-02 Will Newton <will.newton@linaro.org>
9561 Paul Eggert <eggert@cs.ucla.edu>
9563 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9565 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9567 * resolv/gethnamaddr.c: Add comment warning that the file is
9570 2014-07-01 Carlos O'Donell <carlos@redhat.com>
9572 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9575 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9576 entry for aio_cancel and aio_cancel64.
9577 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9578 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9579 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9580 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9581 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9582 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9583 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9584 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9585 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9586 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9587 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9588 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9589 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9591 2014-07-01 Roland McGrath <roland@hack.frob.com>
9593 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9594 * nptl/pthread_mutex_lock.c: Likewise.
9595 * nptl/pthread_mutex_timedlock.c: Likewise.
9596 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9598 2014-07-01 Richard henderson <rth@redhat.com>
9600 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9601 (__isnan, __isnanl): Remove.
9602 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9604 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9606 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9608 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9610 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9612 * resolv/nss_dns/dns-host.c (getanswer_r)
9613 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9615 2014-07-01 Joseph Myers <joseph@codesourcery.com>
9617 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9618 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9620 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9621 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9623 2014-07-01 Roland McGrath <roland@hack.frob.com>
9625 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9626 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9628 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9629 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9631 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9632 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9634 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9635 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9637 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9638 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9639 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9640 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9642 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9643 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9644 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9645 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9646 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9648 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9650 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9651 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9652 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9653 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9654 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9655 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9656 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9657 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9658 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9659 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9660 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9661 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9662 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9663 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9664 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9665 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9666 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9667 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9668 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9669 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9671 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9672 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9673 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9674 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9675 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9676 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9677 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9678 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9680 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9682 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9683 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9684 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9687 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9691 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9693 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9694 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9696 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9698 * sysdeps/arm/libm-test-ulps: Regenerated.
9700 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9701 Roland McGrath <roland@hack.frob.com>
9703 * test-skeleton.c (signal_handler): Kill the whole process group
9704 before killing the child individually.
9705 (main): Report any failure on `setpgid'.
9707 2014-06-30 Roland McGrath <roland@hack.frob.com>
9709 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9710 from _TLS_H to _ARM_NPTL_TLS_H.
9711 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9712 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9714 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9717 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9718 (__expm1l): Return argument unchanged when small but not
9721 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9723 (_FP_UNPACK_RAW_1_P): Likewise.
9724 (_FP_PACK_RAW_1): Likewise.
9725 (_FP_PACK_RAW_1_P): Likewise.
9726 (_FP_MUL_MEAT_1_wide): Likewise.
9727 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9728 (_FP_MUL_MEAT_1_hard): Likewise.
9729 (_FP_DIV_MEAT_1_imm): Likewise.
9730 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9731 (_FP_DIV_MEAT_1_udiv): Likewise.
9732 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9733 (_FP_UNPACK_RAW_2): Likewise.
9734 (_FP_UNPACK_RAW_2_P): Likewise.
9735 (_FP_PACK_RAW_2): Likewise.
9736 (_FP_PACK_RAW_2_P): Likewise.
9737 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9738 (_FP_MUL_MEAT_2_wide): Likewise.
9739 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9740 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9741 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9742 (_FP_MUL_MEAT_2_gmp): Likewise.
9743 (_FP_DIV_MEAT_2_udiv): Likewise.
9744 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9745 (_FP_FRAC_SRL_4): Likewise.
9746 (_FP_FRAC_SRST_4): Likewise.
9747 (_FP_FRAC_SRS_4): Likewise.
9748 (_FP_UNPACK_RAW_4): Likewise.
9749 (_FP_UNPACK_RAW_4_P): Likewise.
9750 (_FP_PACK_RAW_4): Likewise.
9751 (_FP_PACK_RAW_4_P): Likewise.
9752 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9753 (_FP_MUL_MEAT_4_wide): Likewise.
9754 (_FP_MUL_MEAT_4_gmp): Likewise.
9755 (umul_ppppmnnn): Likewise.
9756 (_FP_DIV_MEAT_4_udiv): Likewise.
9757 (__FP_FRAC_ADD_4): Likewise.
9758 (__FP_FRAC_SUB_3): Likewise.
9759 (__FP_FRAC_SUB_4): Likewise.
9760 (__FP_FRAC_DEC_3): Likewise.
9761 (__FP_FRAC_DEC_4): Likewise.
9762 (__FP_FRAC_ADDI_4): Likewise.
9763 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9764 (_FP_FRAC_SRL_8): Likewise.
9765 (_FP_FRAC_SRS_8): Likewise.
9767 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9769 (FP_UNPACK_RAW_EP): Likewise.
9770 (FP_PACK_RAW_E): Likewise.
9771 (FP_PACK_RAW_EP): Likewise.
9772 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9773 (_FP_ISSIGNAN): Likewise.
9774 (_FP_ADD_INTERNAL): Likewise.
9775 (_FP_FMA): Likewise.
9776 (_FP_CMP): Likewise.
9777 (_FP_SQRT): Likewise.
9778 (_FP_TO_INT): Likewise.
9779 (_FP_FROM_INT): Likewise.
9780 (FP_EXTEND): Likewise.
9781 (_FP_DIV_MEAT_N_loop): Likewise.
9783 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9785 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9788 2014-06-29 Joseph Myers <joseph@codesourcery.com>
9791 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9792 result with correct sign in case of exponents that produce
9793 overflow except for X very close to 1.
9795 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9797 mktime: merge #if/#ifdef usage from glibc
9798 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9799 as that works with both Glibc's and Gnulib's style.
9800 See thread starting at Siddhesh Poyarekar's bug report at:
9801 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9803 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9805 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9806 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9807 * sysdeps/tile/tilegx/memmove.c: Remove file.
9809 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9811 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9812 abi-name definition.
9813 * scripts/soversions.awk: Do not handle or generate ABI lines.
9814 * shlib-versions: Remove ABI entries.
9815 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9816 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9818 2014-06-27 Roland McGrath <roland@hack.frob.com>
9820 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9821 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9822 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9823 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9824 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9825 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9826 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9828 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9830 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9831 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9832 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9833 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9834 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9835 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9836 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9837 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9838 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9839 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9840 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9841 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9842 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9844 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9845 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9846 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9847 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9848 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9849 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9851 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9852 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9854 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9855 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9856 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9857 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9859 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9860 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9861 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9862 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9863 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9864 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9865 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9866 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9868 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9869 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9870 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9871 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9873 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9874 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9876 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9877 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9878 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9879 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9881 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9883 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9884 Identical file removed.
9885 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9887 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9888 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9889 Identical file removed.
9890 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9891 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9892 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9894 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9895 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9896 Identical file removed.
9897 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9898 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9899 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9900 Identical file removed.
9901 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9902 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9903 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9904 Identical file removed.
9905 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9906 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9907 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9908 Identical file removed.
9909 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9911 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9912 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9913 Identical file removed.
9914 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9916 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9917 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9918 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9919 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9920 Identical file removed.
9921 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9923 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9925 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9926 Identical file removed.
9927 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9929 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9930 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9931 Identical file removed.
9932 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9934 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9935 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9936 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9937 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9938 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9939 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9941 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9942 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9943 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9945 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9946 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9947 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9948 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9949 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9951 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
9954 * nscd/nscd.c (monitor_child): Return exit status of child
9955 instead of return value from wait syscall.
9957 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9959 * configure.ac (libc_commonpagesize): Remove variable.
9960 (libc_relro_required): Likewise.
9961 (libc_cv_z_relro): Remove configure test.
9962 * configure: Regenerated.
9963 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9965 (libc_relro_required): Likewise.
9966 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9967 (libc_relro_required): Likewise.
9968 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9969 (libc_relro_required): Likewise.
9970 * sysdeps/arm/preconfigure: Regenerated.
9971 * sysdeps/ia64/preconfigure: Remove file.
9972 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9974 (libc_relro_required): Likewise.
9978 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9979 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9980 recompute overflowing results in original rounding mode.
9981 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9982 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9983 recompute overflowing results in original rounding mode.
9984 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9985 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9986 recompute overflowing results in original rounding mode.
9987 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9988 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9989 recompute overflowing results in original rounding mode.
9990 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9991 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9992 recompute overflowing results in original rounding mode.
9993 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9994 (libc_feholdsetround_ctx): New macro.
9995 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9996 * sysdeps/i386/fpu/libm-test-ulps: Update.
9997 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9999 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10001 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10002 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10003 corresponding .cpsetup call.
10005 2014-06-26 Roland McGrath <roland@hack.frob.com>
10007 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10008 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10009 * sysdeps/arm/Makefile [$(subdir) = csu]
10010 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10011 (static-only-routines): Add aeabi_read_tp here.
10012 (shared-only-routines): Add libc-aeabi_read_tp here.
10013 (CFLAGS-libc-start.c): Add -fexceptions here.
10014 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10015 (sysdep_routines, static-only-routines, shared-only-routines):
10016 Don't add to these here.
10017 (CFLAGS-libc-start.c): Likewise.
10019 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10020 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10021 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10022 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10023 * sysdeps/arm/Makefile [$(subdir) = rt]
10024 (librt-sysdep_routines, librt-shared-only-routines):
10025 Append rt-aeabi_unwind_cpp_pr1 here.
10026 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10027 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10028 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10029 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10030 Append nptl-aeabi_unwind_cpp_pr1 here.
10031 (tests): Filter out tst-cleanupx4 here.
10032 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10033 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10034 Don't do those here.
10036 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10038 * scripts/list-sources.sh: Do not handle ports specially.
10040 2014-06-26 Roland McGrath <roland@hack.frob.com>
10042 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10043 * sysdeps/arm/feupdateenv.c: Likewise.
10045 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10047 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10049 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10050 trailing whitespace removed.
10051 * scripts/config.guess: Update to version 2014-03-23.
10052 * scripts/config.sub: Update to version 2014-05-01
10053 * scripts/install-sh: Update to version 2013-12-25.23.
10054 * scripts/move-if-change: Update from gnulib.
10056 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10058 * debug/memmove_chk.c: Remove pagecopy.h include.
10060 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10062 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10063 identical to gnulib mktime.
10065 2014-06-26 Joseph Myers <joseph@codesourcery.com>
10067 * configure.ac: Do not test for machine being rs6000. Do not test
10068 for powerpc*-*soft.
10069 * configure: Regenerated.
10072 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10074 * configure: Regenerated.
10075 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10076 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10077 Remove configure test.
10078 * sysdeps/arm/configure: Regenerated.
10079 * sysdeps/nptl/configure.ac: Do not check
10080 libc_cv_asm_cfi_directives.
10081 * sysdeps/nptl/configure: Regenerated.
10082 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10083 * sysdeps/x86_64/nptl/configure: Remove generated file.
10084 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10086 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10088 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10090 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10091 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10092 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10095 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10096 instead of whether it is defined.
10097 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10098 * sysdeps/hppa/dl-machine.h: Likewise.
10099 * sysdeps/ia64/dl-machine.h: Likewise.
10100 * sysdeps/m68k/dl-machine.h: Likewise.
10101 * sysdeps/microblaze/dl-machine.h: Likewise.
10102 * sysdeps/mips/dl-machine.: Likewise.
10103 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10104 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10105 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10106 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10107 * sysdeps/sh/dl-machine.h: Likewise.
10108 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10109 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10110 * sysdeps/tile/dl-machine.h: Likewise.
10111 * sysdeps/x86_64/dl-machine.h: Likewise.
10113 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10115 (verify_persistent_db): Likewise.
10117 2014-06-26 Roland McGrath <roland@hack.frob.com>
10119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10120 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10122 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10125 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10128 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10130 Identical file removed.
10131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10132 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10134 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10136 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10138 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10140 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10143 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10145 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10147 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10150 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10152 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10154 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10156 Identical file removed.
10157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10158 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10160 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10163 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10166 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10168 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10170 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10172 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10174 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10177 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10180 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10182 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10185 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10187 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10189 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10191 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10192 * sysdeps/unix/sysv/linux/s390/Versions
10193 (libpthread: GLIBC_2.19): New version set.
10194 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10195 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10196 (librt: GLIBC_2.3.3): New version set.
10197 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10198 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10199 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10200 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10201 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10202 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10203 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10204 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10205 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10206 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10207 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10208 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10209 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10210 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10211 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10212 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10213 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10214 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10215 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10216 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10217 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10218 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10219 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10220 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10221 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10222 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10223 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10224 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10225 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10226 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10227 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10228 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10229 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10230 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10231 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10232 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10233 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10234 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10235 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10236 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10237 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10238 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10239 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10240 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10241 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10243 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10244 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10245 (__libc_vfork): Define the function under this name.
10246 [!NOT_IN_libc] (__vfork): Make this an alias.
10247 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10248 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10249 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10250 (__libc_vfork): Define the function under this name.
10251 [!NOT_IN_libc] (__vfork): Make this an alias.
10252 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10253 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10254 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10255 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10256 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10257 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10259 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10260 code that was previously under [RESET_PID].
10261 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10262 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10263 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10265 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10266 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10267 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10268 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10269 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10270 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10271 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10272 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10273 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10274 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10275 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10277 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10278 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10279 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10280 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10281 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10282 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10283 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10284 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10285 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10286 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10287 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10288 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10289 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10290 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10291 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10292 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10293 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10294 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10295 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10296 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10297 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10298 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10299 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10300 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10301 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10302 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10303 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10304 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10305 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10307 2014-06-25 Roland McGrath <roland@hack.frob.com>
10309 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10310 that was previously under [RESET_PID].
10311 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10313 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10315 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10316 not undefine and redefine.
10317 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10318 [O_CLOEXEC]: Make code unconditional.
10319 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10320 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10321 <kernel-features.h>.
10322 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10323 conditional variable definition.
10324 (shm_open) [O_CLOEXEC]: Make code unconditional.
10325 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10328 * configure.ac (USE_REGPARMS): Don't define here.
10329 * configure: Regenerated.
10330 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10331 * sysdeps/i386/configure: Regenerated.
10333 * nptl/createthread.c: Don't include kernel-features.h.
10334 * nptl/pthread_cancel.c: Likewise.
10335 * nptl/pthread_condattr_setclock.c: Likewise.
10336 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10337 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10338 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10339 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10340 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10341 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10342 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10343 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10344 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10345 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10346 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10347 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10348 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10349 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10350 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10351 * nscd/gai.c: Likewise.
10352 * nss/nss_db/db-open.c: Likewise.
10353 * sysdeps/generic/ldsodefs.h: Likewise.
10354 * sysdeps/sh/nptl/tls.h: Likewise.
10355 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10356 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10357 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10358 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10359 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10360 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10361 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10362 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10363 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10364 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10365 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10366 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10367 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10368 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10369 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10370 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10371 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10372 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10373 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10374 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10375 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10376 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10377 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10378 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10379 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10380 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10381 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10382 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10383 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10384 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10385 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10386 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10387 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10388 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10389 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10390 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10391 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10392 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10393 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10394 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10395 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10396 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10397 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10398 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10399 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10400 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10401 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10402 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10403 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10404 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10405 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10406 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10407 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10408 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10409 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10410 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10411 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10412 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10435 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10436 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10437 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10438 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10439 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10440 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10441 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10442 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10443 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10444 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10445 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10446 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10447 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10448 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10449 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10450 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10451 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10452 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10453 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10454 * sysdeps/unix/sysv/linux/system.c: Likewise.
10455 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10456 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10457 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10458 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10459 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10460 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10461 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10463 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10464 * configure: Regenerated.
10465 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10467 * configure.ac (base_machine): Do not set specially for particular
10469 * configure: Regenerated.
10470 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10471 settings from configure.ac.
10472 * sysdeps/i386/preconfigure: New file.
10473 * sysdeps/s390/preconfigure: Likewise.
10474 * sysdeps/sh/preconfigure: Likewise.
10475 * sysdeps/sparc/preconfigure: Likewise.
10477 2014-06-25 Roland McGrath <roland@hack.frob.com>
10479 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10480 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10481 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10482 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10483 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10484 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10485 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10486 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10487 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10488 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10489 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10490 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10491 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10492 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10493 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10494 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10495 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10496 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10497 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10499 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10500 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10501 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10502 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10503 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10504 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10505 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10506 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10507 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10508 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10509 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10510 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10511 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10512 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10513 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10514 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10515 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10516 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10517 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10518 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10519 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10520 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10521 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10522 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10523 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10524 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10525 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10526 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10527 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10528 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10529 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10530 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10531 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10532 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10533 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10534 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10535 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10536 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10539 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10541 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10544 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10547 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10549 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10552 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10554 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10556 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10558 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10561 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10564 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10566 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10569 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10571 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10573 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10575 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10577 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10580 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10583 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10585 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10588 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10590 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10592 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10594 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10597 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10600 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10602 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10605 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10607 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10609 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10611 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10613 * timezone/checktab.awk: Update from tzcode 2014e.
10614 * timezone/private.h: Likewise.
10615 * timezone/tzfile.h: Likewise.
10616 * timezone/zdump.c: Likewise.
10617 * timezone/zic.c: Likewise.
10619 * sysdeps/unix/sysv/linux/kernel-features.h
10620 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10621 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10622 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10623 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10624 Remove conditional code.
10626 2014-06-25 Will Newton <will.newton@linaro.org>
10628 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10629 (_dl_arm_cap_flags): Add HWCAP2 values.
10630 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10631 (_DL_HWCAP_COUNT): Increase to 37.
10632 (_DL_HWCAP_LAST): New define.
10633 (_DL_HWCAP2_LAST): New define.
10634 (_dl_procinfo): Add support for printing
10636 (_dl_string_hwcap): Use _dl_hwcap_string.
10638 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10642 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10644 * README: Do not mention ports directory.
10646 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10648 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10649 <kernel-features.h>.
10650 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10651 conditional variable definition.
10652 (__futimes): Update comment.
10653 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10654 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10657 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10658 arguments close to 0.
10659 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10661 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10663 * math/auto-libm-test-in: Add more tests of exp10.
10664 * math/auto-libm-test-out: Regenerated.
10665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10667 * sysdeps/unix/sysv/linux/kernel-features.h
10668 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10669 * sysdeps/unix/sysv/linux/readv.c: Do not include
10670 <kernel-features.h>.
10671 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10672 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10673 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10675 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10677 * sysdeps/unix/sysv/linux/writev.c: Do not include
10678 <kernel-features.h>.
10679 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10680 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10681 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10683 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10686 2014-06-25 Will Newton <will.newton@linaro.org>
10688 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10689 comment changes throughout the file. Remove checks
10690 for HAVE_*_H definitions that are not required.
10691 (__gen_tempname): Call abort if an unknown kind value is
10694 2014-06-25 Andreas Schwab <schwab@suse.de>
10697 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10698 scalbln, scalblnf, scalblnl in libc.
10700 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10703 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10704 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10705 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10707 2014-06-24 Roland McGrath <roland@hack.frob.com>
10709 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10710 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10711 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10712 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10714 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10715 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10717 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10718 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10719 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10720 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10721 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10722 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10723 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10724 * sysdeps/x86/bits/semaphore.h: ... here.
10725 * sysdeps/x86/nptl/elide.h: Moved ...
10726 * sysdeps/x86/elide.h: ... here.
10727 * sysdeps/x86_64/nptl/Implies: File removed.
10728 * sysdeps/i386/nptl/Implies: File removed.
10730 2014-06-24 Joseph Myers <joseph@codesourcery.com>
10733 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10734 return the argument for normal arguments with exponent below -64.
10735 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10737 * math/auto-libm-test-in: Add another test of expm1.
10738 * math/auto-libm-test-out: Regenerated.
10741 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10742 calling __erfcl for arguments at least 16.
10743 * math/auto-libm-test-in: Add more tests of erf.
10744 * math/auto-libm-test-out: Regenerated.
10746 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10747 individual architectures.
10748 * sysdeps/unix/sysv/linux/configure: Regenerated.
10749 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10750 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10751 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10752 (ldd_rewrite_script): Define variable.
10753 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10758 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10759 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10760 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10761 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10762 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10763 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10764 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10765 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10767 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10770 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10771 Rename member __data.d to __data.__elision_data.
10773 2014-06-24 Wilco <wdijkstr@arm.com>
10775 * NEWS: Add 16918 to fixed bug list.
10777 2014-06-24 Wilco <wdijkstr@arm.com>
10779 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10781 2014-06-24 Wilco <wdijkstr@arm.com>
10783 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10784 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10785 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10786 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10787 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10788 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10789 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10792 2014-06-24 Wilco <wdijkstr@arm.com>
10794 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10796 2014-06-24 Wilco <wdijkstr@arm.com>
10798 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10799 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10800 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10801 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10803 2014-06-24 Wilco <wdijkstr@arm.com>
10806 * sysdeps/arm/feupdateenv.c (feupdateenv):
10807 Rewrite to reduce FPSCR accesses and fix return value.
10809 2014-06-24 Wilco <wdijkstr@arm.com>
10811 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10812 Optimize to avoid unnecessary FPSCR writes.
10813 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10814 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10815 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10816 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10818 2014-06-24 Wilco <wdijkstr@arm.com>
10820 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10821 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10822 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10823 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10824 Call libc_fetestexcept_vfp.
10825 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10826 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10827 __SOFTFP__ ifdef so that they can be built for softfp.
10829 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10831 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10832 argument type signed char.
10834 * Makerules (check-abi): Dump diff of symlist if the test
10837 2014-06-23 Roland McGrath <roland@hack.frob.com>
10839 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10842 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10843 Remove unused variable ST.
10845 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10849 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10850 small arguments before calling __expm1.
10851 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10852 small arguments before calling __expm1f.
10853 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10854 small arguments before calling __expm1l.
10855 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10857 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10858 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10859 spurious underflow for some cosh tests.
10860 * math/auto-libm-test-out: Regenerated.
10861 * sysdeps/i386/fpu/libm-test-ulps: Update.
10864 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10865 (__ieee754_y1): Set errno if return value overflows.
10866 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10867 (__ieee754_y1f): Set errno if return value overflows.
10868 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10869 (__ieee754_y1l): Set errno if return value overflows.
10870 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10871 (__ieee754_y1l): Set errno if return value overflows.
10872 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10873 * math/auto-libm-test-out: Regenerated.
10875 * math/gen-auto-libm-tests.c: Document use of
10876 ignore-zero-inf-sign.
10877 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10878 (input_flags): Add ignore-zero-inf-sign.
10879 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10880 * math/gen-libm-test.pl (generate_testfile): Handle
10881 ignore-zero-inf-sign.
10882 * math/auto-libm-test-in: Mark some cpow tests with
10883 ignore-zero-inf-sign and some with xfail-rounding.
10884 * math/auto-libm-test-out: Regenerated.
10885 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10886 * sysdeps/i386/fpu/libm-test-ulps: Update.
10887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10890 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10891 overflowing or underflowing operations take place with sign of
10893 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10894 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10895 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10896 (__ieee754_pow): Recompute overflowing and underflowing results in
10897 original rounding mode.
10898 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10899 (__powl_helper): Allow negative argument X and scale negated value
10900 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10901 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10902 overflowing or underflowing operations take place with sign of
10904 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10906 * math/auto-libm-test-in: Add more tests of pow.
10907 * math/auto-libm-test-out: Regenerated.
10908 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10909 (pow_tonearest_test_data): Remove.
10910 (pow_test_tonearest): Likewise.
10911 (pow_towardzero_test_data): Likewise.
10912 (pow_test_towardzero): Likewise.
10913 (pow_downward_test_data): Likewise.
10914 (pow_test_downward): Likewise.
10915 (pow_upward_test_data): Likewise.
10916 (pow_test_upward): Likewise.
10917 (main): Don't call removed functions.
10918 * sysdeps/i386/fpu/libm-test-ulps: Update.
10919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10921 2014-06-23 Roland McGrath <roland@hack.frob.com>
10923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11097 2014-06-23 Will Newton <will.newton@linaro.org>
11098 Wilco <wdijkstr@arm.com>
11100 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11101 implementation. Include get-rounding-mode.h.
11102 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11103 [!libc_feholdsetround_noex_ctx]: Define
11104 libc_feholdsetround_noex_ctx.
11105 [!libc_feholdsetround_noexf_ctx]: Define
11106 libc_feholdsetround_noexf_ctx.
11107 [!libc_feholdsetround_noexl_ctx]: Define
11108 libc_feholdsetround_noexl_ctx.
11109 (libc_feholdsetround_ctx): New function.
11110 (libc_feresetround_ctx): New function.
11111 (libc_feholdsetround_noex_ctx): New function.
11112 (libc_feresetround_noex_ctx): New function.
11114 2014-06-23 Roland McGrath <roland@hack.frob.com>
11116 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11117 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11118 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11119 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11120 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11121 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11123 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11124 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11125 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11126 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11127 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11128 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11129 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11130 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11131 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11132 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11133 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11135 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11137 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11138 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11139 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11140 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11141 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11143 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11144 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11145 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11146 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11147 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11148 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11149 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11150 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11152 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11153 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11155 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11156 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11157 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11158 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11160 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11161 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11162 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11163 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11164 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11165 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11166 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11167 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11168 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11169 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11171 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11173 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11174 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11175 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11176 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11177 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11178 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11179 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11180 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11181 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11182 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11183 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11184 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11185 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11187 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11188 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11189 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11190 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11191 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11192 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11194 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11195 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11196 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11197 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11198 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11200 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11201 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11202 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11203 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11204 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11205 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11206 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11207 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11208 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11209 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11210 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11211 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11212 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11213 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11214 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11215 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11216 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11217 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11218 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11219 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11220 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11221 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11222 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11223 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11224 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11225 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11226 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11227 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11229 2014-06-23 Joseph Myers <joseph@codesourcery.com>
11231 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11232 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11233 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11234 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11235 (IPV6_PMTUDISC_INTERFACE): Likewise.
11236 (IPV6_PMTUDISC_OMIT): Likewise.
11238 2014-06-23 Andreas Schwab <schwab@suse.de>
11240 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11241 Remove unused errout label.
11243 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11245 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11246 macro: hardware supports Vector Crypto instructions.
11248 2014-06-23 Will Newton <will.newton@linaro.org>
11250 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11251 rather than __builtin_expect.
11253 * elf/dl-lookup.c (undefined_msg): Remove variable.
11254 (_dl_lookup_symbol_x): Replace undefined_msg with string
11257 * elf/dl-lookup.c (do_lookup_unique): New function.
11258 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11259 to a separate function.
11261 2014-06-23 Andreas Schwab <schwab@suse.de>
11264 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11265 before reading the next line.
11267 2014-06-23 Will Newton <will.newton@linaro.org>
11269 * test-skeleton.c (signal_handler): Use printf and %m
11270 rather than perror. Use printf rather than fprintf to
11271 stderr. Use puts rather than fputs to stderr.
11274 2014-06-22 Ludovic Courtès <ludo@gnu.org>
11276 * nscd/nscd.c (thread_info_t): Remove typedef.
11277 (thread_info): Remove variable.
11279 2014-06-21 Allan McRae <allan@archlinux.org>
11281 * NEWS: Mention CVE-2014-4043.
11283 2014-06-20 Roland McGrath <roland@hack.frob.com>
11285 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11286 * nptl/smp.h: ... here.
11288 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11290 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11291 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11292 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11293 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11295 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11296 * nptl/stack-aliasing.h: New file.
11297 * sysdeps/i386/i686/stack-aliasing.h: New file.
11298 * sysdeps/i386/i686/nptl/Makefile: File removed.
11299 * sysdeps/x86_64/stack-aliasing.h: New file.
11300 * sysdeps/x86_64/nptl/Makefile
11301 (CFLAGS-pthread_create.c): Variable removed.
11303 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11304 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11306 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11307 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11310 2014-06-21 Joseph Myers <joseph@codesourcery.com>
11312 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11313 (__ASSUME_SIGFRAME_V2): Remove macro.
11314 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11315 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11316 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11317 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11318 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11319 Declare as function. Remove conditional macro definitions.
11320 (__default_rt_sa_restorer): Likewise.
11321 (__default_sa_restorer_v1): Remove declaration.
11322 (__default_sa_restorer_v2): Likewise.
11323 (__default_rt_sa_restorer_v1): Likewise.
11324 (__default_rt_sa_restorer_v2): Likewise.
11325 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11326 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11327 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11329 2014-06-20 Roland McGrath <roland@hack.frob.com>
11331 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11332 (libpthread-routines): Add sysdep.
11333 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11334 * sysdeps/unix/sysv/linux/sparc/Versions
11335 (libpthread: GLIBC_2.3.3): New version set.
11336 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11337 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11338 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11339 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11340 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11341 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11343 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11344 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11345 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11346 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11347 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11348 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11349 * sysdeps/sparc/nptl/sem_init.c: ... here.
11350 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11351 * sysdeps/sparc/nptl/sem_post.c: ... here.
11352 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11353 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11354 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11355 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11356 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11357 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11358 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11359 (libpthread-routines): Add cpu_relax.
11360 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11362 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11363 (librt: GLIBC_2.3.3): New version set.
11364 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11365 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11366 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11367 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11368 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11370 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11371 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11373 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11374 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11375 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11376 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11377 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11378 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11379 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11380 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11381 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11382 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11384 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11386 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11388 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11390 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11392 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11396 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11398 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11400 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11402 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11404 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11406 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11407 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11408 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11409 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11410 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11411 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11412 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11413 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11414 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11415 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11416 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11418 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11419 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11420 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11421 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11422 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11424 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11426 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11427 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11428 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11429 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11430 * nscd/nscd.c: Likewise.
11431 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11432 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11433 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11434 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11436 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11437 <kernel-features.h>.
11438 (init_mq_netlink): Remove conditional have_sock_cloexec
11439 definitions. Remove code conditional on have_sock_cloexec < 0.
11440 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11441 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11442 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11443 <kernel-features.h>.
11444 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11445 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11447 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11449 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11450 Add tests for memset_chk and memset.
11452 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11455 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11458 * elf/tst-dl-iter-static.c: New file.
11459 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11461 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11464 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11466 * sysdeps/unix/sysv/linux/kernel-features.h
11467 (__ASSUME_F_GETOWN_EX): Remove macro.
11468 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11469 <kernel-features.h>.
11470 (miss_F_GETOWN_EX): Remove variable or macro.
11471 (do_fcntl): Do not check miss_F_GETOWN_EX.
11472 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11474 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11476 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11477 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11478 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11480 * sysdeps/unix/sysv/linux/kernel-features.h
11481 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11482 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11483 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11484 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11486 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11489 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11490 Fix calculation of the symbol's value.
11491 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11492 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11493 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11494 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11495 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11496 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11497 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11498 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11499 (modules-names): Add `tst-armtlsdescmod',
11500 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11501 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11502 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11503 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11504 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11505 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11506 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11507 ($(objpfx)tst-armtlsdescloc): New dependency.
11508 ($(objpfx)tst-armtlsdescextnow): Likewise.
11509 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11510 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11511 TLS scheme support.
11512 * sysdeps/arm/configure: Regenerate.
11514 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11516 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11517 (__atfct_seterrno_2): Likewise.
11518 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11519 <kernel-features.h>.
11520 (__ASSUME_ATFCTS): Do not undefine and redefine.
11521 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11522 (__have_atfcts): Remove conditional definition.
11523 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11524 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11525 unreachable if [__ASSUME_ATFCTS].
11526 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11527 not undefine and redefine.
11528 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11529 <kernel-features.h>.
11530 (faccessat) [__NR_faccessat]: Make code unconditional.
11531 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11532 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11533 <kernel-features.h>.
11534 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11535 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11536 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11537 <kernel-features.h>.
11538 (fchownat) [__NR_fchownat]: Make code unconditional.
11539 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11540 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11541 <kernel-features.h>.
11542 (futimesat) [__NR_futimesat]: Make code unconditional.
11543 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11544 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11545 <kernel-features.h>.
11546 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11547 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11548 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11549 <kernel-features.h>.
11550 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11551 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11552 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11553 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11554 <kernel-features.h>.
11555 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11556 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11557 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11558 <kernel-features.h>.
11559 (linkat) [__NR_linkat]: Make code unconditional.
11560 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11561 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11562 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11563 <kernel-features.h>.
11564 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11565 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11566 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11567 <kernel-features.h>.
11568 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11569 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11570 * sysdeps/unix/sysv/linux/openat.c: Do not include
11571 <kernel-features.h>.
11572 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11573 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11574 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11575 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11576 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11577 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11578 <kernel-features.h>.
11579 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11580 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11581 result of INLINE_SYSCALL directly, not via int variable.
11582 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11583 <kernel-features.h>.
11584 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11585 (renameat) [__NR_renameat]: Make code unconditional.
11586 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11587 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11588 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11589 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11590 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11591 (__ASSUME_ATFCTS): Do not undefine and redefine.
11592 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11593 <kernel-features.h>.
11594 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11595 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11596 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11597 <kernel-features.h>.
11598 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11599 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11600 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11601 (__ASSUME_ATFCTS): Do not undefine and redefine.
11602 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11603 <kernel-features.h>.
11604 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11605 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11606 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11607 <kernel-features.h>.
11608 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11609 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11611 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11613 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11615 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11618 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11619 constructed tree before returning error.
11620 * posix/bug-regexp36.c: Expand test case.
11622 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11625 * math/libm-test.inc (scalbln_test_date):
11626 Add errno expectations.
11627 * math/w_scalblnf.c: New File.
11628 Add wrapper which checks for setting errno to ERANGE.
11629 Add weak_alias for corresponding scalbln function.
11630 * math/w_scalbln.c: Likewise.
11631 * math/w_scalblnl.c: Likewise.
11632 * math/Makefile (libm-calls): Add w_scalbln.
11633 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11634 Remove weak_alias for corresponding scalbln function.
11635 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11636 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11637 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11638 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11639 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11640 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11641 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11642 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11643 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11644 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11645 Remove long_double_symbol for scalblnl function in libm, libc.
11646 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11647 Add wrapper which checks for setting errno to ERANGE.
11648 Add long_double_symbol for scalblnl function in libm, libc.
11649 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11650 Remove long_double_symbol for scalblnl in libm.
11651 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11652 Add wrapper which checks for setting errno to ERANGE.
11653 Add long_double_symbol for scalblnl function in libm.
11654 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11655 Do not use wrapper because of own implementation.
11657 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11659 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11660 3 bytes for __pad1 for x32.
11661 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11663 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11664 H.J. Lu <hongjiu.lu@intel.com>
11666 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11667 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11668 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11669 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11670 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11672 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11675 * posix/regcomp.c (parse_expression): Deallocate partially
11676 constructed tree before returning error.
11677 * posix/Makefile.c (tests): Add bug-regex36.
11678 (generated): Add bug-regex36.mtrace.
11679 (tests-special): Add $(objpfx)bug-regex36-mem.out
11680 (bug-regex36-ENV): New variable.
11681 ($(objpfx)bug-regex36-mem.out): New rule.
11682 * posix/bug-regex36.c: New file.
11684 2014-06-19 Will Newton <will.newton@linaro.org>
11686 * malloc/malloc.c (systrim): If extra is zero then return
11689 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11691 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11693 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
11695 * sysdeps/aarch64/strchr.S: New file.
11697 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11700 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11701 from arguments -2 or below.
11702 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11703 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11705 2014-06-18 Andreas Schwab <schwab@suse.de>
11708 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11709 of a bracket expr not to run off the end of the string.
11710 * posix/Makefile (tests): Add tst-fnmatch3.
11711 * posix/tst-fnmatch3.c: New file.
11713 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11715 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11716 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11717 [$(cross-compiling) = no]: Likewise.
11718 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11719 [$(cross-compiling) = no]: Likewise.
11721 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11724 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11725 double, adjusted for any remainder from the high double.
11726 * math/libm-test.inc (nearbyint): Add tests.
11729 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11731 * nptl/sysdeps/powerpc/Makefile: Moved ...
11732 * sysdeps/powerpc/nptl/Makefile: ... here.
11733 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11734 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11735 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11736 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11737 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11738 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11739 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11740 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11741 * nptl/sysdeps/powerpc/tls.h: Moved ...
11742 * sysdeps/powerpc/nptl/tls.h: ... here.
11744 2014-06-16 Joseph Myers <joseph@codesourcery.com>
11747 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11748 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11749 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11750 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11751 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11752 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11753 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11754 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11755 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11757 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11759 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11761 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11763 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11766 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11769 2014-06-16 Florian Weimer <fweimer@redhat.com>
11772 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11773 non-executed part of the test.
11775 2014-06-16 Andreas Schwab <schwab@suse.de>
11777 * string/bits/string2.h (strdup, strndup): Update feature guard.
11779 2014-06-14 David S. Miller <davem@davemloft.net>
11781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11783 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11785 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11786 that was previously under [RESET_PID].
11787 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11789 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11790 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11791 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11792 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11793 (__libc_vfork): New strong alias.
11794 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11796 2014-06-14 Andi Kleen <ak@linux.intel.com>
11798 * sysdeps/generic/elide.h: New file.
11800 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11802 * Makefile (installed-headers): Adjust path of pthread.h header.
11804 2014-06-13 Roland McGrath <roland@hack.frob.com>
11806 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11807 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11808 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11809 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11811 * nptl/sysdeps/s390/Makefile: Moved ...
11812 * sysdeps/s390/nptl/Makefile: ... here.
11813 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11814 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11815 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11816 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11817 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11818 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11819 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11820 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11821 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11822 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11823 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11824 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11825 * nptl/sysdeps/s390/tls.h: Moved ...
11826 * sysdeps/s390/nptl/tls.h: ... here.
11828 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11829 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11831 2014-06-13 David S. Miller <davem@davemloft.net>
11833 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11834 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11835 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11836 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11837 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11839 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11840 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11841 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11842 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11843 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11844 Remove RESET_PID cpp guards.
11845 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11846 Remove RESET_PID cpp guards.
11847 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11849 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11851 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11854 2014-06-13 Andi Kleen <ak@linux.intel.com>
11856 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11857 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11858 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11859 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11860 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11861 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11862 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11863 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11864 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11865 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11866 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11867 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11868 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11869 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11870 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11871 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11872 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11873 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11874 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11875 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11877 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11878 (pthread_rwlock_rdlock): Add elision.
11879 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11880 (pthread_rwlock_wrlock): Add elision.
11881 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11882 (pthread_rwlock_trywrlock): Add elision.
11883 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11884 (pthread_rwlock_tryrdlock): Add elision.
11885 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11886 (pthread_rwlock_tryrdlock): Add elision unlock.
11887 * nptl/sysdeps/pthread/pthread.h:
11888 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11889 (PTHREAD_RWLOCK_INITIALIZER,
11890 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11891 Handle new elision field.
11892 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11893 * sysdeps/arm/nptl/bits/pthreadtypes.h
11894 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11895 * sysdeps/sh/nptl/bits/pthreadtypes.h
11896 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11897 * sysdeps/tile/nptl/bits/pthreadtypes.h
11898 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11899 * sysdeps/a/nptl/bits/pthreadtypes.h
11900 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11901 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11902 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11903 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11904 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11905 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11906 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11907 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11908 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11909 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11910 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11911 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11912 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11913 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11914 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11915 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11916 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11917 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11918 (elision_init): Set try_xbegin to zero when no RTM.
11919 * sysdeps/x86/nptl/bits/pthreadtypes.h
11920 (pthread_rwlock_t): Change __pad1 to __rwelision.
11921 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11923 2014-06-13 Andi Kleen <ak@linux.intel.com>
11925 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11926 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11927 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11928 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11930 2014-06-13 Meador Inge <meadori@codesourcery.com>
11933 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11934 that the cached result has been set before returning it.
11936 2014-06-12 Roland McGrath <roland@hack.frob.com>
11938 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11939 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11940 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11941 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11942 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11943 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11945 * nptl/sysdeps/sparc/Makefile: Moved ...
11946 * sysdeps/sparc/nptl/Makefile: ... here.
11947 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11948 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11949 * nptl/sysdeps/sparc/tls.h: Moved ...
11950 * sysdeps/sparc/nptl/tls.h: ... here.
11951 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11952 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11953 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11954 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11955 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11956 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11957 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11958 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11959 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11960 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11961 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11962 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11963 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11964 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11965 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11966 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11967 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11968 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11970 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11971 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11973 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11974 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11976 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11977 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11980 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11982 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11983 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11985 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11986 (struct list_links): Type removed.
11987 (struct thread_node, struct timer_node): Replace struct list_links
11988 with struct list_head.
11989 (list_unlink_ip): Likewise.
11990 * sysdeps/pthread/timer_routines.c
11991 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11992 (list_append, list_insbefore): Likewise.
11993 (list_init): Function removed.
11994 (thread_init, init_module): Use INIT_LIST_HEAD instead.
11995 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11996 * sysdeps/pthread/Makefile: ... here, new file.
11998 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11999 * sysdeps/nptl/Implies: ... here.
12000 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12001 * nptl/sysdeps/pthread/list.h: Moved ...
12002 * include/list.h: ... here.
12003 * nptl/sysdeps/pthread/createthread.c: Moved ...
12004 * nptl/createthread.c: ... here.
12005 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12006 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12007 * nptl/pt-longjmp.c: ... here.
12008 * nptl/sysdeps/pthread/Makefile: Moved ...
12009 * sysdeps/nptl/Makefile: ... here.
12010 * nptl/sysdeps/pthread/Subdirs: Moved ...
12011 * sysdeps/nptl/Subdirs: ... here.
12012 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12013 * sysdeps/nptl/aio_misc.h: ... here.
12014 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12015 * sysdeps/nptl/bits/libc-lock.h: ... here.
12016 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12017 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12018 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12019 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12020 * nptl/sysdeps/pthread/configure: Moved ...
12021 * sysdeps/nptl/configure: ... here.
12022 * nptl/sysdeps/pthread/configure.ac: Moved ...
12023 * sysdeps/nptl/configure.ac: ... here.
12024 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12025 * sysdeps/nptl/gai_misc.h: ... here.
12026 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12027 * sysdeps/nptl/librt-cancellation.c: ... here.
12028 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12029 * sysdeps/nptl/malloc-machine.h: ... here.
12030 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12031 * sysdeps/nptl/pthread-functions.h: ... here.
12032 * nptl/sysdeps/pthread/pthread.h: Moved ...
12033 * sysdeps/nptl/pthread.h: ... here.
12034 * nptl/sysdeps/pthread/setxid.h: Moved ...
12035 * sysdeps/nptl/setxid.h: ... here.
12036 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12037 * sysdeps/nptl/sigfillset.c: ... here.
12038 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12039 * sysdeps/nptl/tcb-offsets.h: ... here.
12040 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12041 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12042 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12043 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12044 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12045 * sysdeps/pthread/allocalim.h: ... here.
12046 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12047 * sysdeps/pthread/bits/sigthread.h: ... here.
12048 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12049 * sysdeps/pthread/flockfile.c: ... here.
12050 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12051 * sysdeps/pthread/ftrylockfile.c: ... here.
12052 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12053 * sysdeps/pthread/funlockfile.c: ... here.
12054 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12055 * sysdeps/pthread/posix-timer.h: ... here.
12056 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12057 * sysdeps/pthread/timer_create.c: ... here.
12058 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12059 * sysdeps/pthread/timer_delete.c: ... here.
12060 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12061 * sysdeps/pthread/timer_getoverr.c: ... here.
12062 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12063 * sysdeps/pthread/timer_gettime.c: ... here.
12064 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12065 * sysdeps/pthread/timer_routines.c: ... here.
12066 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12067 * sysdeps/pthread/timer_settime.c: ... here.
12068 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12069 * sysdeps/pthread/tst-timer.c: ... here.
12070 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12071 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12073 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12074 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12076 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12077 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12078 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12079 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12080 Update #include target.
12081 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12082 * sysdeps/i386/i686/nptl/Makefile: ... here.
12083 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12084 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12085 Update #include target.
12086 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12087 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12088 * nptl/sysdeps/i386/Makefile: Moved ...
12089 * sysdeps/i386/nptl/Makefile: ... here.
12090 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12091 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12092 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12093 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12094 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12095 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12096 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12097 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12098 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12099 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12100 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12101 * nptl/sysdeps/i386/tls.h: Moved ...
12102 * sysdeps/i386/nptl/tls.h: ... here.
12104 * sysdeps/sh/Makefile [$(subdir) = csu]
12105 (gen-as-const-headers): Add tcb-offsets.sym.
12106 * nptl/sysdeps/sh/Makefile: File removed.
12107 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12108 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12109 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12110 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12111 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12112 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12113 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12114 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12115 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12116 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12117 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12118 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12119 * nptl/sysdeps/sh/tls.h: Moved ...
12120 * sysdeps/sh/nptl/tls.h: ... here.
12121 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12122 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12123 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12124 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12125 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12126 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12127 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12128 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12129 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12130 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12131 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12132 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12133 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12134 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12135 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12136 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12137 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12138 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12139 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12140 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12141 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12142 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12143 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12144 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12145 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12147 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12148 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12150 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12151 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12152 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12153 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12154 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12155 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12156 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12157 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12158 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12159 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12160 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12161 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12162 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12163 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12164 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12165 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12166 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12167 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12168 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12170 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12172 * posix/spawn_faction_addopen.c: Include string.h.
12174 2014-06-11 Roland McGrath <roland@hack.frob.com>
12176 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12177 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12178 * nptl/sysdeps/x86_64/Makefile: Moved ...
12179 * sysdeps/x86_64/nptl/Makefile: ... here.
12180 * nptl/sysdeps/x86_64/configure: Moved ...
12181 * sysdeps/x86_64/nptl/configure: ... here.
12182 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12183 * sysdeps/x86_64/nptl/configure.ac: ... here.
12184 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12185 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12186 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12187 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12188 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12189 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12190 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12191 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12192 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12193 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12194 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12195 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12196 * nptl/sysdeps/x86_64/tls.h: Moved ...
12197 * sysdeps/x86_64/nptl/tls.h: ... here.
12198 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12199 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12200 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12201 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12203 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12205 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12209 2014-06-11 Joseph Myers <joseph@codesourcery.com>
12211 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12213 [POSIX] (off_t): Likewise.
12214 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12215 [POSIX] (S_ISBLK): Require macro.
12216 [POSIX] (S_ISCHR): Likewise.
12217 [POSIX] (S_ISDIR): Likewise.
12218 [POSIX] (S_ISFIFO): Likewise.
12219 [POSIX] (S_ISREG): Likewise.
12220 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12222 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12224 [POSIX] (time_t): Likewise.
12225 [POSIX] (timer_t): Likewise.
12227 2014-06-11 Florian Weimer <fweimer@redhat.com>
12230 * posix/spawn_int.h (struct __spawn_action): Make the path string
12231 non-const to support deallocation.
12232 * posix/spawn_faction_addopen.c
12233 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12234 * posix/spawn_faction_destroy.c
12235 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12236 path in all spawn_do_open actions.
12237 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12238 posix_spawn_file_actions_addopen.
12240 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12242 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12243 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12244 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12245 conditional code always true.
12246 (__libc_vfork): New alias.
12248 2014-06-11 Roland McGrath <roland@hack.frob.com>
12250 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12251 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12253 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12255 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12256 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12258 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12259 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12261 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12262 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12264 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12266 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12267 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12268 multiarch strcmp for PPC64.
12269 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12270 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12271 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12272 multiarch optimizations.
12273 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12274 (__libc_ifunc_impl_list): Likewise.
12276 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12278 * benchtests/scripts/validate_benchout.py: New script.
12279 * benchtests/Makefile (bench-func): Call it.
12280 * benchtests/scripts/benchout.schema.json: New file.
12282 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12284 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12285 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12286 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12287 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12288 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12289 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12290 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12291 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12292 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12293 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12294 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12295 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12296 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12297 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12298 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12299 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12311 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12313 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
12317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
12320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
12322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
12324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
12326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
12328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
12331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
12333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12403 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12404 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12405 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12406 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12407 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12409 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12411 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12412 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12413 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12414 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12415 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12416 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12417 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12418 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12419 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12420 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12421 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12422 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12423 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12425 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12426 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12428 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12429 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12430 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12431 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12433 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12434 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12435 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12436 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12437 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12438 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12439 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12441 2014-06-10 Wilco <wdijkstr@arm.com>
12443 * math/test-fenv-return.c: New file.
12444 * math/Makefile: Add new test test-fenv-return.
12446 2014-06-10 Joseph Myers <joseph@codesourcery.com>
12449 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12450 when x - 1 is zero.
12451 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12452 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12453 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12454 0.0L for an argument of 1.0L.
12455 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12457 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12458 value when x - 1 is zero.
12459 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12460 * sysdeps/i386/fpu/libm-test-ulps: Update.
12461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12463 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12466 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12468 2014-06-09 Roland McGrath <roland@hack.frob.com>
12470 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12471 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12473 2014-06-09 Roland McGrath <roland@hack.frob.com>
12475 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12476 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12478 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12479 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12481 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12482 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12484 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12485 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12487 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12488 if not already defined.
12489 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12490 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12491 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12492 (TLS_INIT_TP): Use it.
12493 (TLS_DEFINE_INIT_TP): New macro.
12494 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12496 2014-06-09 Joseph Myers <joseph@codesourcery.com>
12498 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12500 [POSIX] (IXANY): Likewise.
12501 [POSIX] (OLCUC): Likewise.
12502 [POSIX || POSIX2008] (CBAUD): Do not allow.
12503 [POSIX || POSIX2008] (DEFECHO): Likewise.
12504 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12505 [POSIX || POSIX2008] (ECHOKE): Likewise.
12506 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12507 [POSIX || POSIX2008] (EXTA): Likewise.
12508 [POSIX || POSIX2008] (EXTB): Likewise.
12509 [POSIX || POSIX2008] (FLUSHO): Likewise.
12510 [POSIX || POSIX2008] (LOBLK): Likewise.
12511 [POSIX || POSIX2008] (PENDIN): Likewise.
12512 [POSIX || POSIX2008] (SWTCH): Likewise.
12513 [POSIX || POSIX2008] (VDISCARD): Likewise.
12514 [POSIX || POSIX2008] (VDSUSP): Likewise.
12515 [POSIX || POSIX2008] (VLNEXT): Likewise.
12516 [POSIX || POSIX2008] (VREPRINT): Likewise.
12517 [POSIX || POSIX2008] (VSTATUS): Likewise.
12518 [POSIX || POSIX2008] (VWERASE): Likewise.
12519 (B*): Change to B[0123456789]*.
12520 * conform/data/time.h-data [POSIX || UNIX98]
12521 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12522 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12523 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12524 [POSIX] (tm_*): Do not allow.
12526 2014-06-07 Joseph Myers <joseph@codesourcery.com>
12528 * Makefile (install): Don't set LANGUAGE.
12529 * Makefile.in (install): Likewise.
12530 * assert/Makefile (test-assert-ENV): Remove variable.
12531 (test-assert-perr-ENV): Likewise.
12532 * elf/Makefile (neededtest4-ENV): Likewise.
12533 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12534 [$(cross-compiling) = no]: Don't set LANGUAGE.
12535 * io/ftwtest-sh (LANG): Remove variable.
12536 * libio/Makefile (tst-widetext-ENV): Likewise.
12537 * manual/install.texi (Running make install): Don't refer to
12538 environment settings for make install.
12539 * INSTALL: Regenerated.
12540 * nptl/tst-tls6.sh: Don't set LANG.
12541 * posix/globtest.sh (LANG): Remove variable.
12542 * string/Makefile (tester-ENV): Likewise.
12543 (inl-tester-ENV): Likewise.
12544 (noinl-tester-ENV): Likewise.
12545 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12546 [$(cross-compiling) = no]: Don't set LANGUAGE.
12547 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12548 without explicit environment settings.
12550 2014-06-06 Roland McGrath <roland@hack.frob.com>
12552 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12553 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12554 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12555 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12557 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12559 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12560 other files in the crypt directory.
12561 * crypt/crypt.c: Remove duplicate includes.
12562 * crypt/crypt-entry.c: Likewise.
12563 * crypt/crypt_util.c: Likewise.
12565 2014-06-06 Joseph Myers <joseph@codesourcery.com>
12567 * Makeconfig (run-program-env): New variable.
12568 (run-program-prefix-before-env): Likewise.
12569 (run-program-prefix-after-env): Likewise.
12570 (run-program-prefix): Define in terms of new variables.
12571 (built-program-cmd-before-env): New variable.
12572 (built-program-cmd-after-env): Likewise.
12573 (built-program-cmd): Define in terms of new variables.
12574 (test-program-prefix-before-env): New variable.
12575 (test-program-prefix-after-env): Likewise.
12576 (test-program-prefix): Define in terms of new variables.
12577 (test-program-cmd-before-env): New variable.
12578 (test-program-cmd-after-env): Likewise.
12579 (test-program-cmd): Define in terms of new variables.
12580 * Rules (make-test-out): Use $(run-program-env).
12581 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12582 (help): Do not mention environment variables. Mention
12583 --timeoutfactor option.
12584 (timeoutfactor): New variable.
12585 (blacklist_exports): Remove function.
12586 (exports): Remove variable.
12587 (command): Do not include ${exports}.
12588 * manual/install.texi (Configuring and compiling): Do not mention
12589 test wrappers preserving environment variables. Mention that last
12590 assignment to a variable must take precedence.
12591 * INSTALL: Regenerated.
12592 * benchtests/Makefile (run-bench): Use $(run-program-env).
12593 * catgets/Makefile ($(objpfx)test1.cat): Use
12594 $(built-program-cmd-before-env), $(run-program-env) and
12595 $(built-program-cmd-after-env).
12596 ($(objpfx)test2.cat): Do not specify environment variables
12598 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12599 $(run-program-env) and $(built-program-cmd-after-env).
12600 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12601 $(run-program-env) and $(test-program-cmd-after-env).
12602 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12604 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12605 run_program_env and test_program_cmd_after_env arguments.
12606 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12607 * elf/tst-pathopt.sh: Use run_program_env argument.
12608 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12609 $(test-wrapper-env) and $(run-program-env).
12610 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12611 run_program_env arguments.
12612 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12613 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12614 $(test-program-prefix-before-env), $(run-program-env) and
12615 $(test-program-prefix-after-env).
12616 ($(objpfx)tst-gettext2.out): Likewise.
12617 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12618 run_program_env and test_program_prefix_after_env arguments.
12619 * intl/tst-gettext2.sh: Likewise.
12620 * intl/tst-gettext4.sh: Do not set environment variables
12622 * intl/tst-gettext6.sh: Likewise.
12623 * intl/tst-translit.sh: Likewise.
12624 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12625 $(test-program-prefix-before-env), $(run-program-env) and
12626 $(test-program-prefix-after-env).
12627 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12628 run_program_env and test_program_prefix_after_env arguments.
12629 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12630 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12631 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12632 explicitly with each use of ${test_wrapper_env}.
12633 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12634 $(test-program-prefix-before-env), $(run-program-env) and
12635 $(test-program-prefix-after-env).
12636 * posix/tst-getconf.sh: Do not set environment variables
12638 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12639 run_program_env and test_program_prefix_after_env arguments.
12640 * stdio-common/tst-printf.sh: Do not set environment variables
12642 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12643 $(test-program-prefix-before-env), $(run-program-env) and
12644 $(test-program-prefix-after-env).
12645 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12646 run_program_env and test_program_prefix_after_env arguments.
12647 Split $test calls into $test_pre and $test.
12648 * timezone/Makefile (build-testdata): Use
12649 $(built-program-cmd-before-env), $(run-program-env) and
12650 $(built-program-cmd-after-env).
12652 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12654 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12655 strlen for non SHARED builds.
12657 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12659 * nptl/allocatestack.c (check_list): Inlined function...
12660 (__reclaim_stacks): ... here.
12662 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12665 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12668 2014-06-05 Joseph Myers <joseph@codesourcery.com>
12670 * Rules (make-test-out): Include
12671 LOCPATH=$(common-objpfx)localedata in default environment.
12672 * debug/Makefile (tst-chk1-ENV): Remove variable.
12673 (tst-chk2-ENV): Likewise.
12674 (tst-chk3-ENV): Likewise.
12675 (tst-chk4-ENV): Likewise.
12676 (tst-chk5-ENV): Likewise.
12677 (tst-chk6-ENV): Likewise.
12678 (tst-lfschk1-ENV): Likewise.
12679 (tst-lfschk2-ENV): Likewise.
12680 (tst-lfschk3-ENV): Likewise.
12681 (tst-lfschk4-ENV): Likewise.
12682 (tst-lfschk5-ENV): Likewise.
12683 (tst-lfschk6-ENV): Likewise.
12684 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12685 (tst-iconv7-ENV): Likewise.
12686 * intl/Makefile (LOCPATH-ENV): Likewise.
12687 (tst-codeset-ENV): Likewise.
12688 (tst-gettext3-ENV): Likewise.
12689 (tst-gettext5-ENV): Likewise.
12690 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12691 (tst-fopenloc-ENV): Likewise.
12692 (tst-fgetws-ENV): Remove variable.
12693 (tst-ungetwc1-ENV): Likewise.
12694 (tst-ungetwc2-ENV): Likewise.
12695 (bug-ungetwc2-ENV): Likewise.
12696 (tst-swscanf-ENV): Likewise.
12697 (bug-ftell-ENV): Likewise.
12698 (tst-fgetwc-ENV): Likewise.
12699 (tst-fseek-ENV): Likewise.
12700 (tst-ftell-partial-wide-ENV): Likewise.
12701 (tst-ftell-active-handler-ENV): Likewise.
12702 (tst-ftell-append-ENV): Likewise.
12703 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12704 (tst-regexloc-ENV): Likewise.
12705 (bug-regex1-ENV): Likewise.
12706 (tst-regex-ENV): Likewise.
12707 (tst-regex2-ENV): Likewise.
12708 (bug-regex5-ENV): Likewise.
12709 (bug-regex6-ENV): Likewise.
12710 (bug-regex17-ENV): Likewise.
12711 (bug-regex18-ENV): Likewise.
12712 (bug-regex19-ENV): Likewise.
12713 (bug-regex20-ENV): Likewise.
12714 (bug-regex22-ENV): Likewise.
12715 (bug-regex23-ENV): Likewise.
12716 (bug-regex25-ENV): Likewise.
12717 (bug-regex26-ENV): Likewise.
12718 (bug-regex30-ENV): Likewise.
12719 (bug-regex32-ENV): Likewise.
12720 (bug-regex33-ENV): Likewise.
12721 (bug-regex34-ENV): Likewise.
12722 (bug-regex35-ENV): Likewise.
12723 (tst-rxspencer-ENV): Likewise.
12724 (tst-rxspencer-no-utf8-ENV): Likewise.
12725 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12726 (tst-sscanf-ENV): Likewise.
12727 (tst-swprintf-ENV): Likewise.
12728 (tst-swscanf-ENV): Likewise.
12729 (test-vfprintf-ENV): Likewise.
12730 (scanf13-ENV): Likewise.
12731 (bug14-ENV): Likewise.
12732 (tst-grouping-ENV): Likewise.
12733 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12734 (tst-strtod3-ENV): Likewise.
12735 (tst-strtod4-ENV): Likewise.
12736 (tst-strtod5-ENV): Likewise.
12737 (testmb2-ENV): Likewise./
12738 * string/Makefile (tst-strxfrm-ENV): Likewise.
12739 (tst-strxfrm2-ENV): Likewise.
12740 (bug-strcoll1-ENV): Likewise.
12741 (test-strcasecmp-ENV): Likewise.
12742 (test-strncasecmp-ENV): Likewise.
12743 * time/Makefile (tst-strptime-ENV): Likewise.
12744 (tst-ftime_l-ENV): Likewise.
12745 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12746 (tst-mbrtowc-ENV): Likewise.
12747 (tst-wcrtomb-ENV): Likewise.
12748 (tst-mbrtowc2-ENV): Likewise.
12749 (tst-c16c32-1-ENV): Likewise.
12750 (tst-mbsnrtowcs-ENV): Likewise.
12752 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12754 * manual/resource.texi (How to get information about the memory
12755 subsystem?): Fix typo.
12756 Reported by Peon de la Parra Ivan <peon@keba.com>
12758 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12761 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12762 (pthread_spin_lock): Branch out of spin loop to proper location.
12763 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12764 (pthread_spin_lock): Likewise.
12766 * nptl/tst-spin4.c: New test.
12767 * nptl/Makefile (tests): Add tst-spin4.
12769 2014-06-03 Andreas Schwab <schwab@suse.de>
12772 * resolv/res_send.c (send_dg): Reload file descriptor after
12775 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12777 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12779 2014-06-03 Richard Henderson <rth@redhat.com>
12781 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12782 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12783 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12784 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12785 in the SAVE_PID block.
12786 (__libc_vfork): New alias.
12787 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12789 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12790 child in registers, not on the stack. Remove RESET_PID conditionals.
12791 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12793 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12795 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12797 2014-06-03 Wilco <wdijkstr@arm.com>
12799 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12800 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12801 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12802 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12803 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12806 2014-06-03 Wilco <wdijkstr@arm.com>
12808 * sysdeps/aarch64/fpu/math_private.h
12809 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12810 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12811 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12812 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12815 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12817 * crypt/crypt-private.h: Include ufc-crypt.h.
12818 (__b64_from_24bit): Declare extern.
12819 * crypt/crypt_util.c(__b64_from_24bit): New function.
12820 (b64t): New static const variable.
12821 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12822 (b64t): Remove variable.
12823 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12824 * crypt/sha256-crypt.c: Include crypt-private.h.
12825 (b64t): Remove variable.
12826 (__sha256_crypt_r): Remove b64_from_24bit and replace
12827 with __b64_from_24bit.
12828 * crypt/sha512-crypt.c: Likewise.
12830 2014-06-02 Roland McGrath <roland@hack.frob.com>
12832 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12833 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12834 Label the code __libc_vfork rather than __vfork.
12835 [!NOT_IN_libc] (vfork): Define as weak alias.
12836 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12837 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12838 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12840 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12842 * malloc/malloc.c (malloc_info): Fix format specifier for
12845 2014-06-02 Wilco <wdijkstr@arm.com>
12847 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12850 2014-06-02 Wilco <wdijkstr@arm.com>
12853 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12854 Rewrite to reduce FPCR/FPSR accesses.
12856 2014-06-01 David S. Miller <davem@davemloft.net>
12858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12860 2014-05-31 David S. Miller <davem@davemloft.net>
12862 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12863 to occur in round to nearest mode when |x| >= 2.0
12865 2014-05-30 Richard Henderson <rth@twiddle.net>
12867 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12868 (PSEUDO_RET_NOERRNO): Remove.
12869 (ret): Don't redefine.
12870 (ret_NOERRNO): Define in terms of ret.
12871 (ret_ERRVAL): Likewise.
12873 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12874 use of PSEUDO_RET; perform the error check directly.
12876 2014-05-30 Marko Myllynen <myllynen@redhat.com>
12878 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12881 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12883 * malloc/malloc (malloc_info): Fix formatting.
12885 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12886 Roland McGrath <roland@hack.frob.com>
12888 * malloc/malloc (malloc_info): Also print mmapped statistics.
12890 2014-05-30 Roland McGrath <roland@hack.frob.com>
12892 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12893 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12895 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
12897 * malloc/malloc.c (malloc_info): Inline mi_arena.
12899 2014-05-29 Richard Henderson <rth@twiddle.net>
12901 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12902 Remove comma before expanding ASM_ARGS_##nr.
12903 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12904 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12906 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12907 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12908 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12909 (ASM_ARGS_1): Add leading comma.
12911 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12912 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12913 to __errno_location.
12914 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12915 Remove the expected plt for __errno_location.
12917 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12918 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12921 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12922 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12923 it and break it down.
12924 (DOCARGS_0, DOCARGS_1): Do nothing.
12925 (DOCARGS_2): Update to store into the new stack frame.
12926 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12927 (UNDOCARGS_1): Update to restore from the new stack frame.
12928 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12929 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12931 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12932 (SINGLE_THREAD_P): New parameter for result regno.
12933 (PSEUDO): Update to match; use cbz instead of beq.
12935 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12936 Use ENTRY to define the _nocancel entry point. Share the syscall
12937 and syscall error check paths with the cancel path.
12940 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12941 whitespace; tabs before and after asm mnemonics.
12943 2014-05-29 Eric Wong <normalperson@yhbt.net>
12946 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12947 Call fstat64 or stat64 internally, depending on arguments passed.
12948 Replace stat buffer argument with file descriptor argument.
12949 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12950 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12951 Pass fd to __internal_statvfs instead of calling fstat64.
12952 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12953 Pass fd to __internal_statvfs64 instead of calling fstat64.
12954 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12955 Pass -1 to __internal_statvfs instead of calling stat64.
12956 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12957 Pass -1 to __internal_statvfs64 instead of calling stat64.
12959 2014-05-28 Roland McGrath <roland@hack.frob.com>
12961 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12962 that was previously under [RESET_PID].
12963 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12965 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12966 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12968 2014-05-27 Roland McGrath <roland@hack.frob.com>
12970 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12972 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12973 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12975 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
12977 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12979 2014-05-27 Andreas Schwab <schwab@suse.de>
12981 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12983 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12984 * elf/rtld.c (init_tls, dl_main): Likewise.
12985 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12986 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12987 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12988 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12989 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12990 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12991 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12992 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12993 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12994 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12995 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12996 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12997 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12998 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12999 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13000 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13001 * sysdeps/generic/tls.h: Update description.
13003 2014-05-27 Will Newton <will.newton@linaro.org>
13006 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13007 and restore r2 rather than just restoring.
13009 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13012 * libio/tst-ftell-append.c: New test case.
13013 * libio/Makefile (tests): Add test case.
13014 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13016 * libio/wfileops.c (do_ftell_wide): Likewise.
13018 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13022 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13026 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13027 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13028 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13029 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13030 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13031 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13032 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13035 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13038 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13039 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13040 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13041 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13042 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13044 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13045 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13047 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13049 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13051 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13052 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13053 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13055 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13056 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13057 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13058 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13060 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13063 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13066 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13069 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13073 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13076 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13081 conditional [RESET_PID].
13082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13083 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13085 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13090 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13091 (__libc_vfork): New strong alias.
13092 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13094 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13099 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13100 (__libc_vfork): New strong alias.
13101 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13103 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13106 2014-05-26 Carlos O'Donell <carlos@redhat.com>
13108 * malloc/malloc.c (mi_arena): New function.
13109 (malloc_info): Remove nested function mi_arena. Call non-nosted
13112 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13114 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13116 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13117 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13118 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13119 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13120 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13121 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13122 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13124 2014-05-26 Andreas Schwab <schwab@suse.de>
13127 * locale/programs/repertoire.c (repertoire_read): Add slash
13128 between I18NPATH element and file name.
13129 * locale/programs/locfile.c (locfile_read): Likewise.
13131 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13133 * nptl/pthread_mutexattr_settype.c
13134 (__pthread_mutexattr_settype):
13135 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13137 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13139 * nptl/tst-mutex5 (do_test):
13140 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13142 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13144 * benchtests/README: Document 'init' directive.
13145 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13147 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13148 (parse_file): Recognize 'init' directive.
13150 2014-05-26 Kyle McMartin <kyle@redhat.com>
13153 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13154 alignment of struct pthread.
13156 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13159 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13160 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13161 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13162 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13164 2014-05-25 Richard Henderson <rth@twiddle.net>
13166 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13167 (SINGLE_THREAD_P_PIC): Remove.
13168 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13169 (SINGLE_THREAD_P_PIC): Remove.
13171 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13172 branch to syscall error ...
13173 (PSEUDO): ... here.
13174 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13175 from __local_syscall_error to .Lsyscall_error.
13176 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13177 (SYSCALL_ERROR): Update label name.
13179 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13180 Do not use DOARGS/UNDOARGS.
13181 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13182 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13183 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13184 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13185 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13187 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13190 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13191 define if !NOT_IN_libc.
13192 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13193 define with non-default symbol versions.
13195 2014-05-23 Richard Henderson <rth@twiddle.net>
13197 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13198 (vfork, __vfork): Define via compat_symbol.
13200 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13201 [!HAVE_IFUNC] (vfork_compat): Remove.
13202 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13204 2014-05-23 Joseph Myers <joseph@codesourcery.com>
13207 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13208 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13211 2014-05-23 Richard Henderson <rth@twiddle.net>
13213 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13214 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13215 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13216 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13218 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13219 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13220 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13221 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13222 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13223 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13224 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13225 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13226 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13227 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13228 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13229 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13230 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13231 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13232 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13233 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13234 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13235 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13236 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13237 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13238 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13239 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13240 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13241 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13242 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13243 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13244 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13245 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13246 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13247 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13248 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13249 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13250 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13251 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13252 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13253 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13254 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13255 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13256 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13257 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13258 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13259 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13260 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13261 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13262 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13263 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13264 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13265 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13266 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13267 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13268 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13269 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13270 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13271 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13272 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13273 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13275 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13276 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13277 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13278 before exiting on error.
13279 (__libc_vfork): New strong alias.
13280 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13281 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13283 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13284 that was previously under [RESET_PID].
13285 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13287 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13289 2014-05-23 Joseph Myers <joseph@codesourcery.com>
13292 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13293 value when x - 1 is zero.
13294 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13295 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13296 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13297 0.0L for an argument of 1.0L.
13298 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13300 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13301 value when x - 1 is zero.
13302 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13303 * sysdeps/i386/fpu/libm-test-ulps: Update.
13304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13306 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13308 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13309 alphasort and versionsort.
13311 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13313 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13315 [copysignf]: Likewise.
13317 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13319 * crypt/md5-crypt.c: Fix formatting.
13321 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13323 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13324 (b64_from_24bit): New function.
13326 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13328 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13329 libc_hidden_builtin_def to ifunc.
13330 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13331 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13333 2014-05-21 Roland McGrath <roland@hack.frob.com>
13335 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13336 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13338 2014-05-21 Joseph Myers <joseph@codesourcery.com>
13340 * nscd/Depend (linuxthreads): Remove.
13342 * resolv/Depend (linuxthreads): Remove.
13343 * rt/Depend (linuxthreads): Remove.
13345 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13346 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13347 $(common-objpfx)elf/.
13348 (link-libc-before-gnulib): Likewise.
13349 (elfobjdir): Remove variable.
13350 * Makefile (install): Use $(elf-objpfx) instead of
13351 $(common-objpfx)elf/.
13352 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13354 (link-libc-deps): Likewise.
13355 ($(common-objpfx)libc.so): Likewise.
13356 ($(common-objpfx)linkobj/libc.so): Likewise.
13357 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13358 instead of $(common-objpfx)elf/.
13359 (symbolic-link-list): Likewise.
13360 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13361 [$(cross-compiling) = no]: Likewise.
13362 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13364 (static-gnulib-arch): Likewise.
13365 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13366 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13367 $(common-objpfx)elf/.
13369 2014-05-21 Richard Henderson <rth@redhat.com>
13371 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13372 (SINGLE_THREAD_P): Use the correct width load. Fold
13373 into the ldr offset.
13375 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13376 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13378 2014-05-20 Joseph Myers <joseph@codesourcery.com>
13380 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13381 (libgcc_s_resume): Use __attribute_used__.
13382 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13385 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13387 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13388 optimization when used with float constants.
13390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13392 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13395 * locale/nl_langinfo_l.c: Make direct reference to every
13396 _nl_current_CATEGORY symbol.
13397 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13398 (tests-static): Add tst-langinfo-static.
13399 (tests-special): Add tst-langinfo-static.out.
13400 ($(objpfx)tst-langinfo.out): Redirect output.
13401 ($(objpfx)tst-langinfo-static.out): New.
13402 * localedata/tst-langinfo.sh: Send output to stdout.
13403 * localedata/tst-langinfo-static.c: New file.
13406 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13407 when the shift amount is modulo the limb size.
13409 2014-05-20 Richard Henderson <rth@redhat.com>
13412 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13413 Change type of sa_flags from unsigned int to int.
13416 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13418 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13420 2014-05-20 Will Newton <will.newton@linaro.org>
13422 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13423 Test the return value of the system call in the nocancel case.
13425 2014-05-20 Will Newton <will.newton@linaro.org>
13426 Yvan Roux <yvan.roux@linaro.org>
13428 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13429 #include of asm/ptrace.h.
13430 (PTRACE_GET_THREAD_AREA): Remove #undef.
13431 (PTRACE_GETHBPREGS): Likewise.
13432 (PTRACE_SETHBPREGS): Likewise.
13433 (struct user_regs_struct): New structure.
13434 (struct user_fpsimd_struct): New structure.
13435 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13436 #include of asm/ptrace.h and second #include of sys/user.h.
13437 (PTRACE_GET_THREAD_AREA): Remove #undef.
13438 (PTRACE_GETHBPREGS): Likewise.
13439 (PTRACE_SETHBPREGS): Likewise.
13440 (ELF_NGREG): Use new struct user_regs_struct.
13441 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13443 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13445 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13446 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13448 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13451 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13452 membar to avoid block loads/stores to overlap previous stores.
13454 2014-05-17 Richard Henderson <rth@redhat.com>
13456 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13457 Create the __##syscall_name##_nocancel entry point.
13458 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13459 Remove; let the sysdep-cancel.h code create it.
13461 2014-05-17 David S. Miller <davem@davemloft.net>
13463 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13464 Protect with __USE_GNU.
13465 (TIOCSET_TEMPT): Likewise.
13466 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13467 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13468 these are already provided in bits/ioctl-types.h
13470 2014-05-16 Roland McGrath <roland@hack.frob.com>
13472 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13473 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13475 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13476 Use wait4 regardless of [__NR_waitpid].
13478 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13481 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13482 (_FP_NANSIGN_Q): Set the quiet bit.
13484 2014-05-16 Joseph Myers <joseph@codesourcery.com>
13486 * benchtests/Makefile
13487 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13488 not $(common-objpfx)math/libm.so.
13489 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13490 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13491 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13492 $(common-objpfx)dlfcn/libdl.so.
13493 ($(objpfx)tst-audit8): Depend on $(libm), not
13494 $(common-objpfx)math/libm.so.
13495 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13496 not $(common-objpfx)dlfcn/libdl.so.
13498 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13499 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13500 [$(build-shared) = yes].
13501 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13502 $(common-objpfx)nptl/libpthread.so.
13503 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13504 $(common-objpfx)math/libm.so$(libm.so-version) or
13505 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13506 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13507 $(common-objpfx)dlfcn/libdl.so.
13508 * setjmp/Makefile (link-libm): Remove variable.
13509 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13510 * stdio-common/Makefile (link-libm): Remove variable.
13511 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13512 * stdlib/Makefile (link-libm): Remove variable.
13513 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13514 ($(objpfx)tst-strtod-round): Likewise.
13515 ($(objpfx)tst-tininess): Likewise.
13516 ($(objpfx)tst-strtod-underflow): Likewise.
13517 ($(objpfx)tst-strtod6): Likewise.
13518 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13519 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13520 $(common-objpfx)dlfcn/libdl.so.
13522 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13524 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13525 BSD terminal modes definitions.
13527 2014-05-16 Roland McGrath <roland@hack.frob.com>
13529 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13530 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13532 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13533 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13534 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13535 Don't do #include_next.
13536 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13537 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13538 Don't do #include_next.
13539 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13540 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13541 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13542 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13544 2014-05-16 Allan McRae <allan@archlinux.org>
13546 * po/sv.po: Update Swedish translation from translation project.
13548 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13551 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13554 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13555 errno if the TIOCGPTN ioctl fails with an error different than
13557 * login/tst-ptsname.c: New file.
13558 * login/Makefile (tests): Add tst-ptsname.
13561 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13564 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13567 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13568 herrno to return EAI_AGAIN.
13570 2014-05-14 Roland McGrath <roland@hack.frob.com>
13572 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13573 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13574 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13575 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13576 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13577 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13578 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13579 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13580 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13581 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13582 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13583 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13584 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13585 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13586 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13587 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13588 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13589 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13590 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13591 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13592 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13593 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13594 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13595 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13596 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13597 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13598 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13599 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13600 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13601 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13603 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13605 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13608 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13609 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13610 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13612 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13614 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13616 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13618 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13620 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13622 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13624 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13626 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13628 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13630 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13632 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13634 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13637 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13639 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13641 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13643 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13644 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13645 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13647 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13649 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13651 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13653 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13654 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13655 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13658 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13660 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13662 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13663 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13664 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13665 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13666 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13667 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13668 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13669 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13670 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13671 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13672 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13673 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13674 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13675 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13676 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13677 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13678 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13679 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13680 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13681 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13682 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13683 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13684 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13685 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13686 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13687 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13688 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13689 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13690 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13691 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13692 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13694 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13695 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13697 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13698 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13699 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13700 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13701 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13702 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13704 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13705 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13707 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13708 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13710 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13711 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13713 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13714 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13715 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13716 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13718 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13719 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13720 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13721 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13722 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13723 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13724 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13725 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13727 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13728 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13730 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13732 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13733 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13734 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13735 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13736 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13738 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13740 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13742 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13743 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13744 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13745 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13746 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13747 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13749 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13750 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13752 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13753 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13755 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13756 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13758 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13759 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13760 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13761 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13763 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13764 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13765 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13766 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13767 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13768 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13769 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13770 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13772 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13773 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13775 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13777 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13778 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13779 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13780 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13781 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13783 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13785 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13787 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13788 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13789 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13790 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13791 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13792 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13793 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13794 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13795 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13796 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13798 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13799 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13801 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13802 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13804 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13805 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13807 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13808 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13809 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13810 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13811 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13812 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13814 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13815 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13816 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13817 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13818 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13819 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13820 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13821 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13823 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13824 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13826 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13828 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13829 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13830 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13831 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13832 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13834 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13836 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13838 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13839 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13840 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13841 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13842 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13843 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13844 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13845 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13846 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13847 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13848 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13850 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13851 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13853 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13854 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13856 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13857 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13858 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13859 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13860 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13861 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13862 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13863 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13864 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13865 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13866 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13867 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13868 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13869 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13870 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13871 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13872 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13873 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13875 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13876 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13877 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13878 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13880 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13881 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13882 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13883 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13884 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13885 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13886 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13887 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13889 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13890 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13892 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13893 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13894 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13895 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13896 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13897 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13898 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13899 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13900 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13901 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13902 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13903 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13904 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13905 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13906 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13907 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13908 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13910 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13911 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13912 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13913 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13914 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13916 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13917 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13918 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13919 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13920 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13921 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13922 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13923 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13924 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13925 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13927 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13928 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13930 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13931 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13932 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13933 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13934 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13935 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13936 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13937 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13938 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13939 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13940 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13941 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13942 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13943 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13944 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13946 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13948 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13950 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13952 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13954 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13956 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13958 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13960 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13962 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13964 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13965 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13966 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13967 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13968 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13969 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13970 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13971 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13972 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13973 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13974 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13975 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13976 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13977 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13978 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
13980 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13981 that was previously under [RESET_PID].
13982 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13983 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13984 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13986 * sysdeps/i386/nptl/Implies: New file.
13987 * sysdeps/x86_64/nptl/Implies: New file.
13988 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13989 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13990 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13991 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13993 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13994 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13995 (__libc_vfork): New strong alias.
13996 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13997 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13999 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14000 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14001 (__libc_vfork): New strong alias.
14002 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14003 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14005 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14006 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14007 (__libc_vfork): New strong alias.
14008 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14009 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14010 * nptl/pt-vfork.c: New file.
14011 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14012 (libpthread: GLIBC_2.20): New version set (empty).
14014 2014-05-14 Will Newton <will.newton@linaro.org>
14016 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14019 2014-05-14 Joseph Myers <joseph@codesourcery.com>
14022 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14023 arguments with exponent 65 or above.
14024 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14025 arguments 0x1p113L or above.
14026 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14027 to arguments 0x1p107L or above.
14028 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14029 positive arguments with exponent 65 or above.
14030 * math/auto-libm-test-in: Add more tests of log1p.
14031 * math/auto-libm-test-out: Regenerated.
14034 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14035 non-finite arguments is +0.
14036 * math/s_cacosf.c (__cacosf): Likewise.
14037 * math/s_cacosl.c (__cacosl): Likewise.
14038 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14039 * sysdeps/i386/fpu/libm-test-ulps: Update.
14040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14043 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14045 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14046 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14047 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14048 for explicit high bit of mantissa when testing for argument equal
14050 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14051 * sysdeps/i386/fpu/libm-test-ulps: Update.
14052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14055 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14056 (__erf): Scale by 16 instead of 8 in potentially underflowing
14057 case. Ensure exception if result actually underflows.
14058 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14059 (__erff): Scale by 16 instead of 8 in potentially underflowing
14060 case. Ensure exception if result actually underflows.
14061 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14062 (efx8): Remove variable.
14063 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14064 case. Ensure exception if result actually underflows.
14065 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14066 (efx8): Remove variable.
14067 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14068 case. Ensure exception if result actually underflows.
14069 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14070 (efx8): Remove variable.
14071 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14072 case. Ensure exception if result actually underflows.
14073 * math/auto-libm-test-in: Add more tests of erf.
14074 * math/auto-libm-test-out: Regenerated.
14076 2014-05-14 Andreas Schwab <schwab@suse.de>
14078 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14079 Remove code conditionalized on USE___THREAD.
14081 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14082 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14085 2014-05-14 Joseph Myers <joseph@codesourcery.com>
14087 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14088 Define unconditionally.
14089 (__ASSUME_O_CLOEXEC): Likewise.
14090 (__ASSUME_SOCK_CLOEXEC): Likewise.
14091 (__ASSUME_IN_NONBLOCK): Likewise.
14092 (__ASSUME_PIPE2): Likewise.
14093 (__ASSUME_EVENTFD2): Likewise.
14094 (__ASSUME_SIGNALFD4): Likewise.
14095 (__ASSUME_DUP3): Likewise.
14096 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14097 (__ASSUME_DUP3): Do not define.
14098 (__ASSUME_EVENTFD2): Likewise.
14099 (__ASSUME_IN_NONBLOCK): Likewise.
14100 (__ASSUME_O_CLOEXEC): Likewise.
14101 (__ASSUME_PIPE2): Likewise.
14102 (__ASSUME_SIGNALFD4): Likewise.
14103 (__ASSUME_SOCK_CLOEXEC): Likewise.
14104 (__ASSUME_UTIMES): Undefine.
14105 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14106 (__ASSUME_UTIMES): Do not define.
14107 (__ASSUME_O_CLOEXEC): Likewise.
14108 (__ASSUME_SOCK_CLOEXEC): Likewise.
14109 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14110 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14112 (__ASSUME_PIPE2): Likewise.
14113 (__ASSUME_EVENTFD2): Likewise.
14114 (__ASSUME_SIGNALFD4): Likewise.
14115 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14116 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14118 (__ASSUME_EVENTFD2): Likewise.
14119 (__ASSUME_SIGNALFD4): Likewise.
14120 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14121 (__ASSUME_32BITUIDS): Likewise.
14122 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14123 (__ASSUME_IPC64): Likewise.
14124 (__ASSUME_ST_INO_64_BIT): Likewise.
14125 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14126 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14127 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14128 (__ASSUME_UTIMES): Do not define.
14129 (__ASSUME_PSELECT): Likewise.
14130 (__ASSUME_PPOLL): Likewise.
14131 (__ASSUME_O_CLOEXEC): Likewise.
14132 (__ASSUME_SOCK_CLOEXEC): Likewise.
14133 (__ASSUME_IN_NONBLOCK): Likewise.
14134 (__ASSUME_PIPE2): Likewise.
14135 (__ASSUME_EVENTFD2): Likewise.
14136 (__ASSUME_SIGNALFD4): Likewise.
14137 (__ASSUME_DUP3): Likewise.
14138 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14139 (__ASSUME_UTIMES): Likewise.
14140 (__ASSUME_O_CLOEXEC): Likewise.
14141 (__ASSUME_SOCK_CLOEXEC): Likewise.
14142 (__ASSUME_IN_NONBLOCK): Likewise.
14143 (__ASSUME_PIPE2): Likewise.
14144 (__ASSUME_EVENTFD2): Likewise.
14145 (__ASSUME_SIGNALFD4): Likewise.
14146 (__ASSUME_DUP3): Likewise.
14147 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14148 (__ASSUME_UTIMES): Likewise.
14149 (__ASSUME_O_CLOEXEC): Likewise.
14150 (__ASSUME_SOCK_CLOEXEC): Likewise.
14151 (__ASSUME_IN_NONBLOCK): Likewise.
14152 (__ASSUME_PIPE2): Likewise.
14153 (__ASSUME_EVENTFD2): Likewise.
14154 (__ASSUME_SIGNALFD4): Likewise.
14155 (__ASSUME_DUP3): Likewise.
14156 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14158 (__ASSUME_UTIMES): Likewise.
14159 (__ASSUME_EVENTFD2): Likewise.
14160 (__ASSUME_SIGNALFD4): Likewise.
14161 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14162 (__ASSUME_O_CLOEXEC): Likewise.
14163 (__ASSUME_SOCK_CLOEXEC): Likewise.
14164 (__ASSUME_IN_NONBLOCK): Likewise.
14165 (__ASSUME_PIPE2): Likewise.
14166 (__ASSUME_EVENTFD2): Likewise.
14167 (__ASSUME_SIGNALFD4): Likewise.
14168 (__ASSUME_DUP3): Likewise.
14169 (__ASSUME_UTIMES): Undefine.
14171 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14172 feclearexcept. Remove symbol versioning code.
14173 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14174 symbol versioning code.
14175 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14176 symbol versioning code.
14177 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14178 feupdateenv. Remove symbol versioning code.
14179 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14180 fegetexceptflag. Remove symbol versioning code.
14181 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14182 fesetexceptflag. Remove symbol versioning code.
14183 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14184 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14185 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14186 (__posix_fadvise64_l32): Remove prototype.
14187 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14190 2014-05-13 Roland McGrath <roland@hack.frob.com>
14192 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14193 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14194 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14195 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14197 2014-05-13 Sami Kerola <kerolasa@iki.fi>
14199 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14200 current working directory
14202 2014-05-13 Roland McGrath <roland@hack.frob.com>
14204 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14205 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14206 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14207 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14208 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14209 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14210 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14211 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14212 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14213 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14214 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14215 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14216 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14217 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14218 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14219 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14220 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14221 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14222 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14223 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14224 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14225 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14226 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14227 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14228 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14229 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14230 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14231 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14232 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14233 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14234 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14235 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14236 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14237 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14238 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14239 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14240 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14241 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14242 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14243 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14244 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14245 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14247 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14248 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14250 * sysdeps/unix/sysv/linux/arm/Makefile
14251 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14252 Add rt-aeabi_unwind_cpp_pr1.
14253 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14254 Add nptl-aeabi_unwind_cpp_pr1.
14255 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14256 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14257 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14258 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14259 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14260 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14262 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14263 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14264 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14265 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14267 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14268 Deconditionalize the code that was previously under [RESET_PID].
14269 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14271 * sysdeps/generic/exit-thread.h: New file.
14272 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14273 * include/unistd.h (__exit_thread): Remove declaration.
14274 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14275 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14276 * csu/libc-start.c: Include <exit-thread.h>.
14277 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14278 * nptl/pthread_create.c: Include <exit-thread.h>.
14279 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14280 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14281 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14282 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14283 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14284 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14285 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14286 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14287 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14288 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14289 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14290 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14291 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14292 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14293 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14294 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14295 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14297 2014-05-13 Andreas Schwab <schwab@suse.de>
14299 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14301 2014-05-12 Joseph Myers <joseph@codesourcery.com>
14303 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14304 (__ASSUME_UTIMES): Do not condition on kernel version.
14305 (__ASSUME_PSELECT): Define unconditionally.
14306 (__ASSUME_PPOLL): Likewise.
14307 (__ASSUME_ATFCTS): Likewise.
14308 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14309 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14310 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14311 (__ASSUME_UTIMENSAT): Define unconditionally.
14312 (__ASSUME_PRIVATE_FUTEX): Likewise.
14313 (__ASSUME_FALLOCATE): Likewise.
14314 (__ASSUME_O_CLOEXEC): Likewise.
14315 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14316 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14317 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14318 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14319 (__ASSUME_IN_NONBLOCK): Likewise.
14320 (__ASSUME_PIPE2): Likewise.
14321 (__ASSUME_EVENTFD2): Likewise.
14322 (__ASSUME_SIGNALFD4): Likewise.
14323 (__ASSUME_DUP3): Likewise.
14324 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14325 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14326 (__ASSUME_AT_RANDOM): Likewise.
14327 (__ASSUME_PREADV): Likewise.
14328 (__ASSUME_PWRITEV): Likewise.
14329 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14330 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14331 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14332 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14333 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14334 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14335 (__ASSUME_O_CLOEXEC): Define unconditionally.
14336 (__ASSUME_PSELECT): Do not undefine conditionally.
14337 (__ASSUME_PPOLL): Likewise.
14338 (__ASSUME_ATFCTS): Likewise.
14339 (__ASSUME_SET_ROBUST_LIST): Likewise.
14340 (__ASSUME_UTIMENSAT): Likewise.
14341 (__ASSUME_FDATASYNC): Define unconditionally.
14342 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14343 (__ASSUME_SIGFRAME_V2): Likewise.
14344 )__ASSUME_EVENTFD2): Likewise.
14345 (__ASSUME_SIGNALFD4): Likewise.
14346 (__ASSUME_PSELECT): Do not undefine conditionally.
14347 (__ASSUME_PPOLL): Likewise.
14348 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14349 (__ASSUME_PSELECT): Define unconditionally.
14350 (__ASSUME_PPOLL): Likewise.
14351 (__ASSUME_O_CLOEXEC): Likewise.
14352 (__ASSUME_SOCK_CLOEXEC): Likewise.
14353 (__ASSUME_IN_NONBLOCK): Likewise.
14354 (__ASSUME_PIPE2): Likewise.
14355 (__ASSUME_EVENTFD2): Likewise.
14356 (__ASSUME_SIGNALFD4): Likewise.
14357 (__ASSUME_DUP3): Likewise.
14358 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14359 (__ASSUME_O_CLOEXEC): Likewise.
14360 (__ASSUME_SOCK_CLOEXEC): Likewise.
14361 (__ASSUME_IN_NONBLOCK): Likewise.
14362 (__ASSUME_PIPE2): Likewise.
14363 (__ASSUME_EVENTFD2): Likewise.
14364 (__ASSUME_SIGNALFD4): Likewise.
14365 (__ASSUME_DUP3): Likewise.
14366 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14367 (__ASSUME_EVENTFD2): Likewise.
14368 (__ASSUME_SIGNALFD4): Likewise.
14369 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14371 2014-05-12 Andreas Schwab <schwab@suse.de>
14374 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14375 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14376 than maximum RPC packet size.
14377 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14378 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14379 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14380 (_nss_nis_getservbyport_r): Likewise.
14382 2014-05-12 Will Newton <will.newton@linaro.org>
14384 * malloc/Makefile (tests): Add tst-mallopt.
14385 * malloc/tst-mallopt.c: New file.
14387 2014-05-09 Roland McGrath <roland@hack.frob.com>
14389 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14390 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14392 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14394 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14395 (tst-tlsmod6.so): Likewise.
14397 2014-05-09 Roland McGrath <roland@hack.frob.com>
14399 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14401 2014-05-09 Joseph Myers <joseph@codesourcery.com>
14404 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14405 and <dl-procinfo.h>.
14406 (__fegetenv): Save SSE state in envp->__eip if supported.
14407 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14408 envp->__eip if supported.
14409 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14410 and <dl-procinfo.h>.
14411 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14412 __data_offset and __data_selector in environment to 0. Set SSE
14413 state if supported.
14414 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14416 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14418 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14420 2014-05-09 Will Newton <will.newton@linaro.org>
14422 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14423 and libc_relro_required for ARM.
14424 * sysdeps/arm/preconfigure: Regenerate.
14426 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14427 Stefan Liebler <stli@linux.vnet.ibm.com>
14429 * config.make.in (enable-lock-elision): New Makefile variable.
14430 * configure.ac: Likewise.
14431 * configure: Regenerate.
14432 * sysdeps/s390/configure.ac:
14433 Add check for gcc transactions support.
14434 * sysdeps/s390/configure: Regenerate.
14435 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14436 Build elision files if enabled.
14437 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14438 Add lock elision support for s390.
14439 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14440 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14441 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14442 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14443 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14444 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14445 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14447 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14449 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14451 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14453 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14454 (__lll_timedlock_elision, __lll_lock_elision)
14455 (__lll_unlock_elision, __lll_trylock_elision)
14456 (lll_timedlock_elision, lll_lock_elision)
14457 (lll_unlock_elision, lll_trylock_elision): Add.
14458 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14459 (pthread_mutex_t): Add lock elision support for s390.
14461 2014-05-14 Wilco <wdijkstr@arm.com>
14463 * sysdeps/arm/fclrexcpt.c: Cleanup.
14464 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14465 * sysdeps/arm/feenablxcpt.c: Cleanup.
14466 * sysdeps/arm/fegetenv.c: Cleanup.
14467 * sysdeps/arm/fegetexcept.c: Cleanup.
14468 * sysdeps/arm/fegetround.c: Cleanup.
14469 * sysdeps/arm/feholdexcpt.c: Cleanup.
14470 * sysdeps/arm/fesetenv.c: Cleanup.
14471 * sysdeps/arm/fesetround.c: Cleanup.
14472 * sysdeps/arm/feupdateenv.c: Cleanup.
14473 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14474 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14475 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14476 * sysdeps/arm/ftestexcept.c: Cleanup.
14477 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14478 * sysdeps/arm/setfpucw.c: Cleanup.
14480 2014-05-09 Will Newton <will.newton@linaro.org>
14482 * sysdeps/arm/armv7/strcmp.S: New file.
14483 * NEWS: Mention addition of ARMv7 optimized strcmp.
14485 2014-05-08 Roland McGrath <roland@hack.frob.com>
14487 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14488 look for %.ac rather than %.in.
14490 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14491 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14492 * sysdeps/mach/hurd/configure: Regenerated.
14493 * sysdeps/unix/sysv/linux/configure: Regenerated.
14495 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14497 2014-05-07 Steve Ellcey <sellcey@mips.com>
14500 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14504 2014-05-07 Andreas Schwab <schwab@suse.de>
14506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14507 when skipping over non-matching result from nscd.
14509 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
14512 * nptl/sockperf.c (client): Check socket return value.
14515 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14516 nscd security class.
14518 2014-05-06 Roland McGrath <roland@hack.frob.com>
14520 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14521 * sysdeps/arm/unwind.h: ... here.
14523 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14526 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14529 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14531 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14532 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14533 multiarch strncpy for PPC64.
14534 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14535 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14537 multiarch optimizations.
14538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14539 (__libc_ifunc_impl_list): Likewise.
14540 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14541 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14542 multiarch stpncpy for PPC64.
14543 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14544 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14546 2014-05-06 Andreas Schwab <schwab@suse.de>
14549 * gmon/mcount.c (_MCOUNT_DECL): Use
14550 atomic_compare_and_exchange_bool_acq instead of
14551 catomic_compare_and_exchange_bool_acq.
14553 2014-05-05 Roland McGrath <roland@hack.frob.com>
14555 * elf/Makefile (others, install-bin): Remove pldd.
14556 (pldd-modules): Variable removed.
14557 ($(objpfx)pldd): Target removed.
14558 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14559 (others, install-bin): Append pldd here.
14560 ($(objpfx)pldd): New target.
14562 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14563 to 0, so the first #if test emitted later doesn't see it undefined.
14564 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14565 * sysdeps/gnu/errlist.c: Regenerated.
14567 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14569 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14570 [libc_hidden_builtin_def]: Define to empty value.
14571 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14572 [libc_hidden_builtin_def]: Likewise.
14573 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14574 [libc_hidden_builtin_def]: Likewise.
14575 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14576 [libc_hidden_builtin_def]: Likewise.
14577 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14578 __redirect_memcpy and define ifunc as default hidden symbol.
14579 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14580 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14582 2014-05-04 Adam Conrad <adconrad@0c3.net>
14584 * locale/iso-4217.def: Reintroduce XDR currency.
14586 2014-05-04 Allan McRae <allan@archlinux.org>
14588 * po/eo.po: Update Esperanto translation from translation project.
14590 2014-05-02 Carlos O'Donell <carlos@redhat.com>
14592 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14593 and FEATURE_INDEX_MAX to 1.
14594 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14596 2014-05-01 Steve Ellcey <sellcey@mips.com>
14598 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14599 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14600 * iconvdata/big5.c (ONE_DIRECTION): Define.
14601 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14602 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14603 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14604 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14605 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14606 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14607 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14608 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14609 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14610 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14611 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14612 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14613 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14614 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14615 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14616 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14617 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14618 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14619 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14620 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14621 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14622 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14623 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14624 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14625 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14626 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14627 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14628 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14629 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14630 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14631 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14632 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14633 * iconvdata/johab.c (ONE_DIRECTION): Define.
14634 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14635 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14636 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14637 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14638 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14639 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14640 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14641 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14642 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14643 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14645 2014-05-01 Roland McGrath <roland@hack.frob.com>
14647 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14648 (_IO_JUMPS_OFFSET): Define to 0.
14650 * nptl/sysdeps/pthread/bits/libc-lock.h
14651 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14652 (__libc_lock_define_initialized_recursive): Always define using
14653 initializer. Modern compilers treat uninitialized (implicit zero) and
14654 explicit zero initializers the same (i.e. put the datum in bss).
14656 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14658 * nscd/nscd-client.h: Include <string.h>.
14660 2014-05-01 David S. Miller <davem@davemloft.net>
14663 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14664 multiple zero bytes exist at the end of a string.
14665 Reported by Aurelien Jarno <aurelien@aurel32.net>
14667 * string/test-strcmp.c (check): Add explicit test for situations where
14668 there are multiple zero bytes after the first.
14670 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14673 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14674 when compiling wprintf.
14675 * stdio-common/tstdiomisc.c (t3): New function.
14678 2014-05-01 Steve Ellcey <sellcey@mips.com>
14680 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14681 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14682 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14683 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14685 2014-05-01 Steve Ellcey <sellcey@mips.com>
14687 * stdlib/longlong.h: Updated from GCC.
14689 2014-05-01 Will Newton <will.newton@linaro.org>
14690 Bernard Ogden <bernie.ogden@linaro.org>
14692 * NEWS: Update fixed bug list.
14695 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14697 2014-04-30 David S. Miller <davem@davemloft.net>
14699 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14700 (libc_feholdexcept_setround_sparc_ctx): New function.
14701 (libc_fesetenv_sparc_ctx): Likewise.
14702 (libc_feupdateenv_sparc_ctx): Likewise.
14703 (libc_feholdsetround_sparc_ctx): Likewise.
14704 (libc_feholdexcept_setround_ctx): Define.
14705 (libc_feholdexcept_setroundf_ctx): Likewise.
14706 (libc_feholdexcept_setroundl_ctx): Likewise.
14707 (libc_fesetenv_ctx): Likewise.
14708 (libc_fesetenvf_ctx): Likewise.
14709 (libc_fesetenvl_ctx): Likewise.
14710 (libc_feupdateenv_ctx): Likewise.
14711 (libc_feupdateenvf_ctx): Likewise.
14712 (libc_feupdateenvl_ctx): Likewise.
14713 (libc_feresetround_ctx): Likewise.
14714 (libc_feresetroundf_ctx): Likewise.
14715 (libc_feresetroundl_ctx): Likewise.
14716 (libc_feholdsetround_ctx): Likewise.
14717 (libc_feholdsetroundf_ctx): Likewise.
14718 (libc_feholdsetroundl_ctx): Likewise.
14720 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14721 with __USE_GNU instead of XOPEN cpp guards.
14723 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14726 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14727 with XOPEN cpp guards.
14729 2014-04-30 Julian Brown <julian@codesourcery.com>
14732 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14735 2014-04-30 Joseph Myers <joseph@codesourcery.com>
14738 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14740 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14741 * sysdeps/unix/sysv/linux/configure: Regenerated.
14742 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14743 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14744 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14745 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14746 * README: Update reference to required Linux kernel version.
14747 * manual/install.texi (Linux): Update reference to required Linux
14748 kernel headers version.
14749 * INSTALL: Regenerated.
14751 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14753 [POSIX] (limits.h): Likewise.
14754 [POSIX] (math.h): Likewise.
14755 [POSIX] (sys/wait.h): Likewise.
14756 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14758 [POSIX] (stddef.h): Do not allow header inclusion.
14760 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14762 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14764 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14766 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14767 Return immediately after lll_futex_wake.
14769 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14772 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14774 (datahead_init_pos): Call datahead_init_common early.
14775 (datahead_init_neg): Likewise.
14777 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14778 datahead_init_neg): New functions.
14779 * nscd/aicache.c (addhstaiX): Use them.
14780 * nscd/grpcache.c (cache_addgr): Likewise.
14781 * nscd/hstcache.c (cache_addhst): Likewise.
14782 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14783 * nscd/netgroupcache.c (do_notfound): Likewise.
14784 (addgetnetgrentX): Likewise.
14785 (addinnetgrX): Likewise.
14786 * nscd/pwdcache.c (cache_addpw): Likewise.
14787 * nscd/servicescache.c (cache_addserv): Likewise.
14789 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14790 Atsushi Onoe <atsushi@onoe.org>
14795 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14796 one response is valid.
14797 * resolv/res_send.c (send_dg): Check for validity of other
14798 response if the current response is a referral.
14800 2014-04-29 Steve Ellcey <sellcey@mips.com>
14802 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14804 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14807 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14808 Always divide by positive zero when computing -Inf result.
14809 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14810 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14812 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14814 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14815 FPSCR if value do not change.
14816 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14817 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14818 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14819 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14820 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14821 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14824 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14826 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14827 * sysdeps/unix/sysv/linux/hppa: Move directory from
14828 ports/systeps/unix/sysv/linux/hppa.
14829 * README: Update listing for hppa-*-linux-gnu.
14831 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
14834 * manual/stdio.texi (Hook functions): Fix types of stream hook
14837 * socket/sys/socket.h: Fix typo in comment.
14839 2014-04-28 Wilco <wdijkstr@arm.com>
14841 * sysdeps/arm/fenv_private.h: New file.
14842 * sysdeps/arm/math_private.h: New file.
14843 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14845 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14847 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14849 (La_x86_64_retval): Likewise.
14851 2014-04-24 Ian Bolton <ian.bolton@arm.com>
14853 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14854 fpsr if value didn't change.
14855 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14856 to fpcr if value didn't change.
14857 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14858 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14859 fpsr or fpcr if value didn't change.
14860 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14861 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14862 fpcr if value didn't change.
14863 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14864 to fpsr if value didn't change.
14866 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14868 * nptl/tst-sem3.c: Use test-skeleton.c
14869 (main): Rename to do_test. Use return instead of
14871 * nptl/tst-sem4.c: Use test-skeleton.c
14872 (main): Rename to do_test.
14874 2014-04-22 David S. Miller <davem@davemloft.net>
14876 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14877 (struct sigaction): New struct member __glibc_reserved0, change
14878 type of sa_flags to int.
14880 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14882 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14883 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14885 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14887 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14888 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14890 2014-04-22 Will Newton <will.newton@linaro.org>
14891 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14893 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14894 (__longjmp): Add longjmp and longjmp_target SystemTap
14896 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14897 (__sigsetjmp): Add setjmp SystemTap probe.
14899 2014-04-17 Carlos O'Donell <carlos@redhat.com>
14901 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14902 match manual order.
14904 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14906 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14908 * sysdeps/powerpc/fpu/fenv_private.h
14909 (libc_feholdexcept_setroundl_ctx): Define to
14910 libc_feholdexcept_setround_ppc_ctx.
14911 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14912 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14913 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14914 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14916 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14918 * sysdeps/aarch64/math-tests.h: New file.
14920 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14922 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14925 Check and set bit_AVX2_Usable.
14926 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14928 (bit_AVX2): Likewise.
14929 (index_AVX2_Usable): Likewise.
14930 (CPUID_AVX2): Likewise.
14931 (HAS_AVX2): Likewise.
14933 2014-04-17 Will Newton <will.newton@linaro.org>
14935 * manual/setjmp.texi (System V contexts): Add note that
14936 calling setcontext on a context created by a call to a
14937 signal handler is undefined. Update text to note that
14938 setcontext from a signal handler is possible but not
14942 * stdlib/tst-setcontext.c: Include signal.h.
14943 (main): Check that the signal stack before and
14944 after swapcontext is the same.
14946 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14947 Re-implement to restore registers in user code and avoid
14948 rt_sigreturn system call.
14950 2014-04-17 Wilco <wdijkstr@arm.com>
14952 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14953 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14954 * math/test-fenv.c: Skip exception trap tests on targets which only
14955 support non-stop mode.
14957 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14958 Wilco Dijkstra <wilco.dijkstra@arm.com>
14960 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14961 (libc_feholdsetround_aarch64_ctx)
14962 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14963 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14964 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14965 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14966 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14967 (libc_feresetround_noexl_ctx): Define.
14969 2014-04-16 Richard Henderson <rth@redhat.com>
14971 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14973 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14976 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14977 const from the non-libc, non-ldso copy.
14979 * sysdeps/alpha/libm-test-ulps: Regenerate.
14981 2014-04-16 Ian Bolton <ian.bolton@arm.com>
14982 Wilco Dijkstra <wilco.dijkstra@arm.com>
14984 * sysdeps/aarch64/fpu/math_private.h: New file.
14986 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14988 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14990 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14993 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14994 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14995 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14996 Intel MPX bound registers before _dl_profile_fixup.
14997 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14998 registers after _dl_profile_fixup. Save and restore bound
14999 registers bnd0/bnd1 when calling _dl_call_pltexit.
15000 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15001 (LR_BND_OFFSET): Likewise.
15002 (LRV_BND0_OFFSET): Likewise.
15003 (LRV_BND1_OFFSET): Likewise.
15005 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15007 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15009 * sysdeps/mach/hurd/i386/tls.h: ... here.
15010 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15011 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15014 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15016 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15018 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15020 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15022 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15025 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15026 * sysdeps/s390/configure: Regenerate.
15029 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15030 Set round-to-nearest internally to reduce error accumulation.
15032 2014-04-16 Alan Modra <amodra@gmail.com>
15036 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15037 * math/libm-test.inc (frexp_test_data): Add tests.
15038 * NEWS: Update fixed bug list.
15040 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15042 * benchtests/Makefile: Depend on libraries in build directory.
15043 (bench-math): Separate out math tests.
15044 (bench-pthread): Separate out pthread tests.
15045 (bench): Include math and pthread tests.
15047 2014-04-14 Carlos O'Donell <carlos@redhat.com>
15050 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15051 _dl_debug_initialize.
15053 * configure.ac: Remove SELinux header check.
15054 * configure: Regenerate.
15055 * nscd/selinux.c (perms): Array of const char* to permission names.
15056 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15057 default policy. Call string_to_security_class and string_to_av_perm to
15058 translate strings. Enforce default policy and call avs_has_perm with
15059 results of translated strings.
15061 2014-04-13 David S. Miller <davem@davemloft.net>
15063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15065 2014-04-12 Allan McRae <allan@archlinux.org>
15068 * manual/string.texi (Collation Functions): Fix qsort argument
15070 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15072 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15074 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15075 Make the test a no-op if there are no exceptions defined.
15077 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15079 * elf/Makefile (tests): make tst-dlopen-aout conditional on
15080 enable-hardcoded-path-in-tests
15082 2014-04-11 Will Newton <will.newton@linaro.org>
15084 * benchtests/Makefile (extra-objs): Add json-lib.o.
15085 (bench-func): Tidy up JSON output.
15086 * benchtests/bench-skeleton.c: Include json-lib.h.
15087 (main): Use JSON library functions to do output of
15089 * benchtests/bench-timing-type.c (main): Output the
15090 timing type simply, leaving formatting to the user.
15091 * benchtests/json-lib.c: New file.
15092 * benchtests/json-lib.h: Likewise.
15094 2014-04-11 Torvald Riegel <triegel@redhat.com>
15097 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15098 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15099 memory barriers. Add comments.
15100 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15101 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15102 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15103 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15104 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15105 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15107 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15109 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15110 * sysdeps/s390/s390-64/configure.ac: ... this ...
15111 * sysdeps/s390/configure.ac: ... to here.
15112 * sysdeps/s390/s390-32/configure: Delete file.
15113 * sysdeps/s390/s390-64/configure: Delete file.
15114 * sysdeps/s390/configure: Regenerate.
15116 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15118 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15120 2014-04-11 Will Newton <will.newton@linaro.org>
15122 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15123 to zero if it is not defined elsewhere. (mtrim): Test
15124 the value of MALLOC_DEBUG with #if rather than #ifdef.
15126 2014-04-10 Torvald Riegel <triegel@redhat.com>
15128 * benchtests/pthread_once-inputs: New file.
15129 * benchtests/pthread_once-source.c: New file.
15130 * benchtests/README: Update documentation.
15132 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15133 H.J. Lu <hongjiu.lu@intel.com>
15136 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15137 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15138 * sysdeps/x86_64/configure: Regenerated.
15139 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15141 (REGISTER_SAVE_RAX): Likewise.
15142 (REGISTER_SAVE_RCX): Likewise.
15143 (REGISTER_SAVE_RDX): Likewise.
15144 (REGISTER_SAVE_RSI): Likewise.
15145 (REGISTER_SAVE_RDI): Likewise.
15146 (REGISTER_SAVE_R8): Likewise.
15147 (REGISTER_SAVE_R9): Likewise.
15148 (REGISTER_SAVE_BND0): Likewise.
15149 (REGISTER_SAVE_BND1): Likewise.
15150 (REGISTER_SAVE_BND2): Likewise.
15151 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15152 bound registers when calling _dl_fixup.
15154 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15156 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
15157 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15159 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15160 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15161 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15162 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15163 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15164 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15165 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15167 2014-04-09 Peter Brett <peter@peter-b.co.uk>
15170 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15171 pathconf(_PC_NAME_MAX).
15173 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15175 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15176 Remove macro usage.
15177 (__PTHREAD_SPINS): Move definition to ...
15178 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15179 (__PTHREAD_SPINS): ... here.
15180 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15181 (__PTHREAD_SPIN): Likewise.
15182 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15183 (__PTHREAD_SPIN): Likewise.
15184 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15185 (__PTHREAD_SPIN): Likewise.
15186 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15187 (__PTHREAD_SPIN): Likewise.
15188 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15189 (__PTHREAD_SPIN): Likewise.
15190 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15191 (__PTHREAD_SPIN): Likewise.
15192 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15193 (__PTHREAD_SPIN): Likewise.
15194 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15195 (__PTHREAD_SPIN): Likewise.
15196 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15197 (__PTHREAD_SPIN): Likewise.
15198 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15199 (__PTHREAD_SPIN): Likewise.
15200 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15201 (__PTHREAD_SPIN): Likewise.
15202 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15203 (__PTHREAD_SPIN): Likewise.
15205 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15206 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15207 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15208 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15210 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15211 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15212 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15213 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15214 correct imply path.
15215 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15216 strlen symbol for non multi-arch builds.
15217 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15218 missing hidden_def and weak_alias.
15220 2014-04-08 Carlos O'Donell <carlos@redhat.com>
15222 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15224 2014-04-07 Will Newton <will.newton@linaro.org>
15226 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15227 and contents. [!_LIBC] Remove #ifndef and contents.
15228 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15229 * string/memccpy.c (__memccpy): Use ANSI prototype.
15230 * string/memfrob.c (memfrob): Likewise.
15231 * string/strcoll.c (STRCOLL): Likewise.
15232 * string/strlen.c (strlen): Likewise.
15233 * string/strtok.c (STRTOK): Likewise.
15234 * string/strcat.c: Remove unused #include of memcopy.h.
15235 (strcat): Use ANSI prototype.
15236 * string/strchr.c: Remove unused #include of memcopy.h.
15237 (strchr): Use ANSI prototype.
15238 * string/strcmp.c: Remove unused #include of memcopy.h.
15239 (strcmp): Use ANSI prototype.
15240 * string/strcpy.c: Remove unused #include of memcopy.h.
15241 (strcpy): Use ANSI prototype.
15243 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15245 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15246 * config.make.in (config-extra-cppflags): Set it from
15247 libc_extra_cppflags.
15248 * configure.ac (libc_extra_cflags): Make it accumulate over
15249 configure fragments.
15250 (libc_extra_cppflags): New flag.
15251 * configure. Regenerate.
15252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15253 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15254 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15258 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15259 result for FE_DOWNWARD rounding mode.
15260 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15264 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15266 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15267 in function argument name.
15269 2014-04-03 David Svoboda <svoboda@cert.org>
15272 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15275 2014-04-03 Roland McGrath <roland@hack.frob.com>
15277 * elf/dl-unmap-segments.h: New file.
15278 * sysdeps/generic/ldsodefs.h
15279 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15280 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15281 * elf/dl-fptr.c: Likewise.
15282 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15283 * sysdeps/aarch64/tlsdesc.c: Likewise.
15284 * sysdeps/arm/tlsdesc.c: Likewise.
15285 * sysdeps/i386/tlsdesc.c: Likewise.
15286 * sysdeps/tile/dl-runtime.c: Likewise.
15287 * sysdeps/x86_64/tlsdesc.c: Likewise.
15288 * elf/dl-load.h: New file.
15289 * elf/dl-load.c: Include it.
15290 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15291 Macros moved to dl-load.h.
15292 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15293 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15294 Use _dl_unmap_segments in place of __munmap.
15295 Break out segment-mapping loop into ...
15296 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15298 2014-04-03 Will Newton <will.newton@linaro.org>
15300 * elf/dl-lookup.c (do_lookup_x): Remove comment
15301 referring to nested function and move variable
15302 declarations down to before first use.
15304 2014-04-02 Joseph Myers <joseph@codesourcery.com>
15308 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15310 * math/s_catanf.c (__catanf): Likewise.
15311 * math/s_catanh.c (__catanh): Likewise.
15312 * math/s_catanhf.c (__catanhf): Likewise.
15313 * math/s_catanhl.c (__catanhl): Likewise.
15314 * math/s_catanl.c (__catanl): Likewise.
15315 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15316 by positive zero when computing -Inf result.
15317 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15318 (catanh_test): Likewise.
15319 * sysdeps/i386/fpu/libm-test-ulps: Update.
15320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15323 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15324 instead of using underflowing value in computing result.
15325 * math/s_clog10.c (__clog10): Likewise.
15326 * math/s_clog10f.c (__clog10f): Likewise.
15327 * math/s_clog10l.c (__clog10l): Likewise.
15328 * math/s_clogf.c (__clogf): Likewise.
15329 * math/s_clogl.c (__clogl): Likewise.
15330 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15331 (clog10_test): Likewise.
15332 * sysdeps/i386/fpu/libm-test-ulps: Update.
15333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15335 2014-04-02 Alan Modra <amodra@gmail.com>
15338 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15339 output when value is near a power of two. Use int64_t for lx and
15340 remove casts. Use decimal rather than hex exponent constants.
15341 Don't use long double multiplication when double will suffice.
15342 * math/libm-test.inc (nextafter_test_data): Add tests.
15343 * NEWS: Add 16739 and 16786 to bug list.
15345 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15347 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15349 2014-04-01 Will Newton <will.newton@linaro.org>
15351 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15352 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15354 2014-04-01 Florian Weimer <fweimer@redhat.com>
15357 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15358 * nptl/tst-setuid2.c: New file.
15359 * nptl/Makefile (xtests): Add tst-setuid2.
15361 2014-04-01 Alan Modra <amodra@gmail.com>
15364 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15366 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15370 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15371 set errno as appropriate.
15372 * math/w_scalbf.c (__scalbf): Likewise.
15373 * math/w_scalbl.c (__scalbl): Likewise.
15374 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15375 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15376 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15377 Add more NaN tests.
15380 * math/w_atan2.c: Include <errno.h>.
15381 (__atan2): Set errno for result underflowing to zero.
15382 * math/w_atan2f.c: Include <errno.h>.
15383 (__atan2f): Set errno for result underflowing to zero.
15384 * math/w_atan2l.c: Include <errno.h>.
15385 (__atan2l): Set errno for result underflowing to zero.
15386 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15388 * math/auto-libm-test-out: Regenerated.
15390 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15392 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15393 Encode instruction correctly in little endian.
15394 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15396 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15398 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15400 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15403 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15406 * sysdeps/unix/sysv/linux/kernel-features.h
15407 [__sparc__ && !__arch64__ && !__sparc_v9__]
15408 (__ASSUME_SET_ROBUST_LIST): Do not define.
15409 [__sparc__ && !__arch64__ && !__sparc_v9__]
15410 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15411 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15413 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15414 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15415 (__ASSUME_REQUEUE_PI): Likewise.
15416 (__ASSUME_SET_ROBUST_LIST): Likewise.
15417 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15418 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15420 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15421 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15423 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15425 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15427 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15428 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15430 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15431 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15435 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15436 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15437 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15439 2014-03-31 Will Newton <will.newton@linaro.org>
15441 * benchtests/Makefile (bench): Add ffs and ffsll to list
15443 * benchtests/ffs-inputs: New file.
15444 * benchtests/ffsll-inputs: Likewise.
15446 2014-03-29 Joseph Myers <joseph@codesourcery.com>
15449 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15450 too large before casting to int.
15451 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15452 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15453 * math/libm-test.inc (scalb_test_data): Add more tests.
15455 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15457 * benchtests/Makefile (DETAILED_OPT): New make option.
15458 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15460 * benchtests/bench-skeleton.c: Include stdbool.h.
15461 (main): Store and print timings per input.
15462 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15463 member to each argument value.
15464 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15465 (_print_arg_data): Initialize per-input timing to 0.
15467 * benchtests/Makefile (timing-type): New binary.
15468 (bench-clean): Also remove bench-timing-type.
15469 (bench): New target for timing-type.
15470 (bench-func): Print output in JSON format.
15471 * benchtests/bench-skeleton.c (main): Print output in JSON
15473 * benchtests/bench-timing-type.c: New file.
15474 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15475 (TIMING_PRINT_STATS): Remove.
15476 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15479 * benchtests/bench-modf.c: Remove.
15480 * benchtests/modf-inputs: New inputs file.
15482 2014-03-28 Joseph Myers <joseph@codesourcery.com>
15485 * math/s_clog10.c (M_PI_LOG10E): New macro.
15486 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15487 imaginary parts are 0.
15488 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15489 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15490 imaginary parts are 0.
15491 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15492 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15493 imaginary parts are 0.
15494 * math/libm-test.inc (clog10_test_data): Update expected results
15495 for when real and imaginary parts are 0.
15497 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15499 * elf/dl-load.c: Finish conversion of __builtin_expect into
15500 __glibc_{un}likely.
15502 2014-03-27 Joseph Myers <joseph@codesourcery.com>
15505 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15506 1+x for argument with exponent below -67.
15507 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15509 * math/auto-libm-test-in: Add more tests of exp.
15510 * math/auto-libm-test-out: Regenerated.
15512 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15515 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15516 (nscd_getnetgrent): Use it.
15519 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15522 2014-03-27 Andi Kleen <ak@linux.intel.com>
15524 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15525 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15526 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15527 (lll_robust_unlock): Remove out of line section. Use cfi
15529 (LLL_STUB_UNWIND_INFO*): Remove.
15530 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15531 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15532 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15533 (lll_robust_unlock): Remove out of line section. Use cfi
15535 (LLL_STUB_UNWIND_INFO*): Remove.
15537 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15540 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15543 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15545 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15547 2014-03-26 Joseph Myers <joseph@codesourcery.com>
15550 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15552 * math/test-fenv-preserve.c: New file.
15553 * math/Makefile (tests): Add test-fenv-preserve.
15555 2014-03-26 Will Newton <will.newton@linaro.org>
15557 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15559 2014-03-25 Roland McGrath <roland@hack.frob.com>
15561 * scripts/versionlist.awk: Partition the version sets and emit all
15562 GLIBC_* (sorted) before all others (sorted).
15564 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15566 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15567 GLIBC_2.2.5 version.
15569 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15571 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15574 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15579 2014-03-25 Andreas Schwab <schwab@suse.de>
15581 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15582 label to be used after in6ailist is initialized.
15584 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15586 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15587 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15589 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15593 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15595 (fp_formats): Update initializers.
15596 (init_fp_formats): Initialize new field.
15597 (output_for_one_input_case): Allow underflow for results up to
15599 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15600 * math/auto-libm-test-in: Don't mark some underflows from asin and
15602 * math/auto-libm-test-out: Regenerated.
15603 * sysdeps/i386/fpu/libm-test-ulps: Update.
15604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15606 2014-03-25 Andreas Schwab <schwab@suse.de>
15608 * libio/Makefile (tst-ftell-partial-wide-ENV)
15609 (tst-ftell-active-handler-ENV): Define.
15611 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15613 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15615 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15617 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15619 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15621 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15622 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15623 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15625 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15628 * elf/dl-load.c (open_verify): Add mode parameter.
15629 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15630 (open_path): Change from boolean 'secure' to complete flag 'mode'
15631 (_dl_map_object): Adjust.
15632 * elf/Makefile (tests): Add tst-dlopen-aout.
15633 * elf/tst-dlopen-aout.c: New test.
15635 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15638 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15639 (struct stat): Rename member pad0 to __glibc_reserved0.
15642 * sysdeps/s390/s390-32/bits/wordsize.h
15643 (__WORDSIZE32_SIZE_ULONG): New define.
15644 * sysdeps/s390/s390-64/bits/wordsize.h
15645 (__WORDSIZE32_SIZE_ULONG): Likewise.
15646 * sysdeps/generic/stdint.h (SIZE_MAX):
15647 Define as UL if __WORDSIZE32_SIZE_ULONG.
15650 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15651 (__glibc_reserved0): New variable.
15652 (sa_flags): Change type to int.
15654 * posix/Makefile (before-compile): Use += before-compile instead
15657 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15658 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15660 2014-03-20 Andreas Schwab <schwab@suse.de>
15663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15664 non-matching result from nscd.
15666 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15668 * scripts/bench.py: Moved to ...
15669 * benchtests/scripts/bench.py: ... here.
15670 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15672 2014-03-24 Andreas Schwab <schwab@suse.de>
15675 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15676 alloca_account and account alloca use for struct in6ailist.
15678 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15681 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15682 rounding mode to recompute results that overflow to infinity or
15684 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15686 * math/auto-libm-test-out: Regenerated.
15687 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15688 (ccosh_test): Likewise.
15689 (csin_test_data): Use plus_oflow.
15690 (csin_test): Use ALL_RM_TEST.
15691 (csinh_test_data): Use plus_oflow.
15692 (csinh_test): Use ALL_RM_TEST.
15693 * sysdeps/i386/fpu/libm-test-ulps: Update.
15694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15696 2014-03-21 Joseph Myers <joseph@codesourcery.com>
15698 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15699 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15700 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15703 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15704 when x - 1 is zero.
15705 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15706 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15707 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15708 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15710 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15711 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15713 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15714 * sysdeps/i386/fpu/libm-test-ulps: Update.
15715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15717 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15719 * scripts/bench.pl: Remove file.
15720 * scripts/bench.py: New benchmark script.
15721 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15722 * benchtests/README: Mention python dependency.
15723 * scripts/pylintrc: New file.
15724 * scripts/pylint: New file.
15726 * bits/mathdef.h: Use #ifdef instead of #if.
15727 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15728 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15729 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15730 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15731 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15732 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15734 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15735 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15737 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15739 and strpbrk-ppc64 objects.
15740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15741 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15742 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15743 multiarch strpbrk for POWER7.
15744 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15745 multiarch strpbrk for PPC64.
15746 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15748 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15749 strpbrk for POWER7.
15751 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15753 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15754 (atan_test): Likewise.
15755 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15756 (atanh_test): Use ALL_RM_TEST.
15757 (atan2_test_data): Likewise.
15758 (cabs_test): Likewise.
15759 (cacosh_test): Likewise.
15760 (carg_test): Likewise.
15761 (casin_test): Likewise.
15762 (casinh_test): Likewise.
15763 (cbrt_test): Likewise.
15764 (csqrt_test): Likewise.
15765 (erf_test): Likewise.
15766 (erfc_test): Likewise.
15767 (pow10_test): Likewise.
15768 (exp2_test): Likewise.
15769 (hypot_test): Likewise.
15770 (j0_test): Likewise.
15771 (j1_test): Likewise.
15772 (lgamma_test): Likewise.
15773 (gamma_test): Likewise.
15774 (sincos_test): Likewise.
15775 (tanh_test): Likewise.
15776 (y0_test): Likewise.
15777 (y1_test): Likewise.
15778 * sysdeps/i386/fpu/libm-test-ulps: Update.
15779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15781 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15783 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15784 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15785 and strcspn-ppc64 objects.
15786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15787 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15788 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15789 multiarch strcspn for POWER7.
15790 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15791 multiarch strcspn for PPC64.
15792 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15794 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15795 strcspn for POWER7.
15797 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15799 * math/gen-libm-test.pl (generate_testfile): Expect only function
15800 name as argument to AUTO_TESTS_* and pass results for all rounding
15801 modes to parse_args.
15802 (parse_auto_input): Separate inputs of automatic tests from
15803 outputs before storing in %auto_tests.
15804 * math/libm-test.inc (acos_test_data): Update call to
15806 (acos_test): Use ALL_RM_TEST.
15807 (acos_tonearest_test_data): Remove.
15808 (acos_test_tonearest): Likewise.
15809 (acos_towardzero_test_data): Likewise.
15810 (acos_test_towardzero): Likewise.
15811 (acos_downward_test_data): Likewise.
15812 (acos_test_downward): Likewise.
15813 (acos_upward_test_data): Likewise.
15814 (acos_test_upward): Likewise.
15815 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15816 (asin_test_data): Likewise.
15817 (asin_test): Use ALL_RM_TEST.
15818 (asin_tonearest_test_data): Remove.
15819 (asin_test_tonearest): Likewise.
15820 (asin_towardzero_test_data): Likewise.
15821 (asin_test_towardzero): Likewise.
15822 (asin_downward_test_data): Likewise.
15823 (asin_test_downward): Likewise.
15824 (asin_upward_test_data): Likewise.
15825 (asin_test_upward): Likewise.
15826 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15827 (atan_test_data): Likewise.
15828 (atanh_test_data): Likewise.
15829 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15830 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15831 (carg_test_data): Likewise.
15832 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15833 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15834 (ccosh_test_data): Likewise.
15835 (cexp_test_data): Likewise.
15836 (clog_test_data): Likewise.
15837 (clog10_test_data): Likewise.
15838 (cos_test_data): Update call to AUTO_TESTS_f_f.
15839 (cos_test): Use ALL_RM_TEST.
15840 (cos_tonearest_test_data): Remove.
15841 (cos_test_tonearest): Likewise.
15842 (cos_towardzero_test_data): Likewise.
15843 (cos_test_towardzero): Likewise.
15844 (cos_downward_test_data): Likewise.
15845 (cos_test_downward): Likewise.
15846 (cos_upward_test_data): Likewise.
15847 (cos_test_upward): Likewise.
15848 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15849 (cosh_test): Use ALL_RM_TEST.
15850 (cosh_tonearest_test_data): Remove.
15851 (cosh_test_tonearest): Likewise.
15852 (cosh_towardzero_test_data): Likewise.
15853 (cosh_test_towardzero): Likewise.
15854 (cosh_downward_test_data): Likewise.
15855 (cosh_test_downward): Likewise.
15856 (cosh_upward_test_data): Likewise.
15857 (cosh_test_upward): Likewise.
15858 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15859 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15860 (ctan_test_data): Likewise.
15861 (ctan_test): Use ALL_RM_TEST.
15862 (ctan_tonearest_test_data): Remove.
15863 (ctan_test_tonearest): Likewise.
15864 (ctan_towardzero_test_data): Likewise.
15865 (ctan_test_towardzero): Likewise.
15866 (ctan_downward_test_data): Likewise.
15867 (ctan_test_downward): Likewise.
15868 (ctan_upward_test_data): Likewise.
15869 (ctan_test_upward): Likewise.
15870 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15871 (ctanh_test): Use ALL_RM_TEST.
15872 (ctanh_tonearest_test_data): Remove.
15873 (ctanh_test_tonearest): Likewise.
15874 (ctanh_towardzero_test_data): Likewise.
15875 (ctanh_test_towardzero): Likewise.
15876 (ctanh_downward_test_data): Likewise.
15877 (ctanh_test_downward): Likewise.
15878 (ctanh_upward_test_data): Likewise.
15879 (ctanh_test_upward): Likewise.
15880 (erf_test_data): Update call to AUTO_TESTS_f_f.
15881 (erfc_test_data): Likewise.
15882 (exp_test_data): Likewise.
15883 (exp_test): Use ALL_RM_TEST.
15884 (exp_tonearest_test_data): Remove.
15885 (exp_test_tonearest): Likewise.
15886 (exp_towardzero_test_data): Likewise.
15887 (exp_test_towardzero): Likewise.
15888 (exp_downward_test_data): Likewise.
15889 (exp_test_downward): Likewise.
15890 (exp_upward_test_data): Likewise.
15891 (exp_test_upward): Likewise.
15892 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15893 (exp10_test): Use ALL_RM_TEST.
15894 (exp10_tonearest_test_data): Remove.
15895 (exp10_test_tonearest): Likewise.
15896 (exp10_towardzero_test_data): Likewise.
15897 (exp10_test_towardzero): Likewise.
15898 (exp10_downward_test_data): Likewise.
15899 (exp10_test_downward): Likewise.
15900 (exp10_upward_test_data): Likewise.
15901 (exp10_test_upward): Likewise.
15902 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15903 (expm1_test_data): Likewise.
15904 (expm1_test): Use ALL_RM_TEST.
15905 (expm1_tonearest_test_data): Remove.
15906 (expm1_test_tonearest): Likewise.
15907 (expm1_towardzero_test_data): Likewise.
15908 (expm1_test_towardzero): Likewise.
15909 (expm1_downward_test_data): Likewise.
15910 (expm1_test_downward): Likewise.
15911 (expm1_upward_test_data): Likewise.
15912 (expm1_test_upward): Likewise.
15913 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15914 (fma_test): Use ALL_RM_TEST.
15915 (fma_towardzero_test_data): Remove.
15916 (fma_test_towardzero): Likewise.
15917 (fma_downward_test_data): Likewise.
15918 (fma_test_downward): Likewise.
15919 (fma_upward_test_data): Likewise.
15920 (fma_test_upward): Likewise.
15921 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15922 (j0_test_data): Update call to AUTO_TESTS_f_f.
15923 (j1_test_data): Likewise.
15924 (jn_test_data): Update call to AUTO_TESTS_if_f.
15925 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15926 (log_test_data): Update call to AUTO_TESTS_f_f.
15927 (log10_test_data): Likewise.
15928 (log1p_test_data): Likewise.
15929 (log2_test_data): Likewise.
15930 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15931 (pow_tonearest_test_data): Likewise.
15932 (sin_test_data): Update call to AUTO_TESTS_f_f.
15933 (sin_test): Use ALL_RM_TEST.
15934 (sin_tonearest_test_data): Remove.
15935 (sin_test_tonearest): Likewise.
15936 (sin_towardzero_test_data): Likewise.
15937 (sin_test_towardzero): Likewise.
15938 (sin_downward_test_data): Likewise.
15939 (sin_test_downward): Likewise.
15940 (sin_upward_test_data): Likewise.
15941 (sin_test_upward): Likewise.
15942 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15943 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15944 (sinh_test): Use ALL_RM_TEST.
15945 (sinh_tonearest_test_data): Remove.
15946 (sinh_test_tonearest): Likewise.
15947 (sinh_towardzero_test_data): Likewise.
15948 (sinh_test_towardzero): Likewise.
15949 (sinh_downward_test_data): Likewise.
15950 (sinh_test_downward): Likewise.
15951 (sinh_upward_test_data): Likewise.
15952 (sinh_test_upward): Likewise.
15953 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15954 (sqrt_test): Use ALL_RM_TEST.
15955 (sqrt_tonearest_test_data): Remove.
15956 (sqrt_test_tonearest): Likewise.
15957 (sqrt_towardzero_test_data): Likewise.
15958 (sqrt_test_towardzero): Likewise.
15959 (sqrt_downward_test_data): Likewise.
15960 (sqrt_test_downward): Likewise.
15961 (sqrt_upward_test_data): Likewise.
15962 (sqrt_test_upward): Likewise.
15963 (tan_test_data): Update call to AUTO_TESTS_f_f.
15964 (tan_test): Use ALL_RM_TEST.
15965 (tan_tonearest_test_data): Remove.
15966 (tan_test_tonearest): Likewise.
15967 (tan_towardzero_test_data): Likewise.
15968 (tan_test_towardzero): Likewise.
15969 (tan_downward_test_data): Likewise.
15970 (tan_test_downward): Likewise.
15971 (tan_upward_test_data): Likewise.
15972 (tan_test_upward): Likewise.
15973 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15974 (tgamma_test_data): Likewise.
15975 (y0_test_data): Likewise.
15976 (y1_test_data): Likewise.
15977 (yn_test_data): Update call to AUTO_TESTS_if_f.
15978 (main): Do not call removed functions.
15980 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15982 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15983 (ldexp_test_data): Remove.
15984 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15986 (scalb_test): Use ALL_RM_TEST.
15988 2014-03-19 Andreas Schwab <schwab@suse.de>
15990 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15992 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15995 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15996 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15997 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15998 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15999 (__ASSUME_PREADV): Undefine.
16000 (__ASSUME_PWRITEV): Likewise.
16002 2014-03-18 Roland McGrath <roland@hack.frob.com>
16004 * bits/mman-linux.h: Add comment about non-Linux use.
16005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16006 bits/mman-linux.h resting place.
16008 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16009 * bits/mman-linux.h: ... here.
16011 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16013 * conform/conformtest.pl: Add standard definition when calling C
16014 preprocessor on data files.
16015 (checknamespace): Remove unused variable.
16017 2014-03-18 Joseph Myers <joseph@codesourcery.com>
16019 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16020 minus_oflow, plus_uflow and minus_uflow in expected results.
16021 * math/libm-test.inc (scalbn_test_data): Add more tests of
16022 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16024 (scalbn_test): Use ALL_RM_TEST.
16025 (scalbln_test_data): Add more tests of negative arguments. Use
16026 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16027 (scalbln_test): Use ALL_RM_TEST.
16029 2014-03-18 Roland McGrath <roland@hack.frob.com>
16031 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16033 2014-03-18 Will Newton <will.newton@linaro.org>
16035 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16036 inaccurate comment.
16038 2014-03-18 Joseph Myers <joseph@codesourcery.com>
16040 * Makerules [!subdir] (check-abi): Exit with error status if a
16043 2014-03-17 Joseph Myers <joseph@codesourcery.com>
16045 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16046 for rint. Include results for all rounding modes.
16047 (nearbyint_test): Use ALL_RM_TEST.
16048 (rint_test_data): Include all tests used for nearbyint.
16050 2014-03-17 Will Newton <will.newton@linaro.org>
16052 * nptl/sysdeps/pthread/pthread.h: Revert previous
16055 * sysdeps/generic/ldsodefs.h: Revert previous
16058 * libio/genops.c: Revert previous change.
16059 * libio/libioP.h: Likewise.
16060 * stdio-common/vfprintf.c: Likewise.
16062 * sysdeps/generic/math_private.h: Revert previous
16065 * sysdeps/generic/math_private.h: Check whether
16066 HAVE_RM_CTX is defined with #ifdef rather
16069 * argp/argp-fmtstream.h: Check whether
16070 __STRICT_ANSI__ is defined with #ifdef rather
16072 * argp/argp.h: Likewise.
16074 * libio/genops.c: Check whether
16075 _IO_JUMPS_OFFSET is defined with #ifdef rather
16077 * libio/libioP.h: Likewise.
16078 * stdio-common/vfprintf.c: Likewise.
16080 * sysdeps/generic/ldsodefs.h: Check whether
16081 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16084 * nptl/sysdeps/pthread/pthread.h: Check
16085 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16088 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16090 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16092 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16096 * libio/fileops.c (_IO_file_open): Seek to end of file but
16097 don't cache the offset.
16098 (get_file_offset): Remove function.
16099 (do_ftell): Use cached offset when available.
16100 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16101 don't cache the offset.
16102 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16104 (do_one_test): Call it.
16105 (do_ftell_test): Fix up expected old offset for a+ mode.
16106 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16109 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16110 up test status with function return status.
16111 (do_write_test): Likewise.
16112 (do_append_test): Likewise.
16114 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16115 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16118 2014-03-17 Joseph Myers <joseph@codesourcery.com>
16120 * math/gen-libm-test.pl (parse_args): Handle results specified for
16121 each rounding mode separately.
16122 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16123 tests and results from lrint_tonearest_test_data,
16124 lrint_towardzero_test_data, lrint_downward_test_data and
16125 lrint_upward_test_data.
16126 (lrint_test): Use ALL_RM_TEST.
16127 (lrint_tonearest_test_data): Remove.
16128 (lrint_test_tonearest): Likewise.
16129 (lrint_towardzero_test_data): Likewise.
16130 (lrint_test_towardzero): Likewise.
16131 (lrint_downward_test_data): Likewise.
16132 (lrint_test_downward): Likewise.
16133 (lrint_upward_test_data): Likewise.
16134 (lrint_test_upward): Likewise.
16135 (llrint_test_data): Merge in per-rounding-mode tests and results
16136 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16137 llrint_downward_test_data and llrint_upward_test_data.
16138 (llrint_test): Use ALL_RM_TEST.
16139 (llrint_tonearest_test_data): Remove.
16140 (llrint_test_tonearest): Likewise.
16141 (llrint_towardzero_test_data): Likewise.
16142 (llrint_test_towardzero): Likewise.
16143 (llrint_downward_test_data): Likewise.
16144 (llrint_test_downward): Likewise.
16145 (llrint_upward_test_data): Likewise.
16146 (llrint_test_upward): Likewise.
16147 (rint_test_data): Merge in per-rounding-mode tests and results
16148 from rint_tonearest_test_data, rint_towardzero_test_data,
16149 rint_downward_test_data and rint_upward_test_data. Add
16150 per-rounding-mode results for tests not in those arrays.
16151 (rint_test): Use ALL_RM_TEST.
16152 (rint_tonearest_test_data): Remove.
16153 (rint_test_tonearest): Likewise.
16154 (rint_towardzero_test_data): Likewise.
16155 (rint_test_towardzero): Likewise.
16156 (rint_downward_test_data): Likewise.
16157 (rint_test_downward): Likewise.
16158 (rint_upward_test_data): Likewise.
16159 (rint_test_upward): Likewise.
16160 (main): Don't call removed functions.
16162 2014-03-14 Roland McGrath <roland@hack.frob.com>
16164 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16165 "Compiled on ..." crapola. It is anti-useful.
16167 2014-03-14 Joseph Myers <joseph@codesourcery.com>
16169 * scripts/evaluate-test.sh: Handle fourth argument to determine
16170 whether test run should stop on failure.
16171 * Makeconfig (stop-on-test-failure): New variable.
16172 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16173 $(stop-on-test-failure).
16174 * Makefile (tests): Give a summary of results from testing and
16175 exit with failure status if they include an ERROR or FAIL.
16176 (xtests): Likewise.
16177 * manual/install.texi (Configuring and compiling): Mention
16178 stop-on-test-failure=y.
16179 * INSTALL: Regenerated.
16181 2014-03-14 Roland McGrath <roland@hack.frob.com>
16183 * scripts/versionlist.awk: New file.
16184 * Makerules [$(build-shared) = yes]
16185 (postclean-generated): Add Versions.def, not Versions.def.v and
16187 ($(common-objpfx)Versions.def.v.i): Target removed.
16188 ($(common-objpfx)Versions.def): New target.
16189 ($(common-objpfx)Versions.all): Depend on that rather that
16190 $(common-objpfx)Versions.def.v.
16191 * Versions.def: File removed.
16193 * Makeconfig (+gccwarn): Add -Wundef.
16194 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16195 a dl-sysdep.h breaking its contract.
16196 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16197 * include/stackinfo.h: New file.
16198 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16199 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16200 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16201 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16202 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16203 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16204 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16205 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16206 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16207 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16208 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16209 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16210 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16211 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16212 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16214 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16217 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16219 * math/libm-test.inc (round_test_data): Add more tests.
16222 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16224 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16227 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16229 * math/libm-test.inc (ceil_test_data): Add more tests.
16231 * math/libm-test.inc (trunc_test_data): Add more tests related to
16234 2014-03-14 Roland McGrath <roland@hack.frob.com>
16236 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16237 with #if rather than #ifdef.
16238 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16240 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16242 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16243 first. Disable AVX-512 GCC support if assembler doesn't support
16245 * sysdeps/x86_64/configure: Regenerated.
16247 2014-03-13 Carlos O'Donell <carlos@redhat.com>
16249 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16250 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16251 (__old_pthread_attr_setstack): Likewise.
16252 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16253 [!_STACK_GROWS_DOWN]: Likewise.
16255 2014-03-13 Mike Frysinger <vapier@gentoo.org>
16257 * config.make.in (have-bash2): Delete.
16258 * configure.ac (libc_cv_have_bash2): Delete.
16259 * configure: Regenerate.
16260 * elf/Makefile (common-ldd-rewrite): Rename to ...
16261 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16262 (sh-ldd-rewrite): Delete.
16263 (bash-ldd-rewrite): Delete.
16264 (have-bash2): Delete checks.
16265 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16268 * config.make.in (have-ksh): Delete.
16270 * configure.ac (libc_cv_have_ksh): Delete.
16271 * configure: Regenerate.
16273 * elf/Makefile: Delete $(have-ksh) check.
16274 ($(objpfx)sotruss): Change KSH to BASH.
16275 * elf/sotruss.ksh: Rename to ...
16276 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16277 function style to match POSIX. Drop ksh vim mode setting.
16279 * manual/time.texi (Specifying the Time Zone with TZ): Change
16280 Tuesday to Thursday.
16282 * debug/tst-longjmp_chk2.c: Update header comment.
16283 (stackoverflow_handler): Add comment. Call assert on pass value.
16285 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16288 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16289 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16290 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16291 (La_x86_64_vector): Add zmm.
16292 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16293 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16294 ($(objpfx)tst-audit10): New target.
16295 ($(objpfx)tst-audit10.out): Likewise.
16296 (tst-audit10-ENV): New.
16297 (AVX512-CFLAGS): Likewise.
16298 (CFLAGS-tst-audit10.c): Likewise.
16299 (CFLAGS-tst-auditmod10a.c): Likewise.
16300 (CFLAGS-tst-auditmod10b.c): Likewise.
16301 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16302 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16303 * sysdeps/x86_64/configure: Regenerated.
16304 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16305 AVX-512 zmm register support.
16306 (_dl_x86_64_save_sse): Likewise.
16307 (_dl_x86_64_restore_sse): Likewise.
16308 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16309 size vector registers.
16310 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16311 (ZMM_SIZE): Likewise.
16312 * sysdeps/x86_64/tst-audit10.c: New file.
16313 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16314 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16316 2014-03-13 Roland McGrath <roland@hack.frob.com>
16318 * configure.ac (HAVE_EHDR_START): New check.
16319 * configure: Regenerated.
16320 * config.h.in (HAVE_EHDR_START): New #undef.
16321 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16322 assuming the lowest-addressed segment maps the start of the file.
16324 2014-03-13 Joseph Myers <joseph@codesourcery.com>
16326 * INSTALL: Regenerated.
16328 2014-03-13 Will Newton <will.newton@linaro.org>
16330 * manual/setjmp.texi (System V contexts): Improve
16331 clarity and grammar of documentation.
16333 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16336 * elf/Makefile (tests): Add tst-pie2.
16337 (tests-pie): Add tst-pie2.
16338 * elf/tst-pie2.c: New file.
16339 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16341 * elf/rtld.c (map_doit): Load executable as lt_executable.
16342 (dl_main): Likewise.
16344 2014-03-12 Joseph Myers <joseph@codesourcery.com>
16347 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16348 (__ASSUME_PSELECT): Undefine.
16350 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16353 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16354 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16356 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16357 selector for static builds.
16359 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16362 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16365 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16367 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16368 IFUNC selector for static builds.
16370 2014-03-11 Joseph Myers <joseph@codesourcery.com>
16372 * sysdeps/mips/math_private.h [__mips_hard_float]
16373 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16374 libc_feresetround_mips_ctx.
16375 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16376 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16377 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16380 * math/s_nextafter.c (__nextafter): Do not return value from
16381 overflowing computation.
16382 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16383 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16384 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16386 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16388 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16389 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16391 2014-03-11 Roland McGrath <roland@hack.frob.com>
16393 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16394 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16395 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16396 the new mov targetting sp.
16398 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16401 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16402 Define it for static builds as well.
16403 (NO_BZERO_IMPL): Likewise.
16405 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16407 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16408 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16409 multiarch strspn for PPC64.
16410 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16411 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16413 (__libc_ifunc_impl_list): Likewise.
16414 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16415 multiarch optimizations
16416 * string/strspn.c (strspn): Using macro to redefine symbol name.
16418 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16419 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16421 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16422 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16423 multiarch strncat for PPC64.
16424 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16425 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16427 (__libc_ifunc_impl_list): Likewise.
16428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16429 multiarch optimizations
16431 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16434 * nscd/nscd.service: Make service type forking.
16436 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16438 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16439 sign in non default rounding modes.
16440 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16442 2014-03-08 Joseph Myers <joseph@codesourcery.com>
16444 * math/libm-test.inc (ALL_RM_TEST): New macro.
16445 (ceil_test): Use ALL_RM_TEST.
16446 (cimag_test): Likewise.
16447 (conj_test): Likewise.
16448 (copysign_test): Likewise.
16449 (cproj_test): Likewise.
16450 (creal_test): Likewise.
16451 (fabs_test): Likewise.
16452 (floor_test): Likewise.
16453 (fmax_test): Likewise.
16454 (fmin_test): Likewise.
16455 (fmod_test): Likewise.
16456 (fpclassify_test): Likewise.
16457 (frexp_test): Likewise.
16458 (ilogb_test): Likewise.
16459 (isfinite_test): Likewise.
16460 (finite_test): Likewise.
16461 (isgreater_test): Likewise.
16462 (isgreaterequal_test): Likewise.
16463 (isinf_test): Likewise.
16464 (isless_test): Likewise.
16465 (islessequal_test): Likewise.
16466 (islessgreater_test): Likewise.
16467 (isnan_test): Likewise.
16468 (isnormal_test): Likewise.
16469 (issignaling_test): Likewise.
16470 (isunordered_test): Likewise.
16471 (logb_test): Likewise.
16472 (logb_downward_test_data): Remove.
16473 (logb_test_downward): Likewise.
16474 (lround_test): Use ALL_RM_TEST.
16475 (llround_test): Likewise.
16476 (modf_test): Likewise.
16477 (nexttoward_test): Likewise.
16478 (remainder_test): Likewise.
16479 (drem_test): Likewise.
16480 (remainder_tonearest_test_data): Likewise.
16481 (remainder_test_tonearest): Likewise.
16482 (drem_test_tonearest): Likewise.
16483 (remainder_towardzero_test_data): Likewise.
16484 (remainder_test_towardzero): Likewise.
16485 (drem_test_towardzero): Likewise.
16486 (remainder_downward_test_data): Likewise.
16487 (remainder_test_downward): Likewise.
16488 (drem_test_downward): Likewise.
16489 (remainder_upward_test_data): Likewise.
16490 (remainder_test_upward): Likewise.
16491 (drem_test_upward): Likewise.
16492 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16493 (round_test): Use ALL_RM_TEST.
16494 (signbit_test): Likewise.
16495 (trunc_test): Likewise.
16496 (significand_test): Likewise.
16497 (main): Don't call removed functions.
16499 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16502 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16503 || __USE_XOPEN2K8].
16504 (ILL_ILLOPN): Likewise.
16505 (ILL_ILLADR): Likewise.
16506 (ILL_ILLTRP): Likewise.
16507 (ILL_PRVOPC): Likewise.
16508 (ILL_PRVREG): Likewise.
16509 (ILL_COPROC): Likewise.
16510 (ILL_BADSTK): Likewise.
16511 (FPE_INTDIV): Likewise.
16512 (FPE_INTOVF): Likewise.
16513 (FPE_FLTDIV): Likewise.
16514 (FPE_FLTOVF): Likewise.
16515 (FPE_FLTUND): Likewise.
16516 (FPE_FLTRES): Likewise.
16517 (FPE_FLTINV): Likewise.
16518 (FPE_FLTSUB): Likewise.
16519 (SEGV_MAPERR): Likewise.
16520 (SEGV_ACCERR): Likewise.
16521 (BUS_ADRALN): Likewise.
16522 (BUS_ADRERR): Likewise.
16523 (BUS_OBJERR): Likewise.
16524 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16525 (TRAP_TRACE): Likewise.
16526 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16528 (CLD_KILLED): Likewise.
16529 (CLD_DUMPED): Likewise.
16530 (CLD_TRAPPED): Likewise.
16531 (CLD_STOPPED): Likewise.
16532 (CLD_CONTINUED): Likewise.
16533 (POLL_IN): Likewise.
16534 (POLL_OUT): Likewise.
16535 (POLL_MSG): Likewise.
16536 (POLL_ERR): Likewise.
16537 (POLL_PRI): Likewise.
16538 (POLL_HUP): Likewise.
16539 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16541 (ILL_ILLOPN): Likewise.
16542 (ILL_ILLADR): Likewise.
16543 (ILL_ILLTRP): Likewise.
16544 (ILL_PRVOPC): Likewise.
16545 (ILL_PRVREG): Likewise.
16546 (ILL_COPROC): Likewise.
16547 (ILL_BADSTK): Likewise.
16548 (FPE_INTDIV): Likewise.
16549 (FPE_INTOVF): Likewise.
16550 (FPE_FLTDIV): Likewise.
16551 (FPE_FLTOVF): Likewise.
16552 (FPE_FLTUND): Likewise.
16553 (FPE_FLTRES): Likewise.
16554 (FPE_FLTINV): Likewise.
16555 (FPE_FLTSUB): Likewise.
16556 (SEGV_MAPERR): Likewise.
16557 (SEGV_ACCERR): Likewise.
16558 (BUS_ADRALN): Likewise.
16559 (BUS_ADRERR): Likewise.
16560 (BUS_OBJERR): Likewise.
16561 (BUS_MCEERR_AR): Likewise.
16562 (BUS_MCEERR_AO): Likewise.
16563 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16564 (TRAP_TRACE): Likewise.
16565 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16567 (CLD_KILLED): Likewise.
16568 (CLD_DUMPED): Likewise.
16569 (CLD_TRAPPED): Likewise.
16570 (CLD_STOPPED): Likewise.
16571 (CLD_CONTINUED): Likewise.
16572 (POLL_IN): Likewise.
16573 (POLL_OUT): Likewise.
16574 (POLL_MSG): Likewise.
16575 (POLL_ERR): Likewise.
16576 (POLL_PRI): Likewise.
16577 (POLL_HUP): Likewise.
16578 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16579 (ILL_ILLOPN): Likewise.
16580 (ILL_ILLADR): Likewise.
16581 (ILL_ILLTRP): Likewise.
16582 (ILL_PRVOPC): Likewise.
16583 (ILL_PRVREG): Likewise.
16584 (ILL_COPROC): Likewise.
16585 (ILL_BADSTK): Likewise.
16586 (FPE_INTDIV): Likewise.
16587 (FPE_INTOVF): Likewise.
16588 (FPE_FLTDIV): Likewise.
16589 (FPE_FLTOVF): Likewise.
16590 (FPE_FLTUND): Likewise.
16591 (FPE_FLTRES): Likewise.
16592 (FPE_FLTINV): Likewise.
16593 (FPE_FLTSUB): Likewise.
16594 (SEGV_MAPERR): Likewise.
16595 (SEGV_ACCERR): Likewise.
16596 (BUS_ADRALN): Likewise.
16597 (BUS_ADRERR): Likewise.
16598 (BUS_OBJERR): Likewise.
16599 (BUS_MCEERR_AR): Likewise.
16600 (BUS_MCEERR_AO): Likewise.
16601 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16602 (TRAP_TRACE): Likewise.
16603 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16605 (CLD_KILLED): Likewise.
16606 (CLD_DUMPED): Likewise.
16607 (CLD_TRAPPED): Likewise.
16608 (CLD_STOPPED): Likewise.
16609 (CLD_CONTINUED): Likewise.
16610 (POLL_IN): Likewise.
16611 (POLL_OUT): Likewise.
16612 (POLL_MSG): Likewise.
16613 (POLL_ERR): Likewise.
16614 (POLL_PRI): Likewise.
16615 (POLL_HUP): Likewise.
16616 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16618 (ILL_ILLOPN): Likewise.
16619 (ILL_ILLADR): Likewise.
16620 (ILL_ILLTRP): Likewise.
16621 (ILL_PRVOPC): Likewise.
16622 (ILL_PRVREG): Likewise.
16623 (ILL_COPROC): Likewise.
16624 (ILL_BADSTK): Likewise.
16625 (ILL_BADIADDR): Likewise.
16626 (ILL_BREAK): Likewise.
16627 (FPE_INTDIV): Likewise.
16628 (FPE_INTOVF): Likewise.
16629 (FPE_FLTDIV): Likewise.
16630 (FPE_FLTOVF): Likewise.
16631 (FPE_FLTUND): Likewise.
16632 (FPE_FLTRES): Likewise.
16633 (FPE_FLTINV): Likewise.
16634 (FPE_FLTSUB): Likewise.
16635 (FPE_DECOVF): Likewise.
16636 (FPE_DECDIV): Likewise.
16637 (FPE_DECERR): Likewise.
16638 (FPE_INVASC): Likewise.
16639 (FPE_INVDEC): Likewise.
16640 (SEGV_MAPERR): Likewise.
16641 (SEGV_ACCERR): Likewise.
16642 (SEGV_PSTKOVF): Likewise.
16643 (BUS_ADRALN): Likewise.
16644 (BUS_ADRERR): Likewise.
16645 (BUS_OBJERR): Likewise.
16646 (BUS_MCEERR_AR): Likewise.
16647 (BUS_MCEERR_AO): Likewise.
16648 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16649 (TRAP_TRACE): Likewise.
16650 (TRAP_BRANCH): Likewise.
16651 (TRAP_HWBKPT): Likewise.
16652 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16654 (CLD_KILLED): Likewise.
16655 (CLD_DUMPED): Likewise.
16656 (CLD_TRAPPED): Likewise.
16657 (CLD_STOPPED): Likewise.
16658 (CLD_CONTINUED): Likewise.
16659 (POLL_IN): Likewise.
16660 (POLL_OUT): Likewise.
16661 (POLL_MSG): Likewise.
16662 (POLL_ERR): Likewise.
16663 (POLL_PRI): Likewise.
16664 (POLL_HUP): Likewise.
16665 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16666 (ILL_ILLOPN): Likewise.
16667 (ILL_ILLADR): Likewise.
16668 (ILL_ILLTRP): Likewise.
16669 (ILL_PRVOPC): Likewise.
16670 (ILL_PRVREG): Likewise.
16671 (ILL_COPROC): Likewise.
16672 (ILL_BADSTK): Likewise.
16673 (FPE_INTDIV): Likewise.
16674 (FPE_INTOVF): Likewise.
16675 (FPE_FLTDIV): Likewise.
16676 (FPE_FLTOVF): Likewise.
16677 (FPE_FLTUND): Likewise.
16678 (FPE_FLTRES): Likewise.
16679 (FPE_FLTINV): Likewise.
16680 (FPE_FLTSUB): Likewise.
16681 (SEGV_MAPERR): Likewise.
16682 (SEGV_ACCERR): Likewise.
16683 (BUS_ADRALN): Likewise.
16684 (BUS_ADRERR): Likewise.
16685 (BUS_OBJERR): Likewise.
16686 (BUS_MCEERR_AR): Likewise.
16687 (BUS_MCEERR_AO): Likewise.
16688 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16689 (TRAP_TRACE): Likewise.
16690 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16692 (CLD_KILLED): Likewise.
16693 (CLD_DUMPED): Likewise.
16694 (CLD_TRAPPED): Likewise.
16695 (CLD_STOPPED): Likewise.
16696 (CLD_CONTINUED): Likewise.
16697 (POLL_IN): Likewise.
16698 (POLL_OUT): Likewise.
16699 (POLL_MSG): Likewise.
16700 (POLL_ERR): Likewise.
16701 (POLL_PRI): Likewise.
16702 (POLL_HUP): Likewise.
16703 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16704 (ILL_ILLOPN): Likewise.
16705 (ILL_ILLADR): Likewise.
16706 (ILL_ILLTRP): Likewise.
16707 (ILL_PRVOPC): Likewise.
16708 (ILL_PRVREG): Likewise.
16709 (ILL_COPROC): Likewise.
16710 (ILL_BADSTK): Likewise.
16711 (FPE_INTDIV): Likewise.
16712 (FPE_INTOVF): Likewise.
16713 (FPE_FLTDIV): Likewise.
16714 (FPE_FLTOVF): Likewise.
16715 (FPE_FLTUND): Likewise.
16716 (FPE_FLTRES): Likewise.
16717 (FPE_FLTINV): Likewise.
16718 (FPE_FLTSUB): Likewise.
16719 (SEGV_MAPERR): Likewise.
16720 (SEGV_ACCERR): Likewise.
16721 (BUS_ADRALN): Likewise.
16722 (BUS_ADRERR): Likewise.
16723 (BUS_OBJERR): Likewise.
16724 (BUS_MCEERR_AR): Likewise.
16725 (BUS_MCEERR_AO): Likewise.
16726 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16727 (TRAP_TRACE): Likewise.
16728 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16730 (CLD_KILLED): Likewise.
16731 (CLD_DUMPED): Likewise.
16732 (CLD_TRAPPED): Likewise.
16733 (CLD_STOPPED): Likewise.
16734 (CLD_CONTINUED): Likewise.
16735 (POLL_IN): Likewise.
16736 (POLL_OUT): Likewise.
16737 (POLL_MSG): Likewise.
16738 (POLL_ERR): Likewise.
16739 (POLL_PRI): Likewise.
16740 (POLL_HUP): Likewise.
16741 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16742 (ILL_ILLOPN): Likewise.
16743 (ILL_ILLADR): Likewise.
16744 (ILL_ILLTRP): Likewise.
16745 (ILL_PRVOPC): Likewise.
16746 (ILL_PRVREG): Likewise.
16747 (ILL_COPROC): Likewise.
16748 (ILL_BADSTK): Likewise.
16749 (FPE_INTDIV): Likewise.
16750 (FPE_INTOVF): Likewise.
16751 (FPE_FLTDIV): Likewise.
16752 (FPE_FLTOVF): Likewise.
16753 (FPE_FLTUND): Likewise.
16754 (FPE_FLTRES): Likewise.
16755 (FPE_FLTINV): Likewise.
16756 (FPE_FLTSUB): Likewise.
16757 (SEGV_MAPERR): Likewise.
16758 (SEGV_ACCERR): Likewise.
16759 (BUS_ADRALN): Likewise.
16760 (BUS_ADRERR): Likewise.
16761 (BUS_OBJERR): Likewise.
16762 (BUS_MCEERR_AR): Likewise.
16763 (BUS_MCEERR_AO): Likewise.
16764 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16765 (TRAP_TRACE): Likewise.
16766 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16768 (CLD_KILLED): Likewise.
16769 (CLD_DUMPED): Likewise.
16770 (CLD_TRAPPED): Likewise.
16771 (CLD_STOPPED): Likewise.
16772 (CLD_CONTINUED): Likewise.
16773 (POLL_IN): Likewise.
16774 (POLL_OUT): Likewise.
16775 (POLL_MSG): Likewise.
16776 (POLL_ERR): Likewise.
16777 (POLL_PRI): Likewise.
16778 (POLL_HUP): Likewise.
16779 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16780 (ILL_ILLOPN): Likewise.
16781 (ILL_ILLADR): Likewise.
16782 (ILL_ILLTRP): Likewise.
16783 (ILL_PRVOPC): Likewise.
16784 (ILL_PRVREG): Likewise.
16785 (ILL_COPROC): Likewise.
16786 (ILL_BADSTK): Likewise.
16787 (ILL_DBLFLT): Likewise.
16788 (ILL_HARDWALL): Likewise.
16789 (FPE_INTDIV): Likewise.
16790 (FPE_INTOVF): Likewise.
16791 (FPE_FLTDIV): Likewise.
16792 (FPE_FLTOVF): Likewise.
16793 (FPE_FLTUND): Likewise.
16794 (FPE_FLTRES): Likewise.
16795 (FPE_FLTINV): Likewise.
16796 (FPE_FLTSUB): Likewise.
16797 (SEGV_MAPERR): Likewise.
16798 (SEGV_ACCERR): Likewise.
16799 (BUS_ADRALN): Likewise.
16800 (BUS_ADRERR): Likewise.
16801 (BUS_OBJERR): Likewise.
16802 (BUS_MCEERR_AR): Likewise.
16803 (BUS_MCEERR_AO): Likewise.
16804 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16805 (TRAP_TRACE): Likewise.
16806 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16808 (CLD_KILLED): Likewise.
16809 (CLD_DUMPED): Likewise.
16810 (CLD_TRAPPED): Likewise.
16811 (CLD_STOPPED): Likewise.
16812 (CLD_CONTINUED): Likewise.
16813 (POLL_IN): Likewise.
16814 (POLL_OUT): Likewise.
16815 (POLL_MSG): Likewise.
16816 (POLL_ERR): Likewise.
16817 (POLL_PRI): Likewise.
16818 (POLL_HUP): Likewise.
16819 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16820 (ILL_ILLOPN): Likewise.
16821 (ILL_ILLADR): Likewise.
16822 (ILL_ILLTRP): Likewise.
16823 (ILL_PRVOPC): Likewise.
16824 (ILL_PRVREG): Likewise.
16825 (ILL_COPROC): Likewise.
16826 (ILL_BADSTK): Likewise.
16827 (FPE_INTDIV): Likewise.
16828 (FPE_INTOVF): Likewise.
16829 (FPE_FLTDIV): Likewise.
16830 (FPE_FLTOVF): Likewise.
16831 (FPE_FLTUND): Likewise.
16832 (FPE_FLTRES): Likewise.
16833 (FPE_FLTINV): Likewise.
16834 (FPE_FLTSUB): Likewise.
16835 (SEGV_MAPERR): Likewise.
16836 (SEGV_ACCERR): Likewise.
16837 (BUS_ADRALN): Likewise.
16838 (BUS_ADRERR): Likewise.
16839 (BUS_OBJERR): Likewise.
16840 (BUS_MCEERR_AR): Likewise.
16841 (BUS_MCEERR_AO): Likewise.
16842 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16843 (TRAP_TRACE): Likewise.
16844 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16846 (CLD_KILLED): Likewise.
16847 (CLD_DUMPED): Likewise.
16848 (CLD_TRAPPED): Likewise.
16849 (CLD_STOPPED): Likewise.
16850 (CLD_CONTINUED): Likewise.
16851 (POLL_IN): Likewise.
16852 (POLL_OUT): Likewise.
16853 (POLL_MSG): Likewise.
16854 (POLL_ERR): Likewise.
16855 (POLL_PRI): Likewise.
16856 (POLL_HUP): Likewise.
16857 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16858 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16861 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16862 before #include of <time.h>.
16863 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16864 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16865 (test-xfail-UNIX98/sched.h/conform): Likewise.
16867 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16869 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16870 error absence of trapping exception support.
16871 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16873 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16875 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16876 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16877 * timezone/Makefile (testdata): Move definition above include of
16879 (test-zones): New variable.
16880 (tests-special): Add zone files.
16881 (build-testdata): Use $(evaluate-test).
16883 * elf/Makefile (tests-special): Rename tests to end with .out.
16884 ($(objpfx)noload-mem): Likewise.
16885 ($(objpfx)tst-leaks1-mem): Likewise.
16886 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16887 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16888 $(objpfx)test-iconvconfig.out.
16889 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16890 set -e inside subshell and redirect output to file.
16891 * iconvdata/Makefile (generated): Rename tests to end with .out.
16893 (tests-special): Rename tests to end with .out.
16894 ($(objpfx)mtrace-tst-loading): Likewise.
16895 * intl/Makefile (generated): Likewise.
16896 (tests-special): Likewise.
16897 ($(objpfx)mtrace-tst-gettext): Likewise.
16898 * misc/Makefile (generated): Likewise.
16899 (tests-special): Likewise.
16900 ($(objpfx)tst-error1-mem): Likewise.
16901 * nptl/Makefile (tests-special): Likewise.
16902 ($(objpfx)tst-stack3-mem): Likewise.
16903 (generated): Likewise.
16904 * posix/Makefile (generated): Likewise.
16905 (tests-special): Likewise.
16906 (xtests-special): Likewise.
16907 ($(objpfx)tst-fnmatch-mem): Likewise.
16908 ($(objpfx)bug-regex2-mem): Likewise.
16909 ($(objpfx)bug-regex14-mem): Likewise.
16910 ($(objpfx)bug-regex21-mem): Likewise.
16911 ($(objpfx)bug-regex31-mem): Likewise.
16912 ($(objpfx)tst-vfork3-mem): Likewise.
16913 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16914 ($(objpfx)tst-pcre-mem): Likewise.
16915 ($(objpfx)tst-boost-mem): Likewise.
16916 ($(objpfx)bug-ga2-mem): Likewise.
16917 ($(objpfx)bug-glob2-mem): Likewise.
16918 * resolv/Makefile (generate): Likewise.
16919 (tests-special): Likewise.
16920 (xtests-special): Likewise.
16921 (generated): Likewise.
16922 ($(objpfx)mtrace-tst-leaks): Likewise.
16923 ($(objpfx)mtrace-tst-leaks2): Likewise.
16925 * scripts/merge-test-results.sh: New file.
16926 * Makefile (tests-special-notdir): New variable.
16927 (tests): Run merge-test-results.sh.
16928 (xtests): Likewise.
16929 * Rules (tests-special-notdir): New variable.
16930 (xtests-special-notdir): Likewise.
16931 (tests): Run merge-test-results.sh
16932 (xtests): Likewise.
16934 * Makeconfig (test-xfail-name): New variable.
16935 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16936 compute variable name for expected failures.
16937 * conform/Makefile (conformtest-headers-data): New variable.
16938 (conformtest-standards): Likewise.
16939 (conformtest-headers-ISO): Likewise.
16940 (conformtest-headers-ISO99): Likewise.
16941 (conformtest-headers-ISO11): Likewise.
16942 (conformtest-headers-POSIX): Likewise.
16943 (conformtest-headers-XPG3): Likewise.
16944 (conformtest-headers-XPG4): Likewise.
16945 (conformtest-headers-UNIX98): Likewise.
16946 (conformtest-headers-XOPEN2K): Likewise.
16947 (conformtest-headers-POSIX2008): Likewise.
16948 (conformtest-headers-XOPEN2K8): Likewise.
16949 (conformtest-header-list-base): Likewise.
16950 (conformtest-header-list-tests): Likewise.
16951 (conformtest-header-base): Likewise.
16952 (conformtest-header-tests): Likewise.
16953 (tests-special): Add $(conformtest-header-list-tests). If
16954 [$(fast-check) && !$(cross-compiling)], add
16955 $(conformtest-header-tests) instead of
16956 $(objpfx)run-conformtest.out.
16957 (generated): Add $(conformtest-header-list-base). If
16958 [$(fast-check) && !$(cross-compiling)], add
16959 $(conformtest-header-base). Remove previous setting.
16960 ($(conformtest-header-list-tests)): New target.
16961 (test-xfail-run-conformtest): Remove variable.
16962 ($(objpfx)run-conformtest.out): Remove target.
16963 (test-xfail-ISO11/complex.h/conform): New variable.
16964 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16965 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16966 (test-xfail-XPG3/varargs.h/conform): Likewise.
16967 (test-xfail-XPG4/varargs.h/conform): Likewise.
16968 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16969 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16970 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16971 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16972 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16973 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16974 (test-xfail-XPG3/ftw.h/conform): Likewise.
16975 (test-xfail-XPG3/grp.h/conform): Likewise.
16976 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16977 (test-xfail-XPG3/limits.h/conform): Likewise.
16978 (test-xfail-XPG3/pwd.h/conform): Likewise.
16979 (test-xfail-XPG3/search.h/conform): Likewise.
16980 (test-xfail-XPG3/signal.h/conform): Likewise.
16981 (test-xfail-XPG3/stdio.h/conform): Likewise.
16982 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16983 (test-xfail-XPG3/string.h/conform): Likewise.
16984 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16985 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16986 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16987 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16988 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16989 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16990 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16991 (test-xfail-XPG3/termios.h/conform): Likewise.
16992 (test-xfail-XPG3/time.h/conform): Likewise.
16993 (test-xfail-XPG3/unistd.h/conform): Likewise.
16994 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16995 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16996 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16997 (test-xfail-XPG4/netdb.h/conform): Likewise.
16998 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16999 (test-xfail-XPG4/signal.h/conform): Likewise.
17000 (test-xfail-XPG4/stdio.h/conform): Likewise.
17001 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17002 (test-xfail-XPG4/stropts.h/conform): Likewise.
17003 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17004 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17005 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17006 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17007 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17008 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17009 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17010 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17011 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17012 (test-xfail-XPG4/termios.h/conform): Likewise.
17013 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17014 (test-xfail-XPG4/unistd.h/conform): Likewise.
17015 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17016 (test-xfail-POSIX/sched.h/conform): Likewise.
17017 (test-xfail-POSIX/signal.h/conform): Likewise.
17018 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17019 (test-xfail-POSIX/tar.h/conform): Likewise.
17020 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17021 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17022 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17023 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17024 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17025 (test-xfail-UNIX98/sched.h/conform): Likewise.
17026 (test-xfail-UNIX98/signal.h/conform): Likewise.
17027 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17028 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17029 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17030 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17031 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17032 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17033 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17034 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17035 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17036 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17037 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17038 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17039 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17040 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17041 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17042 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17043 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17044 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17045 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17046 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17047 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17048 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17049 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17050 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17051 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17052 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17053 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17054 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17055 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17056 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17057 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17058 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17059 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17060 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17061 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17062 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17063 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17064 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17065 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17066 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17067 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17068 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17069 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17070 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17071 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17072 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17073 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17074 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17075 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17076 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17077 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17078 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17079 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17080 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17081 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17082 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17083 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17084 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17085 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17086 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17087 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17088 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17089 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17090 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17091 (conformtest-cc-flags): Likewise.
17092 ($(conformtest-header-tests): New target.
17093 * conform/check-header-lists.sh: New file.
17094 * conform/run-conformtest.sh: Remove.
17096 * conform/conformtest.pl: Allow ' and \ in values given for
17098 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17100 [POSIX] (sys/types.h): Likewise.
17101 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17103 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17105 * conform/data/signal.h-data (SIGIO): Remove expectation.
17106 [XPG3] (SIGBUS): Do not expect.
17107 [POSIX || XPG3] (SIGPOLL): Likewise.
17108 [POSIX || XPG3] (SIGPROF): Likewise.
17109 [POSIX || XPG3] (SIGSYS): Likewise.
17110 [XPG3] (SIGTRAP): Likewise.
17111 [POSIX || XPG3] (SIGURG): Likewise.
17112 [POSIX || XPG3] (SIGVTALRM): Likewise.
17113 [POSIX || XPG3] (SIGXCPU): Likewise.
17114 [POSIX || XPG3] (SIGXFSZ): Likewise.
17115 [POSIX] (SA_SIGINFO): Expect.
17116 [XPG3] (siginfo_t): Do not expect type or contents.
17117 [POSIX] (si_pid): Do not expect element.
17118 [POSIX] (si_uid): Likewise.
17119 [POSIX] (si_addr): Likewise.
17120 [POSIX] (si_status): Likewise.
17121 [POSIX] (si_band): Likewise.
17122 [XPG4] (si_value): Likewise.
17123 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17124 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17125 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17126 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17127 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17128 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17129 [POSIX || XPG3] (ILL_COPROC): Likewise.
17130 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17131 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17132 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17133 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17134 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17135 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17136 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17137 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17138 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17139 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17140 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17141 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17142 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17143 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17144 [POSIX || XPG3] (CLD_EXITED): Likewise.
17145 [POSIX || XPG3] (CLD_KILLED): Likewise.
17146 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17147 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17148 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17149 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17150 [POSIX || XPG3] (POLL_IN): Likewise.
17151 [POSIX || XPG3] (POLL_OUT): Likewise.
17152 [POSIX || XPG3] (POLL_MSG): Likewise.
17153 [POSIX || XPG3] (POLL_ERR): Likewise.
17154 [POSIX || XPG3] (POLL_PRI): Likewise.
17155 [POSIX || XPG3] (POLL_HUP): Likewise.
17156 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17157 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17158 (SIG*): Do not allow.
17159 [XPG3] (si_*): Likewise.
17160 [XPG3] (SI_*): Likewise.
17161 [XPG3 || XPG4] (sigev_*): Likewise.
17162 [XPG3 || XPG4] (SIGEV_*): Likewise.
17163 [XPG3 || XPG4] (sival_*): Likewise.
17164 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17165 [POSIX || XPG3] (BUS_*): Likewise.
17166 [POSIX || XPG3] (CLD_*): Likewise.
17167 [POSIX || XPG3] (FPE_*): Likewise.
17168 [POSIX || XPG3] (ILL_*): Likewise.
17169 [POSIX || XPG3] (POLL_*): Likewise.
17170 [POSIX || XPG3] (SEGV_*): Likewise.
17171 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17172 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17173 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17174 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17175 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17176 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17177 Specify type and value.
17178 (TVERSLEN): Likewise.
17179 (REGTYPE): Likewise.
17180 (AREGTYPE): Likewise.
17181 (LNKTYPE): Likewise.
17182 (SYMTYPE): Likewise.
17183 (CHRTYPE): Likewise.
17184 (BLKTYPE): Likewise.
17185 (DIRTYPE): Likewise.
17186 (FIFOTYPE): Likewise.
17187 (CONTTYPE): Likewise.
17191 (TUREAD): Likewise.
17192 (TUWRITE): Likewise.
17193 (TUEXEC): Likewise.
17194 (TGREAD): Likewise.
17195 (TGWRITE): Likewise.
17196 (TGEXEC): Likewise.
17197 (TOREAD): Likewise.
17198 (TOWRITE): Likewise.
17199 (TOEXEC): Likewise.
17200 [POSIX] (TSVTX): Expect constant.
17202 2014-03-06 Joseph Myers <joseph@codesourcery.com>
17204 * Makefile (tests): Change dependencies to ....
17205 (tests-special): ... additions to this variable.
17206 (tests): Depend on $(tests-special).
17207 * Makerules (check-abi-list): New variable.
17208 (check-abi): Depend on $(check-abi-list).
17209 [$(subdir) = elf] (tests-special): Add
17210 $(objpfx)check-abi-libc.out.
17211 [$(build-shared) = yes && subdir] (tests-special): Add
17213 [$(build-shared) = yes && subdir] (tests): Do not depend on
17215 * Rules (tests): Depend on $(tests-special).
17216 (xtests): Depend on $(xtests-special).
17217 * catgets/Makefile (tests): Change dependencies to ....
17218 (tests-special): ... additions to this variable.
17219 * conform/Makefile (tests): Change dependencies to ....
17220 (tests-special): ... additions to this variable.
17221 * elf/Makefile (tests): Change dependencies to ....
17222 (tests-special): ... additions to this variable.
17223 * grp/Makefile (tests): Change dependencies to ....
17224 (tests-special): ... additions to this variable.
17225 * iconv/Makefile (xtests): Change dependencies to ....
17226 (xtests-special): ... additions to this variable.
17227 * iconvdata/Makefile (tests): Change dependencies to ....
17228 (tests-special): ... additions to this variable.
17229 * intl/Makefile (tests): Change dependencies to ....
17230 (tests-special): ... additions to this variable. Also add
17231 $(objpfx)tst-gettext.out.
17232 * io/Makefile (tests): Change dependencies to ....
17233 (tests-special): ... additions to this variable.
17234 * libio/Makefile (tests): Change dependencies to ....
17235 (tests-special): ... additions to this variable.
17236 * malloc/Makefile (tests): Change dependencies to ....
17237 (tests-special): ... additions to this variable.
17238 * misc/Makefile (tests): Change dependencies to ....
17239 (tests-special): ... additions to this variable.
17240 * nptl/Makefile (tests): Change dependencies to ....
17241 (tests-special): ... additions to this variable.
17242 * nptl_db/Makefile (tests): Change dependencies to ....
17243 (tests-special): ... additions to this variable.
17244 * posix/Makefile (tests): Change dependencies to ....
17245 (tests-special): ... additions to this variable.
17246 (xtests): Change dependencies to ....
17247 (xtests-special): ... additions to this variable.
17248 * resolv/Makefile (tests): Change dependencies to ....
17249 (tests-special): ... additions to this variable.
17250 (xtests): Change dependencies to ....
17251 (xtests-special): ... additions to this variable.
17252 * stdio-common/Makefile (tests): Change dependencies to ....
17253 (tests-special): ... additions to this variable.
17254 (do-tst-unbputc): Remove target.
17255 (do-tst-printf): Likewise.
17256 * stdlib/Makefile (tests): Change dependencies to ....
17257 (tests-special): ... additions to this variable.
17258 * string/Makefile (tests): Change dependencies to ....
17259 (tests-special): ... additions to this variable.
17260 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17261 (tests-special): ... additions to this variable.
17263 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17265 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17267 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17268 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17270 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17271 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17272 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17273 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17274 * conform/data/libgen.h-data [XPG3]: Likewise.
17275 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17276 * conform/data/ndbm.h-data [XPG3]: Likewise.
17277 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17278 * conform/data/netdb.h-data [XPG3]: Likewise.
17279 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17280 * conform/data/poll.h-data [XPG3]: Likewise.
17281 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17282 * conform/data/strings.h-data [XPG3]: Likewise.
17283 * conform/data/stropts.h-data [XPG3]: Likewise.
17284 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17285 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17286 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17288 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17289 * conform/data/sys/time.h-data [XPG3]: Likewise.
17290 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17291 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17292 * conform/data/sys/un.h-data [XPG3]: Likewise.
17293 * conform/data/syslog.h-data [XPG3]: Likewise.
17294 * conform/data/ucontext.h-data [XPG3]: Likewise.
17295 * conform/data/utmpx.h-data [XPG3]: Likewise.
17296 * conform/data/varargs.h-data [UNIX98]: Enable file.
17298 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17300 * math/libm-test.inc (struct test_f_f_data): Move expected results
17301 into structure for each rounding mode.
17302 (struct test_ff_f_data): Likewise.
17303 (struct test_ff_f_data_nexttoward): Likewise.
17304 (struct test_fi_f_data): Likewise.
17305 (struct test_fl_f_data): Likewise.
17306 (struct test_if_f_data): Likewise.
17307 (struct test_fff_f_data): Likewise.
17308 (struct test_c_f_data): Likewise.
17309 (struct test_f_f1_data): Likewise.
17310 (struct test_fF_f1_data): Likewise.
17311 (struct test_ffI_f1_data): Likewise.
17312 (struct test_c_c_data): Likewise.
17313 (struct test_cc_c_data): Likewise.
17314 (struct test_f_i_data): Likewise.
17315 (struct test_ff_i_data): Likewise.
17316 (struct test_f_l_data): Likewise.
17317 (struct test_f_L_data): Likewise.
17318 (struct test_fFF_11_data): Likewise.
17320 (RM_FE_DOWNWARD): Likewise.
17321 (RM_FE_TONEAREST): Likewise.
17322 (RM_FE_TOWARDZERO): Likewise.
17323 (RM_FE_UPWARD): Likewise.
17324 (RUN_TEST_LOOP_f_f): Update references to expected results.
17325 (RUN_TEST_LOOP_2_f): Likewise.
17326 (RUN_TEST_LOOP_fff_f): Likewise.
17327 (RUN_TEST_LOOP_c_f): Likewise.
17328 (RUN_TEST_LOOP_f_f1): Likewise.
17329 (RUN_TEST_LOOP_fF_f1): Likewise.
17330 (RUN_TEST_LOOP_fI_f1): Likewise.
17331 (RUN_TEST_LOOP_ffI_f1): Likewise.
17332 (RUN_TEST_LOOP_c_c): Likewise.
17333 (RUN_TEST_LOOP_cc_c): Likewise.
17334 (RUN_TEST_LOOP_f_i): Likewise.
17335 (RUN_TEST_LOOP_f_i_tg): Likewise.
17336 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17337 (RUN_TEST_LOOP_f_b): Likewise.
17338 (RUN_TEST_LOOP_f_b_tg): Likewise.
17339 (RUN_TEST_LOOP_f_l): Likewise.
17340 (RUN_TEST_LOOP_f_L): Likewise.
17341 (RUN_TEST_LOOP_fFF_11): Likewise.
17342 * math/gen-libm-test.pl (parse_args): Output four copies of
17343 expected results for each test.
17345 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17346 (__ASSUME_UTIMES): Remove.
17347 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17348 (__ASSUME_UTIMES): Likewise.
17350 * math/gen-auto-libm-tests.c: Update comment on output format.
17351 (output_for_one_input_case): Generate before-rounding and
17352 after-rounding information as conditions on output flags not
17353 floating-point format.
17354 * math/auto-libm-test-out: Regenerated.
17355 * math/gen-libm-test.pl (cond_value): New function.
17356 (or_cond_value): Use cond_value.
17357 (generate_testfile): Handle conditional exceptions.
17359 2014-03-05 Joseph Myers <joseph@codesourcery.com>
17361 * math/libm-test.inc (max_valid_error): New variable.
17362 (init_max_error): Take new argument specifying whether function
17363 results are exactly determined. Set max_valid_error and bound
17364 other variables for errors based on this argument.
17365 (set_max_error): Do not record results above max_valid_error.
17366 (check_float_internal): Only accept errors of up to 0.5ulps if
17367 also at most max_valid_error.
17368 (START): Take new argument EXACT and pass it to init_max_error.
17369 (acos_test): Update call to START.
17370 (acos_test_tonearest): Likewise.
17371 (acos_test_towardzero): Likewise.
17372 (acos_test_downward): Likewise.
17373 (acos_test_upward): Likewise.
17374 (acosh_test): Likewise.
17375 (asin_test): Likewise.
17376 (asin_test_tonearest): Likewise.
17377 (asin_test_towardzero): Likewise.
17378 (asin_test_downward): Likewise.
17379 (asin_test_upward): Likewise.
17380 (asinh_test): Likewise.
17381 (atan_test): Likewise.
17382 (atanh_test): Likewise.
17383 (atan2_test): Likewise.
17384 (cabs_test): Likewise.
17385 (cacos_test): Likewise.
17386 (cacosh_test): Likewise.
17387 (carg_test): Likewise.
17388 (casin_test): Likewise.
17389 (casinh_test): Likewise.
17390 (catan_test): Likewise.
17391 (catanh_test): Likewise.
17392 (cbrt_test): Likewise.
17393 (ccos_test): Likewise.
17394 (ccosh_test): Likewise.
17395 (ceil_test): Likewise.
17396 (cexp_test): Likewise.
17397 (cimag_test): Likewise.
17398 (clog_test): Likewise.
17399 (clog10_test): Likewise.
17400 (conj_test): Likewise.
17401 (copysign_test): Likewise.
17402 (cos_test): Likewise.
17403 (cos_test_tonearest): Likewise.
17404 (cos_test_towardzero): Likewise.
17405 (cos_test_downward): Likewise.
17406 (cos_test_upward): Likewise.
17407 (cosh_test): Likewise.
17408 (cosh_test_tonearest): Likewise.
17409 (cosh_test_towardzero): Likewise.
17410 (cosh_test_downward): Likewise.
17411 (cosh_test_upward): Likewise.
17412 (cpow_test): Likewise.
17413 (cproj_test): Likewise.
17414 (creal_test): Likewise.
17415 (csin_test): Likewise.
17416 (csinh_test): Likewise.
17417 (csqrt_test): Likewise.
17418 (ctan_test): Likewise.
17419 (ctan_test_tonearest): Likewise.
17420 (ctan_test_towardzero): Likewise.
17421 (ctan_test_downward): Likewise.
17422 (ctan_test_upward): Likewise.
17423 (ctanh_test): Likewise.
17424 (ctanh_test_tonearest): Likewise.
17425 (ctanh_test_towardzero): Likewise.
17426 (ctanh_test_downward): Likewise.
17427 (ctanh_test_upward): Likewise.
17428 (erf_test): Likewise.
17429 (erfc_test): Likewise.
17430 (exp_test): Likewise.
17431 (exp_test_tonearest): Likewise.
17432 (exp_test_towardzero): Likewise.
17433 (exp_test_downward): Likewise.
17434 (exp_test_upward): Likewise.
17435 (exp10_test): Likewise.
17436 (exp10_test_tonearest): Likewise.
17437 (exp10_test_towardzero): Likewise.
17438 (exp10_test_downward): Likewise.
17439 (exp10_test_upward): Likewise.
17440 (pow10_test): Likewise.
17441 (exp2_test): Likewise.
17442 (expm1_test): Likewise.
17443 (expm1_test_tonearest): Likewise.
17444 (expm1_test_towardzero): Likewise.
17445 (expm1_test_downward): Likewise.
17446 (expm1_test_upward): Likewise.
17447 (fabs_test): Likewise.
17448 (fdim_test): Likewise.
17449 (floor_test): Likewise.
17450 (fma_test): Likewise.
17451 (fma_test_towardzero): Likewise.
17452 (fma_test_downward): Likewise.
17453 (fma_test_upward): Likewise.
17454 (fmax_test): Likewise.
17455 (fmin_test): Likewise.
17456 (fmod_test): Likewise.
17457 (fpclassify_test): Likewise.
17458 (frexp_test): Likewise.
17459 (hypot_test): Likewise.
17460 (ilogb_test): Likewise.
17461 (isfinite_test): Likewise.
17462 (finite_test): Likewise.
17463 (isgreater_test): Likewise.
17464 (isgreaterequal_test): Likewise.
17465 (isinf_test): Likewise.
17466 (isless_test): Likewise.
17467 (islessequal_test): Likewise.
17468 (islessgreater_test): Likewise.
17469 (isnan_test): Likewise.
17470 (isnormal_test): Likewise.
17471 (issignaling_test): Likewise.
17472 (isunordered_test): Likewise.
17473 (j0_test): Likewise.
17474 (j1_test): Likewise.
17475 (jn_test): Likewise.
17476 (ldexp_test): Likewise.
17477 (lgamma_test): Likewise.
17478 (gamma_test): Likewise.
17479 (lrint_test): Likewise.
17480 (lrint_test_tonearest): Likewise.
17481 (lrint_test_towardzero): Likewise.
17482 (lrint_test_downward): Likewise.
17483 (lrint_test_upward): Likewise.
17484 (llrint_test): Likewise.
17485 (llrint_test_tonearest): Likewise.
17486 (llrint_test_towardzero): Likewise.
17487 (llrint_test_downward): Likewise.
17488 (llrint_test_upward): Likewise.
17489 (log_test): Likewise.
17490 (log10_test): Likewise.
17491 (log1p_test): Likewise.
17492 (log2_test): Likewise.
17493 (logb_test): Likewise.
17494 (logb_test_downward): Likewise.
17495 (lround_test): Likewise.
17496 (llround_test): Likewise.
17497 (modf_test): Likewise.
17498 (nearbyint_test): Likewise.
17499 (nextafter_test): Likewise.
17500 (nexttoward_test): Likewise.
17501 (pow_test): Likewise.
17502 (pow_test_tonearest): Likewise.
17503 (pow_test_towardzero): Likewise.
17504 (pow_test_downward): Likewise.
17505 (pow_test_upward): Likewise.
17506 (remainder_test): Likewise.
17507 (drem_test): Likewise.
17508 (remainder_test_tonearest): Likewise.
17509 (drem_test_tonearest): Likewise.
17510 (remainder_test_towardzero): Likewise.
17511 (drem_test_towardzero): Likewise.
17512 (remainder_test_downward): Likewise.
17513 (drem_test_downward): Likewise.
17514 (remainder_test_upward): Likewise.
17515 (drem_test_upward): Likewise.
17516 (remquo_test): Likewise.
17517 (rint_test): Likewise.
17518 (rint_test_tonearest): Likewise.
17519 (rint_test_towardzero): Likewise.
17520 (rint_test_downward): Likewise.
17521 (rint_test_upward): Likewise.
17522 (round_test): Likewise.
17523 (scalb_test): Likewise.
17524 (scalbn_test): Likewise.
17525 (scalbln_test): Likewise.
17526 (signbit_test): Likewise.
17527 (sin_test): Likewise.
17528 (sin_test_tonearest): Likewise.
17529 (sin_test_towardzero): Likewise.
17530 (sin_test_downward): Likewise.
17531 (sin_test_upward): Likewise.
17532 (sincos_test): Likewise.
17533 (sinh_test): Likewise.
17534 (sinh_test_tonearest): Likewise.
17535 (sinh_test_towardzero): Likewise.
17536 (sinh_test_downward): Likewise.
17537 (sinh_test_upward): Likewise.
17538 (sqrt_test): Likewise.
17539 (sqrt_test_tonearest): Likewise.
17540 (sqrt_test_towardzero): Likewise.
17541 (sqrt_test_downward): Likewise.
17542 (sqrt_test_upward): Likewise.
17543 (tan_test): Likewise.
17544 (tan_test_tonearest): Likewise.
17545 (tan_test_towardzero): Likewise.
17546 (tan_test_downward): Likewise.
17547 (tan_test_upward): Likewise.
17548 (tanh_test): Likewise.
17549 (tgamma_test): Likewise.
17550 (trunc_test): Likewise.
17551 (y0_test): Likewise.
17552 (y1_test): Likewise.
17553 (yn_test): Likewise.
17554 (significand_test): Likewise.
17556 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17557 individual tests in comment.
17558 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17559 (prev_max_error): New variable.
17560 (prev_real_max_error): Likewise.
17561 (prev_imag_max_error): Likewise.
17562 (compare_ulp_data): Don't refer to test names in comment.
17563 (find_test_ulps): Remove function.
17564 (find_function_ulps): Likewise.
17565 (find_complex_function_ulps): Likewise.
17566 (init_max_error): Take function name as argument. Look up ulps
17568 (print_ulps): Remove function.
17569 (print_max_error): Use prev_max_error instead of calling
17570 find_function_ulps.
17571 (print_complex_max_error): Use prev_real_max_error and
17572 prev_imag_max_error instead of calling find_complex_function_ulps.
17573 (check_float_internal): Take max_ulp parameter instead of calling
17574 find_test_ulps. Don't call print_ulps.
17575 (check_float): Update call to check_float_internal.
17576 (check_complex): Update calls to check_float_internal.
17577 (START): Pass argument to init_max_error.
17578 * math/gen-libm-test.pl (%results): Don't include "kind"
17580 (parse_ulps): Don't handle ulps of individual tests.
17581 (print_ulps_file): Likewise.
17582 (output_ulps): Likewise.
17583 * math/README.libm-test: Update.
17584 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17586 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17587 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17588 * sysdeps/arm/libm-test-ulps: Likewise.
17589 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17590 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17591 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17592 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17593 * sysdeps/microblaze/libm-test-ulps: Likewise.
17594 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17595 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17596 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17597 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17598 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17599 * sysdeps/sh/libm-test-ulps: Likewise.
17600 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17601 * sysdeps/tile/libm-test-ulps: Likewise.
17602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17604 2014-03-04 Joseph Myers <joseph@codesourcery.com>
17606 * math/libm-test.inc (print_complex_max_error): Check separately
17607 whether real and imaginary errors are within allowed range and
17608 pass 0 to print_complex_function_ulps instead of value within
17611 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17613 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17615 (get_handles_fopen): Likewise.
17616 (do_write_test): Likewise.
17618 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17620 * libio/fileops.c (do_ftell): Use cached offset when
17622 * libio/iofwide.c (do_ftell_wide): Likewise.
17623 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17625 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17628 * libio/libioP.h (get_file_offset): New function.
17629 * libio/fileops.c (get_file_offset): Likewise.
17630 (do_ftell): Likewise.
17631 (_IO_new_file_seekoff): Split out ftell logic.
17632 * libio/wfileops.c (do_ftell_wide): Likewise.
17633 (_IO_wfile_seekoff): Split out ftell logic.
17634 * libio/tst-ftell-active-handler.c: New test case.
17635 * libio/Makefile (tests): Add it.
17637 2014-03-03 Roland McGrath <roland@hack.frob.com>
17639 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17640 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17642 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17645 * nscd/connections.c (nscd_init): Call do_exit.
17646 (start_threads): Call do_exit and notify_parent.
17647 (begin_drop_privileges): Call do_exit.
17648 (finish_drop_privileges): Likewise.
17649 * nscd/selinux.c (preserve_capabilities): Likewise.
17650 (install_real_capabilities): Likewise.
17651 (nscd_selinux_enabled): Likewise.
17652 (avc_create_thread): Likewise.
17653 (avc_alloc_lock): Likewise.
17654 (nscd_avc_init): Likewise.
17655 * nscd/nscd.c (parent_fd): New static variable.
17656 (main): Create a pipe between parent and child processes.
17657 Skip closing parent_fd.
17658 (monitor_child): New function.
17659 (do_exit): Likewise.
17660 (notify_parent): Likewise.
17661 * nscd/nscd.h (notify_parent): Likewise.
17662 (do_exit): Likewise.
17664 2014-03-03 Carlos O'Donell <carlos@redhat.com>
17666 * malloc/malloc.c (__libc_calloc): Revert last change.
17668 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17672 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17674 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17678 (__libc_ifunc_impl_list): Likewise.
17679 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17680 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17681 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17682 * string/strrchr.c: Define STRRCHR.
17684 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
17686 * benchtest/bench-strtok.c (simple_strtok): Delete.
17687 (strtok_string): Use as benchmark.
17688 * string/strtok (STRTOK): New macro.
17690 2014-02-28 Carlos O'Donell <carlos@redhat.com>
17692 * manual/threads.texi: Add header and standard comments to all
17695 * elf/dl-lookup.c (check_match): New function.
17696 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17697 (do_lookup_x): Remove nested function check_match. Use non-nested
17698 function check_match.
17700 2014-02-28 Roland McGrath <roland@hack.frob.com>
17702 * csu/Makefile (generated, before-compile): Use += rather than =.
17703 * catgets/Makefile (generated, generated-dirs): Likewise.
17704 * debug/Makefile (generated): Likewise.
17705 * dlfcn/Makefile (generated): Likewise.
17706 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17707 * iconvdata/Makefile (before-compile, generated): Likewise.
17708 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17709 * libio/Makefile (generated): Likewise.
17710 * malloc/Makefile (generated): Likewise.
17711 * manual/Makefile (generated, generated-dirs): Likewise.
17712 * misc/Makefile (generated): Likewise.
17713 * posix/Makefile (generated): Likewise.
17714 * resolv/Makefile (generated): Likewise.
17715 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17716 * timezone/Makefile (generated, generated-dirs): Likewise.
17718 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17720 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17722 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17723 power8 implementation.
17724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17725 file: POWER8 llround ifunc implementation.
17726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17727 (__lllround): Add POWER8 implementation.
17728 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17729 POWER8 llround implementation.
17731 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17732 power8 implementation.
17733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17734 file: POWER8 llrint ifunc implementation.
17735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17736 Add POWER8 implementation.
17737 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17738 POWER8 llrint implementation.
17740 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17741 power8 implementation.
17742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17743 file: POWER8 finite ifunc implementation.
17744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17745 Add POWER8 implementation.
17746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17748 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17749 POWER8 finite implementation.
17750 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17752 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17753 power8 implementation.
17754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17755 file: POWER8 isinf ifunc implementation.
17756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17757 POWER8 implementation.
17758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17760 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17761 isinf implementation.
17762 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17764 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17765 (INIT_ARCH): Add hwcap2 initialization.
17766 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17767 power8 implementation.
17768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17769 file: POWER8 isnan ifunc implementation.
17770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17771 POWER8 implementation.
17772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17774 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17775 isnan implementation.
17776 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17778 2014-02-27 Joey Ye <joey.ye@arm.com>
17780 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17781 (_FP_NANFRAC_Q): Set to zero.
17783 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17786 * math/auto-libm-test-in: New test inputs.
17787 * math/auto-libm-test-out: Regenerate.
17788 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17791 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17793 2014-02-27 Joseph Myers <joseph@codesourcery.com>
17795 * scripts/evaluate-test.sh: Take new argument indicating whether
17796 failure is expected.
17797 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17798 indicating whether failure is expected.
17799 * conform/Makefile (test-xfail-run-conformtest): New variable.
17800 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17802 * posix/Makefile (test-xfail-annexc): New variable.
17803 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17805 2014-02-26 Joseph Myers <joseph@codesourcery.com>
17807 * argp/Makefile: Include Makeconfig immediately after defining
17809 * assert/Makefile: Likewise.
17810 * benchtests/Makefile: Likewise.
17811 * catgets/Makefile: Likewise.
17812 * conform/Makefile: Likewise.
17813 * crypt/Makefile: Likewise.
17814 * csu/Makefile: Likewise.
17815 (all): Remove target.
17816 * ctype/Makefile: Include Makeconfig immediately after defining
17818 * debug/Makefile: Likewise.
17819 * dirent/Makefile: Likewise.
17820 * dlfcn/Makefile: Likewise.
17821 * gmon/Makefile: Likewise.
17822 * gnulib/Makefile: Likewise.
17823 * grp/Makefile: Likewise.
17824 * gshadow/Makefile: Likewise.
17825 * hesiod/Makefile: Likewise.
17826 * hurd/Makefile: Likewise.
17827 (all): Remove target.
17828 * iconvdata/Makefile: Include Makeconfig immediately after
17830 * inet/Makefile: Likewise.
17831 * intl/Makefile: Likewise.
17832 * io/Makefile: Likewise.
17833 * libio/Makefile: Likewise.
17834 (all): Remove target.
17835 * locale/Makefile: Include Makeconfig immediately after defining
17837 * login/Makefile: Likewise.
17838 * mach/Makefile: Likewise.
17839 (all): Remove target.
17840 * malloc/Makefile: Include Makeconfig immediately after defining
17842 (all): Remove target.
17843 * manual/Makefile: Include Makeconfig immediately after defining
17845 * math/Makefile: Likewise.
17846 * misc/Makefile: Likewise.
17847 * nis/Makefile: Likewise.
17848 * nss/Makefile: Likewise.
17849 * po/Makefile: Likewise.
17850 (all): Remove target.
17851 * posix/Makefile: Include Makeconfig immediately after defining
17853 * pwd/Makefile: Likewise.
17854 * resolv/Makefile: Likewise.
17855 * resource/Makefile: Likewise.
17856 * rt/Makefile: Likewise.
17857 * setjmp/Makefile: Likewise.
17858 * shadow/Makefile: Likewise.
17859 * signal/Makefile: Likewise.
17860 * socket/Makefile: Likewise.
17861 * soft-fp/Makefile: Likewise.
17862 * stdio-common/Makefile: Likewise.
17863 * stdlib/Makefile: Likewise.
17864 * streams/Makefile: Likewise.
17865 * string/Makefile: Likewise.
17866 * sunrpc/Makefile: Likewise.
17867 (all): Remove target.
17868 * sysvipc/Makefile: Include Makeconfig immediately after defining
17870 * termios/Makefile: Likewise.
17871 * time/Makefile: Likewise.
17872 * timezone/Makefile: Likewise.
17873 (all): Remove target.
17874 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17876 * wctype/Makefile: Likewise.
17878 2014-02-26 Steve Ellcey <sellcey@mips.com>
17880 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17881 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17882 (libc_feholdexcept_setround_mips): Ditto.
17883 (libc_feholdsetround): New.
17884 (libc_feholdsetroundf): New.
17885 (libc_feholdsetroundl): New.
17886 (libc_feupdateenv_test_mips): New.
17887 (libc_feupdateenv_test): New.
17888 (libc_feupdateenv_testf): New.
17889 (libc_feupdateenv_testl): New.
17890 (libc_feresetround): New.
17891 (libc_feresetroundf): New.
17892 (libc_feresetroundl): New.
17893 (libc_fetestexcept_mips): New.
17894 (libc_fetestexcept): New.
17895 (libc_fetestexceptf): New.
17896 (libc_fetestexceptl): New.
17897 (HAVE_RM_CTX): New.
17898 (libc_feholdexcept_setround_mips_ctx): New.
17899 (libc_feholdexcept_setround_ctx): New.
17900 (libc_feholdexcept_setroundf_ctx): New.
17901 (libc_feholdexcept_setroundl_ctx): New.
17902 (libc_fesetenv_mips_ctx): New.
17903 (libc_fesetenv_ctx): New.
17904 (libc_fesetenv_ctxf): New.
17905 (libc_fesetenv_ctxl): New.
17906 (libc_feupdateenv_mips_ctx): New.
17907 (libc_feupdateenv_ctx): New.
17908 (libc_feupdateenvf_ctx): New.
17909 (libc_feupdateenvl_ctx): New.
17910 (libc_feholdsetround_mips_ctx): New.
17911 (libc_feholdsetround_ctx): New.
17912 (libc_feholdsetroundf_ctx): New.
17913 (libc_feholdsetroundl_ctx): New.
17914 (libc_feresetround_mips_ctx): New.
17915 (libc_feresetround_ctx): New.
17916 (libc_feresetroundf_ctx): New.
17917 (libc_feresetroundl_ctx): New.
17919 2014-02-26 Carlos O'Donell <carlos@redhat.com>
17921 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17923 * manual/ipc.texi: New file.
17924 * manual/Makefile (chapters): Add ipc.
17925 * manual/job.texi: Add "Inter-Process Communication" to next.
17926 * manual/process.texi: Add "Inter-Process Communication" to prev.
17928 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17932 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
17934 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17936 * manual/arith.texi: Fix spaces after sentences.
17937 * manual/charset.texi: Likewise.
17938 * manual/errno.texi: Likewise.
17939 * manual/install.texi: Likewise.
17940 * manual/llio.texi: Likewise.
17941 * manual/locale.texi: Likewise.
17942 * manual/maint.texi: Likewise.
17943 * manual/math.texi: Likewise.
17944 * manual/memory.texi: Likewise.
17945 * manual/message.texi: Likewise.
17946 * manual/probes.texi: Likewise.
17947 * manual/resource.texi: Likewise.
17948 * manual/signal.texi: Likewise.
17949 * manual/socket.texi: Likewise.
17950 * manual/stdio.texi: Likewise.
17951 * manual/string.texi: Likewise.
17952 * manual/time.texi: Likewise.
17953 * manual/users.texi: Likewise.
17955 2014-02-25 Carlos O'Donell <carlos@redhat.com>
17958 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17959 _DEFAULT_SOURCE is defined.
17961 2014-02-25 Ulrich Drepper <drepper@gmail.com>
17962 Carlos O'Donell <carlos@redhat.com>
17965 * elf/dl-tls.c (_dl_count_modids): New function.
17966 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17967 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17968 audit library and increment generation counter.
17969 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17970 * elf/tst-audit9.c: New file.
17971 * elf/tst-auditmod9a.c: New file.
17972 * elf/tst-auditmod9b.c: New file.
17973 * elf/Makefile: Add rules to build and run tst-audit9.
17975 2014-02-25 Florian Weimer <fweimer@redhat.com>
17978 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17980 2014-02-25 Will Newton <will.newton@linaro.org>
17982 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17983 (__longjmp): Restore sp and lr before restoring callee
17984 saved registers. Add longjmp and longjmp_target
17985 SystemTap probe point.
17986 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17987 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17988 Define to zero to match jmpbuf layout.
17989 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17990 (__sigsetjmp): Save sp and lr before saving callee
17991 saved registers. Add setjmp SystemTap probe point.
17993 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17995 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17997 2014-02-24 Andreas Schwab <schwab@suse.de>
18000 * elf/pldd.c (wait_for_ptrace_stop): New function.
18001 (main): Call it after attaching.
18003 2014-02-22 Roland McGrath <roland@hack.frob.com>
18005 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18006 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18007 Versions files is now verboten.
18008 * hurd/Versions (libc: GLIBC_2.0):
18009 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18010 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18011 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18012 * mach/Versions: Likewise.
18014 * csu/Versions: Remove unused %include.
18015 * resolv/Versions: Likewise.
18017 2014-02-21 Joseph Myers <joseph@codesourcery.com>
18019 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18020 ($(objpfx)check-local-headers.out): Likewise.
18021 ($(objpfx)begin-end-check.out): Likewise.
18022 * Makerules (check-abi-%.out): Likewise.
18023 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18024 ($(objpfx)test2.cat): Likewise.
18025 ($(objpfx)de/libc.cat): Likewise.
18026 ($(objpfx)test-gencat.out): Likewise.
18027 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18028 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18029 ($(objpfx)noload-mem): Likewise.
18030 ($(objpfx)tst-pathopt.out): Likewise.
18031 ($(objpfx)tst-rtld-load-self.out): Likewise.
18032 ($(objpfx)tst-array1-cmp.out): Likewise.
18033 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18034 ($(objpfx)tst-array2-cmp.out): Likewise.
18035 ($(objpfx)tst-array3-cmp.out): Likewise.
18036 ($(objpfx)tst-array4-cmp.out): Likewise.
18037 ($(objpfx)tst-array5-cmp.out): Likewise.
18038 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18039 ($(objpfx)check-textrel.out): Likewise.
18040 ($(objpfx)check-execstack.out): Likewise.
18041 ($(objpfx)check-localplt.out): Likewise.
18042 ($(objpfx)order2-cmp.out): Likewise.
18043 ($(objpfx)tst-leaks1-mem): Likewise.
18044 ($(objpfx)tst-leaks1-static-mem): Likewise.
18045 ($(objpfx)tst-initorder-cmp.out): Likewise.
18046 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18047 ($(objpfx)tst-unused-dep.out): Likewise.
18048 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18049 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18050 * iconv/Makefile (test-iconvconfig): Likewise.
18051 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18052 ($(objpfx)iconv-test.out): Likewise.
18053 ($(objpfx)tst-tables.out): Likewise.
18054 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18055 ($(objpfx)tst-gettext.out): Likewise.
18056 ($(objpfx)tst-translit.out): Likewise.
18057 ($(objpfx)tst-gettext2.out): Likewise.
18058 ($(objpfx)tst-gettext4.out): Likewise.
18059 ($(objpfx)tst-gettext6.out): Likewise.
18060 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18061 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18062 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18063 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18064 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18065 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18066 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18067 ($(objpfx)wordexp-tst.out): Likewise.
18068 ($(objpfx)annexc.out): Likewise.
18069 ($(objpfx)tst-fnmatch-mem): Likewise.
18070 ($(objpfx)bug-regex2-mem): Likewise.
18071 ($(objpfx)bug-regex14-mem): Likewise.
18072 ($(objpfx)bug-regex21-mem): Likewise.
18073 ($(objpfx)bug-regex31-mem): Likewise.
18074 ($(objpfx)tst-vfork3-mem): Likewise.
18075 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18076 ($(objpfx)tst-pcre-mem): Likewise.
18077 ($(objpfx)tst-boost-mem): Likewise.
18078 ($(objpfx)tst-getconf.out): Likewise.
18079 ($(objpfx)bug-ga2-mem): Likewise.
18080 ($(objpfx)bug-glob2-mem): Likewise.
18081 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18082 ($(objpfx)mtrace-tst-leaks2): Likewise.
18083 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18084 ($(objpfx)tst-printf.out): Likewise.
18085 ($(objpfx)tst-setvbuf1.out): Likewise.
18086 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18087 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18088 ($(objpfx)tst-fmtmsg.out): Likewise.
18089 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18090 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18092 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18093 * bits/sigaction.h [__USE_MISC]: Likewise.
18094 * bits/waitstatus.h: Update #endif comments.
18095 * ctype/ctype.h: Likewise.
18096 * dirent/dirent.h: Likewise.
18097 [__USE_MISC]: Remove redundant conditionals.
18098 * grp/grp.h: Update #endif comments.
18099 [__USE_GNU]: Remove redundant conditionals.
18100 [__USE_MISC]: Likewise.
18101 * inet/netinet/in.h [__USE_GNU]: Likewise.
18102 * io/sys/stat.h [__USE_MISC]: Likewise.
18103 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18104 * libio/bits/stdio.h: Update #endif comments.
18105 [__USE_MISC]: Remove redundant conditionals.
18106 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18107 * libio/stdio.h: Update #endif comments.
18108 [__USE_MISC]: Remove redundant conditionals.
18109 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18110 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18111 * math/math.h: Update #else and #endif comments.
18112 [__USE_MISC]: Remove redundant conditionals.
18113 * misc/sys/uio.h: Update #endif comments.
18114 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18115 * posix/glob.h [__USE_MISC]: Likewise.
18116 * posix/sys/types.h: Update #endif comments.
18117 [__USE_MISC]: Remove redundant conditionals.
18118 * posix/sys/wait.h: Update #endif comments.
18119 [__USE_MISC]: Remove redundant conditionals.
18120 * posix/unistd.h: Update #endif comments.
18121 [__USE_MISC]: Remove redundant conditionals.
18122 * pwd/pwd.h [__USE_GNU]: Likewise.
18123 [__USE_MISC]: Likewise.
18124 * resolv/netdb.h [__USE_GNU]: Likewise.
18125 * signal/signal.h: Update #endif comments.
18126 [__USE_MISC]: Remove redundant conditionals.
18127 * stdlib/stdlib.h: Update #else and #endif comments.
18128 [__USE_MISC]: Remove redundant conditionals.
18129 [__USE_GNU]: Likewise.
18130 * string/bits/string2.h [__USE_MISC]: Likewise.
18131 * string/string.h: Update #endif comments.
18132 [__USE_MISC]: Remove redundant conditionals.
18133 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18135 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18136 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18137 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18139 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18141 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18143 [__USE_MISC]: Remove redundant conditionals.
18144 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18145 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18146 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18147 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18148 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18150 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18151 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18153 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18154 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18156 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18158 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18159 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18161 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18163 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18164 * sysdeps/x86/bits/string.h: Update #endif comments.
18165 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18167 * time/sys/time.h: Update #endif comments.
18168 * time/time.h: Likewise.
18169 [__USE_MISC]: Remove redundant conditionals.
18171 2014-02-21 Yury Gribov <y.gribov@samsung.com>
18174 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18176 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18178 * Versions.def (librt): Add GLIBC_2.17.
18180 2014-02-21 Adam Conrad <adconrad@0c3.net>
18182 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18183 synonym for _SYS_AUXV_H to allow direct inclusion.
18184 * sysdeps/sparc/bits/hwcap.h: Likewise.
18185 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18186 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18187 * sysdeps/sparc/sysdep.h: Likewise.
18189 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18191 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18193 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18195 * benchtests/bench-strrchr.c: Print length instead of position.
18197 2014-02-20 Joseph Myers <joseph@codesourcery.com>
18200 * sysdeps/unix/sysv/linux/kernel-features.h
18201 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18202 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18203 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18204 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18206 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18207 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18208 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18209 (__ASSUME_SENDMMSG): Define instead of using previous
18210 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18211 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18212 (__ASSUME_SENDMMSG_SYSCALL): Define.
18213 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18214 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18216 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18217 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18219 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18220 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18222 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18223 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18224 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18225 [__ASSUME_SENDMMSG]: Change conditionals to
18226 [__ASSUME_SENDMMSG_SOCKETCALL].
18227 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18228 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18230 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18231 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18233 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18234 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18235 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18236 [!__ASSUME_SENDMMSG]: Change conditional to
18237 [!__ASSUME_SENDMMSG_SOCKETCALL].
18238 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18239 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18243 * sysdeps/unix/sysv/linux/kernel-features.h
18244 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18245 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18246 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18247 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18248 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18249 [__i386__ || __sparc__]
18250 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18251 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18252 (__ASSUME_RECVMMSG): Define instead of using previous
18253 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18254 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18255 (__ASSUME_RECVMMSG_SYSCALL): Define.
18256 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18257 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18259 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18260 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18262 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18263 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18265 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18266 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18267 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18268 [__ASSUME_RECVMMSG]: Change condition to
18269 [__ASSUME_RECVMMSG_SOCKETCALL].
18270 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18271 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18273 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18274 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18275 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18277 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18278 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18279 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18280 [!__ASSUME_RECVMMSG]: Change condition to
18281 [!__ASSUME_RECVMMSG_SOCKETCALL].
18282 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18283 (__ASSUME_RECVMMSG_SYSCALL): Define.
18286 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18287 __powerpc__ || __s390__ || __sh__ || __sparc__]
18288 (__ASSUME_SOCKETCALL): Define.
18289 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18290 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18291 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18292 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18293 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18294 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18295 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18296 (__ASSUME_ACCEPT4): Define instead of using previous
18297 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18298 __powerpc__ || __sparc__ || __s390__)] condition.
18299 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18300 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18301 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18302 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18303 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18304 [!__ASSUME_ACCEPT4]: Change condition to
18305 [!__ASSUME_ACCEPT4_SOCKETCALL].
18306 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18307 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18308 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18309 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18310 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18311 __ASSUME_ACCEPT4_SYSCALL.
18312 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18313 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18314 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18315 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18316 __ASSUME_ACCEPT4_SYSCALL.
18317 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18318 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18319 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18320 [__ASSUME_ACCEPT4]: Change condition to
18321 [__ASSUME_ACCEPT4_SOCKETCALL].
18322 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18323 (__ASSUME_SOCKETCALL): Define.
18324 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18325 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18326 (__ASSUME_SOCKETCALL): Define.
18327 (__ASSUME_ACCEPT4): Remove.
18328 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18330 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18331 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18333 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18334 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18336 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18338 (HWCAP_ARM_LPAE): Likewise.
18339 (HWCAP_ARM_EVTSTRM): Likewise.
18340 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18341 Add vpfd32, lpae and evtstrm.
18342 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18345 2014-02-19 Joseph Myers <joseph@codesourcery.com>
18347 * math/auto-libm-test-in: Add tests of clog10.
18348 * math/auto-libm-test-out: Regenerated.
18349 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18350 * sysdeps/i386/fpu/libm-test-ulps: Update.
18351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18353 2014-02-18 Andreas Schwab <schwab@suse.de>
18356 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18357 Store non-zero if the second buffer was newly allocated.
18358 (send_dg): Likewise.
18359 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18360 to send_vc and send_dg.
18361 (res_nsend): Pass NULL for ansp2_malloced.
18362 * resolv/res_query.c (__libc_res_nquery): Add parameter
18363 answerp2_malloced and pass it down to __libc_res_nsend.
18364 (res_nquery): Pass additional NULL to __libc_res_nquery.
18365 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18366 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18367 second answer buffer if answerp2_malloced was set.
18368 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18369 (__libc_res_nquerydomain): Add parameter
18370 answerp2_malloced and pass it down to __libc_res_nquery.
18371 (res_nquerydomain): Pass additional NULL to
18372 __libc_res_nquerydomain.
18373 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18374 additional NULL to __libc_res_nsend and __libc_res_nquery.
18375 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18376 additional NULL to __libc_res_nsearch.
18377 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18378 parameter of __libc_res_nsearch to check for separately allocated
18380 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18382 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18383 additional NULL to __libc_res_nquery.
18384 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18385 __libc_res_nsearch.
18386 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18387 * include/resolv.h: Update prototypes of __libc_res_nquery,
18388 __libc_res_nsearch, __libc_res_nsend.
18390 2014-02-18 Joseph Myers <joseph@codesourcery.com>
18392 * math/auto-libm-test-in: Add tests of fma.
18393 * math/auto-libm-test-out: Regenerated.
18394 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18395 (fma_towardzero_test_data): Likewise.
18396 (fma_downward_test_data): Likewise.
18397 (fma_upward_test_data): Likewise.
18398 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18400 (rounding_modes): Add values for new field.
18401 (func_calc_method): Add value mpfr_fff_f.
18402 (func_calc_desc): Add mpfr_fff_f union field.
18403 (test_function): Add field exact_args.
18404 (FUNC): Add macro argument EXACT_ARGS.
18405 (FUNC_mpfr_f_f): Update call to FUNC.
18406 (FUNC_mpfr_f_f): Likewise.
18407 (FUNC_mpfr_ff_f): Likewise.
18408 (FUNC_mpfr_if_f): Likewise.
18409 (FUNC_mpc_c_f): Likewise.
18410 (FUNC_mpc_c_c): Likewise.
18411 (test_functions): Add fma. Update calls to FUNC.
18412 (handle_input_arg): Add argument exact_args.
18413 (add_test): Update call to handle_input_arg.
18414 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18415 (output_for_one_input_case): Update call to calc_generic_results.
18416 Recalculate exact zero results in each rounding mode.
18418 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18419 non-negative before setting low bit.
18420 * math/auto-libm-test-in: Mark one asin test possibly having
18421 spurious underflow.
18422 * math/auto-libm-test-out: Regenerated.
18423 * sysdeps/i386/fpu/libm-test-ulps: Update.
18424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18426 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18428 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18429 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18430 ports/sysdeps/unix/sysv/linux/microblaze.
18431 * README: Add missing listing for microblaze*-*-linux-gnu.
18433 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
18435 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18438 2014-02-16 Mike Frysinger <vapier@gentoo.org>
18440 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18441 * sysdeps/unix/sysv/linux/ia64: Move directory from
18442 ports/sysdeps/unix/sysv/linux/ia64.
18443 * README: Update listing for ia64-*-linux-gnu.
18445 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18446 Joseph Myers <joseph@codesourcery.com>
18448 * Makeconfig (test-name): New variable.
18449 (evaluate-test): Likewise.
18450 * Makerules (do-test-clean): Remove .test-result files.
18451 (common-mostlyclean): Likewise.
18452 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18453 * scripts/evaluate-test.sh: New file.
18455 2014-02-14 Joseph Myers <joseph@codesourcery.com>
18457 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18458 separate $(objpfx)tst-fopenloc-cmp.out and
18459 $(objpfx)tst-fopenloc-mem.out targets.
18460 (tests): Update dependencies.
18461 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18462 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18463 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18464 (tst-rxspencer-no-utf8-ARGS): New variable.
18465 (tst-rxspencer-no-utf8-ENV): Likewise.
18466 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18467 instead of $(objpfx)tst-rxspencer-mem.
18468 ($(objpfx)tst-rxspencer-mem): Change target to
18469 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18470 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18471 * posix/tst-rxspencer-no-utf8.c: New file.
18473 * elf/Makefile ($(objpfx)order.out): Remove rule.
18474 [$(run-built-tests) = yes] (tests): Depend on
18475 $(objpfx)order-cmp.out.
18476 ($(objpfx)order-cmp.out): New rule.
18477 [$(run-built-tests) = yes] (tests): Depend on
18478 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18479 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18480 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18481 $(objpfx)tst-array5-static-cmp.out.
18482 ($(objpfx)tst-array1.out): Remove rule.
18483 ($(objpfx)tst-array1-cmp.out): New rule.
18484 ($(objpfx)tst-array1-static.out): Remove rule.
18485 ($(objpfx)tst-array1-static-cmp.out): New rule.
18486 ($(objpfx)tst-array2.out): Remove rule.
18487 ($(objpfx)tst-array2-cmp.out): New rule.
18488 ($(objpfx)tst-array3.out): Remove rule.
18489 ($(objpfx)tst-array3-cmp.out): New rule.
18490 ($(objpfx)tst-array4.out): Remove rule.
18491 ($(objpfx)tst-array4-cmp.out): New rule.
18492 ($(objpfx)tst-array5.out): Remove rule.
18493 ($(objpfx)tst-array5-cmp.out): New rule.
18494 ($(objpfx)tst-array5-static.out): Remove rule.
18495 ($(objpfx)tst-array5-static-cmp.out): New rule.
18496 [$(run-built-tests) = yes] (tests): Depend on
18497 $(objpfx)order2-cmp.out.
18498 ($(objpfx)order2.out): Remove rule.
18499 ($(objpfx)order2-cmp.out): New rule.
18500 ($(objpfx)tst-initorder.out): Remove rule.
18501 [$(run-built-tests) = yes] (tests): Depend on
18502 $(objpfx)tst-initorder-cmp.out.
18503 ($(objpfx)tst-initorder-cmp.out): New rule.
18504 ($(objpfx)tst-initorder2.out): Remove rule.
18505 [$(run-built-tests) = yes] (tests): Depend on
18506 $(objpfx)tst-initorder2-cmp.out.
18507 ($(objpfx)tst-initorder2-cmp.out): New rule.
18508 [$(run-built-tests) = yes] (tests): Depend on
18509 $(objpfx)tst-unused-dep-cmp.out.
18510 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18511 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18512 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18513 on $(objpfx)tst-setvbuf1-cmp.out.
18514 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18515 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18516 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18517 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18518 ($(objpfx)tst-svc.out): Remove rule.
18519 ($(objpfx)tst-svc-cmp.out): New rule.
18521 2014-02-13 Joseph Myers <joseph@codesourcery.com>
18523 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18524 * ctype/ctype.h [__USE_MISC]: Likewise.
18525 * dirent/dirent.h [__USE_MISC]: Likewise.
18526 * grp/grp.h [__USE_MISC]: Likewise.
18527 * io/fcntl.h [__USE_MISC]: Likewise.
18528 * io/sys/stat.h [__USE_MISC]: Likewise.
18529 * libio/stdio.h [__USE_MISC]: Likewise.
18530 * posix/unistd.h [__USE_MISC]: Likewise.
18531 * pwd/pwd.h [__USE_MISC]: Likewise.
18532 * stdlib.h [__USE_MISC]: Likewise.
18533 * string/bits/string2.h [__USE_MISC]: Likewise.
18534 * string/string.h [__USE_MISC]: Likewise.
18535 * time/time.h [__USE_MISC]: Likewise.
18537 2014-02-13 Andreas Schwab <schwab@suse.de>
18540 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18541 second answer buffer if it was separately allocated.
18543 2014-02-12 Joseph Myers <joseph@codesourcery.com>
18545 * sysdeps/mips/math-tests.h: Include <features.h>.
18546 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18547 (ROUNDING_TESTS_long_double): Do not define.
18548 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18549 (EXCEPTION_TESTS_long_double): Likewise.
18550 * sysdeps/mips/mips64/libm-test-ulps: Update.
18552 * include/features.h (__USE_BSD): Remove macro definitions.
18553 (__USE_SVID): Likewise.
18554 (_BSD_SOURCE): Likewise.
18555 (_SVID_SOURCE): Likewise.
18556 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18557 from definition of _DEFAULT_SOURCE.
18558 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18560 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18561 * bits/mman.h [__USE_BSD]: Likewise.
18562 * bits/termios.h [__USE_BSD]: Likewise.
18563 * bits/waitstatus.h [__USE_BSD]: Likewise.
18564 * ctype/ctype.h [__USE_SVID]: Likewise.
18565 * dirent/dirent.h [__USE_BSD]: Likewise.
18566 * grp/grp.h [__USE_SVID]: Likewise.
18567 [__USE_BSD]: Likewise.
18568 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18569 * io/fcntl.h [__USE_BSD]: Likewise.
18570 * io/ftw.h [__USE_BSD]: Likewise.
18571 * io/sys/stat.h [__USE_BSD]: Likewise.
18572 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18573 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18574 * libio/stdio.h [__USE_SVID]: Likewise.
18575 [__USE_BSD]: Likewise.
18576 * math/math.h [__USE_SVID]: Likewise.
18577 [__USE_BSD]: Likewise.
18578 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18579 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18580 * misc/search.h [__USE_SVID]: Likewise.
18581 * misc/sys/mman.h [__USE_BSD]: Likewise.
18582 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18583 * misc/sys/uio.h [__USE_BSD]: Likewise.
18584 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18585 * posix/glob.h [__USE_BSD]: Likewise.
18586 * posix/regex.h [__USE_BSD]: Likewise.
18587 * posix/sys/types.h [__USE_BSD]: Likewise.
18588 [__USE_SVID]: Likewise.
18589 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18590 * posix/sys/wait.h [__USE_BSD]: Likewise.
18591 [__USE_SVID]: Likewise.
18592 * posix/unistd.h [__USE_BSD]: Likewise.
18593 [__USE_SVID]: Likewise.
18594 * pwd/pwd.h [__USE_SVID]: Likewise.
18595 * resolv/netdb.h [__USE_BSD]: Likewise.
18596 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18597 * signal/signal.h [__USE_BSD]: Likewise.
18598 [__USE_SVID]: Likewise.
18599 * socket/sys/socket.h [__USE_BSD]: Likewise.
18600 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18601 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18602 [__USE_SVID]: Likewise.
18603 * string/bits/string2.h [__USE_BSD]: Likewise.
18604 [__USE_SVID]: Likewise.
18605 * string/bits/string3.h [__USE_BSD]: Likewise.
18606 * string/endian.h [__USE_BSD]: Likewise.
18607 * string/string.h [__USE_SVID]: Likewise.
18608 [__USE_BSD]: Likewise.
18609 * string/strings.h [__USE_BSD]: Likewise.
18610 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18611 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18612 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18613 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18614 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18615 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18617 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18619 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18620 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18622 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18623 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18625 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18627 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18628 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18629 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18631 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18633 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18634 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18635 * termios/termios.h [__USE_BSD]: Likewise.
18636 * time/sys/time.h [__USE_BSD]: Likewise.
18637 * time/time.h [__USE_BSD]: Likewise.
18638 [__USE_SVID]: Likewise.
18640 * Makefile (subdir_targets): Remove subdir_lint.out.
18642 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18643 (do-tst-printf): Likewise.
18644 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18645 $(objpfx)tst-printf.out.
18647 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18649 * Makerules (check-abi-%): Change target to
18650 $(objpfx)check-abi-%.out.
18651 (check-abi target): Update dependencies.
18652 (check-abi-pattern variable): Redirect output of diff to $@.
18653 (check-abi variable): Likewise.
18654 * elf/Makefile (check-abi): Update dependencies.
18656 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18658 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18659 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18661 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18662 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18663 value has largest subnormal exponent.
18664 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18665 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18666 * sysdeps/aarch64/soft-fp/sfp-machine.h
18667 (_FP_TININESS_AFTER_ROUNDING): New macro.
18668 * sysdeps/alpha/soft-fp/sfp-machine.h
18669 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18670 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18672 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18673 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18674 * sysdeps/mips/soft-fp/sfp-machine.h
18675 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18676 * sysdeps/powerpc/soft-fp/sfp-machine.h
18677 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18678 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18680 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18681 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18682 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18683 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18684 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18687 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
18690 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18693 2014-02-12 Richard Henderson <rth@redhat.com>
18695 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18696 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18697 * sysdeps/unix/sysv/linux/alpha: Move directory from
18698 ports/sysdeps/unix/sysv/linux/alpha.
18699 * README: Update listing for alpha-*-linux-gnu.
18701 2014-02-11 Joseph Myers <joseph@codesourcery.com>
18703 * include/features.h: Update comment documenting feature test
18705 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18707 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18708 (_SVID_SOURCE): Likewise.
18709 (_DEFAULT_SOURCE): Update description of default features.
18710 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18712 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18713 (S_ISVTX): Likewise.
18714 * manual/math.texi (Mathematical Constants): Likewise.
18715 * manual/signal.texi (Interrupted Primitives): Likewise.
18716 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18717 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18718 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18719 Don't refer to _SVID_SOURCE in warning text.
18721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18723 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18725 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18726 * sysdeps/mips/dl-lookup.c: Remove.
18727 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18729 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18732 * math/auto-libm-test-in: Add testcase for expl.
18733 * math/auto-libm-test-out: Regenerate.
18734 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18735 calculation of unsafe.
18736 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18738 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18740 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18741 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18742 ports/sysdeps/unix/sysv/linux/aarch64.
18743 * README: Update listing for aarch64*-*-linux-gnu.
18745 2014-02-11 Will Newton <will.newton@linaro.org>
18747 * manual/probes.texi (Mathematical Function Probes): Use
18748 "triggered" instead of "hit".
18750 * manual/probes.texi (Internal Probes): Add documentation
18751 of setjmp, longjmp and longjmp_target probes.
18753 * include/stap-probe.h: Add comment about probe argument
18756 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18757 definition. (tr_where, tr_freehook, tr_mallochook,
18758 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18760 2014-02-11 David S. Miller <davem@davemloft.net>
18762 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18763 processing int_tests.
18765 2014-02-10 Joseph Myers <joseph@codesourcery.com>
18767 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18768 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18769 * sysdeps/unix/sysv/linux/mips: Move directory from
18770 ports/sysdeps/unix/sysv/linux/mips.
18771 * README: Update listing for mips-*-linux-gnu and
18772 mips64-*-linux-gnu.
18774 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18776 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18777 * sysdeps/unix/sysv/linux/m68k: Move directory from
18778 ports/sysdeps/unix/sysv/linux/m68k.
18779 * README: Update listing for m68k-*-linux-gnu.
18781 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18783 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18784 * sysdeps/unix/sysv/linux/generic: Move directory from
18785 ports/sysdeps/unix/sysv/linux/generic.
18786 * sysdeps/unix/sysv/linux/tile: Move directory from
18787 ports/sysdeps/unix/sysv/linux/tile.
18788 * README: Update listing for tile*-*-linux-gnu.
18790 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
18792 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18794 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18795 * catgets/open_catalog.c (__open_catalog): Likewise.
18796 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18797 * debug/confstr_chk.c: Likewise.
18798 * debug/fread_chk.c (__fread_chk): Likewise.
18799 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18800 * debug/getgroups_chk.c: Likewise.
18801 * debug/mbsnrtowcs_chk.c: Likewise.
18802 * debug/mbsrtowcs_chk.c: Likewise.
18803 * debug/mbstowcs_chk.c: Likewise.
18804 * debug/memcpy_chk.c: Likewise.
18805 * debug/memmove_chk.c: Likewise.
18806 * debug/mempcpy_chk.c: Likewise.
18807 * debug/memset_chk.c: Likewise.
18808 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18809 * debug/strcat_chk.c (__strcat_chk): Likewise.
18810 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18811 * debug/strncat_chk.c (__strncat_chk): Likewise.
18812 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18813 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18814 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18815 * debug/wcpncpy_chk.c: Likewise.
18816 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18817 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18818 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18819 * debug/wcsncpy_chk.c: Likewise.
18820 * debug/wcsnrtombs_chk.c: Likewise.
18821 * debug/wcsrtombs_chk.c: Likewise.
18822 * debug/wcstombs_chk.c: Likewise.
18823 * debug/wmemcpy_chk.c: Likewise.
18824 * debug/wmemmove_chk.c: Likewise.
18825 * debug/wmempcpy_chk.c: Likewise.
18826 * debug/wmemset_chk.c: Likewise.
18827 * dirent/scandirat.c (SCANDIRAT): Likewise.
18828 * dlfcn/dladdr1.c (dladdr1): Likewise.
18829 * dlfcn/dladdr.c (dladdr): Likewise.
18830 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18831 * dlfcn/dlerror.c (__dlerror): Likewise.
18832 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18833 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18834 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18835 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18836 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18837 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18838 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18839 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18841 * elf/dl-conflict.c: Likewise.
18842 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18843 * elf/dl-dst.h: Likewise.
18844 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18845 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18846 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18847 * elf/dl-init.c (call_init, _dl_init): Likewise.
18848 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18849 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18850 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18852 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18854 * elf/dl-minimal.c (__libc_memalign): Likewise.
18855 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18856 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18857 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18858 * elf/dl-sym.c (do_sym): Likewise.
18859 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18860 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18861 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18862 * elf/dl-writev.h (_dl_writev): Likewise.
18863 * elf/ldconfig.c (search_dir): Likewise.
18864 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18865 (dl_main): Likewise.
18866 * elf/setup-vdso.h (setup_vdso): Likewise.
18867 * grp/compat-initgroups.c (compat_call): Likewise.
18868 * grp/fgetgrent.c (fgetgrent): Likewise.
18869 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18870 * grp/putgrent.c (putgrent): Likewise.
18871 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18873 * hurd/hurdinit.c: Likewise.
18874 * iconvdata/8bit-gap.c (struct): Likewise.
18875 * iconvdata/ansi_x3.110.c : Likewise.
18876 * iconvdata/big5.c : Likewise.
18877 * iconvdata/big5hkscs.c : Likewise.
18878 * iconvdata/cp1255.c: Likewise.
18879 * iconvdata/cp1258.c : Likewise.
18880 * iconvdata/cp932.c : Likewise.
18881 * iconvdata/euc-cn.c: Likewise.
18882 * iconvdata/euc-jisx0213.c : Likewise.
18883 * iconvdata/euc-jp.c: Likewise.
18884 * iconvdata/euc-jp-ms.c : Likewise.
18885 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18886 * iconvdata/gb18030.c : Likewise.
18887 * iconvdata/gbbig5.c (const): Likewise.
18888 * iconvdata/gbgbk.c: Likewise.
18889 * iconvdata/gbk.c : Likewise.
18890 * iconvdata/ibm1364.c : Likewise.
18891 * iconvdata/ibm930.c : Likewise.
18892 * iconvdata/ibm932.c: Likewise.
18893 * iconvdata/ibm933.c : Likewise.
18894 * iconvdata/ibm935.c : Likewise.
18895 * iconvdata/ibm937.c : Likewise.
18896 * iconvdata/ibm939.c : Likewise.
18897 * iconvdata/ibm943.c: Likewise.
18898 * iconvdata/iso_11548-1.c: Likewise.
18899 * iconvdata/iso-2022-cn.c : Likewise.
18900 * iconvdata/iso-2022-cn-ext.c : Likewise.
18901 * iconvdata/iso-2022-jp-3.c: Likewise.
18902 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18903 * iconvdata/iso-2022-kr.c : Likewise.
18904 * iconvdata/iso646.c (gconv_end): Likewise.
18905 * iconvdata/iso_6937-2.c : Likewise.
18906 * iconvdata/iso_6937.c : Likewise.
18907 * iconvdata/iso8859-1.c: Likewise.
18908 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18909 * iconvdata/shift_jisx0213.c : Likewise.
18910 * iconvdata/sjis.c : Likewise.
18911 * iconvdata/t.61.c : Likewise.
18912 * iconvdata/tcvn5712-1.c : Likewise.
18913 * iconvdata/tscii.c: Likewise.
18914 * iconvdata/uhc.c : Likewise.
18915 * iconvdata/unicode.c (gconv_end): Likewise.
18916 * iconvdata/utf-16.c (gconv_end): Likewise.
18917 * iconvdata/utf-32.c (gconv_end): Likewise.
18918 * iconvdata/utf-7.c (base64): Likewise.
18919 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18920 * iconv/gconv_close.c (__gconv_close): Likewise.
18921 * iconv/gconv_open.c (__gconv_open): Likewise.
18922 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18923 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18924 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18925 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18926 (ucs4le_internal_loop_single): Likewise.
18927 * iconv/iconv.c (iconv): Likewise.
18928 * iconv/iconv_close.c: Likewise.
18929 * iconv/loop.c (SINGLE): Likewise.
18930 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18931 * include/atomic.h: Likewise.
18932 * inet/inet6_option.c (option_alloc): Likewise.
18933 * intl/bindtextdom.c (set_binding_values): Likewise.
18934 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18935 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18936 * intl/localealias.c (read_alias_file): Likewise.
18937 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18938 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18939 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18940 * libio/fmemopen.c (fmemopen): Likewise.
18941 * libio/iofgets.c (_IO_fgets): Likewise.
18942 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18943 * libio/iofgetws.c (fgetws): Likewise.
18944 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18945 * libio/iogetdelim.c (_IO_getdelim): Likewise.
18946 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18947 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18948 * locale/findlocale.c (_nl_find_locale): Likewise.
18949 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18950 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18952 * locale/setlocale.c (setlocale): Likewise.
18953 * login/programs/pt_chown.c (main): Likewise.
18954 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18955 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18956 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18957 (mmap, mmap64, mremap, munmap): Likewise.
18958 * math/e_exp2l.c: Likewise.
18959 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18960 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18961 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18962 * math/s_catan.c (__catan): Likewise.
18963 * math/s_catanf.c (__catanf): Likewise.
18964 * math/s_catanh.c (__catanh): Likewise.
18965 * math/s_catanhf.c (__catanhf): Likewise.
18966 * math/s_catanhl.c (__catanhl): Likewise.
18967 * math/s_catanl.c (__catanl): Likewise.
18968 * math/s_ccosh.c (__ccosh): Likewise.
18969 * math/s_ccoshf.c (__ccoshf): Likewise.
18970 * math/s_ccoshl.c (__ccoshl): Likewise.
18971 * math/s_cexp.c (__cexp): Likewise.
18972 * math/s_cexpf.c (__cexpf): Likewise.
18973 * math/s_cexpl.c (__cexpl): Likewise.
18974 * math/s_clog10.c (__clog10): Likewise.
18975 * math/s_clog10f.c (__clog10f): Likewise.
18976 * math/s_clog10l.c (__clog10l): Likewise.
18977 * math/s_clog.c (__clog): Likewise.
18978 * math/s_clogf.c (__clogf): Likewise.
18979 * math/s_clogl.c (__clogl): Likewise.
18980 * math/s_csin.c (__csin): Likewise.
18981 * math/s_csinf.c (__csinf): Likewise.
18982 * math/s_csinh.c (__csinh): Likewise.
18983 * math/s_csinhf.c (__csinhf): Likewise.
18984 * math/s_csinhl.c (__csinhl): Likewise.
18985 * math/s_csinl.c (__csinl): Likewise.
18986 * math/s_csqrt.c (__csqrt): Likewise.
18987 * math/s_csqrtf.c (__csqrtf): Likewise.
18988 * math/s_csqrtl.c (__csqrtl): Likewise.
18989 * math/s_ctan.c (__ctan): Likewise.
18990 * math/s_ctanf.c (__ctanf): Likewise.
18991 * math/s_ctanh.c (__ctanh): Likewise.
18992 * math/s_ctanhf.c (__ctanhf): Likewise.
18993 * math/s_ctanhl.c (__ctanhl): Likewise.
18994 * math/s_ctanl.c (__ctanl): Likewise.
18995 * math/w_pow.c: Likewise.
18996 * math/w_powf.c: Likewise.
18997 * math/w_powl.c: Likewise.
18998 * math/w_scalb.c (sysv_scalb): Likewise.
18999 * math/w_scalbf.c (sysv_scalbf): Likewise.
19000 * math/w_scalbl.c (sysv_scalbl): Likewise.
19001 * misc/error.c (error_tail): Likewise.
19002 * misc/pselect.c (__pselect): Likewise.
19003 * nis/nis_callback.c (__nis_create_callback): Likewise.
19004 * nis/nis_call.c (__nisfind_server): Likewise.
19005 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19006 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19007 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19008 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19009 * nis/nis_lookup.c (nis_lookup): Likewise.
19010 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
19011 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19012 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
19013 * nis/nis_xdr.c (xdr_endpoint): Likewise.
19014 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19015 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19016 * nis/nss_compat/compat-initgroups.c (add_group)
19017 (internal_getgrent_r): Likewise.
19018 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19019 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19020 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19021 (internal_getspnam_r): Likewise.
19022 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19023 (_nss_nis_getaliasbyname_r): Likewise.
19024 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19025 (_nss_nis_getntohost_r): Likewise.
19026 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19027 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19028 (_nss_nis_getgrgid_r): Likewise.
19029 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19030 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19031 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19032 (_nss_nis_gethostbyname4_r): Likewise.
19033 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19034 (initgroups_netid): Likewise.
19035 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
19036 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19037 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19038 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19039 (_nss_nis_getprotobynumber_r): Likewise.
19040 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19041 (_nss_nis_getsecretkey): Likewise.
19042 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19043 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19044 (_nss_nis_getpwuid_r): Likewise.
19045 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19046 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19047 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19048 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19049 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19050 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
19051 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19053 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19054 (_nss_nisplus_getntohost_r): Likewise.
19055 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19056 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19057 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19058 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
19060 * nis/nss_nisplus/nisplus-initgroups.c
19061 (_nss_nisplus_initgroups_dyn): Likewise.
19062 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19063 (_nss_nisplus_getnetbyaddr_r): Likewise.
19064 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19065 (_nss_nisplus_getprotobynumber_r): Likewise.
19066 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19067 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
19068 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19070 * nis/nss_nisplus/nisplus-service.c
19071 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19072 (_nss_nisplus_getservbyport_r): Likewise.
19073 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19074 (_nss_nisplus_getspnam_r): Likewise.
19075 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19077 * nscd/aicache.c (addhstaiX): Likewise.
19078 * nscd/cache.c (cache_search, prune_cache): Likewise.
19079 * nscd/connections.c (register_traced_file, send_ro_fd)
19080 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19081 (main_loop_epoll): Likewise.
19082 * nscd/grpcache.c (addgrbyX): Likewise.
19083 * nscd/hstcache.c (addhstbyX): Likewise.
19084 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19085 * nscd/mem.c (gc, mempool_alloc): Likewise.
19086 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19087 (addinnetgrX): Likewise.
19088 * nscd/nscd-client.h (__nscd_acquire_maplock)
19089 (__nscd_drop_map_ref): Likewise.
19090 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19091 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19092 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19094 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19095 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19096 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19097 (__nscd_get_map_ref): Likewise.
19098 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
19099 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19101 * nscd/pwdcache.c (addpwbyX): Likewise.
19102 * nscd/selinux.c (preserve_capabilities): Likewise.
19103 * nscd/servicescache.c (addservbyX): Likewise.
19104 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19105 * posix/fnmatch.c (fnmatch): Likewise.
19106 * posix/getopt.c (_getopt_internal_r): Likewise.
19107 * posix/glob.c (glob, glob_in_dir): Likewise.
19108 * posix/wordexp.c (exec_comm_child): Likewise.
19109 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19110 (getanswer_r, gaih_getanswer_slice): Likewise.
19111 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19112 * resolv/res_init.c: Likewise.
19113 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19114 * resolv/res_query.c (__libc_res_nquery): Likewise.
19115 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19117 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19118 * stdio-common/perror.c (perror): Likewise.
19119 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19120 * stdio-common/tmpnam.c (tmpnam): Likewise.
19121 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19122 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19123 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19125 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19126 * stdlib/putenv.c (putenv): Likewise.
19127 * stdlib/setenv.c (__add_to_environ): Likewise.
19128 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19129 * stdlib/strtol_l.c (INTERNAL): Likewise.
19130 * string/memmem.c (memmem): Likewise.
19131 * string/strerror.c (strerror): Likewise.
19132 * string/strnlen.c (__strnlen): Likewise.
19133 * string/test-memmem.c (simple_memmem): Likewise.
19134 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19135 * sunrpc/pm_getport.c (__get_socket): Likewise.
19136 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19137 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19138 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19139 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19141 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19142 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19143 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19144 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19145 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19146 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19148 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19150 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19151 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19152 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19153 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19154 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19155 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19156 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19157 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19158 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19159 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19160 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19161 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19163 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19165 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19167 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19168 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19169 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19170 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19171 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19172 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19173 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19174 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19175 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19176 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19177 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19178 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19179 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19180 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19181 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19182 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19184 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19186 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19188 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19190 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19191 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19192 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19194 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19195 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19196 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19197 * sysdeps/posix/sleep.c: Likewise.
19198 * sysdeps/posix/tempname.c: Likewise.
19199 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19200 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19202 * sysdeps/powerpc/powerpc32/dl-machine.h
19203 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
19204 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19205 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19206 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19207 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19209 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
19210 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19211 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19212 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19213 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19214 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19215 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19216 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19217 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19218 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
19219 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19220 (elf_machine_lazy_rel): Likewise.
19221 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19222 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19223 (elf_machine_lazy_rel): Likewise.
19224 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19225 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19226 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19227 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19228 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19229 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19230 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19231 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19233 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19234 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19235 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19236 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19237 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19238 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19239 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19240 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19241 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19242 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19243 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19245 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19246 (__posix_fallocate64_l64): Likewise.
19247 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19248 (posix_fallocate): Likewise.
19249 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19251 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19252 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19253 (getifaddrs_internal): Likewise.
19254 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19255 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19256 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19257 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19258 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19259 (__posix_fallocate64_l64): Likewise.
19260 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19262 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19263 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19264 (__get_clockfreq): Likewise.
19265 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19266 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19267 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19268 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19269 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19270 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19271 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19272 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19274 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19275 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19276 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19277 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19278 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19279 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19280 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19282 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19283 (posix_fallocate): Likewise.
19284 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19285 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19286 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19287 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19288 (elf_machine_rela, elf_machine_rela_relative)
19289 (elf_machine_lazy_rel): Likewise.
19290 * time/asctime.c (asctime_internal): Likewise.
19291 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19292 * time/tzset.c (__tzset_parse_tz): Likewise.
19293 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19294 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19295 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19296 * wcsmbs/wcsmbsload.h: Likewise.
19299 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19301 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19302 (arena_get2): Remove THREAD_STATS conditionals.
19303 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19304 (__malloc_stats, int): Likewise.
19306 2014-02-08 Mike Frysinger <vapier@gentoo.org>
19308 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19309 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19311 * manual/setjmp.texi: Fix typos/grammar errors.
19313 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19314 Only return early when n is <= 0. Delete unused return statement.
19316 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19317 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19318 * debug/tst-longjmp_chk3.c: New file.
19320 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19321 (test_main): Replace code with set_fortify_handler call.
19322 * debug/test-strcpy_chk.c: Likewise.
19323 * debug/tst-chk1.c: Likewise.
19324 * debug/tst-longjmp_chk.c: Likewise.
19325 * test-skeleton.c: Include fcntl.h & paths.h
19326 (set_fortify_handler): Define.
19328 * debug/tst-longjmp_chk.c: Add header comment and include
19329 ../test-skeleton.c.
19330 (do_test): Mark static.
19331 (TEST_FUNCTION): Define.
19333 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19334 (IP_PMTUDISC_INTERFACE): Likewise.
19335 (IP_MULTICAST_IF): Likewise.
19336 (IP_MULTICAST_TTL): Likewise.
19337 (IP_MULTICAST_LOOP): Likewise.
19338 (IP_ADD_MEMBERSHIP): Likewise.
19339 (IP_DROP_MEMBERSHIP): Likewise.
19340 (IP_UNBLOCK_SOURCE): Likewise.
19341 (IP_BLOCK_SOURCE): Likewise.
19342 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19343 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19344 (IP_MSFILTER): Likewise.
19345 (MCAST_JOIN_GROUP): Likewise.
19346 (MCAST_BLOCK_SOURCE): Likewise.
19347 (MCAST_UNBLOCK_SOURCE): Likewise.
19348 (MCAST_LEAVE_GROUP): Likewise.
19349 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19350 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19351 (MCAST_MSFILTER): Likewise.
19352 (IP_MULTICAST_ALL): Likewise.
19353 (IP_UNICAST_IF): Likewise.
19355 * timezone/Makefile: Delete $(have-ksh) check.
19356 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19357 * timezone/tzselect.ksh: Add +x mode bits.
19359 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19360 (ANON_INODE_FS_MAGIC): Likewise.
19361 (BDEVFS_MAGIC): Likewise.
19362 (BINFMTFS_MAGIC): Likewise.
19363 (BTRFS_TEST_MAGIC): Likewise.
19364 (CRAMFS_MAGIC_WEND): Likewise.
19365 (DEBUGFS_MAGIC): Likewise.
19366 (ECRYPTFS_SUPER_MAGIC): Likewise.
19367 (EXT3_SUPER_MAGIC): Likewise.
19368 (EXT4_SUPER_MAGIC): Likewise.
19369 (FUTEXFS_SUPER_MAGIC): Likewise.
19370 (HOSTFS_SUPER_MAGIC): Likewise.
19371 (HUGETLBFS_MAGIC): Likewise.
19372 (MINIX3_SUPER_MAGIC): Likewise.
19373 (MTD_INODE_FS_MAGIC): Likewise.
19374 (NILFS_SUPER_MAGIC): Likewise.
19375 (OPENPROM_SUPER_MAGIC): Likewise.
19376 (PIPEFS_MAGIC): Likewise.
19377 (PSTOREFS_MAGIC): Likewise.
19378 (QNX6_SUPER_MAGIC): Likewise.
19379 (RAMFS_MAGIC): Likewise.
19380 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19381 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19382 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19383 (SECURITYFS_MAGIC): Likewise.
19384 (SELINUX_MAGIC): Likewise.
19385 (SMACK_MAGIC): Likewise.
19386 (SOCKFS_MAGIC): Likewise.
19387 (SQUASHFS_MAGIC): Likewise.
19388 (STACK_END_MAGIC): Likewise.
19389 (TMPFS_MAGIC): Likewise.
19390 (USBDEVICE_SUPER_MAGIC): Likewise.
19391 (V9FS_MAGIC): Likewise.
19392 (XENFS_SUPER_MAGIC): Likewise.
19393 (CRAMFS_MAGIC): Fix typo in comment.
19394 (EXT2_SUPER_MAGIC): Update comment.
19395 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19397 2014-02-08 Joseph Myers <joseph@codesourcery.com>
19399 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19400 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19401 * sysdeps/unix/sysv/linux/arm: Move directory from
19402 ports/sysdeps/unix/sysv/linux/arm.
19403 * README: Update listing for arm-*-linux-gnueabi.
19405 * README: Remove mention of am33.
19407 2014-02-07 Roland McGrath <roland@hack.frob.com>
19409 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19410 than the comma operator, to avoid "rhs of comma has no effect"
19412 (__sigfillset, __sigandset, __sigorset): Likewise.
19413 * include/signal.h (__sigemptyset): Likewise.
19414 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19416 2014-02-07 Allan McRae <allan@archlinux.org>
19418 * version.h (RELEASE): Set to "development".
19419 (VERSION): Set to "2.19.90"
19420 * NEWS: Add 2.20 section.
19422 2014-02-06 Carlos O'Donell <carlos@redhat.com>
19425 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19427 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19429 * manual/contrib.texi: Update entry for Carlos O'Donell,
19430 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19432 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
19434 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19436 * sysdeps/unix/sysv/linux/kernel-features.h
19437 [__LINUX_KERNEL_VERSION >= 0x020621]
19438 (__ASSUME_PROC_PID_TASK_COMM): Define.
19440 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19443 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19444 conversion when destination buffer does not have enough space.
19445 * libio/tst-ftell-partial-wide.c: New test case.
19446 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19448 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19449 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19450 Leonard and Allan McRae.
19452 2014-02-04 David S. Miller <davem@davemloft.net>
19454 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19457 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19486 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19488 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19489 * shlib-versions: Likewise.
19491 2014-02-04 Roland McGrath <roland@hack.frob.com>
19492 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19494 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19495 (abilist-pattern): New variable, set to %-le.abilist.
19497 * Makerules (abilist-pattern): New variable.
19498 (vpath): Use $(abilist-pattern) in place of %.abilist.
19499 (check-abi-% pattern rule): Likewise.
19500 (check-abi, update-abi): Likewise.
19502 2014-02-04 Eric Wong <normalperson@yhbt.net>
19504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19506 2014-02-03 Carlos O'Donell <carlos@redhat.com>
19508 * manual/startup.texi: Add next, previous, and top entries for
19509 the `Program Arguments' and `Environment Variables' nodes.
19511 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
19513 * manual/macros.texi: Add comments before MTASC-safety macros.
19515 * manual/users.texi: Document MTASC-safety properties.
19517 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19518 (pthread_getspecific, pthread_setspecific): Format with
19519 @deftypefun, and add @safety note.
19520 * manual/signal.texi: Move comments that analyze the above
19521 functions to their home place.
19523 2014-02-03 Allan McRae <allan@archlinux.org>
19525 * po/sl.po: Update Slovenian translation from translation project.
19527 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
19529 * manual/time.texi (timegm): Add missing blank after @c.
19530 Reported by Joseph Myers <joseph@codesourcery.com>.
19532 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
19534 * manual/check-safety.sh: New.
19535 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19537 * manual/terminal.texi: Document MTASC-safety properties.
19539 * manual/filesys.texi: Document MTASC-safety properties.
19541 * manual/errno.texi: Document MTASC-safety properties.
19543 * manual/intro.texi: Document safety identifiers and
19546 * manual/string.texi (wcstok): Fix prototype.
19547 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19549 * manual/time.texi: Document MTASC-safety properties.
19551 * manual/string.texi: Document MTASC-safety properties.
19553 * manual/threads.texi: Document MTASC-safety properties.
19555 * manual/stdio.texi: Document MTASC-safety properties.
19557 * manual/syslog.texi: Document MTASC-safety properties.
19559 * manual/sysinfo.texi: Document MTASC-safety properties.
19561 * manual/startup.texi: Document MTASC-safety properties.
19563 * manual/socket.texi: Document MTASC-safety properties.
19565 * manual/signal.texi: Document MTASC-safety properties.
19567 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
19569 * manual/setjmp.texi: Document MTASC-safety properties.
19571 * manual/search.texi: Document MTASC-safety properties.
19573 * manual/resource.texi: Document MTASC-safety properties.
19575 * manual/process.texi: Document MTASC-safety properties.
19577 * manual/platform.texi: Document MTASC-safety properties.
19579 * manual/pipe.texi: Document MTASC-safety properties.
19581 * manual/pattern.texi: Document MTASC-safety properties.
19583 * manual/message.texi: Document MTASC-safety properties.
19586 * manual/memory.texi: Document MTASC-safety properties.
19588 * manual/math.texi: Document MTASC-safety properties.
19590 * manual/locale.texi: Document MTASC-safety properties.
19592 * manual/llio.texi: Document MTASC-safety properties.
19594 * manual/libdl.texi: New.
19596 * manual/lang.texi: Document MTASC-safety properties.
19598 * manual/job.texi: Document MTASC-safety properties.
19600 * manual/getopt.texi: Document MTASC-safety properties.
19602 * manual/ctype.texi: Document MTASC-safety properties.
19604 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19607 * csu/libc-tls.c (static_map): Remove variable.
19608 (__libc_setup_tls): Use main executable's link map for TLS data.
19609 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19610 casing for LM_ID_BASE and GL(dl_nns).
19611 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19612 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19613 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19614 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19615 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19617 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19620 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
19622 * manual/debug.texi: Document MTASC-safety properties.
19624 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19627 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19628 of __x86_64__ when disabling x87 inline functions.
19630 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
19632 * manual/charset.texi: Document MTASC-safety properties.
19634 * manual/crypt.texi: Document MTASC-safety properties.
19636 * manual/conf.texi: Document MTASC-safety properties.
19638 * manual/arith.texi: Document MTASC-safety properties.
19640 * manual/argp.texi: Document MTASC-safety properties.
19642 * manual/macros.texi: Introduce macros to document multi
19643 thread, asynchronous signal and asynchronous cancellation
19645 * manual/intro.texi: Introduce the properties themselves.
19647 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19649 * sysdeps/sh/sh4/Makefile: New file.
19651 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19653 * math/gen-libm-test.pl ($srcdir): New variable.
19654 ($auto_input): Use it.
19656 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19659 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19660 access beyond array bounds when parsing netgroups file.
19662 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19663 the old buffer before realloc.
19665 2014-01-27 Allan McRae <allan@archlinux.org>
19667 * po/fr.po: Update French translation from translation project.
19669 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19671 * sysdeps/sh/libm-test-ulps: Regenerate.
19673 2014-01-24 David S. Miller <davem@davemloft.net>
19675 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19677 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19679 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19680 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19682 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19685 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19686 string pointers after reallocation.
19688 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19690 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19691 __SH4A__ instead of __SH_FPU_ANY__.
19693 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19695 * sysdeps/sh/fpu_control.h: New file.
19696 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19697 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19698 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19699 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19700 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19701 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19702 * sysdeps/sh/sys/ucontext.h: Remove.
19703 * sysdeps/sh/sys: Remove directory.
19705 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19707 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19708 s390/sys/ucontext.h.
19709 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19710 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19712 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19715 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19717 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19720 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19721 Adjust the vDSO correctly for internal calls.
19722 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19724 2014-01-20 Allan McRae <allan@archlinux.org>
19726 * po/ca.po: Update Catalan translation from translation project.
19728 2014-01-16 Mike Frysinger <vapier@gentoo.org>
19730 * sysdeps/s390/sotruss-lib.c: New file.
19732 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19735 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19736 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19737 local calls issues by not having a PLT stub required for IFUNC calls.
19738 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19740 2014-01-16 Joseph Myers <joseph@codesourcery.com>
19742 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19743 * math/test-fpucw-static.c: Likewise.
19745 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19748 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19750 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19752 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19753 implementation for powerpc.
19755 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
19758 * sysdeps/posix/system.c (__libc_system): Do not enable
19759 asynchronous cancellation.
19761 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19764 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19765 handling only for numbers special also in the IEEE case.
19767 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19769 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19771 2014-01-11 Allan McRae <allan@archlinux.org>
19773 * po/bg.po: Update Bulgarian translation from translation project.
19775 * po/de.po: Update German translation from translation project.
19777 2014-01-10 Roland McGrath <roland@hack.frob.com>
19779 * sysdeps/generic/gcc-compat.h: New file.
19781 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19783 * benchtests/asin-inputs: Correct slow inputs.
19784 * benchtests/acos-inputs: Likewise.
19786 2014-01-10 Allan McRae <allan@archlinux.org>
19788 * po:sv.po: Update Swedish translation from translation project.
19790 * po/vi.po: Update Vietnamese translation from translation project.
19792 * po/eo.po: Update Esperanto translation from translation project.
19794 * po/cs.po: Update Czech translation from translation project.
19796 * po/nl.po: Update Dutch translation from translation project.
19798 * po/pl.po: Update Polish translation from translation project.
19800 * po/ru.po: Update Russian translation from translation project.
19802 * po/uk.po: Update Ukrainian translation from translation project.
19804 2014-01-08 Brooks Moses <bmoses@google.com>
19806 * elf/dl-load.c: Fix comment typo.
19808 2014-01-08 Carlos O'Donell <carlos@redhat.com>
19810 * po/header.pot: Rename to...
19811 * po/pot.header: ... this.
19812 * po/Makefile: Use pot.header.
19814 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19815 Maxim Kuvyrkov <maxim@kugelworks.com>
19818 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19819 SRC and DEST against LEN.
19821 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19824 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19826 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19828 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19832 2014-01-08 Joseph Myers <joseph@codesourcery.com>
19835 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19836 for large positive arguments.
19838 2014-01-07 Joseph Myers <joseph@codesourcery.com>
19840 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19842 * math/auto-libm-test-in: Mark various tests with
19843 xfail-rounding:ldbl-128ibm.
19844 * math/auto-libm-test-out: Regenerated.
19847 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19848 Increase overflow threshold.
19850 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
19853 * stdio-common/vfprintf.c: Check for integer overflow.
19855 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19857 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19858 the first argument and return value of __tls_get_addr_internal.
19860 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19862 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19863 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19865 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19867 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19868 * sysdeps/s390/rtld-global-offsets.sym: New file.
19869 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19871 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19872 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19873 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19875 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19876 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19882 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19883 halfs of GPRs for high_gprs contexts.
19884 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19885 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19887 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19889 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19891 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19892 for high GPRs (uc_high_gprs) and for future extensions
19894 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19895 for future extensions (__reserved).
19896 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19898 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19899 SC_HIGHGPRS offset definition.
19900 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19901 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19903 * Versions.def: Add GLIBC_2.19 for libpthread.
19904 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19905 siglongjmp for libpthread with GLIBC_2.19 symver.
19906 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19907 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19908 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19909 * sysdeps/s390/__longjmp.c: New file.
19910 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19911 * sysdeps/s390/longjmp.c: New file.
19912 * sysdeps/s390/setjmp.S: New file.
19913 * sysdeps/s390/sigjmp.S: New file.
19914 * sysdeps/s390/v1-longjmp.c: New file.
19915 * sysdeps/s390/v1-setjmp.h: New file.
19916 * sysdeps/s390/v1-sigjmp.c: New file.
19917 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19918 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19919 GLIBC_2.19 version.
19920 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19921 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19922 versioned symbols for ____longjmp_chk.
19923 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19931 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19933 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19934 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19935 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19936 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19937 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19938 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19939 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19940 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19941 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19942 * sysdeps/s390/rtld-__longjmp.c: New file.
19943 * sysdeps/s390/rtld-setjmp.S: New file.
19945 2014-01-06 Joseph Myers <joseph@codesourcery.com>
19948 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19949 Return -__logl (x) for small positive arguments without evaluating
19952 2014-01-06 Mike Frysinger <vapier@gentoo.org>
19954 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19956 (__ptrace_peeksiginfo_args): ... this.
19957 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19958 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19959 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19961 2014-01-06 Allan McRae <allan@archlinux.org>
19963 * inet/netinet/in.h: Fix typo in comment.
19965 2014-01-05 Andreas Jaeger <aj@suse.de>
19967 * sysdeps/i386/fpu/libm-test-ulps: Update.
19969 2014-01-05 Allan McRae <allan@archlinux.org>
19971 * po/libc.pot: Regenerated.
19973 * malloc/memusagestat.c: Fix gettext call formatting.
19975 2014-01-04 Sami Kerola <kerolasa@iki.fi>
19977 * nscd/nscd.c: Improve usage() output.
19979 2014-01-04 Mike Frysinger <vapier@gentoo.org>
19981 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19982 * sysdeps/unix/sysv/linux/configure: Regenerated.
19983 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19984 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19986 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19989 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19990 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19992 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19994 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19995 extra tokens at end of #undef directive.
19996 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19997 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19998 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20000 2014-01-03 Joseph Myers <joseph@codesourcery.com>
20002 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20004 * math/auto-libm-test-in: Mark various tests with
20005 xfail-rounding:ldbl-128ibm.
20006 * math/auto-libm-test-out: Regenerated.
20008 2014-01-02 Joseph Myers <joseph@codesourcery.com>
20011 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20012 numbers with subnormal high part when calculating exponent.
20015 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20019 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20021 (__ieee754_acoshl): Use __log1pl not __log1p.
20023 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
20025 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20026 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20027 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20028 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20029 (reused_arena, arena_get2): Convert to GNU style.
20030 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20031 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20032 (memalign_check, __malloc_set_state): Likewise.
20033 * malloc/mallocbug.c (main): Likewise.
20034 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20035 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20036 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20037 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20038 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20039 (__posix_memalign, malloc_info): Likewise.
20040 * malloc/malloc.h: Likewise.
20041 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20042 (mallochook, memalignhook, reallochook, mabort): Likewise.
20043 * malloc/mcheck.h: Likewise.
20044 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20045 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
20046 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20047 * malloc/morecore.c (__default_morecore): Likewise.
20048 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
20049 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20050 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20051 (print_and_abort): Likewise.
20052 * malloc/obstack.h: Likewise.
20053 * malloc/set-freeres.c (__libc_freeres): Likewise.
20054 * malloc/tst-mallocstate.c (main): Likewise.
20055 * malloc/tst-mtrace.c (main): Likewise.
20056 * malloc/tst-realloc.c (do_test): Likewise.
20058 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20061 * nscd/netgroupcache.c (do_notfound): New function.
20062 (addgetnetgrentX): Use it.
20065 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20066 NSS_STATUS_NOTFOUND.
20068 2014-01-01 Joseph Myers <joseph@codesourcery.com>
20070 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20073 2014-01-01 Allan McRae <allan@archlinux.org>
20075 * scripts/update-copyrights: Update configure input file suffix.
20077 * NEWS: Update copyright year.
20078 * catgets/gencat.c: Likewise.
20079 * csu/version.c: Likewise.
20080 * debug/catchsegv.sh: Likewise.
20081 * debug/pcprofiledump.c: Likewise.
20082 * debug/xtrace.sh: Likewise.
20083 * elf/ldconfig.c: Likewise.
20084 * elf/ldd.bash.in: Likewise.
20085 * elf/pldd.c: Likewise.
20086 * elf/sotruss.ksh: Likewise.
20087 * elf/sprof.c: Likewise.
20088 * iconv/iconv_prog.c: Likewise.
20089 * iconv/iconvconfig.c: Likewise.
20090 * locale/programs/locale.c: Likewise.
20091 * locale/programs/localedef.c: Likewise.
20092 * login/programs/pt_chown.c: Likewise.
20093 * malloc/memusage.sh: Likewise.
20094 * malloc/memusagestat.c: Likewise.
20095 * malloc/mtrace.pl: Likewise.
20096 * manual/libc.texinfo: Likewise.
20097 * nscd/nscd.c: Likewise.
20098 * nss/getent.c: Likewise.
20099 * nss/makedb.c: Likewise.
20100 * posix/getconf.c: Likewise.
20101 * scripts/test-installation.pl: Likewise.
20103 * All files with FSF copyright notices: Update copyright dates
20104 using scripts/update-copyrights.
20105 * intl/plural.c: Regenerated.
20106 * locale/programs/charmap-kw.h: Likewise.
20107 * locale/programs/locfile-kw.h: Likewise.
20109 2013-12-31 Mike Frysinger <vapier@gentoo.org>
20111 * sysdeps/unix/sysv/linux/configure: Regenerated.
20112 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20113 the linux/fanotify.h header.
20114 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20115 HAVE_LINUX_FANOTIFY_H is defined.
20117 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20119 * benchtests/cos-inputs: New inputs.
20120 * benchtests/sin-inputs: Likewise.
20122 * benchtests/atan-inputs: New inputs. Fix name of multiple
20123 precision fallback inputs.
20125 * benchtests/atanh-inputs: New inputs.
20126 * benchtests/tanh-inputs: Likewise.
20128 * benchtests/acosh-inputs: New inputs.
20129 * benchtests/asinh-inputs: Likewise.
20131 * benchtests/cosh-inputs: New inputs.
20132 * benchtests/sinh-inputs: Likewise.
20134 * benchtests/acos-inputs: Add more inputs.
20135 * benchtests/asin-inputs: Likewise.
20137 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
20140 * manual/arith.texi: Fix spelling.
20141 * manual/charset.texi: Likewise.
20142 * manual/errno.texi: Likewise.
20143 * manual/filesys.texi: Likewise.
20144 * manual/lang.texi: Likewise.
20145 * manual/llio.texi: Likewise.
20146 * manual/locale.texi: Likewise.
20147 * manual/message.texi: Likewise.
20148 * manual/resource.texi: Likewise.
20149 * manual/search.texi: Likewise.
20150 * manual/setjmp.texi: Likewise.
20151 * manual/stdio.texi: Likewise.
20152 * manual/string.texi: Likewise.
20153 * manual/sysinfo.texi: Likewise.
20154 * manual/time.texi: Likewise.
20156 2013-12-27 Carlos O'Donell <carlos@redhat.com>
20158 * po/sl.po: New file.
20160 2013-12-27 Mike Frysinger <vapier@gentoo.org>
20162 * .gitignore: Add core/.gdbinit/.gdb_history.
20164 2013-12-27 Allan McRae <allan@archlinux.org>
20167 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20168 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20170 2013-12-24 Brooks Moses <bmoses@google.com>
20172 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20173 all compilers that claim C++98 compliance, not just GCC.
20174 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20177 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20179 * NEWS: Restore accidentally deleted bug-fix entries.
20181 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20182 Ondřej Bílka <neleai@seznam.cz>
20185 * malloc/malloc.c (_int_free): Perform sanity check only if we
20188 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
20191 * manual/stdio.texi (String Input Conversions): Clarify that character
20192 classes are not supported.
20194 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20198 2013-12-22 Joseph Myers <joseph@codesourcery.com>
20201 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20202 Calculate results for small negative arguments directly rather
20203 than using reflection formula with special underflow handling.
20205 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20206 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20207 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20208 (fchflags): Likewise.
20209 (revoke): Likewise.
20210 (setlogin): Likewise.
20211 (sigaltstack): Likewise.
20213 (sigblock): Remove.
20214 (sigsetmask): Likewise.
20216 (waitpid): Likewise.
20217 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20218 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20220 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20221 * sysdeps/unix/bsd/Makefile: ... here.
20222 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20223 * sysdeps/unix/bsd/Versions: ... here.
20224 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20225 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20226 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20227 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20228 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20229 * sysdeps/unix/bsd/sigblock.c: ... here.
20230 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20231 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20232 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20233 * sysdeps/unix/bsd/sigvec.c: ... here.
20234 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20235 * sysdeps/unix/bsd/tcdrain.c: ... here.
20236 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20237 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20238 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20239 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20240 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20241 * sysdeps/unix/bsd/wait.c: ... here.
20242 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20243 * sysdeps/unix/bsd/wait3.c: ... here.
20244 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20245 * sysdeps/unix/bsd/waitpid.c: ... here.
20247 2013-12-21 Joseph Myers <joseph@codesourcery.com>
20250 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20251 round-to-nearest for [!USE_AS_EXPM1L].
20252 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20253 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20254 more tests of exp and exp10. Expect some exp10 tests to miss
20255 exceptions or fail in directed rounding modes.
20256 * math/auto-libm-test-out: Regenerated.
20257 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20258 (exp10_test_tonearest): New function.
20259 (exp10_towardzero_test_data): New array.
20260 (exp10_test_towardzero): New function.
20261 (exp10_downward_test_data): New array.
20262 (exp10_test_downward): New function.
20263 (exp10_upward_test_data): New array.
20264 (exp10_test_upward): New function.
20265 (main): Call the new functions.
20266 * sysdeps/i386/fpu/libm-test-ulps: Update.
20267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20269 2013-12-20 Joseph Myers <joseph@codesourcery.com>
20271 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20272 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20273 * math/auto-libm-test-out: Regenerated.
20274 * math/libm-test.inc (acosh_test_data): Add more tests.
20275 (atanh_test_data): Likewise.
20276 (ceil_test_data): Likewise.
20277 (copysign_test_data): Likewise.
20278 * sysdeps/i386/fpu/libm-test-ulps: Update.
20279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20281 * timezone/checktab.awk: Update from tzcode 2013i.
20282 * timezone/private.h: Likewise.
20283 * timezone/scheck.c: Likewise.
20284 * timezone/tzfile.h: Likewise.
20285 * timezone/tzselect.ksh: Likewise.
20286 * timezone/zdump.c: Likewise.
20287 * timezone/zic.c: Likewise.
20289 * math/auto-libm-test-in: Add tests of cpow.
20290 * math/auto-libm-test-out: Regenerated.
20291 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20292 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20294 (func_calc_desc): Add mpc_cc_c union field.
20295 (test_functions): Add cpow.
20296 (special_fill_2pi): New function.
20297 (special_real_inputs): Add 2pi.
20298 (calc_generic_results): Handle mpc_cc_c.
20299 * sysdeps/i386/fpu/libm-test-ulps: Update.
20300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20302 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20303 csqrt, ctan and ctanh.
20304 * math/auto-libm-test-out: Regenerated.
20305 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20306 (TEST_COND_x86): Likewise.
20307 (ccos_test_data): Use AUTO_TESTS_c_c.
20308 (ccosh_test_data): Likewise.
20309 (cexp_test_data): Likewise.
20310 (clog_test_data): Likewise.
20311 (csqrt_test_data): Likewise.
20312 (ctan_test_data): Likewise.
20313 (ctan_tonearest_test_data): Likewise.
20314 (ctan_towardzero_test_data): Likewise.
20315 (ctan_downward_test_data): Likewise.
20316 (ctan_upward_test_data): Likewise.
20317 (ctanh_test_data): Likewise.
20318 (ctanh_tonearest_test_data): Likewise.
20319 (ctanh_towardzero_test_data): Likewise.
20320 (ctanh_downward_test_data): Likewise.
20321 (ctanh_upward_test_data): Likewise.
20322 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20324 (func_calc_desc): Add mpc_c_c union field.
20325 (FUNC_mpc_c_c): New macro.
20326 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20327 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20329 (special_fill_min_subnorm_p120): New function.
20330 (special_real_inputs): Add min_subnorm_p120.
20331 (calc_generic_results): Handle mpc_c_c.
20332 * sysdeps/i386/fpu/libm-test-ulps: Update.
20333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20335 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20337 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20338 (do_sin_slow): New functions.
20339 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20340 (cslow2, csloww1, csloww2): Use the new functions.
20342 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20343 Use M to change sign of result instead of X. Assume X is
20345 (csloww1): Likewise.
20349 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20350 arguments A and DA.
20354 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20356 (sloww1): Don't adjust sign of DX.
20357 (csloww1): Likewise.
20358 (sloww2): Use X directly and don't adjust sign of DX.
20359 (csloww2): Likewise.
20361 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20363 * math/auto-libm-test-in: Add tests of cabs and carg.
20364 * math/auto-libm-test-out: Regenerated.
20365 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20366 (carg_test_data): Likewise.
20367 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20369 (func_calc_desc): Add mpc_c_f union field.
20370 (test_functions): Add cabs and carg.
20371 (calc_generic_results): Handle mpc_c_f.
20373 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20374 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20375 as a macro and a compat symbol.
20376 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20377 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20378 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20379 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20380 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20381 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20383 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20385 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20387 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20389 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20391 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20393 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20394 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20397 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20401 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20403 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20404 trailing whitespace removed.
20405 * scripts/config.guess: Update to version 2013-11-29.
20406 * scripts/config.sub: Update to version 2013-10-01.
20408 * math/auto-libm-test-in: Add tests of sincos.
20409 * math/auto-libm-test-out: Regenerated.
20410 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20411 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20413 (func_calc_desc): Add mpfr_f_11 union field.
20414 (test_functions): Add sincos.
20415 (calc_generic_results): Handle mpfr_f_11.
20416 * sysdeps/i386/fpu/libm-test-ulps: Update.
20417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20419 2013-12-19 Andreas Schwab <schwab@suse.de>
20421 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20423 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20424 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20425 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20427 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20429 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20430 * sysdeps/i386/fpu/libm-test-ulps: Update.
20431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20434 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20435 round-to-nearest mode when using frndint.
20436 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20437 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20438 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20440 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20442 * math/auto-libm-test-out: Regenerated.
20443 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20444 (TEST_COND_x86): Likewise.
20445 (expm1_tonearest_test_data): New array.
20446 (expm1_test_tonearest): New function.
20447 (expm1_towardzero_test_data): New array.
20448 (expm1_test_towardzero): New function.
20449 (expm1_downward_test_data): New array.
20450 (expm1_test_downward): New function.
20451 (expm1_upward_test_data): New array.
20452 (expm1_test_upward): New function.
20453 (main): Run the new test functions.
20454 * sysdeps/i386/fpu/libm-test-ulps: Update.
20455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20457 * include/features.h: Update comment documenting feature test
20458 macros. Mention _DEFAULT_SOURCE in comment.
20459 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20460 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20461 _BSD_SOURCE and _SVID_SOURCE.
20462 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20463 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20464 !_SVID_SOURCE]: Likewise.
20465 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20466 (__USE_POSIX_IMPLICITLY): Define.
20467 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20468 (_POSIX_SOURCE): Undefine and redefine.
20469 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20470 (_POSIX_C_SOURCE): Likewise.
20471 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20472 (Feature Test Macros): Update documentation of default features.
20474 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20476 * benchtests/Makefile: Add bench-strtok.
20477 * benchtests/bench-strtok.c: New file: strtok benchtest.
20479 2013-12-19 Allan McRae <allan@archlinux.org>
20481 * manual/install.texi: Suppress menu for plain text output.
20482 * INSTALL: Regenerated.
20484 2013-12-18 Brooks Moses <bmoses@google.com>
20487 * misc/getauxval.c: Include errno.h.
20488 (__getauxval): Set errno to ENOENT if the requested type is not
20490 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20491 don't declare with __attribute_const__.
20492 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20493 * manual/startup.texi: Document that getauxval sets errno.
20495 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20497 * math/auto-libm-test-in: Add tests of jn and yn.
20498 * math/auto-libm-test-out: Regenerated.
20499 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20500 (yn_test_data): Likewise.
20501 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20503 (func_calc_desc): Add mpfr_if_f union field.
20504 (FUNC_mpfr_if_f): New macro.
20505 (test_functions): Add jn and yn.
20506 (calc_generic_results): Assert type of second input for
20507 mpfr_ff_f. Handle mpfr_if_f.
20508 (output_for_one_input_case): Disable all checking for arguments
20509 fitting floating-point types in case of an integer argument.
20510 * sysdeps/i386/fpu/libm-test-ulps: Update.
20511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20514 Don't expect fegetround reference in libm.so.
20516 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20518 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20519 $(config-cflags-nofma).
20521 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20523 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20524 * math/auto-libm-test-out: Regenerated.
20527 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20528 to determine exponent and adjust argument to have exponent of -1.
20529 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20531 * math/auto-libm-test-out: Regenerated.
20532 * sysdeps/i386/fpu/libm-test-ulps: Update.
20533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20535 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
20537 * manual/probes.texi: Remove cases when per-thread arenas are
20540 2013-12-18 Andreas Schwab <schwab@suse.de>
20542 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20543 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20544 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20545 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20546 * sysdeps/i386/i686/multiarch/Makefile: Update.
20547 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20549 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20551 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20552 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20554 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20557 Support TZ transition times < 00:00:00.
20558 This is needed for version-3 tz-format files; it supports time
20559 stamps past 2037 for America/Godthab (the only entry in the tz
20560 database for which this change is relevant).
20561 * manual/time.texi (TZ Variable): Document transition times
20562 from -167:59:59 through -00:00:01.
20563 * time/tzset.c (tz_rule): Time of day is now signed.
20564 (__tzset_parse_tz): Parse negative time of day.
20566 Document TZ transition times >= 25:00:00.
20567 * manual/time.texi (TZ Variable): Document transition times from
20568 25:00:00 through 167:59:59. These are already supported, and this
20569 support will help with version-3 tz-format files.
20571 * manual/time.texi (TZ Variable): Modernize North America example
20572 to reflect current (i.e., 2007-and-later) daylight saving rules.
20574 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20576 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20578 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20579 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20580 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20581 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20582 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20583 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20584 * sysdeps/unix/bsd/clock.c: Likewise.
20585 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20586 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20587 * sysdeps/unix/bsd/init-posix.c: Likewise.
20588 * sysdeps/unix/bsd/poll.c: Likewise.
20589 * sysdeps/unix/bsd/ptsname.c: Likewise.
20590 * sysdeps/unix/bsd/seekdir.c: Likewise.
20591 * sysdeps/unix/bsd/setegid.c: Likewise.
20592 * sysdeps/unix/bsd/seteuid.c: Likewise.
20593 * sysdeps/unix/bsd/setgid.c: Likewise.
20594 * sysdeps/unix/bsd/setrgid.c: Likewise.
20595 * sysdeps/unix/bsd/setruid.c: Likewise.
20596 * sysdeps/unix/bsd/setsid.c: Likewise.
20597 * sysdeps/unix/bsd/setuid.c: Likewise.
20598 * sysdeps/unix/bsd/sigaction.c: Likewise.
20599 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20600 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20601 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20602 * sysdeps/unix/bsd/telldir.c: Likewise.
20603 * sysdeps/unix/bsd/times.c: Likewise.
20604 * sysdeps/unix/bsd/usleep.c: Likewise.
20606 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20607 ($(objpfx)libbsd-compat.a): Remove rule.
20609 * include/features.h (__FAVOR_BSD): Do not define.
20610 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20611 features conflicting with POSIX.
20612 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20613 (_BSD_SOURCE): Remove description of not being a subset of other
20614 feature test macros.
20615 * manual/job.texi (getpgrp): Do not document BSD version.
20616 (getpgid): Do not document by reference to BSD getpgrp.
20617 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20618 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20619 * signal/signal.h [__FAVOR_BSD]: Likewise.
20620 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20621 instead of making contents conditional on [__FAVOR_BSD].
20622 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20624 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20628 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20631 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20632 values below 2**-450, not 2**-500.
20633 * math/auto-libm-test-in: Don't allow spurious underflow from
20635 * math/auto-libm-test-out: Regenerated.
20639 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20640 values of ha and hb and sort them after adjusting subnormal
20642 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20644 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20645 values of ea and eb and sort them after adjusting subnormal
20647 * math/auto-libm-test-in: Do not expect some hypot tests of
20648 subnormals to fail. Add more hypot tests.
20649 * math/auto-libm-test-out: Regenerated.
20651 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20654 * sysdeps/sh/s_fma.c: New file.
20655 * sysdeps/sh/s_fmaf.c: New file.
20656 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20658 * sysdeps/sh/Implies: Add sh/soft-fp.
20660 2013-12-16 Roland McGrath <roland@hack.frob.com>
20662 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20663 level of indirection to members `objname', `errstring', `malloced'.
20664 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20665 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20666 it as the __longjmp argument (just pass 1 instead).
20667 (_dl_catch_error): Initialize C with argument pointers and address of
20668 volatile local ERRCODE rather than copying values out of C at return.
20670 2013-12-16 Joseph Myers <joseph@codesourcery.com>
20672 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20673 * math/auto-libm-test-out: Regenerated.
20674 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20675 (hypot_test_data): Likewise.
20676 (pow_test_data): Likewise.
20677 (pow_tonearest_test_data): Likewise.
20678 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20680 (func_calc_desc): Add mpfr_ff_f union field.
20681 (FUNC_mpfr_ff_f): New macro.
20682 (test_functions): Add atan2, hypot and pow.
20683 (special_fill_min): New function.
20684 (special_fill_minus_min): Likewise.
20685 (special_fill_min_subnorm): Likewise.
20686 (special_fill_minus_min_subnorm): Likewise.
20687 (special_real_inputs): Add min, -min, min_subnorm and
20689 (calc_generic_results): Handle mpfr_ff_f.
20690 * sysdeps/i386/fpu/libm-test-ulps: Update.
20691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20693 2013-12-16 Will Newton <will.newton@linaro.org>
20695 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20696 (Aligned Memory Blocks): Add documentation for aligned_alloc
20697 and suggest it as an alternative to posix_memalign.
20698 (Hooks for Malloc): Document __memalign_hook is also called
20699 for aligned_alloc. (Summary of Malloc): Add summary for
20700 aligned alloc. Document __memalign_hook is also called
20703 2013-12-16 Will Newton <will.newton@linaro.org>
20705 * manual/memory.texi (Malloc Examples): Clarify default
20706 alignment documentation. Suggest posix_memalign rather
20707 than memalign or valloc.
20708 (Aligned Memory Blocks): Remove suggestion to use memalign
20709 or valloc. Remove obsolete comment about BSD.
20710 Document memalign errno values and mark the function obsolete.
20711 Document posix_memalign returned error codes. Mark valloc
20712 as obsolete. (Hooks for Malloc): __memalign_hook is also
20713 called for posix_memalign and valloc.
20714 (Summary of Malloc): Add posix_memalign to function summary.
20715 __memalign_hook is also called for posix_memalign and valloc.
20717 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20719 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20723 (sloww): Use mynumber union. Expand ternary operator into
20724 if-else statements.
20725 (cslow): use mynumber union.
20727 2013-12-16 Allan McRae <allan@archlinux.org>
20729 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20730 * configure: Regenerated.
20732 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20735 * configure.ac: Added --enable-maintainer-mode. Check for
20736 autoconf when enabled.
20737 * configure: Regenerated.
20739 * nscd/nscd.service: New file.
20740 * nscd/nscd.tmpfiles: New file.
20742 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
20745 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20746 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20747 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20748 (strstr): Add __strstr_sse2_unaligned ifunc.
20749 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20750 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20751 (strcasestr): Remove __strcasestr_sse42 ifunc.
20752 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20753 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20756 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20758 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20759 * sysdeps/sh/bits/fenv.h: ... here.
20760 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20762 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20764 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20766 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20767 hypotf multiarch implementations.
20768 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20769 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20770 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20771 multiarch hypot for PPC64.
20772 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20773 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20774 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20775 multiarch hypotf for PPC64.
20777 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20778 modff multiarch implementations.
20779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20782 multiarch modf for PPC64.
20783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20786 multiarch modff for PPC64.
20788 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20789 and logl multiarch implementations.
20790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20793 multiarch logb for PPC64.
20794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20797 multiarch logb for PPC64.
20798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20801 multiarch logb for PPC64.
20803 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20804 isinff multiarch implementation.
20805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20809 multiarch isinf for PPC64.
20810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20813 multiarch isinff for PPC64.
20815 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20816 finitef multiarch implementation.
20817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20821 multiarch finite for PPC64.
20822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20825 multiarch finitef for PPC64.
20827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20828 lrint multiarch implementation.
20829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20833 multiarch llrint for PPC64.
20834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20835 multiarch lrint for PPC64.
20837 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20838 copysignf multiarch implementation.
20839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20844 multiarch copysign for PPC64.
20845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20846 multiarch copysignf for PPC64.
20848 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20849 multiarch implementation.
20850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20858 multiarch llround for PPC64.
20859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20860 multiarch trunc for PPC64.
20861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20862 multiarch truncf for PPC64.
20864 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20865 multiarch implementation.
20866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20874 multiarch llround for PPC64.
20875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20876 multiarch round for PPC64.
20877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20878 multiarch roundf for PPC64.
20880 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20881 multiarch implementation.
20882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20890 multiarch llround for PPC64.
20891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20892 multiarch floor for PPC64.
20893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20894 multiarch floorf for PPC64.
20896 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20897 multiarch implementation.
20898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20906 multiarch llround for PPC64.
20907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20908 multiarch ceil for PPC64.
20909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20910 multiarch ceilf for PPC64.
20912 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20913 multiarch implementation.
20914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20921 multiarch llround for PPC64.
20922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20923 multiarch lround for PPC64.
20925 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20926 multiarch implementation.
20927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20934 multiarch isnan for PPC64.
20935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20936 multiarch isnanf for PPC64.
20938 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20939 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20940 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20941 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20942 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20945 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20946 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20947 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20948 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20950 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20951 multiarch implementations.
20952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20953 (__libc_ifunc_impl_list): Likewise.
20954 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20955 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20956 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20957 multiarch stpcpy for PPC64.
20959 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20960 multiarch implementations.
20961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20962 (__libc_ifunc_impl_list): Likewise.
20963 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20964 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20965 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20966 multiarch strcpy for PPC64.
20968 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20969 redefine function name.
20970 (_wordcopy_fwd_dest_aligned): Likewise.
20971 (_wordcopy_bwd_aligned): Likewise.
20972 (_wordcopy_bwd_dest_aligned): Likewise.
20973 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20974 multiarch implementations.
20975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20976 (__libc_ifunc_impl_list): Likewise.
20977 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20978 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20979 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20980 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20981 multiarch wcscpy for PPC64.
20983 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20984 multiarch implementations.
20985 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20986 (__libc_ifunc_impl_list): Likewise.
20987 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20988 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20989 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20990 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20991 multiarch wcscpy for PPC64.
20993 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20994 multiarch implementations.
20995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20996 (__libc_ifunc_impl_list): Likewise.
20997 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20998 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20999 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21000 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21001 multiarch wcsrchr for PPC64.
21003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21004 multiarch implementations.
21005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21006 (__libc_ifunc_impl_list): Likewise.
21007 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21008 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21009 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21010 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21011 multiarch wcschr for PPC64.
21013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21014 multiarch implementations.
21015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21016 (__libc_ifunc_impl_list): Likewise.
21017 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21018 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21019 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21020 multiarch strchrnul for PPC64.
21022 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21024 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21025 (__libc_ifunc_impl_list): Likewise.
21026 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21027 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21028 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21029 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21035 (__libc_ifunc_impl_list): Likewise.
21036 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21037 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21038 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21039 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21043 multiarch implementations.
21044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21045 (__libc_ifunc_impl_list): Likewise.
21046 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21047 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21048 strncasecmp for PPC64.
21049 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21050 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21051 multiarch strncasecmp_l for PPC64.
21053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21054 multiarch implementations.
21055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21056 (__libc_ifunc_impl_list): Likewise.
21057 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21058 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21059 multiarch strcasecmp for PPC64.
21060 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21062 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21063 multiarch strcasecmp_l for PPC64.
21065 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21068 (__libc_ifunc_impl_list): Likewise.
21069 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21070 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21071 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21074 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21076 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21077 (__libc_ifunc_impl_list): Likewise.
21078 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21079 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21080 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21086 (__libc_ifunc_impl_list): Likewise.
21087 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21088 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21089 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21090 rawmemrchr for PPC64.
21092 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21095 (__libc_ifunc_impl_list): Likewise.
21096 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21097 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21098 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21101 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21103 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21104 (__libc_ifunc_impl_list): Likewise.
21105 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21106 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21107 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21110 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21112 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21113 (__libc_ifunc_impl_list): Likewise.
21114 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21115 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21116 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21119 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21120 avoid cretion of __bzero symbol.
21121 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21123 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21125 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21128 multiarch implementations.
21129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21130 (__libc_ifunc_impl_list): Likewise.
21131 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21132 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21133 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21134 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21136 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21137 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21138 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21139 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21140 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21142 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21144 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21148 (__libc_ifunc_impl_list): Likewise.
21149 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21150 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21151 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21152 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21156 multiarch for POWER/PPC64.
21157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21158 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21159 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21160 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21161 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21162 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21163 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21164 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21165 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21168 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21169 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21170 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21171 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21172 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21173 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21174 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21175 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21176 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21177 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21178 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21179 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21180 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21181 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21182 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21191 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21193 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21195 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21197 * benchtests/Makefile (bench): Add exp2 and log2.
21198 (LDLIBS-bench-exp2): Add -lm.
21199 (LDLIBS-bench-log2): Likewise.
21200 * benchtests/exp2-inputs: New inputs file.
21201 * benchtests/log2-inputs: New inputs file.
21202 * benchtests/log-inputs: Add new inputs.
21203 * benchtests/tan-inputs: Likewise.
21205 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21207 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21209 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21210 (csloww2): ... from here.
21212 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21213 instead of structures.
21214 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21215 (POLYNOMIAL): Likewise.
21216 (TAYLOR_SLOW): Likewise.
21222 (sloww1); Likewise.
21223 (sloww2): Likewise.
21224 (bsloww1): Likewise.
21225 (bsloww2): Likewise.
21226 (cslow2): Likewise.
21227 (csloww): Likewise.
21228 (csloww1): Likewise.
21229 (csloww2): Likewise.
21231 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
21233 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21234 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21235 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21236 * malloc/hooks.c (realloc_check): Likewise.
21238 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21239 * malloc/arena.c: Remove PER_THREAD conditional.
21240 [!PER_THREAD]: Remove code.
21241 (ptmalloc_unlock_all2): Likewise.
21242 (ptmalloc_init): Likewise.
21243 (_int_new_arena): Likewise.
21244 (arena_get2): Likewise.
21245 * malloc/hooks.c (__malloc_get_state): Likewise.
21246 (__malloc_set_state): Likewise.
21247 * malloc/malloc.c: Likewise.
21248 (struct malloc_state): Likewise.
21249 (struct malloc_par): Likewise.
21250 (__libc_realloc): Likewise.
21251 (__libc_mallopt): Likewise.
21253 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21255 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21257 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
21259 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21260 macro to a function. Check for zero perturb_byte.
21261 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21263 * malloc/malloc.c: (force_reg): Remove.
21264 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21265 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21266 force_reg by atomic_forced_read.
21267 * malloc/arena.c (ptmalloc_init): Likewise.
21268 * malloc/hooks.c (top_check): Likewise.
21270 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21274 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21276 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21278 2013-12-08 Joseph Myers <joseph@codesourcery.com>
21280 * math/auto-libm-test-in: Add tests of lgamma.
21281 * math/auto-libm-test-out: Regenerated.
21282 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21283 (M_LOG_2_SQRT_PIl): Likewise.
21284 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21285 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21287 (func_calc_desc): Add mpfr_f_f1 union field.
21288 (ARGS1): New macro.
21296 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21297 (test_functions): Add lgamma.
21298 (calc_generic_results): Handle mpfr_f_f1.
21299 * sysdeps/i386/fpu/libm-test-ulps: Update.
21300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21302 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21304 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21305 __mpn_add_n for PowerPC64/POWER7.
21306 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21307 __mpn_sub_n for PowerPC64/POWER7.
21309 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21310 __mpn_addmul_1 for PowerPC64.
21311 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21312 __mpn_submul_1 for PowerPC64.
21313 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21315 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21318 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21321 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21323 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21325 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21327 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21328 add multiarch folders.
21329 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21330 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21331 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21332 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21333 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21334 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21335 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21336 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21337 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21338 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21339 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21348 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21354 multiarch __ieee754_hypot for PowerPC32.
21355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21360 multiarch __ieee754_hypotf for PowerPC32.
21362 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21363 long_double_symbol only if __logbl is defined.
21364 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21365 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21366 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21367 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21368 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21369 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21370 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21371 path for implementation.
21372 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21373 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21375 logb, and logbl multiarch implementations for PowerPC32.
21376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21381 multiarch logb for PowerPC32.
21382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21387 multiarch logbf for PowerPC32.
21388 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21392 multiarch logbl implementation for PowerPC32.
21394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21395 and modff multiarch implementations.
21396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21401 multiarch modf for PowerPC32.
21402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21407 multiarch modff for PowerPC32.
21409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21410 and lrintf multiarch implementations.
21411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21416 multiarch lrint for PowerPC32.
21417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21418 file: multiarch lrintf for PowerPC32.
21420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21421 and lroundf multiarch implementations.
21422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21429 multiarch lround for PowerPC32.
21430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21431 file: multiarch lroundf for PowerPC32.
21433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21434 copysign and copysignf multiarch implementations.
21435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21440 file: multiarch copysign for PowerPC32.
21441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21442 file: multiarch copysignf for PowerPC32.
21444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21445 and truncf multiarch implementations.
21446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21451 multiarch trunc for PowerPC32.
21452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21457 multiarch truncf for PowerPC32.
21459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21460 and roundf multiarch implementations.
21461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21466 multiarch round for PowerPC32.
21467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21472 multiarch roundf for PowerPC32.
21474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21475 and floorf multiarch implementations.
21476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21481 multiarch floor for PowerPC32.
21482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21487 multiarch floorf for PowerPC32.
21489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21490 and ceilf multiarch implementations.
21491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21496 multiarch ceil for PowerPC32.
21497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21502 multiarch ceilf for PowerPC32.
21504 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21506 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21507 FINITEF is defined.
21508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21509 and finitef multiarch implementations.
21510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21515 multiarch finite for PowerPC32.
21516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21519 file: multiarch finitef for PowerPC32.
21521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21522 and isinff multiarch implementations.
21523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21528 multiarch isinf for PowerPC32.
21529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21532 multiarch isinff for PowerPC32.
21534 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21535 alias when __isnan is defined.
21536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21537 and isnanf multiarch implementations.
21538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21547 multiarch isnan for PowerPC32.
21548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21553 multiarch isnanf for PowerPC32.
21555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21556 and sqrtf multiarch implementations.
21557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21562 multiarch sqrt for PowerPC32.
21563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21568 multiarch sqrtf for PowerPC32.
21570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21571 and llroundf multiarch implementations.
21572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21579 file: multiarch llround for PowerPC32.
21580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21581 file: multiarch llroundf for PowerPC32.
21583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21584 multiarch PowerPC32 fpu implementations.
21585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21590 multiarch llrint for PowerPC32.
21591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21600 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21602 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21604 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21606 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21607 multiarch wordcopy for PPC32.
21608 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21610 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21611 (__libc_ifunc_impl_list): Likewise.
21612 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21613 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21614 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21615 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21616 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21617 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21619 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21620 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21622 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21624 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21626 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21627 multiarch wcscpy for PPC32.
21628 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21630 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21631 (__libc_ifunc_impl_list): Likewise.
21632 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21633 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21634 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21635 sysdeps/powerpc/power6/wcscpy.c.
21637 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21638 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21640 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21642 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21644 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21645 multiarch wcsrchr for PPC32.
21646 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21648 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21649 (__libc_ifunc_impl_list): Likewise.
21650 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21651 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21652 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21653 sysdeps/powerpc/power6/wcsrchr.c.
21655 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21657 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21659 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21660 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21661 multiarch wcschr for PPc32.
21662 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21664 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21665 (__libc_ifunc_impl_list): Likewise.
21666 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21667 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21668 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21669 sysdeps/powerpc/power6/wcschr.c.
21671 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21672 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21674 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21675 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21676 file: multiarch strchr for PPC32.
21677 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21679 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21680 (__libc_ifunc_impl_list): Likewise.
21682 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21684 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21686 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21688 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21689 multiarch strchrnul for PPC32.
21690 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21692 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21693 (__libc_ifunc_impl_list): Likewise.
21695 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21697 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21698 multiarch strncasecmp for PPC32.
21699 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21701 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21702 multiarch strncasecmp_l for PPC32.
21703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21704 strncasecmp multiarch objects.
21705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21706 (__libc_ifunc_impl_list): Likewise.
21708 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21710 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21711 multiarch strncasecmp for PPC32.
21712 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21714 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21715 multiarch strcasecmp_l for PPC32.
21716 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21718 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21719 (__libc_ifunc_impl_list): Likewise.
21721 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21723 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21725 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21726 multiarch strncmp for PPC32.
21727 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21729 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21730 (__libc_ifunc_impl_list): Likewise.
21732 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21733 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21735 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21736 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21737 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21739 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21740 (__libc_ifunc_impl_list): Likewise.
21742 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21744 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21746 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21747 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21749 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21750 (__libc_ifunc_impl_list): Likewise.
21752 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21754 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21756 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21757 multiarch rawmemchr for PPC32.
21758 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21760 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21761 (__libc_ifunc_impl_list): Likewise.
21763 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21765 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21767 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21768 file: memrchr multiarch for PPC32.
21769 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21771 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21772 (__libc_ifunc_impl_list): Likewise.
21774 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21775 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21777 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21778 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21779 multiarch memchr for PPC32.
21780 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21782 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21783 (__libc_ifunc_impl_list): Likewise.
21785 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21786 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21788 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21790 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21791 file: multiarch mempcpy for PPC32.
21792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21794 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21795 (__libc_ifunc_impl_list): Likewise.
21797 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21798 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21799 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21800 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21801 multiarch bzero for PPC32.
21802 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21804 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21806 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21807 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21808 file: multiarch memset for PPC32.
21809 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21811 memset multiarch objects.
21812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21813 (__libc_ifunc_impl_list): Likewise.
21815 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21817 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21818 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21820 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21824 (__libc_ifunc_impl_list): Likewise.
21826 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21827 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21828 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21830 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21832 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21834 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21835 multiarch memcpy for PPC32.
21836 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21838 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21839 (__libc_ifunc_impl_list): Likewise.
21841 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21842 support multiarch for POWER/PPC32.
21843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21845 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21847 Implies file to make multiarch folder appers before the fpu and
21848 default folder for power4 configuration.
21850 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21852 * scripts/bench.pl: Append volatile keyword to type.
21854 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21856 * sysdeps/sh/sotruss-lib.c: New file.
21857 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21859 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21863 2013-12-05 Joseph Myers <joseph@codesourcery.com>
21866 * math/w_tgamma.c: Include <errno.h>.
21867 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21868 * math/w_tgammaf.c: Include <errno.h>.
21869 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21870 * math/w_tgammal.c: Include <errno.h>.
21871 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21872 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21873 underflow. Add more tgamma tests.
21874 * math/auto-libm-test-out: Regenerated.
21875 * sysdeps/i386/fpu/libm-test-ulps: Update.
21876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21878 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21879 sin, sinh, tan, tanh, tgamma, y0 and y1.
21880 * math/auto-libm-test-out: Regenerated.
21881 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21882 (TEST_COND_x86): Likewise.
21883 (M_E2l): Remove macro.
21885 (M_2_SQRT_PIl): Likewise.
21886 (M_SQRT_PIl): Likewise.
21887 (M_1_DIV_El): Likewise.
21888 (log_test_data): Use AUTO_TESTS_f_f.
21889 (log10_test_data): Likewise.
21890 (log1p_test_data): Likewise.
21891 (log2_test_data): Likewise.
21892 (sin_test_data): Likewise.
21893 (sin_tonearest_test_data): Likewise.
21894 (sin_towardzero_test_data): Likewise.
21895 (sin_downward_test_data): Likewise.
21896 (sin_upward_test_data): Likewise.
21897 (sinh_test_data): Likewise.
21898 (sinh_tonearest_test_data): Likewise.
21899 (sinh_towardzero_test_data): Likewise.
21900 (sinh_downward_test_data): Likewise.
21901 (sinh_upward_test_data): Likewise.
21902 (tan_test_data): Likewise.
21903 (tan_tonearest_test_data): Likewise.
21904 (tan_towardzero_test_data): Likewise.
21905 (tan_downward_test_data): Likewise.
21906 (tan_upward_test_data): Likewise.
21907 (tanh_test_data): Likewise.
21908 (tgamma_test_data): Likewise.
21909 (y0_test_data): Likewise.
21910 (y1_test_data): Likewise.
21911 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21912 (special_real_inputs): Add pi/4.
21913 * sysdeps/i386/fpu/libm-test-ulps: Update.
21914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21916 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21918 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21919 "longjmp_target" static probes.
21920 (__longjmp): Rename to __longjmp_symbol.
21921 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21922 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21923 on which longjmp to generate.
21924 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21925 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21927 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21928 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21929 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21930 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21931 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21932 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21934 __longjmp_symbol based on which __longjmp to generate.
21935 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21937 (setjmp): Rename to setjmp_symbol.
21938 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21939 (_setjmp): Rename to _setjmp_symbol.
21940 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21941 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21942 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21943 which setjmp to generate.
21944 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21945 "longjmp_target" static probes.
21947 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21949 * benchtests/README: Add note about output arguments.
21950 * benchtests/bench-sincos.c: Remove file.
21951 * benchtests/sincos-inputs: New file.
21952 * scripts/bench.pl: Identify output arguments and define
21953 static variables for them.
21955 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21958 * Makefile (INSTALL): Add install-plain.texi as the primary
21960 * manual/install-plain.texi: New file.
21961 * manual/install.texi: Include node directive only for
21962 non-plaintext output.
21964 2013-12-04 Joseph Myers <joseph@codesourcery.com>
21966 * stdlib/longlong.h: Update from GCC.
21970 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21971 * math/w_j0f.c (y0f): Likewise.
21972 * math/w_j0l.c (__y0l): Likewise.
21973 * math/w_j1.c (y1): Likewise.
21974 * math/w_j1f.c (y1f): Likewise.
21975 * math/w_j1l.c (__y1l): Likewise
21976 * math/w_jn.c (yn): Likewise.
21977 * math/w_jnf.c (ynf): Likewise.
21978 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21979 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21980 value for Bessel function domain errors outside _SVID_ mode.
21981 Adjust sign of return value for yn (negative integer, 0).
21982 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21983 by zero in return for negative x and set sign appropriately for
21985 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21986 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21987 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21988 expectations in error cases.
21989 (y1_test_data): Likewise.
21990 (yn_test_data): Likewise.
21991 * sysdeps/i386/fpu/libm-test-ulps: Update.
21992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21994 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21996 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21997 "64" to "64-v1". Add "64-v2".
21998 (abi-64-options): Rename to ...
21999 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22000 (abi-64-condition): Rename to ...
22001 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22002 (abi-64-ld-soname): Rename to ...
22003 (abi-64-v1-ld-soname): ... this.
22004 (abi-64-v2-options): Define.
22005 (abi-64-v2-condition): Likewise.
22006 (abi-64-v2-ld-soname): Likewise.
22007 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22008 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22013 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22014 Alan Modra <amodra@gmail.com>
22016 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22017 New versions for use with the ELFv2 ABI.
22018 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22019 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22021 (struct La_ppc64v2_retval): Likewise.
22022 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22023 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22024 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22025 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22026 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22027 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22028 Do not save or restore CR.
22029 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22030 (_dl_profile_resolve): Do no save or restore CR. Support extended
22031 return values for ELFv2 ABI. Fix location of FPR return registers.
22032 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22033 updated values for _CALL_ELF == 2.
22034 (La_regs, La_retval, int_retval): Likewise.
22036 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22038 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22039 (FRAME_MIN_SIZE_PARM): Likewise.
22040 (FRAME_BACKCHAIN): Likewise.
22041 (FRAME_CR_SAVE): Likewise.
22042 (FRAME_LR_SAVE): Likewise.
22043 (FRAME_TOC_SAVE): Likewise.
22044 (FRAME_PARM_SAVE): Likewise.
22045 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22046 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22047 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22048 (call_mcount_parm_offset): New macro.
22049 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22050 (PROF): Use symbolic stack frame offsets.
22051 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22052 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22053 Redefine in terms of FRAME_MIN_SIZE.
22054 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22055 (_dl_profile_resolve): Likewise. Update comment.
22056 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22057 symbols stack frame offsets.
22058 (__sigsetjmp): Likewise.
22059 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22060 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22061 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22062 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22065 (FRAME_BACKCHAIN): Remove.
22066 (FRAME_CR_SAVE): Likewise.
22067 (FRAME_LR_SAVE): Likewise.
22068 (FRAME_COMPILER_DW): Likewise.
22069 (FRAME_LINKER_DW): Likewise.
22070 (FRAME_TOC_SAVE): Likewise.
22071 (FRAME_PARM_SAVE): Likewise.
22072 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22073 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22074 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22076 (CHECK_SP): Use symbolic stack frame offsets.
22077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22078 zone" instead of caller's parameter save area for temp storage.
22079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22080 Likewise. Also, use symbolic stack frame offsets.
22081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22082 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22083 our own stack frame instead of the caller's.
22084 (__socket): Use symbolic stack frame offsets.
22086 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22087 Alan Modra <amodra@gmail.com>
22089 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22091 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22092 (PPC64_LOCAL_ENTRY_OFFSET): Define.
22093 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22095 (elf_machine_fixup_plt): Call it.
22096 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22098 (elf_machine_rela): Update call to elf_machine_plt_conflict.
22099 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22100 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
22101 r2 before calling target.
22103 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22104 Alan Modra <amodra@gmail.com>
22106 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22107 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22108 versions of macros to support ELFv2 ABI.
22109 (LOCALENTRY): New macro.
22110 (ENTRY, EALIGN): Use it.
22111 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22112 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22113 fall through into ENTRY entry point.
22114 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22115 Only define if _CALL_ELF != 2.
22117 (elf_machine_matches_host): Verify ABI version matches.
22118 (RTLD_START): Use LOCALENTRY.
22119 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22120 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22121 (PLT_ENTRY_WORDS): New macro.
22122 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22123 (elf_machine_runtime_setup): Support ELFv2 ABI.
22124 (elf_machine_fixup_plt): Likewise.
22125 (elf_machine_plt_conflict): Likewise.
22126 (resolve_ifunc): Likewise.
22127 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22128 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22131 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22133 (makecontext): Support ELFv2 ABI.
22134 * elf/elf.h (EF_PPC64_ABI): Define.
22136 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22138 * sysdeps/powerpc/powerpc64/sysdep.h
22139 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22140 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22141 (ENTRY) [ASSEMBLER]: ... but instead here ...
22142 (EALIGN) [ASSEMBLER]: ... and here.
22143 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22144 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22145 (ENTRY_2) [!ASSEMBLER]: Use it.
22146 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22147 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
22148 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22149 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22150 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22152 Use PPC64_LOAD_FUNCPTR.
22154 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22156 2013-12-04 Alan Modra <amodra@gmail.com>
22158 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22159 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22160 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22161 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22163 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22164 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22165 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22166 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22167 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22168 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22170 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22173 (__makecontext): Fix incorrect CFI when backtracing out of
22174 context created via makecontext.
22175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22176 (__setcontext): Fix incorrect CFI during switch to new context.
22177 (__novec_setcontext): Likewise.
22179 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
22182 * time/strptime_l.c (__strptime_internal): Allow modifiers
22184 * time/tst-strptime.c (day_tests): Add testcase.
22186 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22188 * scripts/bench.pl: Skip over blank lines.
22190 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22193 * manual/time.texi (Calendar Time): Clarify what timezone functions
22196 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22200 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
22202 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22204 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22205 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22206 * debug/memset_chk.c (__memset_chk): Likewise.
22207 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22208 * debug/strncpy_chk.c: Likewise.
22210 2013-12-03 Joseph Myers <joseph@codesourcery.com>
22214 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22215 (__ieee754_exp): For possibly underflowing results, check size of
22216 result and force underflow exception if required.
22217 * math/auto-libm-test-in: Add more tests of exp.
22218 * math/auto-libm-test-out: Regenerated.
22219 * sysdeps/i386/fpu/libm-test-ulps: Update.
22220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22223 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22224 * math/w_exp2f.c (__exp2f): Likewise.
22225 * math/w_exp2l.c (__exp2l): Likewise.
22226 * math/auto-libm-test-in: Do not allow missing errno on exp2
22228 * math/auto-libm-test-out: Regenerated.
22230 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
22233 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22234 handle filename validation.
22235 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22238 2013-12-03 Joseph Myers <joseph@codesourcery.com>
22241 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22242 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22243 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22245 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22246 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22247 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22248 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22249 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22250 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22251 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22252 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22253 Add more erfc tests.
22254 * math/auto-libm-test-out: Regenerated.
22255 * sysdeps/i386/fpu/libm-test-ulps: Update.
22256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22258 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22259 exp2, expm1, j0 and j1.
22260 * math/auto-libm-test-out: Regenerated.
22261 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22262 (erfc_test_data): Likewise.
22263 (exp_test_data): Likewise.
22264 (exp_tonearest_test_data): Likewise.
22265 (exp_towardzero_test_data): Likewise.
22266 (exp_downward_test_data): Likewise.
22267 (exp_upward_test_data): Likewise.
22268 (exp10_test_data): Likewise.
22269 (exp2_test_data): Likewise.
22270 (expm1_test_data): Likewise.
22271 (j0_test_data): Likewise.
22272 (j1_test_data): Likewise.
22273 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22274 (input_flag_type): Add flag_xfail_rounding.
22275 (input_flags): Add xfail-rounding.
22276 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22277 (output_for_one_input_case): Handle flag_xfail_rounding.
22278 * sysdeps/i386/fpu/libm-test-ulps: Update.
22279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22281 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22284 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22287 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22290 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22291 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22292 (STAP_PROBE0): New macro.
22293 (STAP_PROBE1): Likewise.
22294 (STAP_PROBE2): Likewise.
22295 (STAP_PROBE3): Likewise.
22296 (STAP_PROBE4): Likewise.
22298 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
22300 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22302 2013-12-02 Steve Ellcey <sellcey@mips.com>
22304 * benchtests/Makefile (bench): Add sqrt.
22305 (LDLIBS-bench-sqrt): New.
22306 * benchtests/sqrt-input: New.
22308 2013-12-02 Pavel Simerda <psimerda@redhat.com>
22310 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22311 (GAIH_EAI): Likewise.
22312 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22313 (gaih_inet): Likewise.
22314 (getaddrinfo): Don't use GAIH_EAI.
22316 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22317 (struct gaih): Remove definition.
22319 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22321 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22322 Use HERRNOP directly.
22324 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22328 2013-11-30 Joseph Myers <joseph@codesourcery.com>
22330 * math/gen-auto-libm-tests.c (test_functions): Add more
22331 single-argument functions.
22332 (special_fill_pi_2): New function.
22333 (special_fill_minus_pi_2): Likewise.
22334 (special_fill_pi_6): Likewise.
22335 (special_fill_minus_pi_6): Likewise.
22336 (special_fill_pi_3): Likewise.
22337 (special_fill_2pi_3): Likewise.
22338 (special_fill_e): Likewise.
22339 (special_fill_1_e): Likewise.
22340 (special_fill_e_minus_1): Likewise.
22341 (special_real_inputs): Add more special inputs.
22342 (output_for_one_input_case): Do not require ERANGE on underflow to
22343 zero if round-to-nearest result does not underflow to zero, unless
22344 exact results required.
22345 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22346 atan, atanh, cbrt, cos and cosh.
22347 * math/auto-libm-test-out: Regenerated.
22348 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22349 (acos_tonearest_test_data): Likewise.
22350 (acos_towardzero_test_data): Likewise.
22351 (acos_downward_test_data): Likewise.
22352 (acos_upward_test_data): Likewise.
22353 (acosh_test_data): Likewise.
22354 (asin_test_data): Likewise.
22355 (asin_tonearest_test_data): Likewise.
22356 (asin_towardzero_test_data): Likewise.
22357 (asin_upward_test_data): Likewise.
22358 (asinh_test_data): Likewise.
22359 (atan_test_data): Likewise.
22360 (atanh_test_data): Likewise.
22361 (cbrt_test_data): Likewise.
22362 (cos_test_data): Likewise.
22363 (cos_tonearest_test_data): Likewise.
22364 (cos_towardzero_test_data): Likewise.
22365 (cos_downward_test_data): Likewise.
22366 (cos_upward_test_data): Likewise.
22367 (cosh_test_data): Likewise.
22368 (cosh_tonearest_test_data): Likewise.
22369 (cosh_towardzero_test_data): Likewise.
22370 (cosh_downward_test_data): Likewise.
22371 (cosh_upward_test_data): Likewise.
22372 * sysdeps/i386/fpu/libm-test-ulps: Update.
22373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22375 2013-11-29 Joseph Myers <joseph@codesourcery.com>
22378 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22379 * math/w_exp10f.c (__exp10f): Likewise.
22380 * math/w_exp10l.c (__exp10l): Likewise.
22381 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22382 errno settings in existing tests.
22385 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22386 precision control set to double precision.
22387 * sysdeps/i386/fpu/w_sqrt.c: New file.
22388 * math/auto-libm-test-in: Add more tests.
22389 * math/auto-libm-test-out: Update.
22391 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22392 (sqrt_test_tonearest): New function.
22393 (sqrt_towardzero_test_data): New variable.
22394 (sqrt_test_towardzero): New function.
22395 (sqrt_downward_test_data): New variable.
22396 (sqrt_test_downward): New function.
22397 (sqrt_upward_test_data): New variable.
22398 (sqrt_test_upward): New function.
22399 (main): Call the new functions.
22401 * math/gen-auto-libm-tests.c: New file.
22402 * math/auto-libm-test-in: Likewise.
22403 * math/auto-libm-test-out: New generated file.
22404 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22406 (%beautify): Add generated representations of zero.
22407 (top level): Set $auto_input and call parse_auto_input.
22408 (beautify): Remove trailing "f" from hex float constants.
22409 (parse_args): Handle XFAIL_TEST.
22410 (convert_condition): New function.
22411 (or_value): Likewise.
22412 (or_cond_value): Likewise.
22413 (generate_testfile): Handle AUTO_TESTS_* lines.
22414 (parse_auto_input): New function.
22415 * math/libm-test.inc (XFAIL_TEST): New macro.
22416 (ERRNO_UNCHANGED): Update value.
22417 (ERRNO_EDOM): Likewise.
22418 (ERRNO_ERANGE): Likewise.
22419 (IGNORE_RESULT): Likewise.
22420 (TEST_COND_flt_32): New macro.
22421 (TEST_COND_dbl_64): Likewise.
22422 (TEST_COND_ldbl_96_intel): Likewise.
22423 (TEST_COND_ldbl_96_m68k): Likewise.
22424 (TEST_COND_ldbl_128): Likewise.
22425 (TEST_COND_ldbl_128ibm): Likewise.
22426 (TEST_COND_long32): Likewise.
22427 (TEST_COND_long64): Likewise.
22428 (TEST_COND_before_rounding): Likewise.
22429 (TEST_COND_after_rounding): Likewise.
22430 (enable_test): Handle XFAIL_TEST flag.
22431 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22432 with finite results.
22433 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22434 auto-libm-test-out.
22436 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22437 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22440 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22441 __tls_get_addr_internal instead of __tls_get_offset in order to
22442 avoid GOT pointer dependency. Make rtld export
22443 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22444 __tls_get_addr since we are a __tls_get_offset platform.
22445 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22446 GOT pointer being set up before.
22447 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22449 2013-11-28 Joseph Myers <joseph@codesourcery.com>
22451 * manual/math.texi (Errors in Math Functions): Document accuracy
22455 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22456 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22457 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22458 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22459 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22460 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22461 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22462 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22463 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22464 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22465 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22466 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22467 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22468 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22469 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22470 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22472 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22473 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22474 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22475 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22476 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22478 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22480 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22482 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22483 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22484 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22485 atomic-feupdateenv and flt-rounds.
22486 * sysdeps/powerpc/nofpu/Versions (libc): Add
22487 __atomic_feholdexcept, __atomic_feclearexcept,
22488 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22489 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22490 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22491 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22492 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22497 * manual/arith.texi (FP Exceptions): Document that exceptions may
22498 not be raised when matherr is used.
22499 (Math Error Reporting): Document overflow in directed rounding
22500 modes. Document that errno may not be set when finite values are
22501 returned on overflow. Document intent to set errno on underflow
22502 only for underflow to zero.
22505 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22506 round-to-nearest then adjust result for other rounding modes.
22507 * include/fenv.h (fegetround): Use libm_hidden_proto.
22508 * math/fegetround.c (fegetround): Use libm_hidden_def.
22509 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22510 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22511 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22512 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22514 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22515 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22516 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22517 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22519 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22522 * nss/Versions (libnss_files): Add
22523 _nss_files_gethostbyname3_r.
22524 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22526 (HOST_DB_LOOKUP): Remove macro.
22527 (_nss_files_gethostbyname_r): Implement function without the
22528 HOST_DB_LOOKUP macro.
22529 (_nss_files_gethostbyname2_r): Likewise.
22531 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
22533 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22535 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
22537 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22538 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22541 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22543 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22544 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22545 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22546 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22547 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22548 __fe_nomask_env_priv and attribute_hidden.
22549 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22550 (libc_feupdateenv_test_ppc): Likewise.
22551 (libc_feresetround_ppc): Likewise.
22552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22553 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22554 compat_symbol macro.
22555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22556 (__fe_nomask_env): Likewise.
22557 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22559 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22561 * string/Makefile: Remove ifunc tests.
22562 * string/test-string.h: Define TEST_IFUNC.
22563 * string/test-bcopy-ifunc.c: Remove.
22564 * string/test-bzero-ifunc.c: Likewise.
22565 * string/test-memccpy-ifunc.c: Likewise.
22566 * string/test-memchr-ifunc.c: Likewise.
22567 * string/test-memcmp-ifunc.c: Likewise.
22568 * string/test-memcpy-ifunc.c: Likewise.
22569 * string/test-memmem-ifunc.c: Likewise.
22570 * string/test-memmove-ifunc.c: Likewise.
22571 * string/test-mempcpy-ifunc.c: Likewise.
22572 * string/test-memrchr-ifunc.c: Likewise.
22573 * string/test-memset-ifunc.c: Likewise.
22574 * string/test-rawmemchr-ifunc.c: Likewise.
22575 * string/test-stpcpy-ifunc.c: Likewise.
22576 * string/test-stpncpy-ifunc.c: Likewise.
22577 * string/test-strcasecmp-ifunc.c: Likewise.
22578 * string/test-strcasestr-ifunc.c: Likewise.
22579 * string/test-strcat-ifunc.c: Likewise.
22580 * string/test-strchr-ifunc.c: Likewise.
22581 * string/test-strchrnul-ifunc.c: Likewise.
22582 * string/test-strcmp-ifunc.c: Likewise.
22583 * string/test-strcpy-ifunc.c: Likewise.
22584 * string/test-strcspn-ifunc.c: Likewise.
22585 * string/test-strlen-ifunc.c: Likewise.
22586 * string/test-strncasecmp-ifunc.c: Likewise.
22587 * string/test-strncat-ifunc.c: Likewise.
22588 * string/test-strncmp-ifunc.c: Likewise.
22589 * string/test-strncpy-ifunc.c: Likewise.
22590 * string/test-strnlen-ifunc.c: Likewise.
22591 * string/test-strpbrk-ifunc.c: Likewise.
22592 * string/test-strrchr-ifunc.c: Likewise.
22593 * string/test-strspn-ifunc.c: Likewise.
22594 * string/test-strstr-ifunc.c: Likewise.
22596 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22598 * benchtests/Makefile: Remove ifunc tests.
22599 * benchtests/bench-string.h: Define TEST_IFUNC.
22600 * benchtests/bench-bcopy-ifunc.c: Remove.
22601 * benchtests/bench-bzero-ifunc.c: Likewise.
22602 * benchtests/bench-memccpy-ifunc.c: Likewise.
22603 * benchtests/bench-memchr-ifunc.c: Likewise.
22604 * benchtests/bench-memcmp-ifunc.c: Likewise.
22605 * benchtests/bench-memcpy-ifunc.c: Likewise.
22606 * benchtests/bench-memmem-ifunc.c: Likewise.
22607 * benchtests/bench-memmove-ifunc.c: Likewise.
22608 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22609 * benchtests/bench-memrchr-ifunc.c: Likewise.
22610 * benchtests/bench-memset-ifunc.c: Likewise.
22611 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22612 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22613 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22614 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22615 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22616 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22617 * benchtests/bench-strcat-ifunc.c: Likewise.
22618 * benchtests/bench-strchr-ifunc.c: Likewise.
22619 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22620 * benchtests/bench-strcmp-ifunc.c: Likewise.
22621 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22622 * benchtests/bench-strcpy-ifunc.c: Likewise.
22623 * benchtests/bench-strcspn-ifunc.c: Likewise.
22624 * benchtests/bench-strlen-ifunc.c: Likewise.
22625 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22626 * benchtests/bench-strncat-ifunc.c: Likewise.
22627 * benchtests/bench-strncmp-ifunc.c: Likewise.
22628 * benchtests/bench-strncpy-ifunc.c: Likewise.
22629 * benchtests/bench-strnlen-ifunc.c: Likewise.
22630 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22631 * benchtests/bench-strrchr-ifunc.c: Likewise.
22632 * benchtests/bench-strsep-ifunc.c: Likewise.
22633 * benchtests/bench-strspn-ifunc.c: Likewise.
22634 * benchtests/bench-strstr-ifunc.c: Likewise.
22636 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22638 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22640 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22642 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22643 * rt/aio.h: Likewise.
22644 * sysdeps/gnu/bits/utmp.h: Likewise.
22645 * sysdeps/gnu/bits/utmpx.h: Likewise.
22646 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22647 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22648 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22649 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22650 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22651 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22652 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22653 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22654 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22655 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22656 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22657 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22658 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22660 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22661 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22662 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22663 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22664 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22665 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22666 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22667 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22668 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22669 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22670 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22671 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22672 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22673 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22674 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22675 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22676 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22677 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22678 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22679 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22680 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22681 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22682 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22683 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22684 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22685 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22686 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22687 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22689 2013-11-25 Carlos O'Donell <carlos@redhat.com>
22692 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22693 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22695 2013-11-25 Joseph Myers <joseph@codesourcery.com>
22697 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22698 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22701 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22703 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22704 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22705 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22706 (__fesetround): Remove define.
22707 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22708 rounding and exceptions handling.
22709 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22710 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22711 (__fe_nomask_env): Likewise.
22712 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22713 __fegetround instead of fegetround.
22714 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22715 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22717 2013-11-21 Roland McGrath <roland@hack.frob.com>
22719 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22722 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22724 2013-11-21 Meador Inge <meadori@codesourcery.com>
22727 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22728 (encrypt_r): Likewise.
22729 * malloc/obstack.h (obstack_free): Likewise.
22730 * posix/unistd.h (encrypt): Likewise.
22732 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22734 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22735 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22736 DL_CALL_DT_FINI() that call the functions directly.
22737 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22738 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22739 * elf/dl-fini.c: Likewise.
22741 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
22743 * malloc/hooks.c (memalign_check): Add alignment rounding.
22744 * malloc/malloc.c (_mid_memalign): New function.
22745 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22746 Implement by calling _mid_memalign.
22747 * manual/probes.texi (Memory Allocation Probes): Remove
22748 memory_valloc_retry and memory_pvalloc_retry.
22750 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22752 * locale/programs/locarchive.c (open_archive): Add const
22753 qualifier to ARCHIVEFNAME and copy default fname to
22757 * libio/tst-widetext.input: Rename Oriya to Odia.
22758 * locale/iso-639.def: Likewise.
22760 * manual/probes.texi (Mathematical Function Probes): Add
22761 documentation for sin, cos, asin and acos probes.
22762 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22763 (__sin32): Add slowasin probe.
22764 (__cos32): Add slowacos probe.
22765 (__mpsin): Add slowsin probe.
22766 (__mpcos): Add slowcos probe.
22768 2013-11-19 Joseph Myers <joseph@codesourcery.com>
22771 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22772 thread-local __sim_exceptions_thread and global
22773 __sim_exceptions_global.
22774 (__sim_disabled_exceptions): Change to thread-local
22775 __sim_disabled_exceptions_thread and global
22776 __sim_disabled_exceptions_global.
22777 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22778 and global __sim_round_mode_global.
22779 (__simulate_exceptions): Use thread-local floating-point state and
22780 set global state from it as needed.
22781 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22782 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22783 __sim_round_mode_thread.
22784 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22785 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22786 and global __sim_exceptions_global.
22787 (__sim_disabled_exceptions): Change to thread-local
22788 __sim_disabled_exceptions_thread and global
22789 __sim_disabled_exceptions_global.
22790 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22791 and global __sim_round_mode_global.
22792 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22793 (SIM_SET_GLOBAL): Likewise.
22794 * sysdeps/powerpc/soft-fp/sfp-machine.h
22795 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22796 __sim_round_mode_thread.
22797 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22798 __sim_disabled_exceptions_thread.
22799 (__sim_exceptions): Change to __sim_exceptions_thread.
22800 (__sim_disabled_exceptions): Change to
22801 __sim_disabled_exceptions_thread.
22802 (__sim_round_mode): Change to __sim_round_mode_thread.
22803 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22804 thread-local floating-point state and set global state from it as
22806 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22807 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22808 (__sim_disabled_exceptions): Remove extern declaration.
22809 (feenableexcept): Use thread-local floating-point state and set
22810 global state from it as needed.
22811 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22812 extern declaration.
22813 (__sim_disabled_exceptions): Likewise.
22814 (__sim_round_mode): Likewise.
22815 (__fegetenv): Use thread-local floating-point state.
22816 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22817 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22818 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22819 floating-point state and set global state from it as needed.
22820 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22821 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22822 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22824 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22825 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22827 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22828 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22829 Use __sim_round_mode_thread.
22830 * math/test-fenv-tls.c: New file.
22831 * math/Makefile (tests): Add test-fenv-tls.
22832 ($(objpfx)test-fenv-tls): Depend on
22833 $(common-objpfx)nptl/libpthread.so.
22835 2013-11-19 Andreas Schwab <schwab@suse.de>
22837 * locale/programs/locale.c (show_info): Decode wordarray elements.
22838 * locale/categories.def (LC_MONETARY): Add element for
22839 _NL_MONETARY_CRNCYSTR.
22840 * locale/C-monetary.c (conversion_rate): New variable.
22841 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22844 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22846 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22847 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22849 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22851 * elf/Makefile (tst-auxv): New test.
22852 * elf/tst-auxv.c: New
22853 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22855 2013-11-18 Joseph Myers <joseph@codesourcery.com>
22857 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22858 (hidden_proto): Caller changed.
22859 (hidden_tls_proto): New macro.
22860 (libc_hidden_tls_proto): Likewise.
22861 (rtld_hidden_tls_proto): Likewise.
22862 (libm_hidden_tls_proto): Likewise.
22863 (libresolv_hidden_tls_proto): Likewise.
22864 (librt_hidden_tls_proto): Likewise.
22865 (libdl_hidden_tls_proto): Likewise.
22866 (libnss_files_hidden_tls_proto): Likewise.
22867 (libnsl_hidden_tls_proto): Likewise.
22868 (libnss_nisplus_hidden_tls_proto): Likewise.
22869 (libutil_hidden_tls_proto): Likewise.
22871 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
22874 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22875 (decompose_rpath): Defer expansion to fillin_rpath.
22876 (_dl_init_paths): Pass linkmap to fillin_rpath.
22878 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22880 * benchtests/Makefile: Add strsep.
22881 * benchtests/bench-strsep.c: New file: strsep benchtest.
22882 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22884 2013-11-18 Andreas Schwab <schwab@suse.de>
22886 * locale/programs/locale.c (show_info) [case byte]: Check for
22887 '\377' instead of '\177'.
22888 * locale/C-monetary.c (not_available): Always use "\377".
22889 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22890 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22891 detect unavailable sign_posn locale elements.
22892 * locale/localeconv.c (__localeconv): For grouping and
22893 mon_grouping handle "\177" and "\377" like no grouping.
22894 (INT_ELEM): New macro. Use it to set all numeric members.
22895 * locale/programs/ld-monetary.c (monetary_read)
22896 <tok_mon_grouping>: Normalize single -1 to the empty string.
22897 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22900 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22903 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22904 when we match (nil).
22905 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22907 2013-11-16 Joseph Myers <joseph@codesourcery.com>
22909 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22910 (NO_TEST_INLINE): Update value.
22911 (ERRNO_UNCHANGED): Likewise.
22912 (ERRNO_EDOM): Likewise.
22913 (ERRNO_ERANGE): Likewise.
22914 (IGNORE_RESULT): Likewise.
22915 (check_float_internal): Check signs of NaN results if
22916 TEST_NAN_SIGN used.
22917 (check_complex): Pass TEST_NAN_SIGN flag through to second
22918 check_float_internal call.
22919 (copysign_test_data): Add tests with quiet NaNs as second
22920 argument. Use TEST_NAN_SIGN.
22921 (fabs_test_data): Add test of negative quiet NaN argument. Use
22923 (signbit_test_data): Add tests of quiet NaN argument.
22924 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22926 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22928 (parse_args): Handle function results specified as IGNORE.
22929 * math/libm-test.inc (IGNORE_RESULT): New macro.
22930 (check_float_internal): Do not check numerical result if flag
22932 (check_complex): Pass through IGNORE_RESULT to second
22933 check_float_internal call.
22934 (check_int): Do not check numerical result if flag IGNORE_RESULT
22936 (check_long): Likewise.
22937 (check_bool): Likewise.
22938 (check_longlong): Likewise.
22939 (lrint_test_data): Add tests of infinite and NaN arguments.
22940 (lrint_tonearest_test_data): Likewise.
22941 (lrint_towardzero_test_data): Likewise.
22942 (lrint_downward_test_data): Likewise.
22943 (lrint_upward_test_data): Likewise.
22944 (llrint_test_data): Likewise.
22945 (llrint_tonearest_test_data): Likewise.
22946 (llrint_towardzero_test_data): Likewise.
22947 (llrint_downward_test_data): Likewise.
22948 (llrint_upward_test_data): Likewise.
22949 (lround_test_data): Likewise.
22950 (llround_test_data): Likewise.
22952 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22953 (ERRNO_UNCHANGED): Update value.
22954 (ERRNO_EDOM): Likewise.
22955 (ERRNO_ERANGE): Likewise.
22956 (NO_TEST_INLINE_FLOAT): New macro.
22957 (NO_TEST_INLINE_DOUBLE): Likewise.
22958 (enable_test): New function.
22959 (RUN_TEST_f_f): Check enable_test before running test.
22960 (RUN_TEST_2_f): Likewise.
22961 (RUN_TEST_fff_f): Likewise.
22962 (RUN_TEST_c_f): Likewise.
22963 (RUN_TEST_f_f1): Likewise.
22964 (RUN_TEST_fF_f1): Likewise.
22965 (RUN_TEST_fI_f1): Likewise.
22966 (RUN_TEST_ffI_f1): Likewise.
22967 (RUN_TEST_c_c): Likewise.
22968 (RUN_TEST_cc_c): Likewise.
22969 (RUN_TEST_f_i): Likewise.
22970 (RUN_TEST_f_i_tg): Likewise.
22971 (RUN_TEST_ff_i_tg): Likewise.
22972 (RUN_TEST_f_b): Likewise.
22973 (RUN_TEST_f_b_tg): Likewise.
22974 (RUN_TEST_f_l): Likewise.
22975 (RUN_TEST_f_L): Likewise.
22976 (RUN_TEST_fFF_11): Likewise.
22977 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22979 (cosh_test_data): Likewise.
22980 (exp_test_data): Likewise.
22981 (expm1_test_data): Likewise.
22982 (hypot_test_data): Likewise.
22983 (pow_test_data): Likewise.
22984 (sinh_test_data): Likewise.
22985 (tanh_test_data): Likewise.
22986 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22989 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22990 tests with quiet NaN input and output.
22991 (acosh_test_data): Likewise.
22992 (asin_test_data): Likewise.
22993 (asinh_test_data): Likewise.
22994 (atan_test_data): Likewise.
22995 (atanh_test_data): Likewise.
22996 (atan2_test_data): Likewise.
22997 (cbrt_test_data): Likewise.
22998 (cos_test_data): Likewise.
22999 (cosh_test_data): Likewise.
23000 (erf_test_data): Likewise.
23001 (erfc_test_data): Likewise.
23002 (exp_test_data): Likewise.
23003 (exp10_test_data): Likewise.
23004 (exp2_test_data): Likewise.
23005 (expm1_test_data): Likewise.
23006 (hypot_test_data): Likewise.
23007 (j0_test_data): Likewise.
23008 (j1_test_data): Likewise.
23009 (jn_test_data): Likewise.
23010 (lgamma_test_data): Likewise.
23011 (log_test_data): Likewise.
23012 (log10_test_data): Likewise.
23013 (log1p_test_data): Likewise.
23014 (log2_test_data): Likewise.
23015 (pow_test_data): Likewise.
23016 (scalb_test_data): Likewise.
23017 (sin_test_data): Likewise.
23018 (sincos_test_data): Likewise.
23019 (sinh_test_data): Likewise.
23020 (tan_test_data): Likewise.
23021 (tanh_test_data): Likewise.
23022 (tgamma_test_data): Likewise.
23023 (y0_test_data): Likewise.
23024 (y1_test_data): Likewise.
23025 (yn_test_data): Likewise.
23028 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23029 argument being NaN and avoid computations with second argument in
23031 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23032 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23033 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23035 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23037 * locale/iso-639.def: Add Chitwani Tharu (the).
23039 2013-11-14 Andreas Schwab <schwab@suse.de>
23041 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23042 word instead of empty string.
23044 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23047 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23049 (__fe_nomask_env): Likewise.
23051 2013-11-13 Steve Ellcey <sellcey@mips.com>
23053 * benchtests/bench-timing.h: Include time.h.
23055 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23058 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23060 * sysdeps/unix/sysv/linux/configure: Regenerated.
23062 2013-11-13 Joseph Myers <joseph@codesourcery.com>
23065 * stdlib/strtod_l.c (round_and_return): Do not consider
23066 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23067 exponent one less than half the least subnormal exponent.
23068 * stdlib/test-strtod-round-data: Add more tests.
23069 * stdlib/tst-strtod-round.c (tests): Regenerated.
23071 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23074 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23075 (__fe_mask_env): Likewise.
23076 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23077 libm_hidden_proto and add function prototype.
23078 (__fe_mask_env): Add function prototype.
23079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23080 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23082 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23084 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23086 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23088 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
23089 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23091 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23093 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23094 of htab_find_slot().
23096 2013-11-11 David S. Miller <davem@davemloft.net>
23099 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23100 symbol in the non-vis3 case in static builds.
23101 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23102 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23103 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23104 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23106 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23109 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23112 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23114 * benchtests/Makefile: Add bench-strtod.
23115 * benchtests/bench-strtod.c: New file: strtod benchtest
23117 2013-11-11 Andreas Schwab <schwab@suse.de>
23120 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23121 terminating NUL in key length.
23123 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23125 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23126 Add artificial ODP entry for vDSO symbol for PPC64.
23127 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23128 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23130 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
23133 * nss/getent.c (services_keys): Recognize services starting with digit.
23135 2013-11-06 David S. Miller <davem@davemloft.net>
23138 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23139 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23141 2013-11-06 Will Newton <will.newton@linaro.org>
23143 * manual/memory.texi (Malloc Examples): Remove register
23144 keyword from examples.
23146 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
23148 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23150 2013-11-04 Joseph Myers <joseph@codesourcery.com>
23153 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23154 depending on [__GCC_IEC_559 > 0].
23155 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23156 depending on [__GCC_IEC_559_COMPLEX > 0].
23158 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
23160 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23163 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
23165 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23167 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
23170 * malloc/malloc (malloc_info): Do not handle first bin as
23173 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
23175 * locale/iso-639.def: Add Central Nahuatl (nhn).
23177 2013-11-01 Bruno Haible <bruno@clisp.org>
23180 * manual/math.texi (BSD Random): Specify range upper bound as
23183 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
23185 * locale/iso-639.def: Add Meadow Mari (mhr).
23187 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
23189 [BZ #14752], [BZ #15763]
23190 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23192 * rt/tst_shm.c: Add test for escaping directory.
23194 2013-10-31 Andreas Schwab <schwab@suse.de>
23197 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23198 followed by 'x' as part of digit sequence.
23199 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23201 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23204 * configure.ac: allow GNU Make 4.0 and greater.
23205 * configure: Regenerated.
23207 2013-10-30 Will Newton <will.newton@linaro.org>
23210 * malloc/hooks.c (memalign_check): Limit alignment to the
23211 maximum representable power of two.
23212 * malloc/malloc.c (__libc_memalign): Likewise.
23213 * malloc/tst-memalign.c (do_test): Add test for very
23214 large alignment values.
23215 * malloc/tst-posix_memalign.c (do_test): Likewise.
23217 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
23220 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23221 (munmap_chunk): Likewise.
23222 (mremap_chunk): Likewise.
23224 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
23227 * stdlib/div.c (div): Remove obsolete code.
23228 * stdlib/ldiv.c (ldiv): Likewise.
23229 * stdlib/lldiv.c (lldiv): Likewise.
23231 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23234 * nss/nss_files/files-XXX.c (get_contents_ret): New
23236 (get_contents): New function.
23237 (internal_getent): Use it. Expand size of LINEBUFLEN.
23239 2013-10-30 Mike Frysinger <vapier@gentoo.org>
23241 * configure.in: Moved to ...
23242 * configure.ac: ... here. Change reference to configure.in
23244 * sysdeps/arm/preconfigure.ac: ... here.
23245 configure.in to configure.ac.
23246 * sysdeps/gnu/configure.in: Moved to ...
23247 * sysdeps/gnu/configure.ac: ... here.
23248 * sysdeps/i386/configure.in: Moved to ...
23249 * sysdeps/i386/configure.ac: ... here.
23250 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23251 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23252 * sysdeps/mach/configure.in: Moved to ...
23253 * sysdeps/mach/configure.ac: ... here.
23254 * sysdeps/mach/hurd/configure.in: Moved to ...
23255 * sysdeps/mach/hurd/configure.ac: ... here.
23256 * sysdeps/powerpc/configure.in: Moved to ...
23257 * sysdeps/powerpc/configure.ac: ... here.
23258 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23259 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23260 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23261 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23262 * sysdeps/s390/s390-32/configure.in: Moved to ...
23263 * sysdeps/s390/s390-32/configure.ac: ... here.
23264 * sysdeps/s390/s390-64/configure.in: Moved to ...
23265 * sysdeps/s390/s390-64/configure.ac: ... here.
23266 * sysdeps/sh/configure.in: Moved to ...
23267 * sysdeps/sh/configure.ac: ... here.
23268 * sysdeps/sparc/configure.in: Moved to ...
23269 * sysdeps/sparc/configure.ac: ... here.
23270 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23271 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23272 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23273 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23274 * sysdeps/x86_64/configure.in: Moved to ...
23275 * sysdeps/x86_64/configure.ac: ... here.
23276 * sysdeps/x86_64/preconfigure.in: Moved to ...
23277 * sysdeps/x86_64/preconfigure.ac: ... here.
23278 * aclocal.m4: Change reference to configure.in to configure.ac.
23279 * config.h.in: Likewise.
23280 * manual/install.texi: Likewise.
23281 * manual/maint.texi: Likewise.
23282 * Makefile: Likewise.
23283 * malloc/Makefile: Likewise.
23284 * nscd/Makefile: Likewise.
23285 * Makeconfig: Change reference to configure.in and
23286 preconfigure.in to configure.ac and preconfigure.ac
23288 * INSTALL: Regenerated.
23289 * configure: Likewise.
23290 * sysdeps/gnu/configure: Likewise.
23291 * sysdeps/i386/configure: Likewise.
23292 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23293 * sysdeps/mach/configure: Likewise.
23294 * sysdeps/mach/hurd/configure: Likewise.
23295 * sysdeps/powerpc/configure: Likewise.
23296 * sysdeps/powerpc/powerpc32/configure: Likewise.
23297 * sysdeps/powerpc/powerpc64/configure: Likewise.
23298 * sysdeps/s390/s390-32/configure: Likewise.
23299 * sysdeps/s390/s390-64/configure: Likewise.
23300 * sysdeps/sh/configure: Likewise.
23301 * sysdeps/sparc/configure: Likewise.
23302 * sysdeps/unix/sysv/linux/configure: Likewise.
23303 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23304 * sysdeps/x86_64/configure: Likewise.
23305 * sysdeps/x86_64/preconfigure: Likewise.
23307 2013-10-29 Andreas Schwab <schwab@suse.de>
23309 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23311 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23313 * benchtests/pow-inputs: Add new inputs.
23315 * benchtests/exp-inputs: Add new inputs.
23317 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23318 conditional check for return value.
23319 (__cos32): Likewise.
23321 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23323 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23324 to provide a boost for large inputs with word alignment.
23325 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23326 implementation based on optimized PPC64 strcpy.
23327 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23328 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23329 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23330 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23332 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23335 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23337 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23340 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23341 * time/tst-strptime.c (day_tests): Add testcase.
23343 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23346 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23348 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23351 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23352 MAP_FAILED on error.
23354 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23357 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23358 heap for large requests.
23360 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23363 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23364 result if the result has no associated interface.
23365 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23366 interface for all 127.X.Y.Z addresses.
23368 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
23370 * locale/iso-639.def: Add Ligurian (lij)
23372 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
23375 * sunrpc/rpc_main.c: Document rpcgen -5.
23377 2013-10-19 Michael Stahl <mstahl@redhat.com>
23379 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23381 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23384 * posix/glob.c: Match only directories when trailing slash is present.
23385 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23386 (main): Add testcase.
23388 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23391 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23393 2013-10-18 Carlos O'Donell <carlos@redhat.com>
23395 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23396 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23397 AUTH_DES and cindex for FIPS 140-2.
23398 (DES Encryption): Add cindex FIPS 46-3.
23400 * locale/locarchive.h (struct locarhandle): Add fname.
23401 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23402 if an optional argument was specified to --list-archive,
23404 * locale/programs/locarchive.c (show_archive_content): Take new
23405 argument fname and pass it via ah.fname to open_archive.
23406 * locale/programs/localedef.h: Update decl.
23407 (open_archive): If AH->fname is non-null, open that file
23408 rather than the default file name, and don't ignore ENOENT.
23409 (create_archive): Set AH.fname to NULL.
23410 (delete_locales_from_archive): Likewise.
23411 (add_locales_to_archive): Likewise.
23412 * locale/programs/locfile.c (write_all_categories): Likewise.
23414 2013-10-18 Joseph Myers <joseph@codesourcery.com>
23415 Aldy Hernandez <aldyh@redhat.com>
23417 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23418 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23419 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23420 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23421 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23422 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23423 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23424 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23425 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23426 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23427 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23428 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23429 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23430 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23431 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23433 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23435 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23437 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23439 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23440 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23442 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23443 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23444 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23445 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23447 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23448 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23449 * sysdeps/powerpc/preconfigure: Likewise.
23450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23452 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23453 Replace contents of file by #include of <fenv_libc.h>.
23454 * sysdeps/powerpc/soft-fp/sfp-machine.h
23455 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23457 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23458 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23459 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23460 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23461 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23462 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23463 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23464 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23465 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23466 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23467 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23468 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23470 Allow copysignl PLT reference to be missing.
23472 2013-10-18 Richard Sandiford <richard@codesourcery.com>
23473 Joseph Myers <joseph@codesourcery.com
23476 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23478 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23480 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23482 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23483 * elf/tst-tls1.c: Likewise.
23484 * elf/tst-tls10.h: Likewise.
23485 * elf/tst-tls14.c: Likewise.
23486 * elf/tst-tls2.c: Likewise.
23487 * elf/tst-tls3.c: Likewise.
23488 * elf/tst-tls4.c: Likewise.
23489 * elf/tst-tls5.c: Likewise.
23490 * elf/tst-tls6.c: Likewise.
23491 * elf/tst-tls7.c: Likewise.
23492 * elf/tst-tls8.c: Likewise.
23493 * elf/tst-tls9.c: Likewise.
23494 * elf/tst-tlsmod1.c: Likewise.
23495 * elf/tst-tlsmod13.c: Likewise.
23496 * elf/tst-tlsmod13a.c: Likewise.
23497 * elf/tst-tlsmod14a.c: Likewise.
23498 * elf/tst-tlsmod16a.c: Likewise.
23499 * elf/tst-tlsmod16b.c: Likewise.
23500 * elf/tst-tlsmod2.c: Likewise.
23501 * elf/tst-tlsmod3.c: Likewise.
23502 * elf/tst-tlsmod4.c: Likewise.
23503 * elf/tst-tlsmod5.c: Likewise.
23504 * elf/tst-tlsmod6.c: Likewise.
23506 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
23509 * malloc/malloc.c: remove checks for statistics.
23511 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23514 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23515 * inet/tst-network.c: Add testcase.
23517 2013-10-17 Andreas Schwab <schwab@suse.de>
23520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23521 to determine canonical name.
23523 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23525 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23526 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23527 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23528 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23529 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23530 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23531 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23532 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23533 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23534 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23535 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23536 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23537 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23538 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23539 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23540 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23541 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23542 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23543 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23544 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23545 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23546 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23547 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23548 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23549 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23550 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23551 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23552 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23553 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23554 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23555 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23556 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23557 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23558 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23559 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23560 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23561 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23562 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23563 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23564 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23565 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23566 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23567 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23568 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23569 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23570 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23571 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23572 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23573 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23574 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23575 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23576 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23577 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23578 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23579 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23580 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23581 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23582 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23584 2013-10-17 Joseph Myers <joseph@codesourcery.com>
23587 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23588 make result into a quiet NaN.
23590 2013-10-16 Joseph Myers <joseph@codesourcery.com>
23592 * soft-fp/adddf3.c: Fix horizontal whitespace.
23593 * soft-fp/addsf3.c: Likewise.
23594 * soft-fp/addtf3.c: Likewise.
23595 * soft-fp/divdf3.c: Likewise.
23596 * soft-fp/divsf3.c: Likewise.
23597 * soft-fp/divtf3.c: Likewise.
23598 * soft-fp/double.h: Likewise.
23599 * soft-fp/eqdf2.c: Likewise.
23600 * soft-fp/eqsf2.c: Likewise.
23601 * soft-fp/eqtf2.c: Likewise.
23602 * soft-fp/extenddftf2.c: Likewise.
23603 * soft-fp/extended.h: Likewise.
23604 * soft-fp/extendsfdf2.c: Likewise.
23605 * soft-fp/extendsftf2.c: Likewise.
23606 * soft-fp/extendxftf2.c: Likewise.
23607 * soft-fp/fixdfdi.c: Likewise.
23608 * soft-fp/fixdfsi.c: Likewise.
23609 * soft-fp/fixdfti.c: Likewise.
23610 * soft-fp/fixsfdi.c: Likewise.
23611 * soft-fp/fixsfsi.c: Likewise.
23612 * soft-fp/fixsfti.c: Likewise.
23613 * soft-fp/fixtfdi.c: Likewise.
23614 * soft-fp/fixtfsi.c: Likewise.
23615 * soft-fp/fixtfti.c: Likewise.
23616 * soft-fp/fixunsdfdi.c: Likewise.
23617 * soft-fp/fixunsdfsi.c: Likewise.
23618 * soft-fp/fixunsdfti.c: Likewise.
23619 * soft-fp/fixunssfdi.c: Likewise.
23620 * soft-fp/fixunssfsi.c: Likewise.
23621 * soft-fp/fixunssfti.c: Likewise.
23622 * soft-fp/fixunstfdi.c: Likewise.
23623 * soft-fp/fixunstfsi.c: Likewise.
23624 * soft-fp/fixunstfti.c: Likewise.
23625 * soft-fp/floatdidf.c: Likewise.
23626 * soft-fp/floatdisf.c: Likewise.
23627 * soft-fp/floatditf.c: Likewise.
23628 * soft-fp/floatsidf.c: Likewise.
23629 * soft-fp/floatsisf.c: Likewise.
23630 * soft-fp/floatsitf.c: Likewise.
23631 * soft-fp/floattidf.c: Likewise.
23632 * soft-fp/floattisf.c: Likewise.
23633 * soft-fp/floattitf.c: Likewise.
23634 * soft-fp/floatundidf.c: Likewise.
23635 * soft-fp/floatundisf.c: Likewise.
23636 * soft-fp/floatunditf.c: Likewise.
23637 * soft-fp/floatunsidf.c: Likewise.
23638 * soft-fp/floatunsisf.c: Likewise.
23639 * soft-fp/floatunsitf.c: Likewise.
23640 * soft-fp/floatuntidf.c: Likewise.
23641 * soft-fp/floatuntisf.c: Likewise.
23642 * soft-fp/floatuntitf.c: Likewise.
23643 * soft-fp/fmadf4.c: Likewise.
23644 * soft-fp/fmasf4.c: Likewise.
23645 * soft-fp/fmatf4.c: Likewise.
23646 * soft-fp/gedf2.c: Likewise.
23647 * soft-fp/gesf2.c: Likewise.
23648 * soft-fp/getf2.c: Likewise.
23649 * soft-fp/ledf2.c: Likewise.
23650 * soft-fp/lesf2.c: Likewise.
23651 * soft-fp/letf2.c: Likewise.
23652 * soft-fp/muldf3.c: Likewise.
23653 * soft-fp/mulsf3.c: Likewise.
23654 * soft-fp/multf3.c: Likewise.
23655 * soft-fp/negdf2.c: Likewise.
23656 * soft-fp/negsf2.c: Likewise.
23657 * soft-fp/negtf2.c: Likewise.
23658 * soft-fp/op-1.h: Likewise.
23659 * soft-fp/op-2.h: Likewise.
23660 * soft-fp/op-4.h: Likewise.
23661 * soft-fp/op-8.h: Likewise.
23662 * soft-fp/op-common.h: Likewise.
23663 * soft-fp/quad.h: Likewise.
23664 * soft-fp/single.h: Likewise.
23665 * soft-fp/soft-fp.h: Likewise.
23666 * soft-fp/sqrtdf2.c: Likewise.
23667 * soft-fp/sqrtsf2.c: Likewise.
23668 * soft-fp/sqrttf2.c: Likewise.
23669 * soft-fp/subdf3.c: Likewise.
23670 * soft-fp/subsf3.c: Likewise.
23671 * soft-fp/subtf3.c: Likewise.
23672 * soft-fp/truncdfsf2.c: Likewise.
23673 * soft-fp/trunctfdf2.c: Likewise.
23674 * soft-fp/trunctfsf2.c: Likewise.
23675 * soft-fp/trunctfxf2.c: Likewise.
23676 * soft-fp/unorddf2.c: Likewise.
23677 * soft-fp/unordsf2.c: Likewise.
23678 * soft-fp/unordtf2.c: Likewise.
23680 2013-10-15 Joseph Myers <joseph@codesourcery.com>
23682 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23683 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23685 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
23687 * elf/dl-libc.c: Clear initfini list after freeing.
23689 2013-10-14 Joseph Myers <joseph@codesourcery.com>
23691 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23692 * soft-fp/addsf3.c: Likewise.
23693 * soft-fp/addtf3.c: Likewise.
23694 * soft-fp/divdf3.c: Likewise.
23695 * soft-fp/divsf3.c: Likewise.
23696 * soft-fp/divtf3.c: Likewise.
23697 * soft-fp/double.h: Likewise.
23698 * soft-fp/eqdf2.c: Likewise.
23699 * soft-fp/eqsf2.c: Likewise.
23700 * soft-fp/eqtf2.c: Likewise.
23701 * soft-fp/extenddftf2.c: Likewise.
23702 * soft-fp/extended.h: Likewise.
23703 * soft-fp/extendsfdf2.c: Likewise.
23704 * soft-fp/extendsftf2.c: Likewise.
23705 * soft-fp/extendxftf2.c: Likewise.
23706 * soft-fp/fixdfdi.c: Likewise.
23707 * soft-fp/fixdfsi.c: Likewise.
23708 * soft-fp/fixdfti.c: Likewise.
23709 * soft-fp/fixsfdi.c: Likewise.
23710 * soft-fp/fixsfsi.c: Likewise.
23711 * soft-fp/fixsfti.c: Likewise.
23712 * soft-fp/fixtfdi.c: Likewise.
23713 * soft-fp/fixtfsi.c: Likewise.
23714 * soft-fp/fixtfti.c: Likewise.
23715 * soft-fp/fixunsdfdi.c: Likewise.
23716 * soft-fp/fixunsdfsi.c: Likewise.
23717 * soft-fp/fixunsdfti.c: Likewise.
23718 * soft-fp/fixunssfdi.c: Likewise.
23719 * soft-fp/fixunssfsi.c: Likewise.
23720 * soft-fp/fixunssfti.c: Likewise.
23721 * soft-fp/fixunstfdi.c: Likewise.
23722 * soft-fp/fixunstfsi.c: Likewise.
23723 * soft-fp/fixunstfti.c: Likewise.
23724 * soft-fp/floatdidf.c: Likewise.
23725 * soft-fp/floatdisf.c: Likewise.
23726 * soft-fp/floatditf.c: Likewise.
23727 * soft-fp/floatsidf.c: Likewise.
23728 * soft-fp/floatsisf.c: Likewise.
23729 * soft-fp/floatsitf.c: Likewise.
23730 * soft-fp/floattidf.c: Likewise.
23731 * soft-fp/floattisf.c: Likewise.
23732 * soft-fp/floattitf.c: Likewise.
23733 * soft-fp/floatundidf.c: Likewise.
23734 * soft-fp/floatundisf.c: Likewise.
23735 * soft-fp/floatunsidf.c: Likewise.
23736 * soft-fp/floatunsisf.c: Likewise.
23737 * soft-fp/floatuntidf.c: Likewise.
23738 * soft-fp/floatuntisf.c: Likewise.
23739 * soft-fp/floatuntitf.c: Likewise.
23740 * soft-fp/fmadf4.c: Likewise.
23741 * soft-fp/fmasf4.c: Likewise.
23742 * soft-fp/fmatf4.c: Likewise.
23743 * soft-fp/gedf2.c: Likewise.
23744 * soft-fp/gesf2.c: Likewise.
23745 * soft-fp/getf2.c: Likewise.
23746 * soft-fp/ledf2.c: Likewise.
23747 * soft-fp/lesf2.c: Likewise.
23748 * soft-fp/letf2.c: Likewise.
23749 * soft-fp/muldf3.c: Likewise.
23750 * soft-fp/mulsf3.c: Likewise.
23751 * soft-fp/multf3.c: Likewise.
23752 * soft-fp/negdf2.c: Likewise.
23753 * soft-fp/negsf2.c: Likewise.
23754 * soft-fp/negtf2.c: Likewise.
23755 * soft-fp/op-1.h: Likewise.
23756 * soft-fp/op-2.h: Likewise.
23757 * soft-fp/op-4.h: Likewise.
23758 * soft-fp/op-8.h: Likewise.
23759 * soft-fp/op-common.h: Likewise.
23760 * soft-fp/quad.h: Likewise.
23761 * soft-fp/single.h: Likewise.
23762 * soft-fp/soft-fp.h: Likewise.
23763 * soft-fp/sqrtdf2.c: Likewise.
23764 * soft-fp/sqrtsf2.c: Likewise.
23765 * soft-fp/sqrttf2.c: Likewise.
23766 * soft-fp/subdf3.c: Likewise.
23767 * soft-fp/subsf3.c: Likewise.
23768 * soft-fp/subtf3.c: Likewise.
23769 * soft-fp/truncdfsf2.c: Likewise.
23770 * soft-fp/trunctfdf2.c: Likewise.
23771 * soft-fp/trunctfsf2.c: Likewise.
23772 * soft-fp/trunctfxf2.c: Likewise.
23773 * soft-fp/unorddf2.c: Likewise.
23774 * soft-fp/unordsf2.c: Likewise.
23775 * soft-fp/unordtf2.c: Likewise.
23777 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
23780 * misc/error.c (error_tail): Fix possible buffer overflow.
23782 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23785 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23788 2013-10-14 P. J. McDermott <pj@pehjota.net>
23791 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23792 testing pipefail option.
23794 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23796 * soft-fp/double.h: Indent preprocessor directives inside #if.
23797 * soft-fp/extended.h: Likewise.
23798 * soft-fp/op-2.h: Likewise.
23799 * soft-fp/op-4.h: Likewise.
23800 * soft-fp/op-common.h: Likewise.
23801 * soft-fp/quad.h: Likewise.
23802 * soft-fp/single.h: Likewise.
23803 * soft-fp/soft-fp.h: Likewise.
23805 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23807 * iconv/iconv_prog.c: Fix typos.
23808 * stdio-common/psiginfo-data.h: Likewise.
23810 2013-10-12 Reuben Thomas <rrt@sc3d.org>
23813 * locale/setlocale.c: Fix typo.
23815 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23818 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23819 signaling NaN arguments.
23820 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23821 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23824 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23825 unordered operands.
23826 * soft-fp/gesf2.c (__gesf2): Likewise.
23827 * soft-fp/getf2.c (__getf2): Likewise.
23828 * soft-fp/ledf2.c (__ledf2): Likewise.
23829 * soft-fp/lesf2.c (__lesf2): Likewise.
23830 * soft-fp/letf2.c (__letf2): Likewise.
23832 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23833 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23834 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23835 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23836 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23837 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23838 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23839 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23840 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23841 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23842 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23843 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23844 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23845 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23846 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23847 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23848 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23849 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23850 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23851 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23852 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23853 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23854 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23855 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23856 * soft-fp/floattidf.c (__floattidf): Likewise.
23857 * soft-fp/floattisf.c (__floattisf): Likewise.
23858 * soft-fp/floattitf.c (__floattitf): Likewise.
23859 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23860 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23861 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23862 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23863 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23864 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23865 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23866 * soft-fp/gesf2.c (__gesf2): Likewise.
23867 * soft-fp/getf2.c (__getf2): Likewise.
23868 * soft-fp/ledf2.c (__ledf2): Likewise.
23869 * soft-fp/lesf2.c (__lesf2): Likewise.
23870 * soft-fp/letf2.c (__letf2): Likewise.
23872 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23873 Undefine and redefine.
23874 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23875 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23876 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23877 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23878 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23879 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23880 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23881 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23882 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23883 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23884 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23885 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23886 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23887 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23888 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23891 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23892 without decrementing exponent if mantissa >= that for the
23893 denominator, not >.
23894 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23895 denominator, not >. Decrement exponent in < case instead of
23896 incrementing in >= case.
23897 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23898 without decrementing exponent if mantissa >= that for the
23899 denominator, not >.
23901 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23902 computing saturated result for unsigned overflow.
23904 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23905 Jeff Law <law@redhat.com>
23907 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23908 (atan2Mp): Add systemtap probe marker.
23909 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23910 (__ieee754_log): Add systemtap probe marker.
23911 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23912 (atanMp): Add systemtap probe marker.
23913 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23914 (tanMp): Add systemtap probe marker.
23915 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23916 (__slowexp): Add systemtap probe marker.
23917 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23918 (__slowpow): Add systemtap probe marker.
23919 * manual/probes.texi: Document probes.
23921 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
23924 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23926 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23928 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23929 written to buffer but not flushed.
23930 * libio/iofwrite_u.c: Likewise.
23931 * libio/iopadn.c: Return bytes returned even if EOF was
23933 * libio/iowpadn.c: Likewise.
23934 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23935 if _IO_padn does not write the whole buffer.
23936 [!COMPILE_WPRINTF] (PAD): Likewise.
23938 2013-10-10 David S. Miller <davem@davemloft.net>
23940 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23943 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23945 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23946 instead of FSF address.
23947 * soft-fp/fixdfti.c: Likewise.
23948 * soft-fp/fixsfti.c: Likewise.
23949 * soft-fp/fixtfti.c: Likewise.
23950 * soft-fp/fixunsdfti.c: Likewise.
23951 * soft-fp/fixunssfti.c: Likewise.
23952 * soft-fp/fixunstfti.c: Likewise.
23953 * soft-fp/floattidf.c: Likewise.
23954 * soft-fp/floattisf.c: Likewise.
23955 * soft-fp/floattitf.c: Likewise.
23956 * soft-fp/floatuntidf.c: Likewise.
23957 * soft-fp/floatuntisf.c: Likewise.
23958 * soft-fp/floatuntitf.c: Likewise.
23959 * soft-fp/trunctfxf2.c: Likewise.
23961 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23962 * soft-fp/fixdfti.c: Likewise.
23963 * soft-fp/fixsfti.c: Likewise.
23964 * soft-fp/fixtfti.c: Likewise.
23965 * soft-fp/fixunsdfti.c: Likewise.
23966 * soft-fp/fixunssfti.c: Likewise.
23967 * soft-fp/fixunstfti.c: Likewise.
23968 * soft-fp/floattidf.c: Likewise.
23969 * soft-fp/floattisf.c: Likewise.
23970 * soft-fp/floattitf.c: Likewise.
23971 * soft-fp/floatuntidf.c: Likewise.
23972 * soft-fp/floatuntisf.c: Likewise.
23973 * soft-fp/floatuntitf.c: Likewise.
23974 * soft-fp/trunctfxf2.c: Likewise.
23976 2013-10-10 David S. Miller <davem@davemloft.net>
23978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23980 2013-10-10 Joseph Myers <joseph@codsourcery.com>
23982 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23983 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23984 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23985 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23986 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23987 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23988 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23990 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23991 for NaNs before doing comparisons on argument.
23992 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23995 2013-10-10 Will Newton <will.newton@linaro.org>
23997 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23998 passed to _int_memalign does not overflow.
24000 2013-10-10 Torvald Riegel <triegel@redhat.com>
24002 * scripts/bench.pl: Add include-sources directive.
24003 * benchtests/README: Update documentation.
24005 2013-10-10 Joseph Myers <joseph@codesourcery.com>
24007 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24008 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24009 instead of FP_INIT_ROUNDMODE.
24010 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24011 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24014 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24015 copy class of input value.
24016 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24017 not handle exceptions.
24018 * soft-fp/negsf2.c (__negsf2): Likewise.
24019 * soft-fp/negtf2.c (__negtf2): Likewise.
24020 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24022 2013-10-09 Joseph Myers <joseph@codesourcery.com>
24024 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24025 semicolon. From Linux kernel.
24027 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24029 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24031 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24034 * manual/socket.texi: Added statement about buffer
24035 for gethostbyname2_r.
24037 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
24039 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24040 Use .p2align directive instead, throughout.
24041 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24042 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24043 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24044 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24045 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24046 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24047 * sysdeps/x86_64/strchr.S: Likewise.
24048 * sysdeps/x86_64/strrchr.S: Likewise.
24050 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24052 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24054 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24056 * sysdeps/generic/math_private.h (__mpsin1): Remove
24058 (__mpcos1): Likewise.
24059 (__mpsin): New argument __range_reduce.
24060 (__mpcos): Likewise.
24061 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24062 (slow): Use __mpsin and __mpcos.
24066 (sloww1): Likewise.
24067 (sloww2): Likewise.
24068 (bsloww): Likewise.
24069 (bsloww1): Likewise.
24070 (bsloww2): Likewise.
24071 (cslow2): Likewise.
24072 (csloww): Likewise.
24073 (csloww1): Likewise.
24074 (csloww2): Likewise.
24075 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24076 range_reduce. Merge in __mpsin1.
24077 (__mpcos): Likewise.
24078 (__mpsin1): Remove.
24079 (__mpcos1): Likewise.
24081 2013-10-07 Joseph Myers <joseph@codesourcery.com>
24083 * locale/loadlocale.c (_nl_intern_locale_data): Use
24085 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24086 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24087 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24088 obstack data is appropriately aligned.
24089 (obstack_int32_grow_fast): Likewise.
24090 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24091 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24092 (add_locale_uint32_array): Likewise.
24094 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24096 * benchtests/Makefile: Remove ARGLIST and RET variables.
24097 ($(objpfx)bench-%.c): Pass only function name to the script.
24098 * benchtests/README: Update documentation.
24099 * benchtests/acos-inputs: Add new directives.
24100 * benchtests/acosh-inputs: Likewise.
24101 * benchtests/asin-inputs: Likewise.
24102 * benchtests/asinh-inputs: Likewise.
24103 * benchtests/atan-inputs: Likewise.
24104 * benchtests/atanh-inputs: Likewise.
24105 * benchtests/cos-inputs: Likewise.
24106 * benchtests/cosh-inputs: Likewise.
24107 * benchtests/exp-inputs: Likewise.
24108 * benchtests/log-inputs: Likewise.
24109 * benchtests/pow-inputs: Likewise.
24110 * benchtests/rint-inputs: Likewise.
24111 * benchtests/sin-inputs: Likewise.
24112 * benchtests/sinh-inputs: Likewise.
24113 * benchtests/tan-inputs: Likewise.
24114 * benchtests/tanh-inputs: Likewise.
24115 * scripts/bench.pl: Add support for new directives.
24117 2013-10-07 Alan Modra <amodra@gmail.com>
24119 * README: Fix careless merge.
24121 2013-10-05 Alan Modra <amodra@gmail.com>
24123 * NEWS: Mention powerpc64le support and bugs fixed.
24124 * README: Both big-endian and little-endian powerpc64 supported.
24126 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24128 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24129 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24130 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24131 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24133 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24135 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24138 2013-10-04 Joseph Myers <joseph@codesourcery.com>
24140 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24141 Move -mhard-float appending from
24142 ports/sysdeps/powerpc/powerpc32/Makefile.
24143 [$(with-fp) = yes] (ASFLAGS): Likewise.
24144 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24145 * sysdeps/powerpc/nofpu: Move directory from
24146 ports/sysdeps/powerpc/nofpu.
24147 * sysdeps/powerpc/soft-fp: Move directory from
24148 ports/sysdeps/powerpc/soft-fp.
24149 * sysdeps/powerpc/powerpc32/405: Move directory from
24150 ports/sysdeps/powerpc/powerpc32/405.
24151 * sysdeps/powerpc/powerpc32/440: Move directory from
24152 ports/sysdeps/powerpc/powerpc32/440.
24153 * sysdeps/powerpc/powerpc32/464: Move directory from
24154 ports/sysdeps/powerpc/powerpc32/464.
24155 * sysdeps/powerpc/powerpc32/476: Move directory from
24156 ports/sysdeps/powerpc/powerpc32/476.
24157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24158 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24160 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24162 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24164 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24166 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24167 * README: Update for powerpc-*-linux-gnu software floating point
24170 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24171 case to powerpc/powerpc32*.
24172 * sysdeps/unix/sysv/linux/configure: Regenerated.
24174 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24175 (_FPU_MASK_OM): Define as 0x04.
24176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24179 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24181 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24184 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24187 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24190 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24191 and setcontext_e500.
24193 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24195 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24197 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24199 * manual/threads.texi (Default Thread Attributes): Fix typo.
24201 2013-10-04 Will Newton <will.newton@linaro.org>
24203 * malloc/Makefile: Add tst-memalign.
24204 * malloc/tst-memalign.c: New file.
24206 * malloc/tst-posix_memalign.c: Add comments.
24207 (do_test): Add comments and call free on all potentially
24208 allocated pointers. Add space after cast.
24210 * malloc/tst-pvalloc.c: Add comments.
24211 (do_test): Add comments and call free on all potentially
24212 allocated pointers. Remove duplicate check for NULL pointer.
24213 Add space after cast.
24215 * malloc/tst-valloc.c: Add comments.
24216 (do_test): Add comments and call free on all potentially
24217 allocated pointers. Remove duplicate check for NULL pointer.
24218 Add space after cast.
24220 2013-10-04 Alan Modra <amodra@gmail.com>
24222 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24223 Use stdint types in rather than __attribute__((mode())).
24224 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24226 2013-10-04 Alan Modra <amodra@gmail.com>
24228 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24229 Correct handling of unaligned relocs for little-endian.
24230 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24232 2013-10-04 Alan Modra <amodra@gmail.com>
24234 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24235 * configure: Regenerate.
24236 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24237 * shlib-versions: Likewise.
24239 2013-10-04 Alan Modra <amodra@gmail.com>
24241 * string/tester.c (test_memrchr): Increment reported test cycle.
24243 2013-10-04 Alan Modra <amodra@gmail.com>
24245 * string/test-memcpy.c (do_one_test): When reporting errors, print
24246 string address and don't overrun end of string.
24248 2013-10-04 Alan Modra <amodra@gmail.com>
24250 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24251 insrdi. Make better use of reg selection to speed exit slightly.
24252 Schedule entry path a little better. Remove useless "are we done"
24253 checks on entry to main loop. Handle wrapping around zero address.
24254 Correct main loop count. Handle single left-over word from main
24255 loop inline rather than by using loop_small. Remove extra word
24256 case in loop_small caused by wrong loop count. Add little-endian
24258 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24259 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24261 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24262 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24263 support. Avoid rlwimi.
24264 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24266 2013-10-04 Alan Modra <amodra@gmail.com>
24268 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24269 insrdi. Formatting.
24270 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24271 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24272 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24273 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24274 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24275 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24277 2013-10-04 Alan Modra <amodra@gmail.com>
24279 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24280 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24281 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24282 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24283 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24284 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24285 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24286 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24287 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24288 use of regs. Use power7 mtocrf. Tidy function tails.
24290 2013-10-04 Alan Modra <amodra@gmail.com>
24292 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24293 Formatting. Consistently use rXXX register defines or rN defines.
24294 Use early exit labels that avoid restoring unused non-volatile regs.
24295 Make cr field use more consistent with rWORDn compares. Rename
24296 regs used as shift registers for unaligned loop, using rN defines
24297 for short lifetime/multiple use regs.
24298 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24299 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24300 addi 1,1,64 to pop stack frame. Simplify return value code.
24301 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24303 2013-10-04 Alan Modra <amodra@gmail.com>
24305 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24306 support. Correct typos, formatting. Optimize tail. Use insrdi
24307 rather than rlwimi.
24308 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24309 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24310 little-endian support. Correct typos.
24311 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24312 rather than rlwimi.
24313 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24314 in loop and entry code to keep "and." results.
24315 (strchr): Add little-endian support. Comment. Move cntlzd
24317 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24319 2013-10-04 Alan Modra <amodra@gmail.com>
24321 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24322 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24323 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24324 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24326 2013-10-04 Alan Modra <amodra@gmail.com>
24328 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24329 (rTMP): Define as r11.
24330 (strcmp): Add little-endian support. Optimise tail.
24331 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24332 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24333 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24334 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24335 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24336 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24337 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24339 2013-10-04 Alan Modra <amodra@gmail.com>
24341 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24342 little-endian support. Remove unnecessary "are we done" tests.
24343 Handle "s" wrapping around zero and extremely large "size".
24344 Correct main loop count. Handle single left-over word from main
24345 loop inline rather than by using small_loop. Correct comments.
24346 Delete "zero" tail, use "end_max" instead.
24347 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24349 2013-10-04 Alan Modra <amodra@gmail.com>
24351 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24352 support. Don't branch over align.
24353 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24354 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24355 support. Rearrange tmp reg use to suit. Comment.
24356 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24358 2013-10-04 Alan Modra <amodra@gmail.com>
24360 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24362 2013-10-04 Alan Modra <amodra@gmail.com>
24364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24365 conditional form of branch and link when obtaining pc.
24366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24368 2013-10-04 Alan Modra <amodra@gmail.com>
24370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24375 2013-10-04 Alan Modra <amodra@gmail.com>
24377 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24378 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24379 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24380 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24381 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24382 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24383 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24384 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24385 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24386 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24388 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24389 Alistair Popple <alistair@ozlabs.au.ibm.com>
24390 Alan Modra <amodra@gmail.com>
24393 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24394 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24395 _dl_hwcap access for little-endian.
24396 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24397 destroy vmx regs when saving unaligned.
24398 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24399 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24400 destroy vmx regs when saving unaligned.
24402 2013-10-04 Alan Modra <amodra@gmail.com>
24404 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24405 Don't use a union to pack hi/low value.
24407 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24409 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24411 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24412 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24413 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24414 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24415 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24417 2013-10-04 Alan Modra <amodra@gmail.com>
24419 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24420 constants to usual value for .cst8 section, and remove redundant
24422 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24423 constant for 0x1p52. Load little-endian words of double from
24424 correct stack offsets.
24426 2013-10-04 Alan Modra <amodra@gmail.com>
24428 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24429 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24430 words of double from correct stack offsets.
24431 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24432 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24433 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24434 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24435 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24436 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24437 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24438 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24439 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24440 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24441 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24442 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24443 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24444 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24445 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24446 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24447 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24449 2013-10-04 Alan Modra <amodra@gmail.com>
24451 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24452 64-bit int/double union.
24453 (_FPU_SETCW): Likewise.
24454 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24455 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24457 2013-10-04 Alan Modra <amodra@gmail.com>
24459 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24460 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24462 2013-10-04 Alan Modra <amodra@gmail.com>
24464 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24465 use vector int constants.
24466 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24468 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24470 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24471 array with long long.
24472 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24473 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24474 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24475 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24476 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24477 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24478 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24479 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24480 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24481 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24482 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24483 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24484 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24486 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24488 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24489 (__signbit): Likewise. Correct for little-endian.
24490 (__signbitl): Call __signbit.
24491 (lrint): Correct for little-endian.
24492 (lrintf): Call lrint.
24494 2013-10-04 Alan Modra <amodra@gmail.com>
24496 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24497 union 32-bit int array member with 64-bit int array.
24498 (t515, tm256): Double rather than long double.
24499 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24501 2013-10-04 Alan Modra <amodra@gmail.com>
24503 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24505 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24506 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24507 version of math_ldbl.h.
24509 2013-10-04 Alan Modra <amodra@gmail.com>
24511 [BZ #15734], [BZ #15735]
24512 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24513 all uses of ieee875 long double macros and unions. Simplify test
24514 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24515 ldbl_extract_mantissa value for ix,iy exponents. Properly
24516 normalize after ldbl_extract_mantissa, and don't add hidden bit
24517 already handled. Don't treat low word of ieee854 mantissa like
24518 low word of IBM long double and mask off bit when testing for
24520 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24521 all uses of ieee875 long double macros and unions. Simplify tests
24522 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24523 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24524 two1022, instead use their values. Recognise that tests for large
24525 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24526 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24527 Rewrite all uses of ieee875 long double macros and unions. Simplify
24528 test for 0.0L and nan. Correct negation.
24529 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24530 ieee875 long double macros and unions. Correct output for large
24531 magnitude x. Correct absolute value calculation.
24532 (__erfcl): Likewise.
24533 * math/libm-test.inc: Add tests for errors discovered in IBM long
24534 double versions of fmodl, remainderl, erfl and erfcl.
24536 2013-10-04 Alan Modra <amodra@gmail.com>
24538 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24539 all uses of ieee854 long double macros and unions. Simplify tests
24540 for long doubles that are fully specified by the high double.
24541 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24543 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24544 Remove dead code too.
24545 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24546 (__ieee754_ynl): Likewise.
24547 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24548 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24549 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24550 Remove dead code too.
24551 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24552 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24553 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24554 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24556 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24558 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24559 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24560 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24561 Comment on variable precision.
24562 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24563 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24565 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24566 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24567 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24568 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24569 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24571 2013-10-04 Alan Modra <amodra@gmail.com>
24573 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24574 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24575 all uses of ieee854 long double macros and unions.
24576 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24577 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24578 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24579 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24580 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24581 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24583 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24584 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24585 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24586 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24587 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24588 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24589 Simplify sign and nan test too.
24590 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24591 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24592 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24593 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24595 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24596 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24598 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24599 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24600 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24601 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24602 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24603 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24605 2013-10-04 Alan Modra <amodra@gmail.com>
24607 * stdio-common/printf_size.c (__printf_size): Don't use
24608 union ieee854_long_double in fpnum union.
24609 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24610 signbit macro to retrieve sign from long double.
24611 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24612 retrieve sign from long double.
24613 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24614 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24615 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24616 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24617 * math/test-misc.c (main): Don't use union ieee854_long_double.
24619 2013-10-04 Alan Modra <amodra@gmail.com>
24622 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24623 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24624 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24625 calculation. Remove unnecessary test for denormal exponent.
24626 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24627 Correct handling of denormals. Avoid undefined shift behaviour.
24628 Correct normalisation of low mantissa when low double is denormal.
24629 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24630 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24631 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24632 Correct normalisation of low mantissa. Test for overflow of high
24633 mantissa and normalise.
24634 (ldbl_nearbyint): Use more readable constant for two52.
24635 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24636 (__mpn_construct_long_double): Fix test for overflow of high
24637 mantissa and correct normalisation. Avoid undefined shift.
24639 2013-10-04 Alan Modra <amodra@gmail.com>
24641 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24642 (union ibm_extended_long_double): Define as an array of ieee754_double.
24643 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24644 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24645 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24646 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24647 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24648 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24649 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24650 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24651 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24652 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24653 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24655 2013-10-03 Joseph Myers <joseph@codesourcery.com>
24657 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24658 page size instead of calling getpagesize.
24660 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24661 (LOCFILE_ALIGN_MASK): Likewise.
24662 (LOCFILE_ALIGN_UP): Likewise.
24663 (LOCFILE_ALIGNED_P): Likewise.
24664 * locale/programs/ld-collate.c (collate_output): Use the new
24665 macros instead of __alignof__ (int32_t).
24666 * locale/weight.h (findidx): Likewise.
24668 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
24671 * manual/string.texi: Fix strncat and wcsncat.
24673 2013-10-03 Brooks Moses <bmoses@google.com>
24676 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24677 * Makerules: ...here, and adjust associated comments.
24679 2013-10-02 Will Newton <will.newton@linaro.org>
24681 * malloc/Makefile: Add tst-pvalloc.
24682 * malloc/tst-pvalloc.c: New file.
24684 2013-10-02 Will Newton <will.newton@linaro.org>
24686 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24687 improve test coverage.
24689 2013-10-02 Will Newton <will.newton@linaro.org>
24691 * malloc/Makefile: Add tst-posix_memalign.
24692 * malloc/tst-posix_memalign.c: New file.
24694 2013-10-01 Eric Blake <eblake@redhat.com>
24696 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24697 Use __THROWNL rather than __THROW on static functions.
24699 2013-09-30 Petr Machata <pmachata@redhat.com>
24701 * elf/elf.h (R_AARCH64_ABS16): New macro.
24702 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24703 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24704 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24705 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24706 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24707 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24708 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24709 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24710 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24711 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24712 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24713 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24714 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24715 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24716 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24717 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24718 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24719 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24720 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24721 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24722 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24723 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24724 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24725 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24726 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24727 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24728 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24729 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24730 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24731 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24732 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24733 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24734 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24735 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24736 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24737 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24738 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24739 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24740 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24741 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24742 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24743 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24744 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24745 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24746 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24747 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24748 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24749 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24750 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24751 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24752 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24753 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24754 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24755 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24756 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24757 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24758 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24759 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24760 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24761 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24762 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24763 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24764 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24765 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24766 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24767 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24768 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24769 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24770 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24771 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24772 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24773 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24774 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24775 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24776 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24777 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24778 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24779 (R_AARCH64_TLSDESC_LDR): Likewise.
24780 (R_AARCH64_TLSDESC_ADD): Likewise.
24781 (R_AARCH64_TLSDESC_CALL): Likewise.
24783 2013-09-30 Andreas Schwab <schwab@suse.de>
24786 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24787 the nss database lookup.
24788 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24791 2013-09-28 Mike Frysinger <vapier@gentoo.org>
24793 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24795 2013-09-28 P. J. McDermott <pj@pehjota.net>
24797 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24798 ${Bash-specific parameter/pattern/string} parameter expansion.
24799 * sysdeps/unix/make-syscalls.sh: Likewise.
24801 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24803 * sysdeps/sh/stackguard-macros.h: New file.
24805 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
24807 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24808 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24809 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24810 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24811 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24812 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24814 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24816 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24817 Fix thread ID register.
24819 2013-09-25 Joseph Myers <joseph@codesourcery.com>
24821 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24822 [POSIX || UNIX98]: Require rather than permitting all symbols from
24824 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24825 element of struct sched_param.
24826 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24827 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24828 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24829 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24832 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24834 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24835 argument calculation.
24837 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24839 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24841 [POSIX] (pthread_attr_t): Do not require type.
24842 [POSIX] (pthread_cond_t): Likewise.
24843 [POSIX] (pthread_condattr_t): Likewise.
24844 [POSIX] (pthread_key_t): Likewise.
24845 [POSIX] (pthread_mutex_t): Likewise.
24846 [POSIX] (pthread_mutexattr_t): Likewise.
24847 [POSIX] (pthread_once_t): Likewise.
24848 [POSIX] (pthread_t): Likewise.
24849 [POSIX-based standards] (pthread_atfork): Expect function.
24851 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24852 Richard Sandiford <richard@codesourcery.com>
24854 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24855 (swap_endianness_p): New extern variable.
24856 (set_big_endian): New inline function.
24857 (maybe_swap_uint32): Likewise.
24858 (maybe_swap_uint32_array): Likewise.
24859 (maybe_swap_uint32_obstack): Likewise.
24860 * locale/programs/locfile.c: Include <stdbool.h>.
24861 (swap_endianness_p): New variable.
24862 (add_locale_uint32): Call maybe_swap_uint32.
24863 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24864 (write_locale_data): Call maybe_swap_uint32_array.
24865 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24867 (obstack_int32_grow_fast): Likewise.
24868 (output_weightwc): Call maybe_swap_uint32_obstack.
24869 (collate_output): Likewise.
24870 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24871 (OPT_LITTLE_ENDIAN): Likewise.
24872 (options): Add --little-endian and --big-endian options.
24873 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24874 * locale/programs/locarchive.c: Include "locfile.h".
24878 (create_archive): Use the new macros to access fields of
24879 structures directly mapped from or written to locale archives.
24880 (oldlocrecentcmp): Likewise.
24881 (enlarge_archive): Likewise.
24882 (insert_name): Likewise.
24883 (add_alias): Likewise.
24884 (add_locale): Likewise.
24885 (delete_locales_from_archive): Likewise.
24886 (show_archive_content): Likewise.
24887 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24890 2013-09-24 Roland McGrath <roland@hack.frob.com>
24892 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24893 http://www.gnu.org/doc/freemanuals.texi.
24894 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24896 2013-09-24 Will Newton <will.newton@linaro.org>
24898 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24901 2013-09-23 Joseph Myers <joseph@codesourcery.com>
24903 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24906 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24908 * manual/threads.texi (POSIX Threads): Fix a typo.
24910 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24913 * string/tst-strcoll-overflow.c: New test case.
24914 * string/Makefile (xtests): Add tst-strcoll-overflow.
24915 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24916 cache if string sizes may cause integer overflow.
24919 * string/strcoll_l.c (coll_seq): New members rule, idx,
24920 save_idx and back_us.
24921 (get_next_seq_nocache): New function.
24922 (do_compare_nocache): New function.
24923 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24926 2013-09-23 Carlos O'Donell <carlos@redhat.com>
24929 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24930 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24931 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24934 * elf/Makefile (tests): Add tst-ptrguard1.
24935 (tests-static): Add tst-ptrguard1-static.
24936 (tst-ptrguard1-ARGS): Define.
24937 (tst-ptrguard1-static-ARGS): Define.
24938 * elf/tst-ptrguard1.c: New file.
24939 * elf/tst-ptrguard1-static.c: New file.
24940 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24941 * sysdeps/i386/stackguard-macros.h: Likewise.
24942 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24943 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24944 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24945 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24946 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24947 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24949 2013-09-23 Hector Marco <hecmargi@upv.es>
24950 Ismael Ripoll <iripoll@disca.upv.es>
24951 Carlos O'Donell <carlos@redhat.com>
24954 * sysdeps/generic/stackguard-macros.h: Define
24955 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24956 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24957 Define __pointer_chk_guard_local.
24958 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24959 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24961 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24964 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24966 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24968 * include/string.h (__ffs): Declare as hidden.
24969 * string/ffs.c (__ffs): Define as hidden.
24970 * sysdeps/i386/ffs.c (__ffs): Likewise.
24971 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24972 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24973 * sysdeps/s390/ffs.c (__ffs): Likewise.
24974 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24976 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
24978 * NEWS: Mention malloc probes.
24980 * malloc/arena.c (new_heap): New memory_heap_new probe.
24981 (grow_heap): New memory_heap_more probe.
24982 (shrink_heap): New memory_heap_less probe.
24983 (heap_trim): New memory_heap_free probe.
24984 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24985 (systrim): New memory_sbrk_less probe.
24986 * manual/probes.texi: Document them.
24988 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24989 * manual/probes.texi: Document it.
24991 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24992 (__libc_realloc): Add memory_realloc_retry probe.
24993 (__libc_memalign): Add memory_memalign_retry probe.
24994 (__libc_valloc): Add memory_valloc_retry probe.
24995 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24996 (__libc_calloc): Add memory_calloc_retry probe.
24997 * manual/probes.texi: Document them.
24999 * malloc/arena.c (get_free_list): Add probe
25000 memory_arena_reuse_free_list.
25001 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25002 and memory_arena_reuse.
25003 (arena_get2) [!PER_THREAD]: Likewise.
25004 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25005 memory_arena_reuse_realloc.
25006 * manual/probes.texi: Document them.
25008 * malloc/malloc.c (__libc_free): Add
25009 memory_mallopt_free_dyn_thresholds probe.
25010 (__libc_mallopt): Add multiple memory_mallopt probes.
25011 * manual/probes.texi: Document them.
25013 * malloc/malloc.c: Include stap-probe.h.
25014 (__libc_mallopt): Add memory_mallopt probe.
25015 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25016 * manual/probes.texi: New.
25017 * manual/Makefile (chapters): Add probes.
25018 * manual/threads.texi: Set next node.
25020 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
25022 [BZ #15963, #13985]
25023 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25024 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25025 Add `Chinese' to `nan' entry name.
25027 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25029 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25030 (POLYNOMIAL): Likewise.
25031 (TAYLOR_SINCOS): Likewise.
25032 (TAYLOR_SLOW): Likewise.
25033 (__sin): Use TAYLOR_SINCOS.
25035 (slow): Use TAYLOR_SLOW.
25037 (bsloww): Likewise.
25038 (csloww): Likewise.
25040 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25042 * stdlib/strtod_l.c: Fix buffer overrun.
25044 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25046 * benchtests/Makefile (bench): Add sincos.
25047 * benchtests/bench-sincos.c: New file.
25049 * math/libm-test.inc (cos_test_data): New test inputs.
25050 (sin_test_data): Likewise.
25052 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25058 (sloww1): Likewise.
25059 (sloww2): Likewise.
25060 (bsloww1): Likewise.
25061 (bsloww2): Likewise.
25062 (cslow2): Likewise.
25063 (csloww1): Likewise.
25064 (csloww2): Likewise.
25066 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25071 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25075 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25077 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25078 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25079 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25080 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25081 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25082 * elf/cache.c (print_entry): Handle the new cache flags.
25084 2013-09-18 Joseph Myers <joseph@codesourcery.com>
25085 Aldy Hernandez <aldyh@redhat.com>
25087 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25088 Change condition to [_SOFT_FLOAT].
25089 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25090 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25091 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25092 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25093 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25094 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25095 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25096 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25097 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25098 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25099 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25100 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25101 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25102 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25103 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25104 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25107 2013-09-18 Joseph Myers <joseph@codesourcery.com>
25109 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25110 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25111 (__longjmp): Use LOAD_GP to load saved GPRs.
25112 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25113 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25114 (__sigsetjmp): Use SAVE_GP to save GPRs.
25116 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25117 Do not append -msoft-float.
25118 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25120 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25122 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25124 2013-09-17 Joseph Myers <joseph@codesourcery.com>
25127 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25128 (_FPU_GETCW): Use initial "__" on variable and field names but not
25129 on macro parameter name.
25130 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25131 parentheses around reference to macro parameter.
25133 2013-09-13 Richard Sandiford <richard@codesourcery.com>
25135 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25137 (ctype_startup): Use uint32_t in cast and sizeof for
25140 2013-09-11 Jia Liu <proljc@gmail.com>
25142 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25144 [__FreeBSD__]: Likewise.
25146 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
25148 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25149 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25150 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25151 (strchr): Remove __strchr_sse42 ifunc selection.
25152 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25153 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25155 2013-09-11 Will Newton <will.newton@linaro.org>
25157 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25158 parameter to RES. Remove hardcoded 1000 value.
25159 * benchtests/bench-skeleton.c (main): Pass RES parameter
25160 to TIMING_INIT and multiply result by 1000.
25162 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25166 2013-09-11 Andreas Schwab <schwab@suse.de>
25168 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25170 (O_TMPFILE) [__USE_GNU]: Define.
25171 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25174 2013-09-11 Will Newton <will.newton@linaro.org>
25177 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25180 2013-09-11 Will Newton <will.newton@linaro.org>
25183 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25186 2013-09-11 Will Newton <will.newton@linaro.org>
25189 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25192 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
25194 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25195 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25196 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25197 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25198 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25200 2013-09-10 Allan McRae <allan@archlinux.org>
25203 * manual/arith.texi (Parsing of Floats): Clarify
25207 * manual/install.texi (Running make install): Mention
25209 * INSTALL: Regenerated.
25211 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25213 * csu/init-first.c (_init): Remove the !SHARED condition around
25214 FPU control word initialization.
25215 * elf/dl-support.c (_dl_fpu_control): New variable.
25216 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25217 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25218 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25219 * math/test-fpucw-static.c: New file.
25220 * math/test-fpucw-ieee.c: New file.
25221 * math/test-fpucw-ieee-static.c: New file.
25222 * math/Makefile (tests): Add `test-fpucw-ieee' and
25224 (tests-static): New variable.
25225 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25227 [($(build-shared),yes)]
25228 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25230 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25233 2013-09-09 Allan McRae <allan@archlinux.org>
25236 * manual/string.texi (Collation Functions): Fix typo in
25238 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25241 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25244 * libio/memstream.c (open_memstream): Fix memory leak.
25245 * libio/wmemstream.c (open_wmemstream): Likewise.
25248 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25250 2013-09-09 Will Newton <will.newton@linaro.org>
25252 * malloc/Makefile: Add tst-realloc to tests.
25253 * malloc/tst-realloc.c: New file.
25255 2013-09-09 Allan McRae <allan@archlinux.org>
25258 * COPYING: Update from GNU website to fix FSF address.
25259 * COPYING.LIB: Likewise.
25261 2013-09-06 David S. Miller <davem@davemloft.net>
25263 * po/zh_TW.po: Update Chinese (traditional) translation from
25264 translation project.
25266 2013-09-06 Richard Sandiford <richard@codesourcery.com>
25267 Joseph Myers <joseph@codesourcery.com>
25269 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25271 (obstack_chunk_alloc): New macro.
25272 (obstack_chunk_free): Likewise.
25273 (record_offset): New function.
25274 (init_locale_data): Likewise.
25275 (align_locale_data): Likewise.
25276 (add_locale_empty): Likewise.
25277 (add_locale_raw_data): Likewise.
25278 (add_locale_raw_obstack): Likewise.
25279 (add_locale_string): Likewise.
25280 (add_locale_wstring): Likewise.
25281 (add_locale_uint32): Likewise.
25282 (add_locale_uint32_array): Likewise.
25283 (add_locale_char): Likewise.
25284 (start_locale_structure): Likewise.
25285 (end_locale_structure): Likewise.
25286 (start_locale_prelude): Likewise.
25287 (end_locale_prelude): Likewise.
25288 (write_locale_data): Take locale_file structure rather than an
25290 * locale/programs/locfile.h: Include "obstack.h".
25291 (struct locale_file): Change to store locale file contents instead
25293 (init_locale_data): New prototype.
25294 (align_locale_data): Likewise.
25295 (add_locale_empty): Likewise.
25296 (add_locale_raw_data): Likewise.
25297 (add_locale_raw_obstack): Likewise.
25298 (add_locale_string): Likewise.
25299 (add_locale_wstring): Likewise.
25300 (add_locale_uint32): Likewise.
25301 (add_locale_uint32_array): Likewise.
25302 (add_locale_char): Likewise.
25303 (start_locale_structure): Likewise.
25304 (end_locale_structure): Likewise.
25305 (start_locale_prelude): Likewise.
25306 (end_locale_prelude): Likewise.
25307 (write_locale_data): Update prototype.
25308 * locale/programs/3level.h (struct TABLE): Remove result field.
25309 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25310 Use new locale_file interface.
25311 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25312 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25313 * locale/programs/ld-address.c (address_output): Use new
25314 locale_file interface.
25315 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25317 (collate_finish): Don't call collseq_table_finalize.
25318 (collate_output): Use new locale_file interface.
25319 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25321 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25322 (TABLE): Move defines earlier in file.
25323 (ELEMENT): Likewise.
25324 (DEFAULT): Likewise.
25325 (wctrans_table_add): Move macro and inline function earlier in
25327 (struct wctype_table): Move type earlier in file.
25328 (add_locale_wctype_table): New static prototype.
25329 (struct locale_ctype_t): Use logical types instead of struct iovec
25330 pointers for members.
25331 (ctype_output): Use new locale_file interface.
25332 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25333 new locale_file interface.
25334 (allocate_arrays): Update for use of new locale_file interface.
25335 * locale/programs/ld-identification.c (identification_output): Use
25336 new locale_file interface.
25337 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25338 * locale/programs/ld-messages.c (messages_output): Likewise.
25339 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25340 * locale/programs/ld-name.c (name_output): Likewise.
25341 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25342 * locale/programs/ld-paper.c (paper_output): Likewise.
25343 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25344 * locale/programs/ld-time.c (time_output): Likewise.
25346 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25348 * benchtests/Makefile: Add memrchr benchmark.
25349 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25350 benchmark as memrchr.
25351 * benchtests/bench-memrchr-ifunc.c: New file.
25352 * benchtests/bench-memrchr.c: New file.
25354 2013-09-06 Will Newton <will.newton@linaro.org>
25356 * benchtests/Makefile (string-bench): Add memcpy.
25358 2013-09-05 Carlos O'Donell <carlos@redhat.com>
25359 Cong Wang <amwang@redhat.com>
25362 * sysdeps/unix/sysv/linux/bits/in.h
25363 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25364 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25365 before __USE_KERNEL_IPV6_DEFS uses.
25366 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25368 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25369 sockaddr_in6, or ipv6_mreq.
25371 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25373 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25374 memory access for final bytes in some large inputs.
25375 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25377 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25379 * string/test-memrchr.c: New file.
25380 * string/test-memrchr-ifunc.c: New file.
25381 * string/Makefile: Add new memrchr testcase.
25383 2013-09-05 Mike Frysinger <vapier@gentoo.org>
25385 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25386 fanotify_init returns EPERM.
25388 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25390 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25392 (top level): Treat second token from macro or constant entries for
25393 allowed headers as allowed.
25394 * include/complex.h: Condition internal declarations on
25396 * include/fenv.h: Condition include of <stdbool.h> and internal
25397 declarations on [!_ISOMAC].
25399 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25402 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25404 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25406 * configure.in (--enable-versioning): Remove configure option.
25407 (libc_cv_asm_symver_directive): Remove configure test.
25408 (libc_cv_ld_version_script_option): Likewise.
25409 (VERSIONING): Remove variable and AC_SUBST.
25410 (DO_VERSIONING): Remove AC_DEFINE.
25411 * configure: Regenerated.
25412 * config.h.in (DO_VERSIONING): Remove macro.
25413 * Makerules [$(versioning) = yes]: Change conditionals to
25414 [$(build-shared) = yes].
25415 * config.make.in (versioning): Remove variable.
25416 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25417 [$(build-shared) = yes].
25418 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25419 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25420 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25421 [$(build-shared) = yes].
25422 * extra-lib.mk [$(versioning) = yes]: Likewise.
25423 * hurd/Makefile [$(versioning) = yes]: Likewise.
25424 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25426 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25428 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25429 [SHARED && !NO_HIDDEN].
25430 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25432 [SHARED && DO_VERSIONING]: Likewise..
25433 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25434 [$(build-shared) = yes].
25435 * manual/install.texi (--disable-versioning): Remove
25437 * INSTALL: Regenerated.
25438 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25440 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25441 [$(build-shared) = yes].
25442 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25443 * sysdeps/i386/i686/multiarch/strstr-c.c
25444 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25445 [SHARED && !NO_HIDDEN].
25446 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25447 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25448 * sysdeps/powerpc/powerpc32/dl-machine.c
25449 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25450 * sysdeps/powerpc/powerpc32/sysdep.h
25451 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25452 to [SHARED && PIC && !NO_HIDDEN].
25453 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25454 conditional to [SHARED].
25456 2013-09-04 Will Newton <will.newton@linaro.org>
25458 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25459 * benchtests/bench-string.h: Include bench-timing.h instead
25460 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25461 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25462 call to HP_TIMING_DIFF_INIT.
25463 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25464 instead of hp-timing.h macros.
25465 * benchtests/bench-memchr.c: Likewise.
25466 * benchtests/bench-memcmp.c: Likewise.
25467 * benchtests/bench-memcpy.c: Likewise.
25468 * benchtests/bench-memmem.c: Likewise.
25469 * benchtests/bench-memmove.c: Likewise.
25470 * benchtests/bench-memset.c: Likewise.
25471 * benchtests/bench-rawmemchr.c: Likewise.
25472 * benchtests/bench-strcasecmp.c: Likewise.
25473 * benchtests/bench-strcasestr.c: Likewise.
25474 * benchtests/bench-strcat.c: Likewise.
25475 * benchtests/bench-strchr.c: Likewise.
25476 * benchtests/bench-strcmp.c: Likewise.
25477 * benchtests/bench-strcpy.c: Likewise.
25478 * benchtests/bench-strcpy_chk.c: Likewise.
25479 * benchtests/bench-strlen.c: Likewise.
25480 * benchtests/bench-strncasecmp.c: Likewise.
25481 * benchtests/bench-strncat.c: Likewise.
25482 * benchtests/bench-strncmp.c: Likewise.
25483 * benchtests/bench-strncpy.c: Likewise.
25484 * benchtests/bench-strnlen.c: Likewise.
25485 * benchtests/bench-strpbrk.c: Likewise.
25486 * benchtests/bench-strrchr.c: Likewise.
25487 * benchtests/bench-strspn.c: Likewise.
25488 * benchtests/bench-strstr.c: Likewise.
25490 2013-09-04 Will Newton <will.newton@linaro.org>
25492 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25494 2013-09-03 Joseph Myers <joseph@codesourcery.com>
25497 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25498 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25499 * math/libm-test.inc (lgamma_test_data): Add more tests.
25500 * sysdeps/i386/fpu/libm-test-ulps: Update.
25501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25503 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
25505 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25506 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25509 Add strcmp-sse2-unaligned
25510 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25512 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25514 * Versions.def (libc): Add GLIBC_2.19.
25516 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25518 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25519 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25521 2013-09-02 Joseph Myers <joseph@codesourcery.com>
25524 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25525 intermediate calculations in recurrence.
25526 (__ieee754_ynf): Likewise.
25527 * math/libm-test.inc (jn_test_data): Do not allow spurious
25528 underflow exception. Add more tests.
25529 (yn_test_data): Add more tests.
25530 * sysdeps/i386/fpu/libm-test-ulps: Update.
25531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25533 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
25535 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25537 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25539 * csu/init-first.c: Fix then/than typos.
25540 * locale/programs/ld-collate.c: Likewise.
25541 * locale/programs/linereader.h: Likewise.
25542 * manual/charset.texi: Likewise.
25543 * manual/filesys.texi: Likewise.
25544 * manual/stdio.texi: Likewise.
25545 * manual/string.texi: Likewise.
25546 * stdlib/fmtmsg.c: Likewise.
25547 * sysdeps/i386/stpncpy.S: Likewise.
25548 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25549 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25550 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25551 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25553 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25555 * elf/dl-open.c: Fix typos.
25556 * iconvdata/gbbig5.c: Likewise.
25557 * iconvdata/iso-2022-jp.c: Likewise.
25558 * iconv/gconv_int.h: Likewise.
25559 * iconv/loop.c: Likewise.
25560 * nis/rpcsvc/nis.h: Likewise.
25561 * resolv/ns_name.c: Likewise.
25562 * stdio-common/vfscanf.c: Likewise.
25563 * streams/stropts.h: Likewise.
25564 * sunrpc/rpc_thread.c: Likewise.
25565 * sysdeps/i386/strpbrk.S: Likewise.
25566 * sysdeps/ieee754/k_standard.c: Likewise.
25567 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25568 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25569 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25570 * sysdeps/mach/hurd/profil.c: Likewise.
25571 * sysdeps/s390/dl-procinfo.h: Likewise.
25572 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25573 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25574 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25575 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25576 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25578 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25580 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25581 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25583 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25585 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25586 aix specific files.
25587 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25588 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25589 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25590 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25591 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25592 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25593 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25594 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25596 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25597 Roland McGrath <roland@hack.frob.com>
25599 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25600 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25602 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25604 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25605 __executable_start symbol instead of _start.
25607 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25609 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25610 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25612 * sysdeps/gnu/ldsodefs.h: ... this new file.
25614 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25615 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25616 instead of ELFOSABI_LINUX.
25618 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25619 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25620 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25621 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25623 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25624 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25625 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25627 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25628 (ibm_extended_long_double): Add ieee_nan member.
25629 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25630 (do_test): New function.
25632 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25634 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25635 functions, renamed from truncdfsf_test, trunctfsf_test,
25637 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25639 (do_test): Run all these.
25641 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25643 * argp/argp-help.c: Fix typos.
25644 * argp/argp-parse.c: Likewise.
25645 * debug/backtracesyms.c: Likewise.
25646 * elf/elf.h: Likewise.
25647 * malloc/malloc.c: Likewise.
25648 * nis/nis_print.c: Likewise.
25649 * resolv/res_comp.c: Likewise.
25650 * stdlib/stdlib.h: Likewise.
25651 * sunrpc/clnt_tcp.c: Likewise.
25652 * sunrpc/clnt_udp.c: Likewise.
25653 * sunrpc/clnt_unix.c: Likewise.
25654 * sysdeps/unix/bsd/ptsname.c: Likewise.
25655 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25656 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25663 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25665 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25667 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25670 2013-08-27 Mike Frysinger <vapier@gentoo.org>
25673 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25674 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25675 ($(objpfx)bug-dl-leaf): New rule.
25676 ($(objpfx)bug-dl-leaf.so): Likewise.
25677 ($(objpfx)bug-dl-leaf.out): Likewise.
25678 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25679 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25680 * dlfcn/bug-dl-leaf.c: New test.
25681 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25682 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25683 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25684 (dlclose): Likewise.
25685 (dlmopen): Likewise.
25687 2013-08-27 Roland McGrath <roland@hack.frob.com>
25689 * include/netdb.h [!_ISOMAC]:
25690 Don't include <tls.h>.
25691 (h_errno, __libc_h_errno): Move declaration and macros out of
25694 * include/resolv.h [_RESOLV_H_]:
25695 Don't include <tls.h>.
25696 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25697 * resolv/res_libc.c: Don't include <tls.h>.
25698 (_res): Use __attribute__ ((nocommon)) in place of
25699 __attribute__ ((section (".bss"))).
25701 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25702 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25704 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25706 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25707 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25709 * resolv/res_mkquery.c: Include <sys/time.h>.
25711 * inet/ifreq.c: Moved to ...
25712 * sysdeps/unix/ifreq.c: ... here.
25713 * inet/ifreq.c: New file, true stub version.
25715 * socket/sa_len.c: New file.
25716 * socket/Makefile (aux): Add it.
25717 * sysdeps/unix/sysv/linux/Makefile
25718 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25719 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25720 and #include <socket/sa_len.c>.
25721 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25722 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25724 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25725 * bits/socket.h: ... here.
25727 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25728 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25729 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25731 2013-08-27 Andreas Schwab <schwab@suse.de>
25734 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25735 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25736 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25737 * string/test-strcasecmp.c (test_main): Run tests in several
25739 * string/test-strncasecmp.c (test_main): Likewise.
25741 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25742 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25743 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25744 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25745 (__strncasecmp_ssse3) [PIC]: Likewise.
25747 2013-08-26 Roland McGrath <roland@hack.frob.com>
25749 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25751 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25752 instead of explicitly declaring xdecrypt.
25753 * nis/nss_nis/nis-publickey.c: Likewise.
25755 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25758 * nscd/aicache.c: Include res_hconf.h.
25759 (addhstaiX): Initialize res_hconf.
25761 2013-08-26 Andreas Schwab <schwab@suse.de>
25763 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25764 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25766 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25768 * nscd/aicache.c (addhstaiX): Fix indentation.
25770 2013-08-25 Mike Frysinger <vapier@gentoo.org>
25772 * configure.ac: Quote $build_pt_chown test.
25773 * configure: Regenerated.
25775 2013-08-23 Joseph Myers <joseph@codesourcery.com>
25778 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25779 * math/s_cexpf.c (__cexpf): Likewise.
25780 * math/s_cexpl.c (__cexpl): Likewise.
25781 * math/libm-test.inc (cexp_test_data): Correct expected return
25782 value for NaN + i0. Add another test.
25784 2013-08-22 David S. Miller <davem@davemloft.net>
25786 * po/ca.po: Update Catalan translation from translation project.
25787 * po/uk.po: Add Ukrainian translations from translation project.
25789 2013-08-21 Joseph Myers <joseph@codesourcery.com>
25792 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25793 is infinite, not alongside NaN test.
25794 * math/s_fdimf.c (__fdimf): Likewise.
25795 * math/s_fdiml.c (__fdiml): Likewise.
25796 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25797 errno is unchanged.
25799 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
25801 * argp/argp-help.c: Fix typos.
25802 * crypt/speeds.c: Likewise.
25803 * csu/check_fds.c: Likewise.
25804 * elf/dl-load.c: Likewise.
25805 * elf/dl-open.c: Likewise.
25806 * elf/reldep3.c: Likewise.
25807 * elf/reldep.c: Likewise.
25808 * elf/sprof.c: Likewise.
25809 * iconv/iconv_charmap.c: Likewise.
25810 * iconv/skeleton.c: Likewise.
25811 * iconv/strtab.c: Likewise.
25812 * io/lockf64.c: Likewise.
25813 * libio/libioP.h: Likewise.
25814 * resolv/gai_notify.c: Likewise.
25815 * resolv/ns_name.c: Likewise.
25816 * resolv/ns_samedomain.c: Likewise.
25817 * resolv/res_send.c: Likewise.
25818 * stdlib/random.c: Likewise.
25819 * sunrpc/rpc/xdr.h: Likewise.
25820 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25821 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25822 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25823 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25824 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25825 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25826 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25827 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25828 * sysdeps/mach/hurd/check_fds.c: Likewise.
25829 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25830 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25831 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25832 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25833 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25834 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25835 * sysdeps/pthread/aio_notify.c: Likewise.
25836 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25837 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25838 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25839 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25840 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25842 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25844 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25845 version if bit_Slow_SSE4_2 is set.
25846 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25847 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25849 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25852 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25853 trampoline stack frame information.
25854 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25855 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25856 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25857 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25858 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25859 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25860 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25861 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25863 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25864 interrupting a syscall and set with option SA_SIGINFO.
25866 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25869 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25870 argument is infinite.
25871 * math/s_cprojf.c (__cprojf): Likewise.
25872 * math/s_cprojl.c (__cprojl): Likewise.
25873 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25874 * math/libm-test.inc (cproj_test_data): Add more tests.
25876 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25878 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25879 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25880 size. Use __ffs to determine corresponding shift.
25882 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25883 Roland McGrath <roland@hack.frob.com>
25885 * Makefile (INSTALL): Remove trailing blank lines from output of
25888 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25890 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25891 Align 32 bit compat elf_greg to 8 bytes.
25893 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25895 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25897 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25899 * string/strcoll_l.c (coll_seq): New structure.
25900 (get_next_seq_cached): New function.
25901 (get_next_seq): New function.
25902 (do_compare): New function.
25903 (STRCOLL): Use GNU style definition. Simplify implementation
25904 by using get_next_seq, get_next_seq_cached and do_compare.
25906 2013-08-16 Florian Weimer <fweimer@redhat.com>
25910 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25912 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25914 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25915 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25916 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25918 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25919 GETDENTS_64BIT_ALIGNED.
25920 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25921 * manual/filesys.texi (Reading/Closing Directory): Document
25922 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25924 * manual/conf.texi (Limits for Files): Add portability note to
25925 NAME_MAX, PATH_MAX.
25926 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25928 2013-08-13 Andreas Schwab <schwab@suse.de>
25931 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25933 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25934 LDBL_MAX_EXP >= 16384]: Add tests for it.
25936 2013-08-12 David S. Miller <davem@davemloft.net>
25938 * version.h (RELEASE): Set to "development".
25939 (VERSION): Set to "2.18.90".
25940 * NEWS: Add 2.19 section.
25942 2013-08-03 David S. Miller <davem@davemloft.net>
25944 * po/ko.po: Update Korean translation from translation project.
25946 2013-08-01 David S. Miller <davem@davemloft.net>
25948 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25949 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25952 2013-07-30 David S. Miller <davem@davemloft.net>
25954 * po/fr.po: Update French translation from translation project.
25956 2013-07-28 David S. Miller <davem@davemloft.net>
25958 * po/cs.po: Update Czech translation from translation project.
25960 * po/sv.po: Update Swedish translation from translation project.
25962 2013-07-27 David S. Miller <davem@davemloft.net>
25964 * po/eo.po: Update Esperanto translation from translation project.
25966 * po/vi.po: Update Vietnamese translation from translation project.
25968 * po/de.po: Update German translation from translation project.
25970 2013-07-26 David S. Miller <davem@davemloft.net>
25972 * po/bg.po: Update Bulgarian translation from translation project.
25974 * po/nl.po: Update Dutch translation from translation project.
25975 * po/pl.po: Update Polish translation from translation project.
25976 * po/ru.po: Update Russian translation from translation project.
25978 2013-07-24 David S. Miller <davem@davemloft.net>
25980 * po/libc.pot: Update.
25982 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25984 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25985 variable page size.
25986 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25987 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25988 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25990 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25992 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25994 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25995 Andreas Schwab <schwab@suse.de>
25996 Roland McGrath <roland@hack.frob.com>
25997 Joseph Myers <joseph@codesourcery.com>
25998 Carlos O'Donell <carlos@redhat.com>
26001 * config.h.in: Define HAVE_PT_CHOWN.
26002 * config.make.in (build-pt-chown): New variable.
26003 * configure.in (--enable-pt_chown): New configure option.
26004 * configure: Regenerate.
26005 * login/Makefile: Include Makeconfig. Build pt_chown only if
26006 build-pt-chown is enabled.
26007 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26008 pt_chown to fix pty ownership.
26009 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26011 * manual/install.texi (Configuring and compiling): Mention
26012 --enable-pt_chown. Add @findex for grantpt.
26013 * INSTALL: Regenerate.
26015 2013-07-20 David S. Miller <davem@davemloft.net>
26017 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26018 difference between 32-bit and 64-bit.
26020 2013-07-15 Carlos O'Donell <carlos@redhat.com>
26023 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26024 Avoid system header dependency with -ffreestanding.
26025 ($(objpfx)bits/syscall%d): Likewise.
26027 2013-07-13 David S. Miller <davem@davemloft.net>
26029 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26030 underflows from atanl/atan2l due to bug 15319.
26031 (casinh_test_data): Likewise.
26033 2013-07-07 David S. Miller <davem@davemloft.net>
26035 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26037 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26039 * sysdeps/i386/fpu/libm-test-ulps: Update.
26040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26042 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26044 * configure.in (--enable-lock-elision): Fix message text.
26045 * INSTALL: Regenerate.
26046 * configure: Regenerate.
26048 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26052 2013-07-03 Andreas Jaeger <aj@suse.de>
26054 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26056 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26057 (ptrace_peeksiginfo_args): Add.
26058 (__ptrace_peeksiginfo_flags): Add.
26059 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26060 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26061 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26063 2013-07-03 Allan McRae <allan@archlinux.org>
26065 * sysdeps/i386/fpu/libm-test-ulps: Update.
26067 2013-07-02 David S. Miller <davem@davemloft.net>
26069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26071 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26073 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26075 2013-07-02 Joseph Myers <joseph@codesourcery.com>
26077 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26080 2013-07-02 Andi Kleen <ak@linux.intel.com>
26082 * config.h.in (ENABLE_LOCK_ELISION): Add.
26083 * configure.in (--enable-lock-elision): Add option.
26084 * manual/install.texi: Document --enable lock elision.
26085 * configure: Regenerate
26086 * INSTALL: Regenerate.
26088 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26090 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26091 SSE4.2 strcasecmp for libc.a.
26092 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26094 2013-07-02 Joseph Myers <joseph@codesourcery.com>
26097 * soft-fp/op-common.h (_FP_FMA): New macro.
26098 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26099 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26100 (_FP_MUL_MEAT_1_imm): ... here.
26101 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26102 (_FP_MUL_MEAT_1_wide): ... here.
26103 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26104 (_FP_MUL_MEAT_1_hard): ... here.
26105 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26106 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26107 (_FP_MUL_MEAT_2_wide): ... here.
26108 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26109 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26110 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26111 (_FP_MUL_MEAT_2_gmp): ... here.
26112 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26113 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26114 (_FP_MUL_MEAT_4_wide): ... here.
26115 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26116 (_FP_MUL_MEAT_4_gmp): ... here.
26117 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26118 (_FP_WFRACBITS_DW_S): Likewise.
26119 (_FP_WFRACXBITS_DW_S): Likewise.
26120 (_FP_HIGHBIT_DW_S): Likewise.
26121 (FP_FMA_S): Likewise.
26122 (_FP_FRAC_HIGH_DW_S): Likewise.
26123 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26124 (_FP_WFRACBITS_DW_D): Likewise.
26125 (_FP_WFRACXBITS_DW_D): Likewise.
26126 (_FP_HIGHBIT_DW_D): Likewise.
26127 (FP_FMA_D): Likewise.
26128 (_FP_FRAC_HIGH_DW_D): Likewise.
26129 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26130 (_FP_WFRACBITS_DW_E): Likewise.
26131 (_FP_WFRACXBITS_DW_E): Likewise.
26132 (_FP_HIGHBIT_DW_E): Likewise.
26133 (FP_FMA_E): Likewise.
26134 (_FP_FRAC_HIGH_DW_E): Likewise.
26135 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26136 (_FP_WFRACBITS_DW_Q): Likewise.
26137 (_FP_WFRACXBITS_DW_Q): Likewise.
26138 (_FP_HIGHBIT_DW_Q): Likewise.
26139 (FP_FMA_Q): Likewise.
26140 (_FP_FRAC_HIGH_DW_Q): Likewise.
26141 * soft-fp/fmasf4.c: New file.
26142 * soft-fp/fmadf4.c: Likewise.
26143 * soft-fp/fmatf4.c: Likewise.
26145 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26148 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26150 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26152 (index_Slow_SSE4_2): Likewise.
26153 (index_Prefer_PMINUB_for_stringop): Likewise.
26154 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26155 bit_Slow_SSE4_2 is set.
26156 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26157 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26159 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26161 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26162 rtld_global._dl_hwcap2.
26163 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26165 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26166 POWER8 feature descriptions defined in _dl_hwcap2.
26167 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26168 string handling for POWER8 feature bits.
26169 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26170 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26171 _dl_powerpc_cap_flags.
26172 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26173 * sysdeps/powerpc/rtld-global-offsets.sym
26174 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26175 _dl_hwcap2 in the rtld_global_ro structure.
26177 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26179 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26180 hardware capabilities in support of AT_HWCAP2.
26181 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26182 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26184 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26185 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26186 explicitly the unknown a_type display mechanism is used.
26187 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26188 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26190 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26191 to macro prototype for AT_HWCAP2 support.
26192 * sysdeps/i386/dl-procinfo.h: Likewise.
26193 * sysdeps/s390/dl-procinfo.h: Likewise.
26194 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26195 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26196 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26197 return -1 for unknown a_type display fallback.
26198 * sysdeps/sparc/dl-procinfo.h: Likewise.
26199 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26200 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26202 2013-06-28 Joseph Myers <joseph@codesourcery.com>
26204 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26205 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26207 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26210 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26211 mprotect making __stack_prot writable.
26213 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26214 Joseph Myers <joseph@codesourcery.com>
26216 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26217 as being properly aligned.
26219 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26221 * dlfcn/modstatic5.c: New file.
26222 * dlfcn/tststatic5.c: New file.
26223 * dlfcn/Makefile (tests): Add tststatic5.
26224 (tests-static): Likewise.
26225 (modules-names): Add modstatic5.
26226 (tststatic5-ENV): New variable.
26227 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26230 * elf/dl-support.c (_dl_main_map): New variable.
26231 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26232 (_dl_nns, _dl_load_adds): Set to 1.
26233 (_dl_initial_searchlist): Refer to _dl_main_map.
26234 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26235 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26236 call to _dl_get_origin.
26237 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26239 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26240 * dlfcn/modstatic3.c: New file.
26241 * dlfcn/tststatic3.c: New file.
26242 * dlfcn/tststatic4.c: New file.
26243 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26244 (tests-static): Likewise.
26245 (modules-names): Add modstatic3.
26246 (tststatic3-ENV, tststatic4-ENV): New variables.
26247 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26248 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26250 2013-06-26 Joseph Myers <joseph@codesourcery.com>
26252 * configure.in (CC): Require GCC version 4.4 or later.
26253 * configure: Regenerated.
26254 * manual/install.texi (Tools for Compilation): Update GCC version
26256 * INSTALL: Regenerated.
26258 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26261 * string/test-memcmp.c (check2): New.
26262 (main): Call check2.
26264 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26266 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26269 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26271 (dl_open_worker) [!SHARED]: ... here.
26273 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26275 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26277 2013-06-25 Richard Henderson <rth@redhat.com>
26279 * locale/programs/locarchive.c: Include <libc-internal.h>
26281 2013-06-25 Joseph Myers <joseph@codesourcery.com>
26283 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26284 trailing whitespace removed.
26286 2013-06-24 Mike Frysinger <vapier@gentoo.org>
26289 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26290 * locale/programs/locarchive.c: Include libc-mmap.h.
26291 (prepare_address_space): Take two new outputs (the mmap base and len).
26292 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26294 (create_archive): Declare new mmap base and len values for
26295 prepare_address_space, and store the result in ah.
26296 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26297 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26298 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26299 Declare new mmap base and len values for
26300 prepare_address_space, and store the result in new_ah.
26301 (open_archive): Declare new mmap base and len values for
26302 prepare_address_space, and store the result in ah.
26303 (close_archive): If ah->mmap_base is not NULL, use that and
26304 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26305 * sysdeps/generic/libc-mmap.h: New file.
26307 2013-06-24 Mike Frysinger <vapier@gentoo.org>
26309 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26310 (ALIGN_UP): Likewise.
26311 (PTR_ALIGN_DOWN): Likewise.
26312 (PTR_ALIGN_UP): Likewise.
26314 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26316 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26317 entry mapped to PPC_PLATFORM_POWER8.
26318 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26320 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26321 (_dl_string_platform): Add case for exporting platform position for
26323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26324 search path to sysdeps/powerpc/powerpc32/power8 directory.
26325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26326 search path to sysdeps/powerpc/powerpc64/power8 directory.
26327 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26328 power7 directories.
26329 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26330 power7 directories.
26332 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26334 * INSTALL: Regenerate.
26336 * nscd/connections.c (nscd_init): Fix comment.
26338 2013-06-22 Joseph Myers <joseph@codesourcery.com>
26340 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26343 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26344 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26346 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26348 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26350 (DL_DST_REQ_STATIC): Remove macro.
26352 2013-06-21 Joseph Myers <joseph@codesourcery.com>
26355 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26356 with a shift of 0 bits.
26358 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26360 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26363 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26366 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26368 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26370 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26371 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26372 accepts -fno-tree-loop-distribute-patterns.
26373 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26374 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26376 * string/memset.c (memset): Likewise.
26377 * string/test-memmove.c (simple_memmove): Disable loop transformation
26379 * string/test-memset.c (simple_memset): Likewise.
26380 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26381 * benchtests/bench-memset.c (simple_memset): Likewise.
26382 * configure: Regenerated.
26384 2013-06-20 Joseph Myers <joseph@codesourcery.com>
26386 * math/test-misc.c (main): Ignore fesetround failure when failures
26387 of subsequent rounding tests would be ignored.
26390 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26391 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26392 * math/fegetenv.c (__fegetenv): Return 0.
26393 * math/fegetexcept.c (fegetexcept): Return 0.
26394 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26396 * math/feholdexcpt.c (feholdexcept): Return 0.
26397 * math/fesetenv.c (__fesetenv): Return 0.
26398 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26399 argument FE_TONEAREST.
26400 * math/feupdateenv.c (__feupdateenv): Return 0.
26401 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26403 2013-06-18 Roland McGrath <roland@hack.frob.com>
26405 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26406 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26407 ($(objpfx)rtld-%.os rules): Use them.
26409 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26411 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26414 2013-06-17 Roland McGrath <roland@hack.frob.com>
26416 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26417 length of target pattern, then descending length of dependency pattern.
26418 * configure.in (AWK): Require gawk 3.1.2 or newer.
26419 * manual/install.texi (Tools for Compilation): Say that we do.
26420 * configure: Regenerated.
26422 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26423 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26424 * scripts/sysd-rules.awk: ... this new script.
26425 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26426 than a glob-style pattern.
26428 2013-06-17 Joseph Myers <joseph@codesourcery.com>
26430 * math/test-misc.c (main): Do not treat incorrectly rounded
26431 conversions as failure unless ROUNDING_TESTS passes.
26433 2013-06-15 Joseph Myers <joseph@codesourcery.com>
26436 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26437 restore exception state around main square root computation, then
26438 check for inexactness explicitly.
26440 * math/libm-test.inc (fma_test_data): Add another test.
26442 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26444 * manual/threads.texi (Non-POSIX Extensions): New document
26445 node. Document pthread_getattr_default_np and
26446 pthread_setattr_default_np.
26448 * Versions.def (libpthread): Add GLIBC_2.18.
26449 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26458 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26469 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26472 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26474 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26475 H.J. Lu <hjl.tools@gmail.com>
26478 * sysdeps/x86_64/rtld-memset.c: Remove file.
26479 * sysdeps/x86_64/rtld-memset.S: New file.
26481 2013-06-14 Joseph Myers <joseph@codesourcery.com>
26483 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26484 (test_in_one_mode): Take arguments for whether the rounding mode
26485 is supported for each floating-point type.
26486 (do_test): Pass new arguments to test_in_one_mode using
26489 2013-06-13 Roland McGrath <roland@hack.frob.com>
26491 * posix/tst-waitid.c (do_test): Distinguish different instances of
26492 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26493 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26494 before entering the kernel for waitpid.
26496 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26498 * NEWS: Fix note on clock function precision. Text by Roland
26501 2013-06-13 Roland McGrath <roland@hack.frob.com>
26503 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26504 it into place only when and if the sanity check passes.
26506 2013-06-13 Joseph Myers <joseph@codesourcery.com>
26508 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26509 output for whether conversion result is exact. Take argument
26510 indicating whether type is IBM long double.
26511 (round_for_all): Change need_exact field to ibm_ld.
26512 * stdlib/tst-strtod-round.c (struct exactness): New type.
26513 (struct test): Change bool ld_ok field to struct exactness exact.
26514 (TEST): Update all definitions for change to field.
26515 (tests): Regenerate array contents.
26516 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26517 field value. Check for IBM long double here.
26518 (do_test): Update calls to test_in_one_mode.
26520 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26523 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26524 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26526 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26529 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26530 generated by the compiler on loop optimizations.
26531 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26532 general definitions.
26534 2013-06-12 Joseph Myers <joseph@codesourcery.com>
26536 * math/bug-nextafter.c: Include <math-tests.h>.
26537 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26539 * math/bug-nexttoward.c: Include <math-tests.h>.
26540 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26542 * math/test-misc.c: Include <math-tests.h>.
26543 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26546 2013-06-12 Andreas Jaeger <aj@suse.de>
26548 * po/ia.po: Update Interlingua translation from translation
26551 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26553 * include/fenv.h: Include stdbool.h.
26554 (struct rm_ctx): New structure.
26555 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26557 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26558 (SET_RESTORE_ROUNDF): Likewise.
26559 (SET_RESTORE_ROUNDL): Likewise.
26560 (SET_RESTORE_ROUND_NOEX): Likewise.
26561 (SET_RESTORE_ROUND_NOEXF): Likewise.
26562 (SET_RESTORE_ROUND_NOEXL): Likewise.
26563 (SET_RESTORE_ROUND_53BIT): Likewise.
26564 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26565 (libc_feresetround_noexf_ctx): Likewise.
26566 (libc_feresetround_noexl_ctx): Likewise.
26567 (libc_feholdsetround_53bit_ctx): Likewise.
26568 (libc_feresetround_53bit_ctx): Likewise.
26569 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26570 (libc_feholdexcept_setround_sse_ctx): New function.
26571 (libc_fesetenv_sse_ctx): Likewise.
26572 (libc_feupdateenv_sse_ctx): Likewise.
26573 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26574 (libc_feholdexcept_setround_387_ctx): Likewise.
26575 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26576 (libc_feholdsetround_387_prec_ctx): Likewise.
26577 (libc_feholdsetround_387_ctx): Likewise.
26578 (libc_feholdsetround_387_53bit_ctx): Likewise.
26579 (libc_feholdsetround_sse_ctx): Likewise.
26580 (libc_feresetround_sse_ctx): Likewise.
26581 (libc_feresetround_387_ctx): Likewise.
26582 (libc_feupdateenv_387_ctx): Likewise.
26583 (libc_feholdexcept_setroundf_ctx): Define macro.
26584 (libc_fesetenvf_ctx): Likewise.
26585 (libc_feupdateenvf_ctx): Likewise.
26586 (libc_feholdsetroundf_ctx): Likewise.
26587 (libc_feresetroundf_ctx): Likewise.
26588 (libc_feholdexcept_setround_ctx): Likewise.
26589 (libc_fesetenv_ctx): Likewise.
26590 (libc_feupdateenv_ctx): Likewise.
26591 (libc_feholdsetround_ctx): Likewise.
26592 (libc_feresetround_ctx): Likewise.
26593 (libc_feholdexcept_setroundl_ctx): Likewise.
26594 (libc_feupdateenvl_ctx): Likewise.
26595 (libc_feholdsetroundl_ctx): Likewise.
26596 (libc_feresetroundl_ctx): Likewise.
26597 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26598 (libc_feresetround_53bit_ctx): Likewise.
26600 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26602 * locale/iso-639.def: Convert to UTF-8.
26604 2013-06-11 Joseph Myers <joseph@codesourcery.com>
26606 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26607 (EXCEPTION_TESTS_double): Likewise.
26608 (EXCEPTION_TESTS_long_double): Likewise.
26609 (EXCEPTION_TESTS): Likewise.
26610 * math/libm-test.inc (test_exceptions): Only test exceptions if
26611 EXCEPTION_TESTS (FLOAT).
26613 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26615 * benchtests/Makefile (string-bench): Add strcpy_chk and
26617 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26618 * benchtests/bench-stpcpy_chk.c: New file.
26619 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26620 * benchtests/bench-strcpy_chk.c: New file.
26621 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26623 (do_test): Likewise.
26625 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26627 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26628 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26629 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26630 with tabs where appropriate.
26631 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26633 [PPC_PLATFORM_PPC440]: Likewise.
26634 [PPC_PLATFORM_PPC464]: Likewise.
26635 [PPC_PLATFORM_PPC476]: Likewise.
26636 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26637 ppc464, and ppc476 platform strings merging from ports/
26640 2013-06-11 Andreas Schwab <schwab@suse.de>
26643 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26644 (from_ucs4_idx): Regenerate.
26645 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26646 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26647 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26648 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26649 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26650 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26651 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26652 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26653 from FROM_LOOP and TO_LOOP specific macros.
26654 (BODY): Handle combining characters.
26655 * iconvdata/BIG5HKSCS.irreversible: Update.
26656 * iconvdata/BIG5HKSCS.precomposed: New file.
26657 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26659 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26661 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26663 * include/sys/time.h: Fix indentation and add copyright header.
26665 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26666 (do_test): Likewise.
26667 * string/test-memchr.c (do_one_test): Likewise.
26668 (do_test): Likewise.
26669 * string/test-memcmp.c (do_one_test): Likewise.
26670 (do_test): Likewise.
26671 * string/test-memcpy.c (do_one_test): Likewise.
26672 (do_test): Likewise.
26673 * string/test-memmem.c (do_one_test): Likewise.
26674 (do_test): Likewise.
26675 (do_random_tests): Likewise.
26676 * string/test-memmove.c (do_one_test): Likewise.
26677 (do_test): Likewise.
26678 * string/test-memset.c (do_one_test): Likewise.
26679 (do_test): Likewise.
26680 * string/test-rawmemchr.c (do_one_test): Likewise.
26681 (do_test): Likewise.
26682 * string/test-strcasecmp.c (do_one_test): Likewise.
26683 (do_test): Likewise.
26684 * string/test-strcasestr.c (do_one_test): Likewise.
26685 (do_test): Likewise.
26686 * string/test-strcat.c (do_one_test): Likewise.
26687 (do_test): Likewise.
26688 * string/test-strchr.c (do_one_test): Likewise.
26689 (do_test): Likewise.
26690 * string/test-strcmp.c (do_one_test): Likewise.
26691 (do_test): Likewise.
26692 * string/test-strcpy.c (do_one_test): Likewise.
26693 (do_test): Likewise.
26694 * string/test-string.h: Likewise.
26695 (test_init): Likewise.
26696 * string/test-strlen.c (do_one_test): Likewise.
26697 (do_test): Likewise.
26698 * string/test-strncasecmp.c (do_one_test): Likewise.
26699 (do_test): Likewise.
26700 * string/test-strncat.c (do_one_test): Likewise.
26701 (do_test): Likewise.
26702 * string/test-strncmp.c (do_one_test): Likewise.
26703 (do_test_limit): Likewise.
26704 (do_test): Likewise.
26705 * string/test-strncpy.c (do_one_test): Likewise.
26706 (do_test): Likewise.
26707 * string/test-strnlen.c (do_one_test): Likewise.
26708 (do_test): Likewise.
26709 * string/test-strpbrk.c (do_one_test): Likewise.
26710 (do_test): Likewise.
26711 * string/test-strrchr.c (do_one_test): Likewise.
26712 (do_test): Likewise.
26713 * string/test-strspn.c (do_one_test): Likewise.
26714 (do_test): Likewise.
26715 * string/test-strstr.c (do_one_test): Likewise.
26716 (do_test): Likewise.
26718 * benchtests/Makefile (string-bench): Add string benchmarks.
26719 * benchtests/bench-bcopy-ifunc.c: New file.
26720 * benchtests/bench-bcopy.c: New file.
26721 * benchtests/bench-bzero-ifunc.c: New file.
26722 * benchtests/bench-bzero.c: New file.
26723 * benchtests/bench-memccpy-ifunc.c: New file.
26724 * benchtests/bench-memccpy.c: New file.
26725 * benchtests/bench-memchr-ifunc.c: New file.
26726 * benchtests/bench-memchr.c: New file.
26727 * benchtests/bench-memcmp-ifunc.c: New file.
26728 * benchtests/bench-memcmp.c: New file.
26729 * benchtests/bench-memmem-ifunc.c: New file.
26730 * benchtests/bench-memmem.c: New file.
26731 * benchtests/bench-memmove-ifunc.c: New file.
26732 * benchtests/bench-memmove.c: New file.
26733 * benchtests/bench-mempcpy-ifunc.c: New file.
26734 * benchtests/bench-mempcpy.c: New file.
26735 * benchtests/bench-memset-ifunc.c: New file.
26736 * benchtests/bench-memset.c: New file.
26737 * benchtests/bench-rawmemchr-ifunc.c: New file.
26738 * benchtests/bench-rawmemchr.c: New file.
26739 * benchtests/bench-stpcpy-ifunc.c: New file.
26740 * benchtests/bench-stpcpy.c: New file.
26741 * benchtests/bench-stpncpy-ifunc.c: New file.
26742 * benchtests/bench-stpncpy.c: New file.
26743 * benchtests/bench-strcasecmp-ifunc.c: New file.
26744 * benchtests/bench-strcasecmp.c: New file.
26745 * benchtests/bench-strcasestr-ifunc.c: New file.
26746 * benchtests/bench-strcasestr.c: New file.
26747 * benchtests/bench-strcat-ifunc.c: New file.
26748 * benchtests/bench-strcat.c: New file.
26749 * benchtests/bench-strchr-ifunc.c: New file.
26750 * benchtests/bench-strchr.c: New file.
26751 * benchtests/bench-strchrnul-ifunc.c: New file.
26752 * benchtests/bench-strchrnul.c: New file.
26753 * benchtests/bench-strcmp-ifunc.c: New file.
26754 * benchtests/bench-strcmp.c: New file.
26755 * benchtests/bench-strcpy-ifunc.c: New file.
26756 * benchtests/bench-strcpy.c: New file.
26757 * benchtests/bench-strcspn-ifunc.c: New file.
26758 * benchtests/bench-strcspn.c: New file.
26759 * benchtests/bench-strlen-ifunc.c: New file.
26760 * benchtests/bench-strlen.c: New file.
26761 * benchtests/bench-strncasecmp-ifunc.c: New file.
26762 * benchtests/bench-strncasecmp.c: New file.
26763 * benchtests/bench-strncat-ifunc.c: New file.
26764 * benchtests/bench-strncat.c: New file.
26765 * benchtests/bench-strncmp-ifunc.c: New file.
26766 * benchtests/bench-strncmp.c: New file.
26767 * benchtests/bench-strncpy-ifunc.c: New file.
26768 * benchtests/bench-strncpy.c: New file.
26769 * benchtests/bench-strnlen-ifunc.c: New file.
26770 * benchtests/bench-strnlen.c: New file.
26771 * benchtests/bench-strpbrk-ifunc.c: New file.
26772 * benchtests/bench-strpbrk.c: New file.
26773 * benchtests/bench-strrchr-ifunc.c: New file.
26774 * benchtests/bench-strrchr.c: New file.
26775 * benchtests/bench-strspn-ifunc.c: New file.
26776 * benchtests/bench-strspn.c: New file.
26777 * benchtests/bench-strstr-ifunc.c: New file.
26778 * benchtests/bench-strstr.c: New file.
26780 * benchtests/Makefile: Disable parallel execution of targets.
26781 (string-bench): Add memcpy.
26782 (benchset): New variable to store a list of benchmark sets.
26783 (bench-func): Renamed from bench.
26784 (bench-set): New target.
26785 (bench): Depend on bench-func and bench-set.
26786 * benchtests/README: Add section on benchmark sets.
26787 * benchtests/bench-memcpy-ifunc.c: New file.
26788 * benchtests/bench-memcpy.c: New file.
26789 * benchtests/bench-string.h: New file.
26791 2013-06-11 Andreas Schwab <schwab@suse.de>
26794 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26795 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26796 values in the triple.
26797 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26798 terminator in the group key.
26800 2013-06-11 Andreas Jaeger <aj@suse.de>
26802 * po/zh_TW.po: Update Chinese (traditional) translation from
26803 translation project.
26805 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26807 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26808 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26809 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26810 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26811 (clock_getcpuclockid): Likewise.
26812 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26813 Add weak_alias and libc_hidden_def.
26814 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26815 * rt/clock_gettime.c (clock_gettime): Rename to
26816 __clock_gettime. Add weak_alias and libc_hidden_def.
26817 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26818 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26819 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26820 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26821 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26823 * rt/clock_settime.c (clock_settime): Rename to
26824 __clock_settime. Add weak_alias and libc_hidden_def.
26825 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26827 2013-06-10 Joseph Myers <joseph@codesourcery.com>
26829 * mach/err_boot.sub: Remove trailing whitespace.
26830 * mach/err_ipc.sub: Likewise.
26831 * mach/err_mach.sub: Likewise.
26833 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26834 (ROUNDING_TESTS_double): Likewise.
26835 (ROUNDING_TESTS_long_double): Likewise.
26836 (ROUNDING_TESTS): Likewise.
26837 * math/libm-test.inc: Include <math-tests.h>.
26838 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26839 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26840 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26841 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26843 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26845 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26848 2013-06-08 Joseph Myers <joseph@codesourcery.com>
26850 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26851 otherwise empty TRANS lines.
26852 * sysdeps/gnu/errlist.c: Regenerated.
26854 * catgets/gencat.c (error_print): Use (void) in function
26856 * crypt/crypt_util.c (__init_des): Likewise.
26857 * crypt/speeds.c (Stop): Likewise.
26859 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26860 * inet/ruserpass.c (token): Likewise.
26861 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26862 * intl/localealias.c (extend_alias_table): Likewise.
26863 * intl/plural-exp.c (init_germanic_plural): Likewise.
26864 * libio/fcloseall.c (__fcloseall): Likewise.
26865 * libio/genops.c (_IO_flush_all): Likewise.
26866 (_IO_flush_all_linebuffered): Likewise.
26867 (_IO_cleanup): Likewise.
26868 (_IO_iter_begin): Likewise.
26869 (_IO_iter_end): Likewise.
26870 (_IO_list_lock): Likewise.
26871 (_IO_list_unlock): Likewise.
26872 (_IO_list_resetlock): Likewise.
26873 * libio/getchar.c (getchar): Likewise.
26874 * libio/getchar_u.c (getchar_unlocked): Likewise.
26875 * libio/getwchar.c (getwchar): Likewise.
26876 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26877 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26878 * login/getpt.c (__getpt): Likewise.
26879 * login/tst-utmp.c (main): Likewise.
26880 * malloc/hooks.c (__malloc_check_init): Likewise.
26881 * malloc/malloc.c (__malloc_stats): Likewise.
26882 * malloc/mtrace.c (tr_break): Likewise.
26883 (mtrace): Likewise.
26884 (muntrace): Likewise.
26885 * misc/fstab.c (endfsent): Likewise.
26886 * misc/getclktck.c (__getclktck): Likewise.
26887 * misc/getdtsz.c (__getdtablesize): Likewise.
26888 * misc/gethostid.c (gethostid): Likewise.
26889 * misc/getpagesize.c (__getpagesize): Likewise.
26890 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26891 (__get_nprocs): Likewise.
26892 (__get_phys_pages): Likewise.
26893 (__get_avphys_pages): Likewise.
26894 * misc/getttyent.c (getttyent): Likewise.
26895 (setttyent): Likewise.
26896 (endttyent): Likewise.
26897 * misc/getusershell.c (getusershell): Likewise.
26898 (endusershell): Likewise.
26899 (setusershell): Likewise.
26900 (initshells): Likewise.
26901 * misc/hsearch.c (__hdestroy): Likewise.
26902 * misc/sync.c (sync): Likewise.
26903 * misc/syslog.c (closelog_internal): Likewise.
26904 (closelog): Likewise.
26905 * misc/ttyslot.c (ttyslot): Likewise.
26906 * misc/vhangup.c (vhangup): Likewise.
26907 * posix/fork.c (__fork): Likewise.
26908 * posix/getegid.c (__getegid): Likewise.
26909 * posix/geteuid.c (__geteuid): Likewise.
26910 * posix/getgid.c (__getgid): Likewise.
26911 * posix/getpid.c (__getpid): Likewise.
26912 * posix/getppid.c (__getppid): Likewise.
26913 * posix/getuid.c (__getuid): Likewise.
26914 * posix/pause.c (pause): Likewise.
26915 * posix/setpgrp.c (setpgrp): Likewise.
26916 * posix/setsid.c (__setsid): Likewise.
26917 * posix/test-vfork.c (noop): Likewise.
26918 * resolv/gethnamaddr.c (_endhtent): Likewise.
26919 (_gethtent): Likewise.
26920 (ht_endhostent): Likewise.
26921 (gethostent): Likewise.
26922 (dns_service): Likewise.
26923 * stdlib/drand48.c (drand48): Likewise.
26924 * stdlib/lrand48.c (lrand48): Likewise.
26925 * stdlib/mrand48.c (mrand48): Likewise.
26926 * stdlib/rand.c (rand): Likewise.
26927 * stdlib/random.c (__random): Likewise.
26928 * stdlib/setenv.c (clearenv): Likewise.
26929 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26930 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26931 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26932 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26933 (__get_nprocs): Likewise.
26934 (__get_phys_pages): Likewise.
26935 (__get_avphys_pages): Likewise.
26936 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26937 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26938 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26939 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26940 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26941 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26942 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26943 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26944 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26945 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26946 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26947 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26948 * sysdeps/posix/clock.c (clock): Likewise.
26949 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26950 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26951 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26952 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26953 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26954 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26955 (__get_nprocs_conf): Likewise.
26956 (__get_phys_pages): Likewise.
26957 (__get_avphys_pages): Likewise.
26958 * time/clock.c (clock): Likewise.
26959 * time/tzset.c (__tzname_max): Likewise.
26961 2013-06-07 Joseph Myers <joseph@codesourcery.com>
26963 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26964 (__bswap_32): Do not use "register".
26965 * crypt/crypt.c (_ufc_doit_r): Likewise.
26966 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26967 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26968 * gmon/gmon.c (__monstartup): Likewise.
26969 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26970 * hurd/hurdmalloc.c (more_memory): Likewise.
26971 (malloc): Likewise.
26973 (realloc): Likewise.
26974 (malloc_fork_prepare): Likewise.
26975 (malloc_fork_parent): Likewise.
26976 (malloc_fork_child): Likewise.
26977 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26978 (_svcauth_des): Likewise.
26979 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26980 * inet/inet_net.c (inet_network): Likewise.
26981 * inet/inet_netof.c (inet_netof): Likewise.
26982 * inet/rcmd.c (__validuser2_sa): Likewise.
26983 * io/fts.c (fts_open): Likewise.
26984 (fts_load): Likewise.
26985 (fts_close): Likewise.
26986 (fts_read): Likewise.
26987 (fts_children): Likewise.
26988 (fts_build): Likewise.
26989 (fts_stat): Likewise.
26990 (fts_sort): Likewise.
26991 (fts_alloc): Likewise.
26992 (fts_lfree): Likewise.
26993 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26994 (_IO_file_xsgetn): Likewise.
26995 (_IO_file_xsgetn_mmap): Likewise.
26996 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26997 (_IO_cookie_write): Likewise.
26998 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26999 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27000 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27001 * malloc/obstack.c (_obstack_begin): Likewise.
27002 (_obstack_begin_1): Likewise.
27003 (_obstack_newchunk): Likewise.
27004 (_obstack_allocated_p): Likewise.
27005 (obstack_free): Likewise.
27006 (_obstack_memory_used): Likewise.
27007 * misc/getttyent.c (getttynam): Likewise.
27008 (getttyent): Likewise.
27011 * misc/getusershell.c (initshells): Likewise.
27012 * misc/syslog.c (__vsyslog_chk): Likewise.
27013 * misc/ttyslot.c (ttyslot): Likewise.
27014 * nis/nis_hash.c (__nis_hash): Likewise.
27015 * posix/fnmatch_loop.c (FCT): Likewise.
27016 * posix/getconf.c (print_all): Likewise.
27018 * posix/getopt.c (exchange): Likewise.
27019 * posix/glob.c (globfree): Likewise.
27020 (prefix_array): Likewise.
27021 (__glob_pattern_type): Likewise.
27022 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27023 (NS_GET32): Likewise.
27024 (NS_PUT16): Likewise.
27025 (NS_PUT32): Likewise.
27026 * resolv/gethnamaddr.c (getanswer): Likewise.
27027 (gethostbyname2): Likewise.
27028 (gethostbyaddr): Likewise.
27029 (_gethtent): Likewise.
27030 (_gethtbyname2): Likewise.
27031 (_gethtbyaddr): Likewise.
27032 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27033 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27034 * resolv/res_init.c (__res_vinit): Likewise.
27035 (net_mask): Likewise.
27036 * resolv/res_mkquery.c (outchar): Likewise.
27038 * stdio-common/printf_fp.c (outchar): Likewise.
27040 * stdio-common/printf_fphex.c (outchar): Likewise.
27042 * stdio-common/printf_size.c (outchar): Likewise.
27044 * stdio-common/test_rdwr.c (main): Likewise.
27045 * stdio-common/tfformat.c (matches): Likewise.
27046 * stdio-common/vfprintf.c (outchar): Likewise.
27047 (printf_unknown): Likewise.
27048 (buffered_vfprintf): Likewise.
27049 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27050 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27051 (ReadFile): Likewise.
27052 * stdlib/qsort.c (SWAP): Likewise.
27053 (_quicksort): Likewise.
27054 * stdlib/setenv.c (__add_to_environ): Likewise.
27055 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27056 * stdlib/strtol_l.c (__strtol_l): Likewise.
27057 * stdlib/tst-strtod.c (main): Likewise.
27058 * stdlib/tst-strtol.c (main): Likewise.
27059 * stdlib/tst-strtoll.c (main): Likewise.
27060 * string/bits/string2.h (__strcmp_cc): Likewise.
27061 (__strcmp_cg): Likewise.
27062 (__strcspn_c1): Likewise.
27063 (__strcspn_c2): Likewise.
27064 (__strcspn_c3): Likewise.
27065 (__strspn_c1): Likewise.
27066 (__strspn_c2): Likewise.
27067 (__strspn_c3): Likewise.
27068 (__strsep_1c): Likewise.
27069 (__strsep_2c): Likewise.
27070 (__strsep_3c): Likewise.
27071 * string/memccpy.c (__memccpy): Likewise.
27072 * string/stpcpy.c (__stpcpy): Likewise.
27073 * string/strcmp.c (strcmp): Likewise.
27074 * string/strrchr.c (strrchr): Likewise.
27075 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27077 * sysdeps/mach/hurd/getcwd.c
27078 (_hurd_canonicalize_directory_name_internal): Likewise.
27079 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27080 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27081 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27082 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27083 Likewise, in both definitions.
27084 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27086 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27087 64] (__bswap_64): Likewise.
27088 * time/test_time.c (main): Likewise.
27089 * time/tzfile.c (__tzfile_read): Likewise.
27090 (__tzfile_compute): Likewise.
27091 * time/tzset.c (__tzset_parse_tz): Likewise.
27092 (tzset_internal): Likewise.
27093 (compute_change): Likewise.
27094 * wcsmbs/wcscat.c (__wcscat): Likewise.
27095 * wcsmbs/wcschr.c (wcschr): Likewise.
27096 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27097 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27098 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27099 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27100 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27101 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27102 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27103 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27104 * wcsmbs/wmemset.c (wmemset): Likewise.
27106 2013-06-06 Joseph Myers <joseph@codesourcery.com>
27108 * scripts/config.guess: Update to version 2013-05-16.
27109 * scripts/config.sub: Update to version 2013-04-24.
27110 * scripts/install-sh: Update to version 2011-11-20.07.
27111 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27112 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27114 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
27116 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27117 * elf/sln.c: Likewise.
27118 * hurd/hurd/ioctl.h: Likewise.
27119 * hurd/hurdmalloc.c: Likewise.
27120 * hurd/xattr.c: Likewise.
27121 * include/shlib-compat.h: Likewise.
27122 * inet/ruserpass.c: Likewise.
27123 * libio/iofgets_u.c: Likewise.
27124 * libio/iofgetws_u.c: Likewise.
27125 * locale/programs/ld-identification.c: Likewise.
27126 * locale/programs/ld-time.c: Likewise.
27127 * mach/msg-destroy.c: Likewise.
27128 * nss/nss_files/files-netgrp.c: Likewise.
27129 * resolv/res_data.c: Likewise.
27130 * soft-fp/op-1.h: Likewise.
27131 * soft-fp/op-2.h: Likewise.
27132 * soft-fp/op-4.h: Likewise.
27133 * soft-fp/op-common.h: Likewise.
27134 * stdio-common/printf_fphex.c: Likewise.
27135 * stdlib/strtod_l.c: Likewise.
27136 * sunrpc/rpc/clnt.h: Likewise.
27137 * sysdeps/generic/framestate.c: Likewise.
27138 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27139 * sysdeps/i386/bsd-setjmp.S: Likewise.
27140 * sysdeps/i386/__longjmp.S: Likewise.
27141 * sysdeps/i386/setjmp.S: Likewise.
27142 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27143 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27144 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27145 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27146 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27147 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27148 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27149 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27150 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27151 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27152 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27153 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27154 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27155 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27156 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27157 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27158 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27159 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27160 * sysdeps/ieee754/support.c: Likewise.
27161 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27162 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27163 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27164 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27165 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27166 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27167 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27168 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27169 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27170 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27171 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27172 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27173 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27174 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27175 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27176 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27177 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27180 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
27182 * posix/transbug.c: Remove executable mode.
27184 2013-06-05 Joseph Myers <joseph@codesourcery.com>
27186 * crypt/speeds.c: Remove trailing whitespace.
27187 * dlfcn/default.c: Likewise.
27188 * elf/ifuncdep2.c: Likewise.
27189 * elf/ifuncmain1.c: Likewise.
27190 * elf/ifuncmain1vis.c: Likewise.
27191 * elf/testobj.h: Likewise.
27192 * elf/tst-stackguard1.c: Likewise.
27193 * gmon/sys/gmon.h: Likewise.
27194 * hurd/hurdmsg.c: Likewise.
27195 * hurd/new-fd.c: Likewise.
27196 * hurd/ports-get.c: Likewise.
27197 * iconvdata/ibm1008_420.c: Likewise.
27198 * inet/tst-getni1.c: Likewise.
27199 * inet/tst-getni2.c: Likewise.
27200 * libio/ioungetc.c: Likewise.
27201 * libio/wfiledoalloc.c: Likewise.
27202 * manual/libm-err-tab.pl: Likewise.
27203 * math/w_dremf.c: Likewise.
27204 * misc/ftruncate.c: Likewise.
27205 * posix/bug-glob2.c: Likewise.
27206 * posix/tst-pcre.c: Likewise.
27207 * posix/wait4.c: Likewise.
27208 * resolv/README: Likewise.
27209 * resolv/res_debug.h: Likewise.
27210 * resolv/tst-inet_ntop.c: Likewise.
27211 * setjmp/bug269-setjmp.c: Likewise.
27212 * soft-fp/extended.h: Likewise.
27213 * soft-fp/op-1.h: Likewise.
27214 * soft-fp/op-2.h: Likewise.
27215 * soft-fp/op-4.h: Likewise.
27216 * soft-fp/op-8.h: Likewise.
27217 * soft-fp/testit.c: Likewise.
27218 * stdio-common/bug16.c: Likewise.
27219 * stdlib/random.c: Likewise.
27220 * sunrpc/rpcsvc/rquota.x: Likewise.
27221 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27222 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27223 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27224 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27225 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27226 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27227 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27228 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27229 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27230 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27231 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27232 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27233 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27234 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27235 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27236 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27237 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27238 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27239 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27240 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27241 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27242 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27243 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27244 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27245 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27246 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27247 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27248 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27249 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27250 * sysdeps/ieee754/s_lib_version.c: Likewise.
27251 * sysdeps/mach/hurd/check_fds.c: Likewise.
27252 * sysdeps/mach/hurd/getsockname.c: Likewise.
27253 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27254 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27255 * sysdeps/powerpc/bits/link.h: Likewise.
27256 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27257 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27258 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27259 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27260 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27261 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27262 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27263 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27264 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27265 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27266 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27267 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27268 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27269 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27270 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27271 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27272 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27273 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27274 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27275 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27276 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27277 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27278 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27279 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27280 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27281 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27282 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27283 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27284 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27285 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27286 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27287 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27288 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27289 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27290 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27291 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27292 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27293 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27294 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27295 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27296 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27297 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27298 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27299 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27300 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27301 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27302 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27303 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27304 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27305 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27306 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27307 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27308 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27309 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27310 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27311 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27312 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27313 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27314 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27315 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27316 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27317 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27318 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27319 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27320 * sysdeps/powerpc/sysdep.h: Likewise.
27321 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27322 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27323 * sysdeps/sh/dl-trampoline.S: Likewise.
27324 * sysdeps/sh/memset.S: Likewise.
27325 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27326 * sysdeps/sh/strlen.S: Likewise.
27327 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27328 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27329 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27330 * sysdeps/sparc/sparc32/rem.S: Likewise.
27331 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27332 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27333 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27334 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27335 * sysdeps/sparc/sparc32/urem.S: Likewise.
27336 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27337 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27338 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27339 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27340 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27341 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27342 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27343 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27344 * sysdeps/unix/bsd/times.c: Likewise.
27345 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27346 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27350 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27351 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27352 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27353 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27354 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27355 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27356 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27357 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27358 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27359 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27360 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27361 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27362 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27363 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27364 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27365 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27366 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27367 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27368 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27369 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27370 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27371 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27372 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27373 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27374 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27375 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27376 * sysdeps/x86_64/strcspn.S: Likewise.
27378 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27380 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27381 generated file. Regenerate properly from gen-translit.pl.
27382 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27383 locale/C-translit.h.
27385 2013-06-05 Andreas Schwab <schwab@suse.de>
27388 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27389 week as 6 instead of -1.
27390 * time/tst-strptime.c (day_tests): Add test case.
27392 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27394 * sysdeps/generic/math_private.h
27395 (libc_feholdexcept_setround_53bit): Replace with
27396 libc_feholdsetround_53bit.
27397 (libc_feupdateenv_53bit): Replace with
27398 libc_feresetround_53bit.
27399 (SET_RESTORE_ROUND_53BIT): Adjust.
27401 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27403 * string/test-strchrnul.c: Add copyright header.
27405 * posix/tst-getaddrinfo4.c: Increase test timeout.
27407 2013-06-03 Carlos O'Donell <carlos@redhat.com>
27410 * math/libm-test.inc (MAX_EXP): Remove
27412 (ulp): Use MIN_EXP - MANT_DIG.
27413 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27415 2013-05-31 Carlos O'Donell <carlos@redhat.com>
27417 * po/be.po: Revert last change.
27418 * po/zh_CN.po: Likewise.
27419 * po/header.pot: Likewise.
27421 2013-05-31 Joseph Myers <joseph@codesourcery.com>
27423 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27424 link-libc-deps to empty as target-specific variable.
27425 * Makerules (link-libc-args): New variable.
27426 (libc-for-link): Likewise.
27427 (link-libc-deps): Likewise.
27428 (lib%.so): Depend on $(link-libc-deps). Link with
27430 (build-module): Link with $(link-libc-args).
27431 (build-module-asneeded): Likewise.
27432 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27434 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27435 target-specific variable.
27436 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27437 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27438 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27440 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27442 ($(objpfx)libpcprofile.so): Likewise.
27443 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27445 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27446 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27447 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27449 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27450 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27451 * login/Makefile ($(objpfx)libutil.so): Likewise.
27452 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27453 * math/Makefile ($(objpfx)libm.so): Likewise.
27454 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27455 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27456 variable instead of depending directly on libc.
27457 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27458 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27460 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27462 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27463 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27464 ($(objpfx)libanl.so): Likewise.
27465 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27467 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27469 * sysdeps/i386/fpu/Makefile: Remove file.
27470 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27471 ($(objpfx)libm.so): Remove dependency on ld.so.
27473 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
27476 * nis/yp_xdr.c (XDRMAXNAME): Define.
27477 (XDRMAXRECORD): Define.
27478 (xdr_domainname): Use XDRMAXNAME.
27479 (xdr_mapname): Likewise.
27480 (xdr_peername): Likewise.
27481 (xdr_keydat): Use XDRMAXRECORD.
27482 (xdr_valdat): Likewise.
27484 2013-05-30 Jeff Law <law@redhat.com>
27487 * manual/errno.texi (ESTALE): Update to account for more than
27488 just NFS file systems.
27489 * sysdeps/gnu/errlist.c: Regenerated.
27491 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27494 * elf/Makefile (tests): Add tst-null-argv.
27495 (modules-names): Add tst-null-argv-lib.
27496 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27497 (tst-null-argv-ENV): Set environment for tst-null-argv.
27498 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27499 (RTLD_PROGNAME): New macro.
27500 * elf/tst-null-argv.c: New test case.
27501 * elf/tst-null-argv-lib.c: Library for test case.
27502 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27503 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27504 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27505 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27506 * elf/dl-init.c (call_init): Likewise.
27507 (_dl_init): Likewise.
27508 * elf/dl-load.c (print_search_path): Likewise.
27509 (_dl_map_object): Likewise.
27510 * elf/dl-lookup.c (do_lookup_x): Likewise.
27511 (add_dependency): Likewise.
27512 (_dl_lookup_symbol_x): Likewise.
27513 (_dl_debug_bindings): Likewise.
27514 * elf/dl-open.c (_dl_show_scope): Likewise.
27515 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27516 * elf/dl-version.c (match_symbol): Likewise.
27517 (_dl_check_map_versions): Likewise.
27518 * elf/rtld.c (dl_main): Likewise.
27519 (print_unresolved): Use RTLD_PROGNAME.
27520 (print_missing_version): Likewise.
27521 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27522 (elf_machine_rela): Likewise.
27523 * sysdeps/powerpc/powerpc32/dl-machine.c
27524 (__process_machine_rela): Likewise.
27525 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27527 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27529 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27531 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27532 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27534 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27536 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27538 2013-05-28 Carlos O'Donell <carlos@redhat.com>
27540 * po/be.po: Add descriptive title.
27541 * po/zh_CN.po: Likewise.
27542 * po/header.pot: Likewise.
27544 2013-05-28 Mike Frysinger <vapier@gentoo.org>
27546 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27548 (enlarge_archive): Likewise.
27550 2013-05-28 Ben North <ben@redfrontdoor.org>
27552 * manual/arith.texi (frexp): It is the magnitude of the return
27553 value which lies in [0.5, 1), not the return value itself.
27555 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27559 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27561 * stdio-common/bug26.c (main): Correct fscanf template.
27563 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27564 declare _dl_skip_args.
27566 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27569 * manual/platform.texi: Add missing @end deftypefun.
27571 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27574 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27575 bit of mantissa of 2^16382.
27576 * math/libm-test.inc (hypot_test_data): Add more tests.
27578 * math/libm-test.inc: Add drem and pow10 to list of tested
27580 (pow10_test): New function.
27581 (drem_test): Likewise.
27582 (drem_test_tonearest): Likewise.
27583 (drem_test_towardzero): Likewise.
27584 (drem_test_downward): Likewise.
27585 (drem_test_upward): Likewise.
27586 (main): Call the new functions.
27588 * math/libm-test.inc (finite_test_data): Remove.
27589 (finite_test): Run tests from isfinite_test_data.
27590 (gamma_test_data): Remove.
27591 (gamma_test): Run tests from lgamma_test_data.
27592 * sysdeps/i386/fpu/libm-test-ulps: Update.
27593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27595 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27597 * manual/platform.texi: Add PowerPC PPR function set documentation.
27598 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27601 2013-05-24 Carlos O'Donell <carlos@redhat.com>
27603 * math/libm-test.inc (MAX_EXP): Define.
27605 (ulp): New function.
27606 (check_float_internal): Use ULPDIFF.
27607 (cpow_test): Disable failing test.
27608 (check_ulp): Test ulp() implemetnation.
27609 (main): Call check_ulp before starting tests.
27611 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27613 * math/gen-libm-test.pl (generate_testfile): Do not handle
27614 START_DATA and END_DATA.
27615 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27617 (acos_tonearest_test_data): Likewise.
27618 (acos_towardzero_test_data): Likewise.
27619 (acos_downward_test_data): Likewise.
27620 (acos_upward_test_data): Likewise.
27621 (acosh_test_data): Likewise.
27622 (asin_test_data): Likewise.
27623 (asin_tonearest_test_data): Likewise.
27624 (asin_towardzero_test_data): Likewise.
27625 (asin_downward_test_data): Likewise.
27626 (asin_upward_test_data): Likewise.
27627 (asinh_test_data): Likewise.
27628 (atan_test_data): Likewise.
27629 (atanh_test_data): Likewise.
27630 (atan2_test_data): Likewise.
27631 (cabs_test_data): Likewise.
27632 (cacos_test_data): Likewise.
27633 (cacosh_test_data): Likewise.
27634 (carg_test_data): Likewise.
27635 (casin_test_data): Likewise.
27636 (casinh_test_data): Likewise.
27637 (catan_test_data): Likewise.
27638 (catanh_test_data): Likewise.
27639 (cbrt_test_data): Likewise.
27640 (ccos_test_data): Likewise.
27641 (ccosh_test_data): Likewise.
27642 (ceil_test_data): Likewise.
27643 (cexp_test_data): Likewise.
27644 (cimag_test_data): Likewise.
27645 (clog_test_data): Likewise.
27646 (clog10_test_data): Likewise.
27647 (conj_test_data): Likewise.
27648 (copysign_test_data): Likewise.
27649 (cos_test_data): Likewise.
27650 (cos_tonearest_test_data): Likewise.
27651 (cos_towardzero_test_data): Likewise.
27652 (cos_downward_test_data): Likewise.
27653 (cos_upward_test_data): Likewise.
27654 (cosh_test_data): Likewise.
27655 (cosh_tonearest_test_data): Likewise.
27656 (cosh_towardzero_test_data): Likewise.
27657 (cosh_downward_test_data): Likewise.
27658 (cosh_upward_test_data): Likewise.
27659 (cpow_test_data): Likewise.
27660 (cproj_test_data): Likewise.
27661 (creal_test_data): Likewise.
27662 (csin_test_data): Likewise.
27663 (csinh_test_data): Likewise.
27664 (csqrt_test_data): Likewise.
27665 (ctan_test_data): Likewise.
27666 (ctan_tonearest_test_data): Likewise.
27667 (ctan_towardzero_test_data): Likewise.
27668 (ctan_downward_test_data): Likewise.
27669 (ctan_upward_test_data): Likewise.
27670 (ctanh_test_data): Likewise.
27671 (ctanh_tonearest_test_data): Likewise.
27672 (ctanh_towardzero_test_data): Likewise.
27673 (ctanh_downward_test_data): Likewise.
27674 (ctanh_upward_test_data): Likewise.
27675 (erf_test_data): Likewise.
27676 (erfc_test_data): Likewise.
27677 (exp_test_data): Likewise.
27678 (exp_tonearest_test_data): Likewise.
27679 (exp_towardzero_test_data): Likewise.
27680 (exp_downward_test_data): Likewise.
27681 (exp_upward_test_data): Likewise.
27682 (exp10_test_data): Likewise.
27683 (exp2_test_data): Likewise.
27684 (expm1_test_data): Likewise.
27685 (fabs_test_data): Likewise.
27686 (fdim_test_data): Likewise.
27687 (finite_test_data): Likewise.
27688 (floor_test_data): Likewise.
27689 (fma_test_data): Likewise.
27690 (fma_towardzero_test_data): Likewise.
27691 (fma_downward_test_data): Likewise.
27692 (fma_upward_test_data): Likewise.
27693 (fmax_test_data): Likewise.
27694 (fmin_test_data): Likewise.
27695 (fmod_test_data): Likewise.
27696 (fpclassify_test_data): Likewise.
27697 (frexp_test_data): Likewise.
27698 (gamma_test_data): Likewise.
27699 (hypot_test_data): Likewise.
27700 (ilogb_test_data): Likewise.
27701 (isfinite_test_data): Likewise.
27702 (isgreater_test_data): Likewise.
27703 (isgreaterequal_test_data): Likewise.
27704 (isinf_test_data): Likewise.
27705 (isless_test_data): Likewise.
27706 (islessequal_test_data): Likewise.
27707 (islessgreater_test_data): Likewise.
27708 (isnan_test_data): Likewise.
27709 (isnormal_test_data): Likewise.
27710 (issignaling_test_data): Likewise.
27711 (isunordered_test_data): Likewise.
27712 (j0_test_data): Likewise.
27713 (j1_test_data): Likewise.
27714 (jn_test_data): Likewise.
27715 (ldexp_test_data): Likewise.
27716 (lgamma_test_data): Likewise.
27717 (lrint_test_data): Likewise.
27718 (lrint_tonearest_test_data): Likewise.
27719 (lrint_towardzero_test_data): Likewise.
27720 (lrint_downward_test_data): Likewise.
27721 (lrint_upward_test_data): Likewise.
27722 (llrint_test_data): Likewise.
27723 (llrint_tonearest_test_data): Likewise.
27724 (llrint_towardzero_test_data): Likewise.
27725 (llrint_downward_test_data): Likewise.
27726 (llrint_upward_test_data): Likewise.
27727 (log_test_data): Likewise.
27728 (log10_test_data): Likewise.
27729 (log1p_test_data): Likewise.
27730 (log2_test_data): Likewise.
27731 (logb_test_data): Likewise.
27732 (logb_downward_test_data): Likewise.
27733 (lround_test_data): Likewise.
27734 (llround_test_data): Likewise.
27735 (modf_test_data): Likewise.
27736 (nearbyint_test_data): Likewise.
27737 (nextafter_test_data): Likewise.
27738 (nexttoward_test_data): Likewise.
27739 (pow_test_data): Likewise.
27740 (pow_tonearest_test_data): Likewise.
27741 (pow_towardzero_test_data): Likewise.
27742 (pow_downward_test_data): Likewise.
27743 (pow_upward_test_data): Likewise.
27744 (remainder_test_data): Likewise.
27745 (remainder_tonearest_test_data): Likewise.
27746 (remainder_towardzero_test_data): Likewise.
27747 (remainder_downward_test_data): Likewise.
27748 (remainder_upward_test_data): Likewise.
27749 (remquo_test_data): Likewise.
27750 (rint_test_data): Likewise.
27751 (rint_tonearest_test_data): Likewise.
27752 (rint_towardzero_test_data): Likewise.
27753 (rint_downward_test_data): Likewise.
27754 (rint_upward_test_data): Likewise.
27755 (round_test_data): Likewise.
27756 (scalb_test_data): Likewise.
27757 (scalbn_test_data): Likewise.
27758 (scalbln_test_data): Likewise.
27759 (signbit_test_data): Likewise.
27760 (sin_test_data): Likewise.
27761 (sin_tonearest_test_data): Likewise.
27762 (sin_towardzero_test_data): Likewise.
27763 (sin_downward_test_data): Likewise.
27764 (sin_upward_test_data): Likewise.
27765 (sincos_test_data): Likewise.
27766 (sinh_test_data): Likewise.
27767 (sinh_tonearest_test_data): Likewise.
27768 (sinh_towardzero_test_data): Likewise.
27769 (sinh_downward_test_data): Likewise.
27770 (sinh_upward_test_data): Likewise.
27771 (sqrt_test_data): Likewise.
27772 (tan_test_data): Likewise.
27773 (tan_tonearest_test_data): Likewise.
27774 (tan_towardzero_test_data): Likewise.
27775 (tan_downward_test_data): Likewise.
27776 (tan_upward_test_data): Likewise.
27777 (tanh_test_data): Likewise.
27778 (tgamma_test_data): Likewise.
27779 (trunc_test_data): Likewise.
27780 (y0_test_data): Likewise.
27781 (y1_test_data): Likewise.
27782 (yn_test_data): Likewise.
27783 (significand_test_data): Likewise.
27785 * math/gen-libm-test.pl (@functions): Remove variable.
27786 (generate_testfile): Don't handle START and END lines.
27787 * math/libm-test.inc (START): New macro.
27789 (END_COMPLEX): Likewise.
27790 (acos_test): Use END macro without arguments.
27791 (acos_test_tonearest): Likewise.
27792 (acos_test_towardzero): Likewise.
27793 (acos_test_downward): Likewise.
27794 (acos_test_upward): Likewise.
27795 (acosh_test): Likewise.
27796 (asin_test): Likewise.
27797 (asin_test_tonearest): Likewise.
27798 (asin_test_towardzero): Likewise.
27799 (asin_test_downward): Likewise.
27800 (asin_test_upward): Likewise.
27801 (asinh_test): Likewise.
27802 (atan_test): Likewise.
27803 (atanh_test): Likewise.
27804 (atan2_test): Likewise.
27805 (cabs_test): Likewise.
27806 (cacos_test): Use END_COMPLEX macro without arguments.
27807 (cacosh_test): Likewise.
27808 (carg_test): Use END macro without arguments.
27809 (casin_test): Use END_COMPLEX macro without arguments.
27810 (casinh_test): Likewise.
27811 (catan_test): Likewise.
27812 (catanh_test): Likewise.
27813 (cbrt_test): Use END macro without arguments.
27814 (ccos_test): Use END_COMPLEX macro without arguments.
27815 (ccosh_test): Likewise.
27816 (ceil_test): Use END macro without arguments.
27817 (cexp_test): Use END_COMPLEX macro without arguments.
27818 (cimag_test): Use END macro without arguments.
27819 (clog_test): Use END_COMPLEX macro without arguments.
27820 (clog10_test): Likewise.
27821 (conj_test): Likewise.
27822 (copysign_test): Use END macro without arguments.
27823 (cos_test): Likewise.
27824 (cos_test_tonearest): Likewise.
27825 (cos_test_towardzero): Likewise.
27826 (cos_test_downward): Likewise.
27827 (cos_test_upward): Likewise.
27828 (cosh_test): Likewise.
27829 (cosh_test_tonearest): Likewise.
27830 (cosh_test_towardzero): Likewise.
27831 (cosh_test_downward): Likewise.
27832 (cosh_test_upward): Likewise.
27833 (cpow_test): Use END_COMPLEX macro without arguments.
27834 (cproj_test): Likewise.
27835 (creal_test): Use END macro without arguments.
27836 (csin_test): Use END_COMPLEX macro without arguments.
27837 (csinh_test): Likewise.
27838 (csqrt_test): Likewise.
27839 (ctan_test): Likewise.
27840 (ctan_test_tonearest): Likewise.
27841 (ctan_test_towardzero): Likewise.
27842 (ctan_test_downward): Likewise.
27843 (ctan_test_upward): Likewise.
27844 (ctanh_test): Likewise.
27845 (ctanh_test_tonearest): Likewise.
27846 (ctanh_test_towardzero): Likewise.
27847 (ctanh_test_downward): Likewise.
27848 (ctanh_test_upward): Likewise.
27849 (erf_test): Use END macro without arguments.
27850 (erfc_test): Likewise.
27851 (exp_test): Likewise.
27852 (exp_test_tonearest): Likewise.
27853 (exp_test_towardzero): Likewise.
27854 (exp_test_downward): Likewise.
27855 (exp_test_upward): Likewise.
27856 (exp10_test): Likewise.
27857 (exp2_test): Likewise.
27858 (expm1_test): Likewise.
27859 (fabs_test): Likewise.
27860 (fdim_test): Likewise.
27861 (finite_test): Likewise.
27862 (floor_test): Likewise.
27863 (fma_test): Likewise.
27864 (fma_test_towardzero): Likewise.
27865 (fma_test_downward): Likewise.
27866 (fma_test_upward): Likewise.
27867 (fmax_test): Likewise.
27868 (fmin_test): Likewise.
27869 (fmod_test): Likewise.
27870 (fpclassify_test): Likewise.
27871 (frexp_test): Likewise.
27872 (gamma_test): Likewise.
27873 (hypot_test): Likewise.
27874 (ilogb_test): Likewise.
27875 (isfinite_test): Likewise.
27876 (isgreater_test): Likewise.
27877 (isgreaterequal_test): Likewise.
27878 (isinf_test): Likewise.
27879 (isless_test): Likewise.
27880 (islessequal_test): Likewise.
27881 (islessgreater_test): Likewise.
27882 (isnan_test): Likewise.
27883 (isnormal_test): Likewise.
27884 (issignaling_test): Likewise.
27885 (isunordered_test): Likewise.
27886 (j0_test): Likewise.
27887 (j1_test): Likewise.
27888 (jn_test): Likewise.
27889 (ldexp_test): Likewise.
27890 (lgamma_test): Likewise.
27891 (lrint_test): Likewise.
27892 (lrint_test_tonearest): Likewise.
27893 (lrint_test_towardzero): Likewise.
27894 (lrint_test_downward): Likewise.
27895 (lrint_test_upward): Likewise.
27896 (llrint_test): Likewise.
27897 (llrint_test_tonearest): Likewise.
27898 (llrint_test_towardzero): Likewise.
27899 (llrint_test_downward): Likewise.
27900 (llrint_test_upward): Likewise.
27901 (log_test): Likewise.
27902 (log10_test): Likewise.
27903 (log1p_test): Likewise.
27904 (log2_test): Likewise.
27905 (logb_test): Likewise.
27906 (logb_test_downward): Likewise.
27907 (lround_test): Likewise.
27908 (llround_test): Likewise.
27909 (modf_test): Likewise.
27910 (nearbyint_test): Likewise.
27911 (nextafter_test): Likewise.
27912 (nexttoward_test): Likewise.
27913 (pow_test): Likewise.
27914 (pow_test_tonearest): Likewise.
27915 (pow_test_towardzero): Likewise.
27916 (pow_test_downward): Likewise.
27917 (pow_test_upward): Likewise.
27918 (remainder_test): Likewise.
27919 (remainder_test_tonearest): Likewise.
27920 (remainder_test_towardzero): Likewise.
27921 (remainder_test_downward): Likewise.
27922 (remainder_test_upward): Likewise.
27923 (remquo_test): Likewise.
27924 (rint_test): Likewise.
27925 (rint_test_tonearest): Likewise.
27926 (rint_test_towardzero): Likewise.
27927 (rint_test_downward): Likewise.
27928 (rint_test_upward): Likewise.
27929 (round_test): Likewise.
27930 (scalb_test): Likewise.
27931 (scalbn_test): Likewise.
27932 (scalbln_test): Likewise.
27933 (signbit_test): Likewise.
27934 (sin_test): Likewise.
27935 (sin_test_tonearest): Likewise.
27936 (sin_test_towardzero): Likewise.
27937 (sin_test_downward): Likewise.
27938 (sin_test_upward): Likewise.
27939 (sincos_test): Likewise.
27940 (sinh_test): Likewise.
27941 (sinh_test_tonearest): Likewise.
27942 (sinh_test_towardzero): Likewise.
27943 (sinh_test_downward): Likewise.
27944 (sinh_test_upward): Likewise.
27945 (sqrt_test): Likewise.
27946 (tan_test): Likewise.
27947 (tan_test_tonearest): Likewise.
27948 (tan_test_towardzero): Likewise.
27949 (tan_test_downward): Likewise.
27950 (tan_test_upward): Likewise.
27951 (tanh_test): Likewise.
27952 (tgamma_test): Likewise.
27953 (trunc_test): Likewise.
27954 (y0_test): Likewise.
27955 (y1_test): Likewise.
27956 (yn_test): Likewise.
27957 (significand_test): Likewise.
27959 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
27962 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27964 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27967 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27968 __ppc_mdoio and __ppc_mdoom.
27969 * manual/platform.texi: Document new functions __ppc_yield,
27970 __ppc_mdoio and __ppc_mdoom.
27972 2013-05-22 Carlos O'Donell <carlos@redhat.com>
27974 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27975 (main): Mention "tls" pseudo-hwcap is legacy.
27976 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27978 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27980 * math/gen-libm-test.pl (parse_args): Output only string of
27981 arguments as text for test name, not full call or descriptions of
27982 tests for extra outputs.
27983 (generate_testfile): Do not pass function name to parse_args.
27984 Generate this_func variable from START.
27985 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27987 (struct test_ff_f_data): Likewise.
27988 (test_ff_f_data_nexttoward): Likewise.
27989 (struct test_fi_f_data): Likewise.
27990 (struct test_fl_f_data): Likewise.
27991 (struct test_if_f_data): Likewise.
27992 (struct test_fff_f_data): Likewise.
27993 (struct test_c_f_data): Likewise.
27994 (struct test_f_f1_data): Likewise. Remove field extra_name.
27995 (struct test_fF_f1_data): Likewise.
27996 (struct test_ffI_f1_data): Likewise.
27997 (struct test_c_c_data): Rename test_name field to arg_str.
27998 (struct test_cc_c_data): Likewise.
27999 (struct test_f_i_data): Likewise.
28000 (struct test_ff_i_data): Likewise.
28001 (struct test_f_l_data): Likewise.
28002 (struct test_f_L_data): Likewise.
28003 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28005 (COMMON_TEST_SETUP): New macro.
28006 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28007 (COMMON_TEST_CLEANUP): Likewise.
28008 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28009 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28011 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28012 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28014 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28015 (RUN_TEST_fff_f): Take argument string. Call new setup and
28017 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28018 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28020 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28021 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28023 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28024 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28026 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28027 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28029 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28030 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28032 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28033 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28035 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28036 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28038 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28039 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28041 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28042 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28044 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28045 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28047 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28048 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28050 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28051 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28053 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28054 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28056 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28057 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28059 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28060 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28062 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28064 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28066 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28067 to _sifields.sigfault.
28068 (si_addr_lsb): Define new macro.
28069 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28070 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28071 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28073 2013-05-03 Carlos O'Donell <carlos at redhat.com>
28076 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28078 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28080 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28081 loading the domain.
28083 2013-05-22 Joseph Myers <joseph@codesourcery.com>
28085 * math/gen-libm-test.pl (parse_args): Do not include expected
28086 result in test name.
28087 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28088 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28089 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28090 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28091 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28094 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28096 * benchtests/Makefile: Sort function entries.
28098 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28099 tanh, asinh, acosh, atanh.
28100 * benchtests/acos-inputs: New file.
28101 * benchtests/acosh-inputs: New file.
28102 * benchtests/asin-inputs: New file.
28103 * benchtests/asinh-inputs: New file.
28104 * benchtests/atanh-inputs: New file.
28105 * benchtests/cosh-inputs: New file.
28106 * benchtests/log-inputs: New file.
28107 * benchtests/sinh-inputs: New file.
28108 * benchtests/tanh-inputs: New file.
28110 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28113 * posix/tst-getaddrinfo4.c: New test.
28114 * posix/Makefile (tests): Add it.
28116 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28119 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28120 when no services were used.
28121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28122 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28124 2013-05-21 Andreas Schwab <schwab@suse.de>
28127 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28128 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28130 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28131 redundant variable declarations and reallocation of buffer when
28132 parsing as IPv6 address. Always set NSS status when called from
28133 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28134 buffer too small. Correct computation of needed size.
28135 * nss/Makefile (tests): Add test-digits-dots.
28136 * nss/test-digits-dots.c: New test.
28138 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28140 * benchtests/Makefile: Remove instructions for adding
28142 * benchtests/README: New file to explain how to execute and
28143 enhance the benchmark tests.
28145 2013-05-21 Andreas Schwab <schwab@suse.de>
28148 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28149 * setjmp/tst-sigsetjmp.c: New test.
28151 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
28153 * sysdeps/x86_64/memset.S (memset): New implementation.
28154 (__bzero): Likewise.
28155 (__memset_tail): New function.
28157 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
28159 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28160 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28161 __memcpy_sse2_unaligned ifunc selection.
28162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28163 Add memcpy-sse2-unaligned.S.
28164 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28165 Add: __memcpy_sse2_unaligned.
28167 2013-05-19 Joseph Myers <joseph@codesourcery.com>
28170 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28171 math_force_eval before restoring floating-point envrionment.
28172 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28173 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28175 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28177 (__nearbyintl): Use math_force_eval before restoring
28178 floating-point environment.
28179 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28181 * math/gen-libm-test.pl (special_functions): Remove.
28182 (parse_args): Don't handle TEST_extra. Handle functions with no
28184 * math/libm-test.inc (struct test_sincos_data): Replace with
28185 struct test_fFF_11_data.
28186 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28187 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28188 (sincos_test_data): Change element type to struct
28189 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28190 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28191 RUN_TEST_LOOP_sincos.
28192 * math/README.libm-test: Don't mention special handling of
28193 individual functions.
28194 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28195 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28196 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28197 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28198 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28201 * math/gen-libm-test.pl (get_variable): Remove function.
28202 (parse_args): Don't show pointer parameters to call in test
28203 names. Use "extra output N" in test names for extra outputs
28204 rather than naming variables.
28206 2013-05-18 Joseph Myers <joseph@codesourcery.com>
28209 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28210 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28211 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28213 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28215 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28218 * math/gen-libm-test.pl (@tests): Remove variable.
28219 ($count): Likewise.
28220 (new_test): Remove function.
28221 (show_exceptions): New function.
28222 (special_functions): Use show_exceptions instead of new_test.
28223 (parse_args): Likewise.
28224 (generate_testfile): Pass only function name in generated call to
28225 print_max_error or print_complex_max_error.
28226 (get_ulps): Do not handle complex tests specially.
28227 (output_test): Rename to ...
28228 (get_all_ulps_for_test): ... this. Return a string rather than
28229 printing to a file. Require ulps to be present.
28230 (output_ulps): Generate arrays rather than #defines.
28231 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28232 (struct ulp_data): New type.
28233 (BUILD_COMPLEX_ULP): Remove macro.
28234 (compare_ulp_data): New function.
28235 (find_ulps): Likewise.
28236 (find_test_ulps): Likewise.
28237 (find_function_ulps): Likewise.
28238 (find_complex_function_ulps): Likewise.
28239 (print_max_error): Determine allowed ulps using
28240 find_function_ulps.
28241 (print_complex_max_error): Determine allowed ulps using
28242 find_complex_function_ulps.
28243 (check_float_internal): Determine max ulps using find_test_ulps.
28244 (check_float): Do not take max_ulp parameter. Update call to
28245 check_float_internal.
28246 (check_complex): Likewise.
28247 (check_int): Do not take max_ulp parameter.
28248 (check_long): Likewise.
28249 (check_bool): Likewise.
28250 (check_longlong): Likewise.
28251 (struct test_f_f_data): Remove max_ulp field.
28252 (struct test_ff_f_data): Likewise.
28253 (struct test_ff_f_data_nexttoward): Likewise.
28254 (struct test_fi_f_data): Likewise.
28255 (struct test_fl_f_data): Likewise.
28256 (struct test_if_f_data): Likewise.
28257 (struct test_fff_f_data): Likewise.
28258 (struct test_c_f_data): Likewise.
28259 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28260 (struct test_fF_f1_data): Likewise.
28261 (struct test_ffI_f1_data): Likewise.
28262 (struct test_c_c_data): Remove max_ulp field.
28263 (struct test_cc_c_data): Likewise.
28264 (struct test_f_i_data): Likewise.
28265 (struct test_ff_i_data): Likewise.
28266 (struct test_f_l_data): Likewise.
28267 (struct test_f_L_data): Likewise.
28268 (struct test_sincos_data): Likewise.
28269 (RUN_TEST_f_f): Do not handle ulps.
28270 (RUN_TEST_LOOP_f_f): Likewise.
28271 (RUN_TEST_2_f): Likewise.
28272 (RUN_TEST_LOOP_2_f): Likewise.
28273 (RUN_TEST_fff_f): Likewise.
28274 (RUN_TEST_LOOP_fff_f): Likewise.
28275 (RUN_TEST_c_f): Likewise.
28276 (RUN_TEST_LOOP_c_f): Likewise.
28277 (RUN_TEST_f_f1): Likewise.
28278 (RUN_TEST_LOOP_f_f1): Likewise.
28279 (RUN_TEST_fF_f1): Likewise.
28280 (RUN_TEST_LOOP_fF_f1): Likewise.
28281 (RUN_TEST_fI_f1): Likewise.
28282 (RUN_TEST_LOOP_fI_f1): Likewise.
28283 (RUN_TEST_ffI_f1): Likewise.
28284 (RUN_TEST_LOOP_ffI_f1): Likewise.
28285 (RUN_TEST_c_c): Likewise.
28286 (RUN_TEST_LOOP_c_c): Likewise.
28287 (RUN_TEST_cc_c): Likewise.
28288 (RUN_TEST_LOOP_cc_c): Likewise.
28289 (RUN_TEST_f_i): Likewise.
28290 (RUN_TEST_LOOP_f_i): Likewise.
28291 (RUN_TEST_f_i_tg): Likewise.
28292 (RUN_TEST_LOOP_f_i_tg): Likewise.
28293 (RUN_TEST_ff_i_tg): Likewise.
28294 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28295 (RUN_TEST_f_b): Likewise.
28296 (RUN_TEST_LOOP_f_b): Likewise.
28297 (RUN_TEST_f_b_tg): Likewise.
28298 (RUN_TEST_LOOP_f_b_tg): Likewise.
28299 (RUN_TEST_f_l): Likewise.
28300 (RUN_TEST_LOOP_f_l): Likewise.
28301 (RUN_TEST_f_L): Likewise.
28302 (RUN_TEST_LOOP_f_L): Likewise.
28303 (RUN_TEST_sincos): Likewise.
28304 (RUN_TEST_LOOP_sincos): Likewise.
28306 2013-05-17 Joseph Myers <joseph@codesourcery.com>
28310 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28311 main case of finite arguments, set rounding mode to FE_TONEAREST
28312 and discard exceptions.
28313 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28315 (remainder_tonearest_test_data): New variable.
28316 (remainder_test_tonearest): New function.
28317 (remainder_towardzero_test_data): New variable.
28318 (remainder_test_towardzero): New function.
28319 (remainder_downward_test_data): New variable.
28320 (remainder_test_downward): New function.
28321 (remainder_upward_test_data): New variable.
28322 (remainder_test_upward): New function.
28323 (main): Call the new test functions.
28325 * math/libm-test.inc (struct test_f_f1_data): Remove field
28327 (struct test_fF_f1_data): Likewise.
28328 (struct test_ffI_f1_data): Likewise.
28329 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28330 based on value of EXTRA_EXPECTED.
28331 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28332 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28333 EXTRA_VAR based on value of EXTRA_EXPECTED.
28334 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28335 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28336 EXTRA_VAR based on value of EXTRA_EXPECTED.
28337 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28338 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28339 EXTRA_VAR based on value of EXTRA_EXPECTED.
28340 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28341 * math/gen-libm-test.pl (parse_args): Don't output initializers
28342 for extra output values.
28344 * math/libm-test.inc (check_int): Expect result to be exactly
28345 equal to expected value and do not handle ulps.
28346 (check_long): Likewise.
28347 (check_longlong): Likewise.
28349 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28351 (cimag_test_data): Likewise.
28352 (conj_test_data): Likewise.
28353 (copysign_test_data): Likewise.
28354 (cproj_test_data): Likewise.
28355 (creal_test_data): Likewise.
28356 (fabs_test_data): Likewise.
28357 (fdim_test_data): Likewise.
28358 (finite_test_data): Likewise.
28359 (floor_test_data): Likewise.
28360 (fmax_test_data): Likewise.
28361 (fmin_test_data): Likewise.
28362 (fmod_test_data): Likewise.
28363 (fpclassify_test_data): Likewise.
28364 (frexp_test_data): Likewise.
28365 (ilogb_test_data): Likewise.
28366 (isfinite_test_data): Likewise.
28367 (isgreater_test_data): Likewise.
28368 (isgreaterequal_test_data): Likewise.
28369 (isinf_test_data): Likewise.
28370 (isless_test_data): Likewise.
28371 (islessequal_test_data): Likewise.
28372 (islessgreater_test_data): Likewise.
28373 (isnan_test_data): Likewise.
28374 (isnormal_test_data): Likewise.
28375 (issignaling_test_data): Likewise.
28376 (isunordered_test_data): Likewise.
28377 (ldexp_test_data): Likewise.
28378 (lrint_test_data): Likewise.
28379 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28380 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28381 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28382 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28383 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28384 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28386 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28387 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28388 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28389 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28391 (lrint_downward_test_data): Test for "inexact" exceptions.
28392 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28393 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28394 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28396 (lrint_upward_test_data): Test for "inexact" exceptions.
28397 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28399 (llrint_test_data): Test for "inexact" exceptions.
28400 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28401 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28402 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28403 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28404 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28405 (llrint_downward_test_data): Test for "inexact" exceptions.
28406 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28407 (llrint_upward_test_data): Test for "inexact" exceptions.
28408 (logb_test_data): Likewise.
28409 (logb_downward_test_data): Likewise.
28410 (nextafter_test_data): Likewise.
28411 (nexttoward_test_data): Likewise.
28412 (remainder_test_data): Likewise.
28413 (remquo_test_data): Likewise.
28414 (scalbn_test_data): Likewise.
28415 (scalbln_test_data): Likewise.
28416 (signbit_test_data): Likewise.
28417 (sqrt_test_data): Likewise.
28418 (significand_test_data): Likewise.
28420 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28423 * benchtests/bench-modf.c (struct args): Mark arg0 as
28425 * scripts/bench.pl: Mark members of struct args as volatile.
28427 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28430 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28431 negative infinity on POWER6 or lower.
28432 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28434 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28437 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28438 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28439 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28440 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28441 (_FP_SETQNAN): New macro.
28442 (_FP_SETQNAN_SEMIRAW): Likewise.
28443 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28444 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28445 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28446 (FP_EXTEND): Use _FP_FRAC_SNANP.
28447 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28448 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28450 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28452 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28455 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28457 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28458 with DIVIDE_BY_ZERO_EXCEPTION.
28459 (gamma_test_data): Likewise.
28460 (lgamma_test_data): Likewise.
28461 (log_test_data): Likewise.
28462 (log10_test_data): Likewise.
28463 (log2_test_data): Likewise.
28464 (tgamma_test_data): Likewise.
28466 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28467 (acos_test_tonearest): Likewise.
28468 (acos_test_towardzero): Likewise.
28469 (acos_test_downward): Likewise.
28470 (acos_test_upward): Likewise.
28471 (acosh_test): Likewise.
28472 (asin_test): Likewise.
28473 (asin_test_tonearest): Likewise.
28474 (asin_test_towardzero): Likewise.
28475 (asin_test_downward): Likewise.
28476 (asin_test_upward): Likewise.
28477 (asinh_test): Likewise.
28478 (atan_test): Likewise.
28479 (atanh_test): Likewise.
28480 (atan2_test): Likewise.
28481 (cabs_test): Likewise.
28482 (cacos_test): Likewise.
28483 (cacosh_test): Likewise.
28484 (casin_test): Likewise.
28485 (casinh_test): Likewise.
28486 (catan_test): Likewise.
28487 (catanh_test): Likewise.
28488 (cbrt_test): Likewise.
28489 (ccos_test): Likewise.
28490 (ccosh_test): Likewise.
28491 (cexp_test): Likewise.
28492 (clog_test): Likewise.
28493 (clog10_test): Likewise.
28494 (cos_test): Likewise.
28495 (cos_test_tonearest): Likewise.
28496 (cos_test_towardzero): Likewise.
28497 (cos_test_downward): Likewise.
28498 (cos_test_upward): Likewise.
28499 (cosh_test): Likewise.
28500 (cosh_test_tonearest): Likewise.
28501 (cosh_test_towardzero): Likewise.
28502 (cosh_test_downward): Likewise.
28503 (cosh_test_upward): Likewise.
28504 (cpow_test): Likewise.
28505 (csin_test): Likewise.
28506 (csinh_test): Likewise.
28507 (csqrt_test): Likewise.
28508 (ctan_test): Likewise.
28509 (ctan_test_tonearest): Likewise.
28510 (ctan_test_towardzero): Likewise.
28511 (ctan_test_downward): Likewise.
28512 (ctan_test_upward): Likewise.
28513 (ctanh_test): Likewise.
28514 (ctanh_test_tonearest): Likewise.
28515 (ctanh_test_towardzero): Likewise.
28516 (ctanh_test_downward): Likewise.
28517 (ctanh_test_upward): Likewise.
28518 (erf_test): Likewise.
28519 (erfc_test): Likewise.
28520 (exp_test): Likewise.
28521 (exp_test_tonearest): Likewise.
28522 (exp_test_towardzero): Likewise.
28523 (exp_test_downward): Likewise.
28524 (exp_test_upward): Likewise.
28525 (exp10_test): Likewise.
28526 (exp2_test): Likewise.
28527 (expm1_test): Likewise.
28528 (fmod_test): Likewise.
28529 (gamma_test): Likewise.
28530 (hypot_test): Likewise.
28531 (j0_test): Likewise.
28532 (j1_test): Likewise.
28533 (jn_test): Likewise.
28534 (lgamma_test): Likewise.
28535 (log_test): Likewise.
28536 (log10_test): Likewise.
28537 (log1p_test): Likewise.
28538 (log2_test): Likewise.
28539 (logb_test_downward): Likewise.
28540 (pow_test): Likewise.
28541 (pow_test_tonearest): Likewise.
28542 (pow_test_towardzero): Likewise.
28543 (pow_test_downward): Likewise.
28544 (pow_test_upward): Likewise.
28545 (remainder_test): Likewise.
28546 (remquo_test): Likewise.
28547 (sin_test): Likewise.
28548 (sin_test_tonearest): Likewise.
28549 (sin_test_towardzero): Likewise.
28550 (sin_test_downward): Likewise.
28551 (sin_test_upward): Likewise.
28552 (sincos_test): Likewise.
28553 (sinh_test): Likewise.
28554 (sinh_test_tonearest): Likewise.
28555 (sinh_test_towardzero): Likewise.
28556 (sinh_test_downward): Likewise.
28557 (sinh_test_upward): Likewise.
28558 (sqrt_test): Likewise.
28559 (tan_test): Likewise.
28560 (tan_test_tonearest): Likewise.
28561 (tan_test_towardzero): Likewise.
28562 (tan_test_downward): Likewise.
28563 (tan_test_upward): Likewise.
28564 (tanh_test): Likewise.
28565 (tgamma_test): Likewise.
28566 (y0_test): Likewise.
28567 (y1_test): Likewise.
28568 (yn_test): Likewise.
28570 * math/gen-libm-test.pl (adjust_arg): Remove function.
28571 (special_function): Remove argument $in_func. Only handle
28572 generating output for tables of tests, not inside functions.
28573 (parse_args): Likewise.
28574 (generate_testfile): Remove variable $in_func. Update call to
28576 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28577 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28578 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28579 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28580 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28581 (MAX_VALUE_INIT): Rename macro to max_value.
28582 (MIN_VALUE_INIT): Rename macro to min_value.
28583 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28584 (plus_zero): Remove variable.
28585 (minus_zero): Likewise.
28586 (plus_infty): Likewise.
28587 (minus_infty): Likewise.
28588 (qnan_value): Likewise.
28589 (max_value): Likewise.
28590 (min_value): Likewise.
28591 (min_subnorm_value): Likewise.
28593 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28595 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28596 uint64_t or uint32_t usage.
28597 * crypt/sha256-block.c: Likewise.
28598 * crypt/sha256-crypt.c: Likewise.
28599 * crypt/sha256.c: Likewise.
28600 * crypt/sha512-block.c: Likewise.
28601 * crypt/sha512-crypt.c: Likewise.
28602 * crypt/sha512.c: Likewise.
28603 * debug/backtrace-tst.c: Likewise.
28604 * debug/pcprofiledump.c: Likewise.
28605 * elf/cache.c: Likewise.
28606 * elf/dl-cache.c: Likewise.
28607 * elf/dl-misc.c: Likewise.
28608 * elf/dl-profile.c: Likewise.
28609 * elf/dl-support.c: Likewise.
28610 * elf/ldconfig.c: Likewise.
28611 * elf/sprof.c: Likewise.
28612 * iconv/dummy-repertoire.c: Likewise.
28613 * iconv/iconv_charmap.c: Likewise.
28614 * iconv/skeleton.c: Likewise.
28615 * iconvdata/8bit-generic.c: Likewise.
28616 * iconvdata/cp737.h: Likewise.
28617 * iconvdata/cp775.h: Likewise.
28618 * iconvdata/ibm1008.h: Likewise.
28619 * iconvdata/ibm1025.h: Likewise.
28620 * iconvdata/ibm1046.h: Likewise.
28621 * iconvdata/ibm1097.h: Likewise.
28622 * iconvdata/ibm1112.h: Likewise.
28623 * iconvdata/ibm1122.h: Likewise.
28624 * iconvdata/ibm1123.h: Likewise.
28625 * iconvdata/ibm1124.h: Likewise.
28626 * iconvdata/ibm1129.h: Likewise.
28627 * iconvdata/ibm1130.h: Likewise.
28628 * iconvdata/ibm1132.h: Likewise.
28629 * iconvdata/ibm1133.h: Likewise.
28630 * iconvdata/ibm1137.h: Likewise.
28631 * iconvdata/ibm1140.h: Likewise.
28632 * iconvdata/ibm1141.h: Likewise.
28633 * iconvdata/ibm1142.h: Likewise.
28634 * iconvdata/ibm1143.h: Likewise.
28635 * iconvdata/ibm1144.h: Likewise.
28636 * iconvdata/ibm1145.h: Likewise.
28637 * iconvdata/ibm1146.h: Likewise.
28638 * iconvdata/ibm1147.h: Likewise.
28639 * iconvdata/ibm1148.h: Likewise.
28640 * iconvdata/ibm1149.h: Likewise.
28641 * iconvdata/ibm1153.h: Likewise.
28642 * iconvdata/ibm1154.h: Likewise.
28643 * iconvdata/ibm1155.h: Likewise.
28644 * iconvdata/ibm1156.h: Likewise.
28645 * iconvdata/ibm1157.h: Likewise.
28646 * iconvdata/ibm1158.h: Likewise.
28647 * iconvdata/ibm1160.h: Likewise.
28648 * iconvdata/ibm1161.h: Likewise.
28649 * iconvdata/ibm1162.h: Likewise.
28650 * iconvdata/ibm1163.h: Likewise.
28651 * iconvdata/ibm1164.h: Likewise.
28652 * iconvdata/ibm1166.h: Likewise.
28653 * iconvdata/ibm1167.h: Likewise.
28654 * iconvdata/ibm12712.h: Likewise.
28655 * iconvdata/ibm1390.h: Likewise.
28656 * iconvdata/ibm1399.h: Likewise.
28657 * iconvdata/ibm16804.h: Likewise.
28658 * iconvdata/ibm4517.h: Likewise.
28659 * iconvdata/ibm4899.h: Likewise.
28660 * iconvdata/ibm4909.h: Likewise.
28661 * iconvdata/ibm4971.h: Likewise.
28662 * iconvdata/ibm5347.h: Likewise.
28663 * iconvdata/ibm803.h: Likewise.
28664 * iconvdata/ibm856.h: Likewise.
28665 * iconvdata/ibm901.h: Likewise.
28666 * iconvdata/ibm902.h: Likewise.
28667 * iconvdata/ibm9030.h: Likewise.
28668 * iconvdata/ibm9066.h: Likewise.
28669 * iconvdata/ibm921.h: Likewise.
28670 * iconvdata/ibm922.h: Likewise.
28671 * iconvdata/ibm9448.h: Likewise.
28672 * iconvdata/isiri-3342.h: Likewise.
28673 * iconvdata/jis0201.h: Likewise.
28674 * include/link.h: Likewise.
28675 * include/netdb.h: Likewise.
28676 * inet/check_native.c: Likewise.
28677 * inet/check_pf.c: Likewise.
28678 * inet/getipv4sourcefilter.c: Likewise.
28679 * inet/getnameinfo.c: Likewise.
28680 * inet/getsourcefilter.c: Likewise.
28681 * inet/htonl.c: Likewise.
28682 * inet/setipv4sourcefilter.c: Likewise.
28683 * inet/setsourcefilter.c: Likewise.
28684 * inet/test-inet6_opt.c: Likewise.
28685 * inet/tst-network.c: Likewise.
28686 * locale/C-collate.c: Likewise.
28687 * locale/C-ctype.c: Likewise.
28688 * locale/C-time.c: Likewise.
28689 * locale/C-translit.h: Likewise.
28690 * locale/loadarchive.c: Likewise.
28691 * locale/programs/3level.h: Likewise.
28692 * locale/programs/charmap.c: Likewise.
28693 * locale/programs/charmap.h: Likewise.
28694 * locale/programs/ld-address.c: Likewise.
28695 * locale/programs/ld-collate.c: Likewise.
28696 * locale/programs/ld-ctype.c: Likewise.
28697 * locale/programs/ld-identification.c: Likewise.
28698 * locale/programs/ld-measurement.c: Likewise.
28699 * locale/programs/ld-messages.c: Likewise.
28700 * locale/programs/ld-monetary.c: Likewise.
28701 * locale/programs/ld-name.c: Likewise.
28702 * locale/programs/ld-numeric.c: Likewise.
28703 * locale/programs/ld-paper.c: Likewise.
28704 * locale/programs/ld-telephone.c: Likewise.
28705 * locale/programs/ld-time.c: Likewise.
28706 * locale/programs/linereader.c: Likewise.
28707 * locale/programs/locale.c: Likewise.
28708 * locale/programs/locarchive.c: Likewise.
28709 * locale/programs/locfile.h: Likewise.
28710 * locale/programs/repertoire.c: Likewise.
28711 * locale/programs/simple-hash.c: Likewise.
28712 * locale/programs/simple-hash.h: Likewise.
28713 * malloc/memusage.c: Likewise.
28714 * malloc/memusagestat.c: Likewise.
28715 * nis/nis_defaults.c: Likewise.
28716 * nis/nis_hash.c: Likewise.
28717 * nis/nis_print.c: Likewise.
28718 * nis/nis_xdr.c: Likewise.
28719 * nscd/connections.c: Likewise.
28720 * nscd/hstcache.c: Likewise.
28721 * nscd/nscd_gethst_r.c: Likewise.
28722 * nscd/nscd_getserv_r.c: Likewise.
28723 * nscd/nscd_helper.c: Likewise.
28724 * nscd/servicescache.c: Likewise.
28725 * nss/makedb.c: Likewise.
28726 * nss/nss_db/db-XXX.c: Likewise.
28727 * nss/nss_db/db-initgroups.c: Likewise.
28728 * nss/nss_db/db-netgrp.c: Likewise.
28729 * nss/nss_files/files-network.c: Likewise.
28730 * nss/nss_files/files-parse.c: Likewise.
28731 * posix/bug-regex5.c: Likewise.
28732 * posix/fnmatch_loop.c: Likewise.
28733 * posix/regcomp.c: Likewise.
28734 * posix/regexec.c: Likewise.
28735 * posix/tst-rfc3484-2.c: Likewise.
28736 * posix/tst-rfc3484-3.c: Likewise.
28737 * posix/tst-rfc3484.c: Likewise.
28738 * resolv/nss_dns/dns-canon.c: Likewise.
28739 * resolv/nss_dns/dns-network.c: Likewise.
28740 * resolv/res_init.c: Likewise.
28741 * resolv/res_mkquery.c: Likewise.
28742 * resolv/tst-aton.c: Likewise.
28743 * stdlib/cxa_atexit.c: Likewise.
28744 * stdlib/cxa_finalize.c: Likewise.
28745 * stdlib/gen-fpioconst.c: Likewise.
28746 * stdlib/strtol_l.c: Likewise.
28747 * string/tst-endian.c: Likewise.
28748 * sunrpc/auth_des.c: Likewise.
28749 * sunrpc/clnt_udp.c: Likewise.
28750 * sunrpc/rtime.c: Likewise.
28751 * sunrpc/svcauth_des.c: Likewise.
28752 * sunrpc/xdr.c: Likewise.
28753 * sunrpc/xdr_intXX_t.c: Likewise.
28754 * sunrpc/xdr_rec.c: Likewise.
28755 * sysdeps/generic/ldconfig.h: Likewise.
28756 * sysdeps/generic/ldsodefs.h: Likewise.
28757 * sysdeps/generic/memusage.h: Likewise.
28758 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28759 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28760 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28761 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28762 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28763 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28764 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28765 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28766 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28767 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28768 * sysdeps/posix/getaddrinfo.c: Likewise.
28769 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28770 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28771 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28772 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28773 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28774 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28775 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28776 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28777 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28778 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28779 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28780 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28781 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28782 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28783 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28784 * sysdeps/x86_64/dl-tls.h: Likewise.
28785 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28786 * time/alt_digit.c: Likewise.
28787 * time/era.c: Likewise.
28788 * wcsmbs/tst-c16c32-1.c: Likewise.
28790 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28792 * math/libm-test.inc (struct test_sincos_data): New type.
28793 (RUN_TEST_LOOP_sincos): New macro.
28794 (sincos_test_data): New variable.
28795 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28797 2013-05-16 Richard Henderson <rth@redhat.com>
28799 * math/atest-exp2.c (LIMB64): New macro.
28800 (CONSTSZ): New macro.
28801 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28803 (print_mpn_fp): ... to function scope.
28804 (read_mpn_hex): Remove.
28805 (get_log2): Remove.
28806 (exp2_mpn): Use mp_log2.
28807 (main): Use mp_exp1.
28809 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28811 * math/libm-test.inc: Remove comment about not testing "inexact"
28813 (INEXACT_EXCEPTION): New macro.
28814 (NO_INEXACT_EXCEPTION): Likewise.
28815 (INVALID_EXCEPTION_OK): Update value.
28816 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28817 (OVERFLOW_EXCEPTION_OK): Likewise.
28818 (UNDERFLOW_EXCEPTION_OK): Likewise.
28819 (IGNORE_ZERO_INF_SIGN): Likewise.
28820 (ERRNO_UNCHANGED): Likewise.
28821 (ERRNO_EDOM): Likewise.
28822 (ERRNO_ERANGE): Likewise.
28823 (test_exceptions): Handle testing "inexact" exceptions.
28824 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28825 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28826 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28827 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28829 (rint_towardzero_test_data): Likewise.
28830 (rint_downward_test_data): Likewise.
28831 (rint_upward_test_data): Likewise.
28833 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28834 with OVERFLOW_EXCEPTION.
28835 (exp10_test_data): Likewise.
28836 (exp2_test_data): Likewise.
28837 (expm1_test_data): Likewise.
28838 (lgamma_test_data): Likewise.
28839 (pow_test_data): Likewise.
28840 (tgamma_test_data): Likewise.
28841 (yn_test_data): Remove duplicate test of overflow.
28843 * math/libm-test.inc (struct test_cc_c_data): New type.
28844 (RUN_TEST_LOOP_cc_c): New macro.
28845 (cpow_test_data): New variable.
28846 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28848 * math/libm-test.inc (struct test_f_L_data): New type.
28849 (RUN_TEST_LOOP_f_L): New macro.
28850 (llrint_test_data): New variable.
28851 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28852 (llrint_tonearest_test_data): New variable.
28853 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28854 (llrint_towardzero_test_data): New variable.
28855 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28856 (llrint_downward_test_data): New variable.
28857 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28858 (llrint_upward_test_data): New variable.
28859 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28860 (llround_test_data): New variable.
28861 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28863 2013-05-13 Peter Collingbourne <pcc@google.com>
28865 * math/atest-exp2.c (get_log2): Remove const attribute.
28867 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28869 * math/libm-test.inc (struct test_f_l_data): New type.
28870 (RUN_TEST_LOOP_f_l): New macro.
28871 (lrint_test_data): New variable.
28872 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28873 (lrint_tonearest_test_data): New variable.
28874 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28875 (lrint_towardzero_test_data): New variable.
28876 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28877 (lrint_downward_test_data): New variable.
28878 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28879 (lrint_upward_test_data): New variable.
28880 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28881 (lround_test_data): New variable.
28882 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28884 2013-05-15 Peter Collingbourne <pcc@google.com>
28886 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28887 (EXTRACT_WORDS64) Use where appropriate.
28888 (INSERT_WORDS64) Likewise.
28890 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28891 constraints with x constraints.
28892 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28894 * malloc/obstack.c (_obstack_compat): Add initializer.
28896 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28898 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28899 si_trapno and add si_addr_lsb to _sifields.sigfault.
28900 (si_trapno): Remove macro.
28901 (si_addr_lsb): Define new macro.
28902 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28904 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28906 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28907 instead of TEST_f_l.
28908 (llrint_test_tonearest): Likewise.
28909 (llrint_test_towardzero): Likewise.
28910 (llrint_test_downward): Likewise.
28911 (llrint_test_upward): Likewise.
28912 (llround_test): Likewise.
28914 * math/libm-test.inc (struct test_f_i_data): Add comment.
28915 (RUN_TEST_LOOP_f_b): New macro.
28916 (RUN_TEST_LOOP_f_b_tg): Likewise.
28917 (finite_test_data): New variable.
28918 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28919 (isfinite_test_data): New variable.
28920 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28921 (isinf_test_data): New variable.
28922 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28923 (isnan_test_data): New variable.
28924 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28925 (isnormal_test_data): New variable.
28926 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28927 (issignaling_test_data): New variable.
28928 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28929 (signbit_test_data): New variable.
28930 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28932 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28933 with INVALID_EXCEPTION.
28934 (acosh_test_data): Likewise.
28935 (asin_test_data): Likewise.
28936 (atanh_test_data): Likewise.
28937 (fmod_test_data): Likewise.
28938 (log_test_data): Likewise.
28939 (log10_test_data): Likewise.
28940 (log2_test_data): Likewise.
28941 (pow_test_data): Likewise.
28942 (sqrt_test_data): Likewise.
28943 (y0_test_data): Likewise.
28944 (y1_test_data): Likewise.
28945 (yn_test_data): Likewise.
28947 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28950 * math/libm-test.inc (struct test_ff_i_data): New type.
28951 (RUN_TEST_LOOP_ff_i_tg): New macro.
28952 (isgreater_test_data): New variable.
28953 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28954 (isgreaterequal_test_data): New variable.
28955 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28956 (isless_test_data): New variable.
28957 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28958 (islessequal_test_data): New variable.
28959 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28960 (islessgreater_test_data): New variable.
28961 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28962 (isunordered_test_data): New variable.
28963 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28965 2013-05-14 David S. Miller <davem@davemloft.net>
28967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28969 2013-05-14 Joseph Myers <joseph@codesourcery.com>
28971 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28973 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28975 (struct test_f_i_data): Change type of max_ulp to int.
28977 * math/libm-test.inc (test_ffI_f1_data): New type.
28978 (RUN_TEST_LOOP_ffI_f1): New macro.
28979 (remquo_test_data): New variable.
28980 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28982 * setjmp/tst-setjmp-fp.c: New file.
28983 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28984 (link-libm): New variable.
28985 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28987 * math/libm-test.inc (struct test_f_i_data): New type.
28988 (RUN_TEST_LOOP_f_i): New macro.
28989 (RUN_TEST_LOOP_f_i_tg): Likewise.
28990 (fpclassify_test_data): New variable.
28991 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28992 (ilogb_test_data): New variable.
28993 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28995 * math/libm-test.inc (scalbln_test): Correct function name in END
28998 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28999 (RUN_TEST_LOOP_fI_f1): New macro.
29000 (frexp_test_data): New variable.
29001 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29003 * math/libm-test.inc (struct test_fF_f1_data): New type.
29004 (RUN_TEST_LOOP_fF_f1): New macro.
29005 (modf_test_data): New variable.
29006 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29008 * math/libm-test.inc (struct test_f_f1_data): New type.
29009 (RUN_TEST_LOOP_f_f1): New macro.
29010 (gamma_test_data): New variable.
29011 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29012 (lgamma_test_data): New variable.
29013 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29015 2013-05-13 Carlos O'Donell <carlos@redhat.com>
29017 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29018 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29019 (main): Comment "tls" pseudo-hwcap.
29021 2013-05-13 Joseph Myers <joseph@codesourcery.com>
29023 * math/libm-test.inc (struct test_fl_f_data): New type.
29024 (RUN_TEST_LOOP_fl_f): New variable.
29025 (scalbln_test_data): New variable.
29026 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29028 * math/libm-test.inc (struct test_fi_f_data): New type.
29029 (RUN_TEST_LOOP_fi_f): New macro.
29030 (ldexp_test_data): New variable.
29031 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29032 (scalbn_test_data): New variable.
29033 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29035 * math/libm-test.inc (struct test_c_f_data): New type.
29036 (RUN_TEST_LOOP_c_f): New macro.
29037 (cabs_test_data): New variable.
29038 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29039 (carg_test_data): New variable.
29040 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29041 (cimag_test_data): New variable.
29042 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29043 (creal_test_data): New variable.
29044 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29046 * math/libm-test.inc (struct test_if_f_data): New type.
29047 (RUN_TEST_LOOP_if_f): New macro.
29048 (jn_test_data): New variable.
29049 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29050 (yn_test_data): New variable.
29051 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29053 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29055 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29057 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29058 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29060 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29062 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29063 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29064 (bench-deps): Add bench-timing.h.
29065 * benchtests-bench-skeleton.c: Include bench-timing.h.
29066 (main): Use TIMING_* macros instead of clock_gettime.
29067 * benchtests/bench-timing.h: New file.
29070 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29071 Renamed from _LIB_VERSION.
29072 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29074 2013-05-12 Joseph Myers <joseph@codesourcery.com>
29076 * math/libm-test.inc (struct test_fff_f_data): New type.
29077 (RUN_TEST_LOOP_fff_f): New macro.
29078 (fma_test_data): New variable.
29079 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29080 (fma_towardzero_test_data): New variable.
29081 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29082 (fma_downward_test_data): New variable.
29083 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29084 (fma_upward_test_data): New variable.
29085 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29087 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29088 (struct test_c_c_data): New type.
29089 (RUN_TEST_LOOP_c_c): New macro.
29090 (cacos_test_data): New variable.
29091 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29092 (cacosh_test_data): New variable.
29093 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29094 (casin_test_data): New variable.
29095 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29096 (casinh_test_data): New variable.
29097 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29098 (catan_test_data): New variable.
29099 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29100 (catanh_test_data): New variable.
29101 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29102 (ccos_test_data): New variable.
29103 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29104 (ccosh_test_data): New variable.
29105 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29106 (cexp_test_data): New variable.
29107 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29108 (clog_test_data): New variable.
29109 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29110 (clog10_test_data): New variable.
29111 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29112 (conj_test_data): New variable.
29113 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29114 (cproj_test_data): New variable.
29115 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29116 (csin_test_data): New variable.
29117 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29118 (csinh_test_data): New variable.
29119 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29120 (csqrt_test_data): New variable.
29121 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29122 (ctan_test_data): New variable.
29123 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29124 (ctan_tonearest_test_data): New variable.
29125 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29126 (ctan_towardzero_test_data): New variable.
29127 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29128 (ctan_downward_test_data): New variable.
29129 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29130 (ctan_upward_test_data): New variable.
29131 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29132 (ctanh_test_data): New variable.
29133 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29134 (ctanh_tonearest_test_data): New variable.
29135 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29136 (ctanh_towardzero_test_data): New variable.
29137 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29138 (ctanh_downward_test_data): New variable.
29139 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29140 (ctanh_upward_test_data): New variable.
29141 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29142 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29145 * math/libm-test.inc (struct test_ff_f_data): New type.
29146 (struct test_ff_f_data_nexttoward): Likewise.
29147 (RUN_TEST_LOOP_2_f): New macro.
29148 (RUN_TEST_LOOP_ff_f): Likewise.
29149 (atan2_test_data): New variable.
29150 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29151 (copysign_test_data): New variable.
29152 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29153 (fdim_test_data): New variable.
29154 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29155 (fmax_test_data): New variable.
29156 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29157 (fmin_test_data): New variable.
29158 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29159 (fmod_test_data): New variable.
29160 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29161 (hypot_test_data): New variable.
29162 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29163 (nextafter_test_data): New variable.
29164 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29165 (nexttoward_test_data): New variable.
29166 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29167 (pow_test_data): New variable.
29168 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29169 (pow_tonearest_test_data): New variable.
29170 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29171 (pow_towardzero_test_data): New variable.
29172 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29173 (pow_downward_test_data): New variable.
29174 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29175 (pow_upward_test_data): New variable.
29176 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29177 (remainder_test_data): New variable.
29178 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29179 (scalb_test_data): New variable.
29180 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29181 * sysdeps/i386/fpu/libm-test-ulps: Update.
29183 2013-05-11 Joseph Myers <joseph@codesourcery.com>
29185 * math/libm-test.inc (fma_test): Use max_value instead of local
29187 (nextafter_test): Likewise.
29189 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29190 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29191 (acos_downward_test_data): New variable.
29192 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29193 (acos_upward_test_data): New variable.
29194 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29195 (acosh_test_data): New variable.
29196 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29197 (asin_test_data): New variable.
29198 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29199 (asin_tonearest_test_data): New variable.
29200 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29201 (asin_towardzero_test_data): New variable.
29202 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29203 (asin_downward_test_data): New variable.
29204 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29205 (asin_upward_test_data): New variable.
29206 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29207 (asinh_test_data): New variable.
29208 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29209 (atan_test_data): New variable.
29210 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29211 (atanh_test_data): New variable.
29212 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29213 (cbrt_test_data): New variable.
29214 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29215 (ceil_test_data): New variable.
29216 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29217 (cos_test_data): New variable.
29218 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29219 (cos_tonearest_test_data): New variable.
29220 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29221 (cos_towardzero_test_data): New variable.
29222 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29223 (cos_downward_test_data): New variable.
29224 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29225 (cos_upward_test_data): New variable.
29226 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29227 (cosh_test_data): New variable.
29228 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29229 (cosh_tonearest_test_data): New variable.
29230 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29231 (cosh_towardzero_test_data): New variable.
29232 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29233 (cosh_downward_test_data): New variable.
29234 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29235 (cosh_upward_test_data): New variable.
29236 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29237 (erf_test_data): New variable.
29238 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29239 (erfc_test_data): New variable.
29240 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29241 (exp_test_data): New variable.
29242 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29243 (exp_tonearest_test_data): New variable.
29244 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29245 (exp_towardzero_test_data): New variable.
29246 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29247 (exp_downward_test_data): New variable.
29248 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29249 (exp_upward_test_data): New variable.
29250 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29251 (exp10_test_data): New variable.
29252 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29253 (exp2_test_data): New variable.
29254 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29255 (expm1_test_data): New variable.
29256 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29257 (fabs_test_data): New variable.
29258 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29259 (floor_test_data): New variable.
29260 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29261 (j0_test_data): New variable.
29262 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29263 (j1_test_data): New variable.
29264 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29265 (log_test_data): New variable.
29266 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29267 (log10_test_data): New variable.
29268 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29269 (log1p_test_data): New variable.
29270 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29271 (log2_test_data): New variable.
29272 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29273 (logb_test_data): New variable.
29274 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29275 (logb_downward_test_data): New variable.
29276 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29277 (nearbyint_test_data): New variable.
29278 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29279 (rint_test_data): New variable.
29280 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29281 (rint_tonearest_test_data): New variable.
29282 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29283 (rint_towardzero_test_data): New variable.
29284 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29285 (rint_downward_test_data): New variable.
29286 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29287 (rint_upward_test_data): New variable.
29288 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29289 (round_test_data): New variable.
29290 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29291 (sin_test_data): New variable.
29292 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29293 (sin_tonearest_test_data): New variable.
29294 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29295 (sin_towardzero_test_data): New variable.
29296 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29297 (sin_downward_test_data): New variable.
29298 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29299 (sin_upward_test_data): New variable.
29300 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29301 (sinh_test_data): New variable.
29302 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29303 (sinh_tonearest_test_data): New variable.
29304 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29305 (sinh_towardzero_test_data): New variable.
29306 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29307 (sinh_downward_test_data): New variable.
29308 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29309 (sinh_upward_test_data): New variable.
29310 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29311 (sqrt_test_data): New variable.
29312 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29313 (tan_test_data): New variable.
29314 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29315 (tan_tonearest_test_data): New variable.
29316 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29317 (tan_towardzero_test_data): New variable.
29318 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29319 (tan_downward_test_data): New variable.
29320 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29321 (tan_upward_test_data): New variable.
29322 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29323 (tanh_test_data): New variable.
29324 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29325 (tgamma_test_data): New variable.
29326 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29327 (trunc_test_data): New variable.
29328 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29329 (y0_test_data): New variable.
29330 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29331 (y1_test_data): New variable.
29332 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29333 (significand_test_data): New variable.
29334 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29336 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29339 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29341 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29343 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29345 2013-05-10 Andreas Jaeger <aj@suse.de>
29348 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29349 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29351 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29353 * math/gen-libm-test.pl (adjust_arg): New function.
29354 (special_functions): Handle generating output in both functions
29356 (parse_args): Likewise.
29357 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29358 $in_func argument to parse_args.
29359 * math/libm-test.inc (struct test_f_f_data): New type.
29360 (IF_ROUND_INIT_): New macro.
29361 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29362 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29363 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29364 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29365 (ROUND_RESTORE_): Likewise.
29366 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29367 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29368 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29369 (ROUND_RESTORE_FE_UPWARD): Likewise.
29370 (RUN_TEST_LOOP_f_f): New macro.
29371 (acos_test_data): New variable.
29372 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29373 (acos_tonearest_test_data): New variable.
29374 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29376 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29378 * benchtests/bench-skeleton.c (startup): Fix coding style.
29380 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29383 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29384 negative infinity argument.
29385 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29386 negative infinity argument.
29387 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29388 negative infinity argument.
29389 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29392 2013-05-10 Florian Weimer <fweimer@redhat.com>
29394 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29395 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29396 * iconv/iconv_prog.c (main): Likewise.
29397 * locale/programs/charmap-dir.c (charmap_readdir)
29398 (fopen_uncompressed): Likewise.
29399 * locale/programs/locfile.c (siblings_uncached)
29400 (write_locale_data): Use lstat64 instead of lstat.
29401 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29404 2013-05-10 Andreas Jaeger <aj@suse.de>
29407 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29409 Include <locale.h>.
29411 2013-05-09 Carlos O'Donell <carlos@redhat.com>
29413 * elf/dl-close.c (_dl_close_worker): Add comments.
29415 2013-05-09 Joseph Myers <joseph@codesourcery.com>
29418 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29420 (__ieee754_rem_pio2l): Update comments.
29423 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29425 (__ieee754_rem_pio2l): Update comments.
29427 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29428 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29430 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29433 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29434 (M_PI_34_LOG10El): Likewise.
29435 (M_PI2_LOG10El): Likewise.
29436 (M_PI4_LOG10El): Likewise.
29437 (M_PI_LOG10El): Likewise.
29439 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29443 2013-05-08 Joseph Myers <joseph@codesourcery.com>
29445 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29446 (MINUS_ZERO_INIT): Likewise.
29447 (PLUS_INFTY_INIT): Likewise.
29448 (MINUS_INFTY_INIT): Likewise.
29449 (QNAN_VALUE_INIT): Likewise.
29450 (MAX_VALUE_INIT): Likewise.
29451 (MIN_VALUE_INIT): Likewise.
29452 (MIN_SUBNORM_VALUE_INIT): Likewise.
29453 (plus_zero): Initialize with PLUS_ZERO_INIT.
29454 (minus_zero): Initialize with MINUS_ZERO_INIT.
29455 (plus_infty): Initialize with PLUS_INFTY_INIT.
29456 (minus_infty): Initialize with MINUS_INFTY_INIT.
29457 (qnan_value): Initialize with QNAN_VALUE_INIT.
29458 (max_value): Initialize with MAX_VALUE_INIT.
29459 (min_value): Initialize with MIN_VALUE_INIT.
29460 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29462 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29463 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29464 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29465 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29467 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29468 (RUN_TEST_2_f): Likewise.
29469 (RUN_TEST_ff_f): Likewise.
29470 (RUN_TEST_fi_f): Likewise.
29471 (RUN_TEST_fl_f): Likewise.
29472 (RUN_TEST_fff_f): Likewise.
29473 (RUN_TEST_c_f): Likewise.
29474 (RUN_TEST_f_f1): Likewise.
29475 (RUN_TEST_fF_f1): Likewise.
29476 (RUN_TEST_fI_f1): Likewise.
29477 (RUN_TEST_ffI_f1): Likewise.
29478 (RUN_TEST_c_c): Likewise.
29479 (RUN_TEST_cc_c): Likewise.
29480 (RUN_TEST_f_i): Likewise.
29481 (RUN_TEST_f_i_tg): Likewise.
29482 (RUN_TEST_ff_i_tg): Likewise.
29483 (RUN_TEST_f_b): Likewise.
29484 (RUN_TEST_f_b_tg): Likewise.
29485 (RUN_TEST_f_l): Likewise.
29486 (RUN_TEST_f_L): Likewise.
29487 (RUN_TEST_sincos): Likewise.
29488 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29489 whether to show exceptions. Do not include ");\n" in return
29491 (special_functions): Output call to RUN_TEST_sincos instead of
29492 check_float calls. Update calls to new_test.
29493 (parse_args): Output call to single RUN_TEST_* macro instead of
29494 check_* calls and other assignments. Update calls to new_test.
29500 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29501 input to result for tgamma overflow.
29502 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29503 (gamma_coeff): New variable.
29504 (NCOEFF): New macro.
29505 (gamma_positive): New function.
29506 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29507 underflow here. Use gamma_positive instead of exp (lgamma) for
29509 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29510 (gamma_coeff): New variable.
29511 (NCOEFF): New macro.
29512 (gammaf_positive): New function.
29513 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29514 underflow here. Use gamma_positive instead of exp (lgamma) for
29516 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29517 (gamma_coeff): New variable.
29518 (NCOEFF): New macro.
29519 (gammal_positive): New function.
29520 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29521 underflow here. Use gamma_positive instead of exp (lgamma) for
29523 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29524 (gamma_coeff): New variable.
29525 (NCOEFF): New macro.
29526 (gammal_positive): New function.
29527 (__ieee754_gammal_r): Handle positive infinity, overflow and
29528 underflow here. Handle NaN the same as positive infinity. Remove
29529 check x < 0xffffffff for negative integers. Use gamma_positive
29530 instead of exp (lgamma) for other arguments.
29531 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29532 (gamma_coeff): New variable.
29533 (NCOEFF): New macro.
29534 (gammal_positive): New function.
29535 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29536 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29537 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29538 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29539 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29540 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29541 * sysdeps/generic/math_private.h (__gamma_productf): New
29543 (__gamma_product): Likewise.
29544 (__gamma_productl): Likewise.
29545 * math/Makefile (libm-calls): Add gamma_product.
29546 * math/libm-test.inc (tgamma_test): Add more tests.
29547 * sysdeps/i386/fpu/libm-test-ulps: Update.
29548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29550 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
29552 * benchtests/bench-skeleton.c (main): Preheat CPU.
29554 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29556 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29558 2013-05-07 Roland McGrath <roland@hack.frob.com>
29560 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29561 and _dl_skip_args_internal.
29563 2013-05-07 Carlos O'Donell <carlos@redhat.com>
29565 * manual/message.texi (Message Translation): Talk about users.
29566 Message to key mapping impacts design.
29568 2013-05-06 Roland McGrath <roland@hack.frob.com>
29570 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29572 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29574 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29575 * sysdeps/wordsize-64/glob64.c: ... here.
29577 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29578 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29581 * debug/getlogin_r_chk.c: Moved to ...
29582 * login/getlogin_r_chk.c: ... here.
29583 * debug/Makefile (routines): Move getlogin_r_chk to ...
29584 * login/Makefile (routines): ... here.
29585 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29586 * login/Versions (libc: GLIBC_2.4): ... here.
29588 * io/poll.c (__poll): Renamed from poll.
29589 Add libc_hidden_def.
29590 (poll): Define as weak alias.
29592 * debug/ptsname_r_chk.c: Moved to ...
29593 * login/ptsname_r_chk.c: ... here.
29594 * debug/Makefile (routines): Move ptsname_r_chk to ...
29595 * login/Makefile (routines): ... here.
29596 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29597 * login/Versions (libc: GLIBC_2.4): ... here.
29599 * posix/getlogin.c: Moved to ...
29600 * login/getlogin.c: ... here.
29601 * posix/getlogin_r.c: Moved to ...
29602 * login/getlogin_r.c: ... here.
29603 * posix/getlogin_r.c: Moved to ...
29604 * login/getlogin_r.c: ... here.
29605 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29606 * login/Makefile (routines): ... here.
29607 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29608 * login/Versions (libc: GLIBC_2.0): ... here.
29610 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29611 (setrlimit): Define as weak alias.
29613 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29614 Call __ names for open, ftruncate, and close.
29615 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29616 (truncate): Define as weak alias.
29618 2013-05-06 Joseph Myers <joseph@codesourcery.com>
29620 * math/gen-libm-test.pl (parse_args): Initialize x before each
29621 test of frexp, modf and remquo.
29623 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29624 test signgam value.
29626 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29630 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29632 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29634 2013-05-06 Roland McGrath <roland@hack.frob.com>
29636 * elf/dl-writev.h: New file.
29637 * elf/dl-misc.c: Include it.
29638 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29639 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29641 2013-05-04 Joseph Myers <joseph@codesourcery.com>
29643 * math/libm-test.inc (noXFails): Remove variable.
29644 (noXPasses): Likewise.
29645 (BUILD_COMPLEX_INT): Remove macro.
29646 (print_screen): Remove xfail argument.
29647 (print_screen_max_error): Likewise.
29648 (update_stats): Likewise.
29649 (print_max_error): Likewise. Update calls to other affected
29651 (print_complex_max_error): Likewise.
29652 (test_single_exception): Update calls to print_screen.
29653 (test_single_errno): Likewise.
29654 (check_float_internal): Remove xfail argument. Update calls to
29655 other affected functions.
29656 (check_float): Likewise.
29657 (check_complex): Likewise.
29658 (check_int): Likewise.
29659 (check_long): Likewise.
29660 (check_bool): Likewise.
29661 (check_longlong): Likewise.
29662 (main): Don't print noXFails and noXPasses.
29663 * math/gen-libm-test.pl (top level): Don't mention expected
29664 failure handling in comment.
29665 (new_test): Don't handle expected failures.
29666 (parse_args): Don't mention expected failure handling in comment.
29667 (generate_testfile): Don't handle expected failures.
29668 (parse_ulps): Likewise.
29669 (print_ulps_file): Likewise.
29670 (get_failure): Remove function.
29671 (output_test): Don't handle expected failures.
29672 * make/README.libm-test: Don't mention expected failure handling.
29674 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29675 (minus_zero): Likewise.
29676 (plus_infty): Likewise.
29677 (minus_infty): Likewise.
29678 (qnan_value): Likewise.
29679 (max_value): Likewise.
29680 (min_value): Likewise.
29681 (min_subnorm_value): Likewise.
29682 (initialize): Do not initialize those variables dynamically.
29684 2013-05-03 Roland McGrath <roland@hack.frob.com>
29686 * io/open.c (__open_2): Moved to ...
29687 * io/open_2.c: ... this new file.
29688 * io/open64.c (__open64_2): Moved to ...
29689 * io/open64_2.c: ... this new file.
29690 * io/openat.c (__openat_2): Moved to ...
29691 * io/openat_2.c: ... this new file.
29692 * io/openat64.c (__openat64_2): Moved to ...
29693 * io/openat64_2.c: ... this new file.
29694 * io/Makefile (routines): Add them.
29695 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29696 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29697 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29698 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29699 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29700 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29701 (__openat64): Add hidden_ver.
29702 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29703 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29705 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29706 Separately conditionalize setting of GLRO(dl_sysinfo) so
29707 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29708 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29710 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29712 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29713 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29715 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29716 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29717 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29718 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29719 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29721 2013-05-03 Joseph Myers <joseph@codesourcery.com>
29723 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29724 test signgam value.
29726 * math/libm-test.inc (hypot_test): Do not use
29727 IGNORE_ZERO_INF_SIGN.
29729 2013-05-03 Andreas Jaeger <aj@suse.de>
29731 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29733 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29734 (PF_MAX): Adjust for VSOCK change.
29736 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29740 2013-05-02 Carlos O'Donell <carlos@redhat.com>
29743 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29744 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29745 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29747 2013-05-02 David S. Miller <davem@davemloft.net>
29749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29751 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
29753 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29755 2013-05-01 Roland McGrath <roland@hack.frob.com>
29757 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29759 2013-05-01 Richard Smith <richard@metafoo.co.uk>
29762 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29763 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29764 Use __attribute__ ((__gnu_inline__)).
29765 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29766 Don't use __attribute__ ((__gnu_inline__)).
29768 2013-05-01 Joseph Myers <joseph@codesourcery.com>
29771 * math/s_catan.c (__catan): Handle small real or imaginary part of
29772 input specially to avoid spurious underflow.
29773 * math/s_catanf.c (__catanf): Likewise.
29774 * math/s_catanh.c (__catanh): Likewise.
29775 * math/s_catanhf.c (__catanhf): Likewise.
29776 * math/s_catanhl.c (__catanhl): Likewise.
29777 * math/s_catanl.c (__catanl): Likewise.
29778 * math/libm-test.inc (catan_test): Add more tests.
29779 (catanh_test): Likewise.
29780 * sysdeps/i386/fpu/libm-test-ulps: Update.
29781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29783 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29787 2013-04-30 Joseph Myers <joseph@codesourcery.com>
29790 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29791 accurately for denominator in atan2.
29792 * math/s_catanf.c (__catanf): Likewise.
29793 * math/s_catanh.c (__catanh): Likewise.
29794 * math/s_catanhf.c (__catanhf): Likewise.
29795 * math/s_catanhl.c (__catanhl): Likewise.
29796 * math/s_catanl.c (__catanl): Likewise.
29797 * math/libm-test.inc (catan_test): Add more tests.
29798 (catanh_test): Likewise.
29799 * sysdeps/i386/fpu/libm-test-ulps: Update.
29800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29802 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29804 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29806 * benchtests/Makefile (bench): Remove slow benchmarks.
29807 * benchtests/atan-inputs: Add slow benchmark inputs.
29808 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29809 (BENCH_FUNC): Accept variant offset.
29811 * benchtests/bench-skeleton.c (main): Run benchmark for each
29813 * benchtests/cos-inputs: Add slow benchmark inputs.
29814 * benchtests/exp-inputs: Likewise.
29815 * benchtests/pow-inputs: Likewise.
29816 * benchtests/sin-inputs: Likewise.
29817 * benchtests/slowatan-inputs: Remove.
29818 * benchtests/slowatan.c: Remove.
29819 * benchtests/slowcos-inputs: Remove.
29820 * benchtests/slowcos.c: Remove.
29821 * benchtests/slowexp-inputs: Remove.
29822 * benchtests/slowexp.c: Remove.
29823 * benchtests/slowpow-inputs: Remove.
29824 * benchtests/slowpow.c: Remove.
29825 * benchtests/slowsin-inputs: Remove.
29826 * benchtests/slowsin.c: Remove.
29827 * benchtests/slowtan-inputs: Remove.
29828 * benchtests/slowtan.c: Remove.
29829 * benchtests/tan-inputs: Add slow benchmark inputs.
29830 * scripts/bench.pl: Parse comments and directives.
29832 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29834 ($(objpfx)bench-%.c): Remove *-ITER.
29835 * benchtests/bench-modf.c: Remove definition of ITER.
29836 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29837 (main): Loop for DURATION seconds instead of fixed number of
29839 * scripts/bench.pl: Don't expect iterations in parameters.
29841 2013-04-29 Roland McGrath <roland@hack.frob.com>
29843 * io/fchdir.c (__fchdir): Renamed from fchdir.
29844 (fchdir): Define as weak alias.
29846 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29848 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29849 (ERRNO_EDOM): Likewise.
29850 (ERRNO_ERANGE): Likewise.
29851 (noErrnoTests): New variable.
29852 (init_max_error): Set errno to 0.
29853 (test_single_errno): New function.
29854 (test_errno): Likewise.
29855 (check_float_internal): Call test_errno. Set errno to 0.
29856 (check_complex): Refer to errno tests in comment.
29857 (check_int): Call test_errno. Set errno to 0.
29858 (check_long): Likewise.
29859 (check_bool): Likewise.
29860 (check_longlong): Likewise.
29861 (cos_test): Use ERRNO_* flags for errno tests instead of
29863 (expm1_test): Likewise.
29864 (fmod_test): Likewise.
29865 (ilogb_test): Likewise.
29866 (lgamma_test): Likewise.
29867 (pow_test): Likewise.
29868 (remainder_test): Likewise.
29869 (sin_test): Likewise.
29870 (tan_test): Likewise.
29871 (yn_test): Likewise.
29872 (initialize): Set errno to 0.
29873 (main): Print number of errno tests.
29874 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29876 2013-04-29 Andreas Jaeger <aj@suse.de>
29879 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29883 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29884 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29888 * stdlib/random.c (__initstate): Return NULL if
29892 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29893 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29896 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29900 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29902 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29903 of individual tests.
29904 (casin_test): Likewise.
29905 (casinh_test): Likewise.
29907 2013-04-27 Joseph Myers <joseph@codesourcery.com>
29910 * math/s_catan.c (__catan): Handle arguments with large real or
29911 imaginary part separately without squaring.
29912 * math/s_catanf.c (__catanf): Likewise.
29913 * math/s_catanh.c (__catanh): Likewise.
29914 * math/s_catanhf.c (__catanhf): Likewise.
29915 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29917 (__catanhl): Handle arguments with large real or imaginary part
29918 separately without squaring.
29919 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29921 (__catanl): Handle arguments with large real or imaginary part
29922 separately without squaring.
29923 * math/libm-test.inc (catan_test): Add more tests.
29924 (catanh_test): Likewise.
29925 * sysdeps/i386/fpu/libm-test-ulps: Update.
29926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29928 2013-04-27 Andreas Jaeger <aj@suse.de>
29931 * stdlib/stdlib.h: Update guards for qecvt.
29932 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29935 2013-04-27 Allan McRae <allan@archlinux.org>
29937 * sysdeps/i386/fpu/libm-test-ulps: Update.
29939 2013-04-26 Joseph Myers <joseph@codesourcery.com>
29942 * math/s_catan.c: Include <float.h>.
29943 (__catan): Ensure underflow exception occurs for underflowed
29945 * math/s_catanf.c: Include <float.h>.
29946 (__catanf): Ensure underflow exception occurs for underflowed
29948 * math/s_catanh.c: Include <float.h>.
29949 (__catanh): Ensure underflow exception occurs for underflowed
29951 * math/s_catanhf.c: Include <float.h>.
29952 (__catanhf): Ensure underflow exception occurs for underflowed
29954 * math/s_catanhl.c: Include <float.h>.
29955 (__catanhl): Ensure underflow exception occurs for underflowed
29957 * math/s_catanl.c: Include <float.h>.
29958 (__catanl): Ensure underflow exception occurs for underflowed
29960 * math/libm-test.inc (catan_test): Add more tests.
29961 (catanh_test): Likewise.
29964 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29965 underflowed result.
29966 * math/s_ccoshf.c (__ccoshf): Likewise.
29967 * math/s_ccoshl.c (__ccoshl): Likewise.
29968 * math/s_csin.c (__csin): Likewise.
29969 * math/s_csinf.c (__csinf): Likewise.
29970 * math/s_csinh.c (__csinh): Likewise.
29971 * math/s_csinhf.c (__csinhf): Likewise.
29972 * math/s_csinhl.c (__csinhl): Likewise.
29973 * math/s_csinl.c (__csinl): Likewise.
29974 * math/libm-test.inc (ccos_test): Add more tests.
29975 (ccosh_test): Likewise.
29976 (csin_test): Likewise.
29977 (csinh_test): Likewise.
29979 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29981 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29982 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29983 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29984 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29985 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29986 powerpc/power5+/fpu folders.
29987 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29990 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29992 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29994 2013-04-25 Joseph Myers <joseph@codesourcery.com>
29996 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29997 additions to variable.
29998 [$(config-machine) = x86_64] (modules-names): Likewise.
29999 ($(objpfx)tst-audit3): Remove dependency.
30000 ($(objpfx)tst-audit3.out): Likewise.
30001 ($(objpfx)tst-audit4): Likewise.
30002 ($(objpfx)tst-audit4.out): Likewise.
30003 ($(objpfx)tst-audit5): Likewise.
30004 ($(objpfx)tst-audit5.out): Likewise.
30005 ($(objpfx)tst-audit6): Likewise.
30006 ($(objpfx)tst-audit6.out): Likewise.
30007 ($(objpfx)tst-audit7): Likewise.
30008 ($(objpfx)tst-audit7.out): Likewise.
30009 (tst-audit3-ENV): Remove variable.
30010 (tst-audit4-ENV): Likewise.
30011 (tst-audit5-ENV): Likewise.
30012 (tst-audit6-ENV): Likewise.
30013 (tst-audit7-ENV): Likewise.
30014 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30015 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30016 addition to variable.
30017 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30018 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30019 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30020 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30021 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30022 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30023 tst-audit3, tst-audit4 and tst-audit5.
30024 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30025 tst-audit6 and tst-audit7.
30026 [$(subdir) = elf] (modules-names): Add audit modules for those
30028 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30029 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30030 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30031 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30032 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30033 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30034 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30035 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30036 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30037 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30038 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30039 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30040 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30041 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30042 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30043 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30045 [$(subdir) = elf && $(config-cflags-avx) = yes]
30046 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30047 [$(subdir) = elf && $(config-cflags-avx) = yes]
30048 (CFLAGS-tst-auditmod4a.c): Likewise.
30049 [$(subdir) = elf && $(config-cflags-avx) = yes]
30050 (CFLAGS-tst-auditmod4b.c): Likewise.
30051 [$(subdir) = elf && $(config-cflags-avx) = yes]
30052 (CFLAGS-tst-auditmod6b.c): Likewise.
30053 [$(subdir) = elf && $(config-cflags-avx) = yes]
30054 (CFLAGS-tst-auditmod6c.c): Likewise.
30055 [$(subdir) = elf && $(config-cflags-avx) = yes]
30056 (CFLAGS-tst-auditmod7b.c): Likewise.
30057 * elf/tst-audit3.c: Move to ...
30058 * sysdeps/x86_64/tst-audit3.c: ... here.
30059 * elf/tst-audit4.c: Move to ...
30060 * sysdeps/x86_64/tst-audit4.c: ... here.
30061 * elf/tst-audit5.c: Move to ...
30062 * sysdeps/x86_64/tst-audit5.c: ... here.
30063 * elf/tst-audit6.c: Move to ...
30064 * sysdeps/x86_64/tst-audit6.c: ... here.
30065 * elf/tst-audit7.c: Move to ...
30066 * sysdeps/x86_64/tst-audit7.c: ... here.
30067 * elf/tst-auditmod3a.c: Move to ...
30068 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30069 * elf/tst-auditmod3b.c: Move to ...
30070 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30071 * elf/tst-auditmod4a.c: Move to ...
30072 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30073 * elf/tst-auditmod4b.c: Move to ...
30074 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30075 * elf/tst-auditmod5a.c: Move to ...
30076 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30077 * elf/tst-auditmod5b.c: Move to ...
30078 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30079 * elf/tst-auditmod6a.c: Move to ...
30080 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30081 * elf/tst-auditmod6b.c: Move to ...
30082 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30083 * elf/tst-auditmod6c.c: Move to ...
30084 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30085 * elf/tst-auditmod7a.c: Move to ...
30086 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30087 * elf/tst-auditmod7b.c: Move to ...
30088 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30090 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30093 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30094 define unconditionally.
30095 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30096 define unconditionally.
30097 (INT8_C, INT16_C, etc.): Likewise.
30099 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30101 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30102 __ehdr_start with hidden visibility.
30104 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30106 2013-04-24 Carlos O'Donell <carlos@redhat.com>
30108 * math/libm-test.inc (cos_test): Use accurate hex constants.
30109 (sincost_test): Likewise.
30111 2013-04-24 Joseph Myers <joseph@codesourcery.com>
30113 * math/libm-test.inc (catan_test): Add more tests.
30114 (catanh_test): Likewise.
30116 * math/s_catanf.c (__catanf): Use suffixed floating-point
30118 * math/s_catanhf.c (__catanhf): Likewise.
30119 * math/s_catanhl.c (__catanhl): Likewise.
30120 * math/s_catanl.c (__catanl): Likewise.
30123 * math/s_catan.c (__catan): Calculate imaginary part of result
30124 with log1p not log unless computing log of number close to 0.
30125 * math/s_catanf.c (__catanf): Likewise.
30126 * math/s_catanl.c (__catanl): Likewise.
30127 * math/s_catanh.c (__catanh): Calculate real part of result with
30128 log1p not log unless computing log of number close to 0.
30129 * math/s_catanhf.c (__catanhf): Likewise.
30130 * math/s_catanhl.c (__catanhl): Likewise.
30131 * math/libm-test.inc (catan_test): Add more tests.
30132 (catanh_test): Likewise.
30133 * sysdeps/i386/fpu/libm-test-ulps: Update.
30134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30136 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30138 * benchtests/Makefile: Mention files in which fast and slow
30139 paths of math functions are implemented.
30141 2013-04-23 Roland McGrath <roland@hack.frob.com>
30143 * sysdeps/posix/timespec_get.c: New file.
30145 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30147 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30149 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30151 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30152 powerpc/power5/fpu folders.
30153 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30154 * benchtests/Makefile: Add modf testcase.
30155 * benchtests/bench-modf.c: New file: Benchmark test for mo
30157 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30160 * time/Makefile (tests): Add tst-strptime-whitespace.
30161 * time/strptime_l.c (get_number): Use ISSPACE.
30162 (__strptime_internal): Likewise.
30163 * time/tst-strptime-whitespace.c: New test case.
30165 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30167 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30169 (_nss_files_init): Set it here.
30171 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30173 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30174 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30177 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30179 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30181 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30183 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30186 2013-04-21 David S. Miller <davem@davemloft.net>
30188 * po/ru.po: Update Russion translation from translation project.
30190 2013-04-17 Adam Conrad <adconrad@0c3.net>
30192 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30195 2013-04-17 Carlos O'Donell <carlos@redhat.com>
30197 * configure.in: Remove i386 configure warning. Remove i386 case.
30198 * configure: Regenerate.
30199 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
30200 Add example to error message.
30201 * sysdeps/i386/configure: Regenerate.
30203 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30205 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30207 * benchtests/cos-inputs: New file.
30208 * benchtests/slowcos-inputs: New file.
30209 * benchtests/slowcos.c: New file.
30210 * benchtests/slowtan-inputs: New file.
30211 * benchtests/slowtan.c: New file.
30212 * benchtests/tan-inputs: New file.
30214 2013-04-16 Roland McGrath <roland@hack.frob.com>
30216 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30219 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30221 * benchtests/Makefile: Include cppflags-iterator.mk to add
30222 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30224 * Makefile.in (bench-clean): New target.
30225 * benchtests/Makefile (bench-clean): Likewise.
30227 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30229 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30231 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30233 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30235 2013-04-15 Andreas Schwab <schwab@suse.de>
30237 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30238 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30239 * nscd/pwdcache.c (cache_addpw): Likewise.
30240 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30243 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30245 * benchtests/Makefile (bench): Write all output to
30246 bench-out.tmp together.
30248 2013-04-15 Andreas Schwab <schwab@suse.de>
30250 * nscd/nscd.c (main): Don't fork again after closing files.
30252 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30254 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30256 * benchtests/Rules (bench-deps): Collect dependencies into a
30257 single variable. Add Makefile to dependencies.
30258 ($(objpfx)bench-%.c): Depend on bench-deps.
30260 2013-04-12 Roland McGrath <roland@hack.frob.com>
30261 Xavier Roche <roche+kml2@exalead.com>
30264 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30265 just that it's a file descriptor.
30266 * manual/llio.texi (Synchronizing AIO Operations): Update description
30267 for EBADF error from aio_fsync.
30269 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30271 * Rules (bench): Move target definition...
30272 * benchtests/Makefile: ... here.
30274 2013-04-11 Carlos O'Donell <carlos@redhat.com>
30276 * math/libm-test.inc (cos_test): Fix PI/2 test.
30277 (sincos_test): Likewise.
30278 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30279 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30281 2013-04-11 Andreas Schwab <schwab@suse.de>
30284 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30285 accept exponent character only when digits were seen.
30286 * stdio-common/Makefile (tests): Add bug26.
30287 * stdio-common/bug26.c: New file.
30290 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30293 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30295 * Makeconfig (rtld-prefix): Define built linker prefix.
30296 * Rules (run-bench): Use it.
30297 * math/Makefile (run-regen-ulps): Likewise.
30299 * Rules (bench): Remove eval.
30301 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30302 Roland McGrath <roland@hack.frob.com>
30303 Ondrej Bilka <neleai@seznam.cz>
30306 * time/getdate.c: Include ctype.h and alloca.h.
30307 (__getdate_r): Trim leading and trailing spaces of input.
30308 * time/tst-getdate.c (tests): Add tests with leading and
30311 2013-04-08 Roland McGrath <roland@hack.frob.com>
30314 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30315 when computing value.
30317 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30319 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30320 Use testrun.sh to run libm tests.
30323 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30325 2013-04-06 Marko Myllynen <myllynen@redhat.com>
30328 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30330 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30332 * Makefile.in (regen-ulps): New target.
30333 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30334 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30335 [ifneq (no,$(PERL)] (regen-ulps): New target.
30336 [ifeq (no,$(PERL)] (regen-ulps): New target.
30337 * math/libm-test.inc (ulps_file_name): Define.
30338 (output_dir): New variable.
30339 (options): Add "output-dir" option.
30340 (parse_opt): Handle 'o' case.
30341 (main): If output_dir is non-NULL use it as a prefix
30343 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30345 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30347 [BZ #10060, #10062]
30348 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30349 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30350 fail configure if __sync_val_compare_and_swap is not inlined.
30351 * sysdeps/i386/configure: Regenerate.
30352 * configure.in: Build for i686 when configured for i386.
30353 * configure: Regenerate.
30354 * README: Remove i386 reference.
30356 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30358 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30359 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30361 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30363 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30364 (lmsnanval): New variables.
30365 (F): Add conversion tests.
30366 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30367 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30369 * stdio-common/tstdiomisc.c (F): Properly collect individual
30372 [BZ #14686, #15336]
30373 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30374 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30375 Instead, use input NaN values or generate a qNaN by arithmetic
30376 operation. Also fix bugs to comply with the standard.
30377 * math/libm-test.inc (remainder_test): Add more tests.
30379 [BZ #15335, #15342]
30380 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30381 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30382 input NaN values or generate a qNaN by arithmetic operation.
30384 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30387 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30390 2013-04-03 Joseph Myers <joseph@codesourcery.com>
30393 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30394 underflowed result.
30395 * math/s_cexpf.c (__cexpf): Likewise.
30396 * math/s_cexpl.c (__cexpl): Likewise.
30397 * math/libm-test.inc (cexp_test): Add more tests.
30399 2013-04-03 Andreas Schwab <schwab@suse.de>
30402 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30403 order arrays from heap if bigger than alloca cutoff.
30405 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30407 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30408 (SNAN_TESTS_double): Refer to GCC PR56831.
30409 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30412 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30414 * Rules (bench): Move bench.out after the run is complete.
30416 * Rules (bench): Echo currently running benchmark.
30418 * benchtests/Makefile (bench): Add atan and slowatan.
30419 * benchtests/atan-inputs: New file.
30420 * benchtests/slowatan-inputs: New file.
30421 * benchtests/slowatan.c: New file.
30423 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30424 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30428 * sysdeps/unix/sysv/linux/kernel-features.h
30429 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30430 __ASSUME_XFS_RESTRICTED_CHOWN.
30431 * sysdeps/unix/sysv/linux/pathconf.c
30432 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30433 Save and restore errno.
30435 2013-04-02 Joseph Myers <joseph@codesourcery.com>
30438 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30439 arguments using __kernel_casinh.
30440 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30441 arguments using __kernel_casinhf.
30442 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30443 arguments using __kernel_casinhl.
30444 * math/libm-test.inc (cacosh_test): Add more tests.
30445 * sysdeps/i386/fpu/libm-test-ulps: Update.
30446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30448 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30450 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30451 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30453 * bench/Makefile (bench): Add sin and slowsin.
30454 * benchtests/sin-inputs: New file.
30455 * benchtests/slowsin-inputs: New file.
30456 * benchtests/slowsin.c: New file.
30458 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30459 (bench): Add slowexp and slowpow.
30460 (exp-ITER): Increase iterations.
30461 (pow-ITER): Likewise.
30462 * benchtests/exp-inputs: Change input.
30463 * benchtests/pow-inputs: Likewise.
30464 * benchtests/slowexp-inputs: New file.
30465 * benchtests/slowexp.c: New file.
30466 * benchtests/slowpow-inputs: New file.
30467 * benchtests/slowpow.c: New file.
30469 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30471 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30473 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30474 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30475 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30476 * benchtests/Makefile: Add rint benchtest.
30477 * benchtests/rint-inputs: Input for rint benchtest.
30479 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30481 * Versions.def (libm): Add GLIBC_2.18.
30482 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30483 hidden libm prototypes.
30484 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30485 * math/Makefile (libm-calls): Add s_issignaling.
30486 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30487 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30488 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30490 * math/math.h [__USE_GNU] (issignaling): New macro.
30491 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30492 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30493 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30494 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30495 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30496 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30497 * manual/arith.texi (issignaling): New section.
30498 * manual/libm-err-tab.pl (@all_functions): Update comment.
30499 * math/gen-libm-test.pl (parse_args): Apply special handling for
30501 * math/libm-test.inc (print_float, issignaling_test): New
30503 (check_float_internal): Add issignaling checks.
30504 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30505 default definition.
30506 * sysdeps/powerpc/math-tests.h: New file.
30507 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30509 * math/test-snan.c (TEST_FUNC): Likewise.
30511 2013-03-30 David S. Miller <davem@davemloft.net>
30513 * po/de.po: Update from translation team.
30515 2013-03-30 Joseph Myers <joseph@codesourcery.com>
30518 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30519 imaginary part less than 1.0 and real part less than 0.5
30521 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30522 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30523 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30524 (cacos_test): Add more tests.
30525 (casin_test): Likewise.
30526 (casinh_test): Likewise.
30527 * sysdeps/i386/fpu/libm-test-ulps: Update.
30528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30530 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30532 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30533 ONE with its value.
30535 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30536 (__pow_mp): Replace ONE and MONE with their values.
30537 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30538 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30539 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30540 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30541 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30542 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30544 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30546 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30547 (__pow_mp): Replace ZERO and MZERO with their values.
30548 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30549 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30550 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30551 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30552 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30553 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30556 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30558 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30560 2013-03-28 Roland McGrath <roland@hack.frob.com>
30562 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30563 Declare with __attribute__ ((weak)).
30564 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30565 Call __call_tls_dtors only if it's not NULL.
30567 2013-03-28 Roland McGrath <roland@hack.frob.com>
30569 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30570 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30571 magic __ehdr_start linker symbol if it's defined.
30572 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30573 them up here if it was already done.
30575 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30576 (_dl_aux_init): Use const in cast when setting it.
30577 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30578 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30579 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30581 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30583 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30584 * csu/libc-tls.c: Nor here.
30585 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30587 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30588 (__libc_message): Never call vsyslog.
30590 2013-03-28 Alan Modra <amodra@gmail.com>
30592 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30594 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30597 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30600 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30604 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30607 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30608 Don't add gid passed as argument.
30610 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30612 2013-03-27 Joseph Myers <joseph@codesourcery.com>
30615 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30616 imaginary part between 1.0 and 1.5 and real part less than 0.5
30618 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30619 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30620 * math/libm-test.inc (cacos_test): Add more tests.
30621 (casin_test): Likewise.
30622 (casinh_test): Likewise.
30623 * sysdeps/i386/fpu/libm-test-ulps: Update.
30624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30626 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30628 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30631 (denorm): Likewise.
30632 (__dbl_mp): Likewise.
30633 (add_magnitudes): Likewise.
30634 (sub_magnitudes): Likewise.
30642 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30644 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30645 (__dubcos): Likewise.
30646 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30647 (__ieee754_acos): Likewise.
30648 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30649 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30650 (__exp1): Likewise.
30651 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30652 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30654 (my_log2): Likewise.
30655 (checkint): Likewise.
30656 * sysdeps/ieee754/dbl-64/e_remainder.c
30657 (__ieee754_remainder): Likewise.
30658 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30659 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30660 (bsloww): Likewise.
30661 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30663 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30664 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30665 MANTISSA_STORE_T to store computations on mantissa. Use
30666 macros for rounding and division.
30667 (denorm): Likewise.
30668 (__dbl_mp): Likewise.
30669 (add_magnitudes): Likewise.
30670 (sub_magnitudes): Likewise.
30673 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30674 powers of two in terms of TWOPOW macro.
30675 (mp_no): Make type of mantissa as MANTISSA_T.
30676 [!RADIXI]: Define RADIXI.
30677 [!TWO52]: Define TWO52.
30678 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30680 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30682 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30683 llroundl symbol when building for PPC32.
30685 2013-03-24 Mark H Weaver <mhw@netris.org>
30687 * manual/arith.texi (Normalization Functions): Fix prototypes for
30688 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30690 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30693 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30694 high value to check if expl overflow.
30695 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30696 to check for underflow and overflow.
30697 * math/libm-test.inc: Add exp test.
30699 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30702 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30705 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30707 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30710 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30712 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30713 wrap blocks consisting of several statements.
30715 * sysdeps/generic/math-tests.h: New file.
30716 * sysdeps/i386/fpu/math-tests.h: Likewise.
30717 * math/test-snan.c: Include it.
30718 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30720 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30723 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30724 (__ieee754_j0l): Do not improve calculations using cos of twice
30725 input for inputs above LDBL_MAX / 2.0L.
30726 (__ieee754_y0l): Likewise.
30727 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30728 (__ieee754_j1l): Do not improve calculations using cos of twice
30729 input for inputs above LDBL_MAX / 2.0L.
30730 (__ieee754_y1l): Likewise.
30731 * math/libm-test.inc (j0_test): Add another test.
30732 (j1_test): Likewise.
30733 (y0_test): Likewise.
30734 (y1_test): Likewise.
30735 * sysdeps/i386/fpu/libm-test-ulps: Update.
30737 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30739 * Rules ($(objpfx)bench-%.c): Include code from a C source
30742 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30745 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30746 imaginary part 1.0 and real part less than 0.5 specially.
30747 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30748 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30749 * math/libm-test.inc (cacos_test): Add more tests.
30750 (casin_test): Likewise.
30751 (casinh_test): Likewise.
30752 * sysdeps/i386/fpu/libm-test-ulps: Update.
30753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30755 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30757 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30758 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30760 2013-03-20 Joseph Myers <joseph@codesourcery.com>
30762 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30763 * config.make.in (config-cflags-sse4): Remove variable.
30764 (config-cflags-avx): Likewise.
30765 (config-cflags-sse2avx): Likewise.
30766 (config-cflags-novzeroupper): Likewise.
30767 (config-asflags-i686): Likewise.
30768 (have-mfma4): Likewise.
30769 (have-as-vis3): Likewise.
30771 * configure.in (MIG): Do not AC_SUBST.
30772 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30773 (libc_cv_cc_sse4): Do not AC_SUBST.
30774 (libc_cv_cc_avx): Likewise.
30775 (libc_cv_cc_sse2avx): Likewise.
30776 (libc_cv_cc_novzeroupper): Likewise.
30777 (libc_cv_cc_fma4): Likewise.
30778 (libc_cv_as_i686): Likewise.
30779 (libc_cv_sparc_as_vis3): Likewise.
30780 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30782 (config-asflags-i686): Likewise.
30783 (config-cflags-avx): Likewise.
30784 (config-cflags-sse2avx): Likewise.
30785 (have-mfma4): Likewise.
30786 (config-cflags-novzeroupper): Likewise.
30787 * sysdeps/mach/configure.in (MIG): Likewise.
30788 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30789 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30791 (config-cflags-avx): Likewise.
30792 (config-cflags-sse2avx): Likewise.
30793 (have-mfma4): Likewise.
30794 (config-cflags-novzeroupper): Likewise.
30795 * configure: Regenerated.
30796 * sysdeps/i386/configure: Likewise.
30797 * sysdeps/mach/configure: Likewise.
30798 * sysdeps/sparc/configure: Likewise.
30799 * sysdeps/x86_64/configure: Likewise.
30801 2013-03-20 Roland McGrath <roland@hack.frob.com>
30804 * locale/programs/localedef.c (options): Put N_ translation marker
30805 on argument names, not just descriptions.
30807 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30809 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30811 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
30814 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30816 2013-03-19 Roland McGrath <roland@hack.frob.com>
30818 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30819 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30820 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30821 [!BEFORE_ABORT] (before_abort): New function.
30822 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30823 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30824 (writev_for_fatal): New function.
30825 (WRITEV_FOR_FATAL): New macro; call that.
30826 (backtrace_and_maps): New function.
30827 (BEFORE_ABORT): New macro; call that.
30828 (struct str_list): Type removed.
30829 (__libc_message, __libc_fatal): Functions removed.
30830 Include <sysdeps/posix/libc_fatal.c> instead.
30832 2013-03-19 Joseph Myers <joseph@codesourcery.com>
30834 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30836 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30839 2013-03-19 Andreas Schwab <schwab@suse.de>
30841 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30842 * sysdeps/gnu/configure: Regenerate.
30844 * configure.in: Substitute libc_cv_rtlddir.
30845 * configure: Regenerate.
30846 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30847 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30848 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30849 * elf/Makefile (install-others, CFLAGS-interp.c)
30850 (ldso_install, common-ldd-rewrite): Likewise.
30851 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30852 $(inst_slibdir)/$(rtld-installed-name).
30853 * scripts/rellns-sh: Add -p option.
30854 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30857 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30859 * manual/nptl.texi: Renamed to ...
30860 * manual/threads.texi: ... this.
30861 * manual/Makefile (chapters): Update.
30863 2013-03-18 Roland McGrath <roland@hack.frob.com>
30866 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30867 on argument names, not just descriptions.
30868 * malloc/memusagestat.c (options): Likewise.
30869 * nss/getent.c (options): Likewise.
30871 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
30874 * iconv/iconv_prog.c (options): Put N_ translation marker
30875 on argument names, not just descriptions.
30876 * iconv/iconvconfig.c (options): Likewise.
30878 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
30880 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30881 implementation which is faster on all x86_64 architectures.
30882 Tested on AMD, Intel Nehalem, SNB, IVB.
30883 * sysdeps/x86_64/strnlen.S: Likewise.
30885 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30886 Remove all multiarch strlen and strnlen versions.
30887 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30888 Remove strlen and strnlen related parts.
30890 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30891 Inline strlen part.
30892 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30894 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30895 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30896 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30897 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30898 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30899 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30901 2013-03-17 Carlos O'Donell <carlos@redhat.com>
30903 * manual/memory.texi (Malloc Tunable Parameters):
30904 Sort parameters alphabetically. Add comments for missing entries.
30906 2013-03-17 David S. Miller <davem@davemloft.net>
30908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30910 2013-03-16 Joseph Myers <joseph@codesourcery.com>
30913 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30914 for arguments at most half maximum finite value.
30915 * math/libm-test.inc (j0_test): Add more tests.
30916 (j1_test): Likewise.
30917 (y0_test): Likewise.
30918 (y1_test): Likewise.
30919 * sysdeps/i386/fpu/libm-test-ulps: Update.
30920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30923 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30924 1 / x and functions P and Q for arguments above 0x1p256L.
30925 (__ieee754_y0l): Likewise.
30926 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30927 (__ieee754_y1l): Likewise.
30928 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30929 (j1_test): Likewise.
30930 (y0_test): Likewise.
30931 (y1_test): Likewise.
30933 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30935 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30938 2013-03-15 Roland McGrath <roland@hack.frob.com>
30940 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30941 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30942 zero since it's initialized to EXEC_PAGESIZE.
30944 * sysdeps/unix/sysv/linux/ldsodefs.h
30945 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30946 * sysdeps/generic/ldsodefs.h: ... here.
30948 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30950 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30952 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30954 * math/test-snan.c: Renamed from
30955 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30956 * math/Makefile (tests): Add test-snan.
30957 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30960 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30961 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30963 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30964 __builtin_nan family of functions.
30965 * math/libm-test.inc (initialize): Initialize qnan_value with
30966 __builtin_nan family of functions.
30967 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30969 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30971 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30972 storage class. Initialize qNaN_var and sNaN_var with
30973 __builtin_nan and __builtin_nans families of functions,
30976 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30977 (sqrt_test): Remove duplicate test with qNaN input.
30978 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30979 (round_test, signbit_test, significand_test): Note missing +/-Inf
30980 as well as qNaN tests.
30982 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30983 qNaN_var. Fix a few strings, too.
30984 * math/libm-test.inc (nan_value): Rename to qnan_value.
30985 * math/gen-libm-test.pl (%beautify): Adjust to that.
30986 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30987 * math/test-misc.c (main): Likewise.
30988 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30989 to __qnan_bytes, and __qnan_union, respectively.
30990 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30992 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30993 and lqnanval, respectively.
30994 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30995 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30996 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30997 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30999 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31000 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31003 * math/test-misc.c (main): Fix copy'n'pastos.
31004 * misc/tst-efgcvt.c (special): Likewise.
31006 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31007 Remove declarations.
31009 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31011 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31012 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31013 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31014 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31016 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31018 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31019 macro to return vdso values correctly in IFUNC implementations.
31020 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31021 Optimization by using IFUNC.
31023 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31024 Richard Henderson <rth@redhat.com>
31025 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31027 * Makefile.in (bench): New target.
31028 * NEWS: Mention the benchmark framework.
31029 * Rules (bench): Likewise.
31030 (binaries-bench): Generate binaries for functions to
31032 * benchtests/Makefile: New makefile for benchmark tests.
31033 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31035 * benchtests/exp-inputs: New input file for EXP function.
31036 * benchtests/pow-inputs: New input file for POW function.
31037 * scripts/bench.pl: New script to generate source files for
31038 benchmark programs.
31040 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31042 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31043 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31044 computations on mantissa. Use macros for rounding and
31046 (denorm): Likewise.
31047 (__dbl_mp): Likewise.
31048 (add_magnitudes): Likewise.
31049 (sub_magnitudes): Likewise.
31052 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31053 powers of two in terms of TWOPOW macro.
31054 (mp_no): Make type of mantissa as MANTISSA_T.
31055 [!RADIXI]: Define RADIXI.
31056 [!TWO52]: Define TWO52.
31057 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31059 * manual/nptl.texi (cindex): Modify threads to pthreads.
31061 2013-03-15 Joseph Myers <joseph@codesourcery.com>
31063 * sysdeps/x86_64/preconfigure: Regenerated.
31065 2013-03-14 Joseph Myers <joseph@codesourcery.com>
31068 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31070 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31071 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31073 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31074 * math/libm-test.inc (j0_test): Do not allow one spurious
31075 underflow exception.
31076 (y1_test): Likewise.
31078 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31080 * manual/Makefile (chapters): Add nptl.
31081 * manual/debug.texi (Debugging Support): Add link to Threads
31083 * manual/nptl.texi: New file.
31085 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31087 2013-03-14 Petr Baudis <pasky@ucw.cz>
31089 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31090 for non-NULL pointer before the memory validity test. Pointed
31091 out by Holger Brunck <holger.brunck@keymile.com>.
31093 2013-03-13 Andreas Schwab <schwab@suse.de>
31095 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31098 2013-03-13 Joseph Myers <joseph@codesourcery.com>
31100 * timezone/zic.c: Update from tzcode 2013b.
31102 2013-03-12 Carlos O'Donell <carlos@redhat.com>
31104 * manual/install.texi (Configuring and compiling):
31105 Mention i686 and i586.
31106 * INSTALL: Regenerate.
31108 2013-03-12 Roland McGrath <roland@hack.frob.com>
31110 * sysdeps/init_array/elf-init.c: New file.
31112 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31113 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31115 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31116 __gmon_start__ as global, but as static with a .preinit_array pointer.
31117 * sysdeps/init_array/gmon-start.c: New file. Use that.
31118 * sysdeps/init_array/crti.S: New file, empty except for comments.
31119 * sysdeps/init_array/crtn.S: Likewise.
31121 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
31123 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31126 Remove Prefer_SSE_for_memop.
31127 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31128 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31129 HAS_PREFER_SSE_FOR_MEMOP.
31130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31132 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31133 Remove bzero, memset ifunc support.
31134 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31135 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31136 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31137 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31139 2013-03-11 Andreas Schwab <schwab@suse.de>
31142 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31145 (GLIBC_2.16): Remove pthread_atfork.
31147 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31149 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31150 (ptestcases.h): Likewise.
31152 2013-03-08 Roland McGrath <roland@hack.frob.com>
31154 * Makeconfig ($(common-objpfx)config.status): Depend on
31155 sysdeps/*/preconfigure{,.in} too.
31157 2013-03-08 Joseph Myers <joseph@codesourcery.com>
31159 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31160 (__free_hook): Use void * instead of __malloc_ptr_t.
31161 (__malloc_hook): Likewise.
31162 (__realloc_hook): Likewise.
31163 (__memalign_hook): Likewise.
31164 (__after_morecore_hook): Likewise.
31165 * malloc/arena.c (save_malloc_hook): Likewise.
31166 (save_free_hook): Likewise.
31167 * malloc/hooks.c (malloc_hook_ini): Likewise.
31168 (realloc_hook_ini): Likewise.
31169 (memalign_hook_ini): Likewise.
31170 * malloc/malloc.c (malloc_hook_ini): Likewise.
31171 (realloc_hook_ini): Likewise.
31172 (memalign_hook_ini): Likewise.
31173 (__free_hook): Likewise.
31174 (__malloc_hook): Likewise.
31175 (__realloc_hook): Likewise.
31176 (__memalign_hook): Likewise.
31177 (__libc_malloc): Likewise.
31178 (__libc_free): Likewise.
31179 (__libc_realloc): Likewise.
31180 (__libc_memalign): Likewise.
31181 (__libc_valloc): Likewise.
31182 (__libc_pvalloc): Likewise.
31183 (__libc_calloc): Likewise.
31184 (__posix_memalign): Likewise.
31185 * malloc/morecore.c (__sbrk): Likewise.
31186 (__default_morecore): Likewise.
31188 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31190 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31191 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31192 __malloc_ptrdiff_t.
31194 * malloc/malloc.h (__malloc_size_t): Remove macro.
31195 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31197 (old_memalign_hook): Likewise.
31198 (old_realloc_hook): Likewise.
31199 (struct hdr): Likewise.
31201 (mallochook): Likewise.
31202 (memalignhook): Likewise.
31203 (reallochook): Likewise.
31204 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31205 (tr_old_realloc_hook): Likewise.
31206 (tr_old_memalign_hook): Likewise.
31207 (tr_mallochook): Likewise.
31208 (tr_reallochook): Likewise.
31209 (tr_memalignhook): Likewise.
31211 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31213 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31214 default_ldbl_pack and using as default implementation.
31215 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31217 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31218 redundant definition.
31219 (ldbl_insert_mantissa): Likewise.
31220 (ldbl_canonicalize): Likewise.
31221 (ldbl_nearbyint): Likewise.
31222 (ldbl_pack): Rename to ldbl_pack_ppc.
31223 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31224 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31225 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31227 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31229 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31230 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31231 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31232 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31234 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31235 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31236 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31238 2013-03-07 Andreas Jaeger <aj@suse.de>
31240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31243 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31245 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31246 Include mpa.h and declare __MPEXP.
31247 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31248 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31249 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31250 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31251 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31252 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31253 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31255 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31256 (__slowpow): Use long double EXPL and LOGL functions to
31258 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31259 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31260 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31261 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31262 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31263 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31266 intermediate variable to calculate exponent.
31268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31272 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31273 [!NO__SQR]: Define __sqr.
31274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31275 and NO__SQR. Remove all code except __mul and __sqr. Include
31276 sysdeps/ieee754/dbl-64/mpa.c.
31277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31280 * posix/Makefile (tests): Add tst-pathconf.
31281 * posix/tst-pathconf.c: New test case.
31282 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31284 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31286 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
31288 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31290 2013-03-06 Andreas Jaeger <aj@suse.de>
31292 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31293 definition via __MAP_ANONYMOUS.
31295 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31296 it's not part of Linux headers.
31298 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31299 (MAP_HUGE_MASK): Define.
31301 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31303 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31304 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31306 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31307 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31309 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31310 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31312 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31314 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31315 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31316 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31317 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31318 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31319 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31321 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31324 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31325 Handle f2fs and efivarfs.
31327 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31330 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31331 (EFIVARFS_MAGIC): Add.
31332 (F2FS_LINK_MAX): Add.
31334 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31336 * stdio-common/vfprintf.c: Replace __builtin_expect with
31339 2013-03-06 Joseph Myers <joseph@codesourcery.com>
31342 * sysdeps/generic/bp-sym.h: Remove file.
31343 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31344 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31345 <bp-sym.h> and <bp-asm.h>.
31346 (__longjmp): Don't use BP_SYM.
31347 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31349 (memcpy): Don't use BP_SYM.
31350 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31351 <bp-sym.h> and <bp-asm.h>.
31352 (memcpy): Don't use BP_SYM.
31353 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31355 (memcpy): Don't use BP_SYM.
31356 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31358 (memset): Don't use BP_SYM.
31359 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31360 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31361 (__bzero): Don't use BP_SYM.
31362 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31363 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31364 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31365 <bp-sym.h> and <bp-asm.h>.
31366 (memcmp): Don't use BP_SYM. Remove comment about bounded
31368 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31369 <bp-sym.h> and <bp-asm.h>.
31370 (memcpy): Don't use BP_SYM.
31371 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31372 <bp-sym.h> and <bp-asm.h>.
31373 (memset): Don't use BP_SYM.
31374 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31375 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31376 (__bzero): Don't use BP_SYM.
31377 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31378 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31379 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31380 <bp-sym.h> and <bp-asm.h>.
31381 (strncmp): Don't use BP_SYM. Remove comment about bounded
31383 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31384 <bp-sym.h> and <bp-asm.h>.
31385 (memcpy): Don't use BP_SYM.
31386 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31387 <bp-sym.h> and <bp-asm.h>.
31388 (memset): Don't use BP_SYM.
31389 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31390 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31391 (__bzero): Don't use BP_SYM.
31392 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31393 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31394 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31395 <bp-sym.h> and <bp-asm.h>.
31396 (__memchr): Don't use BP_SYM.
31397 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31398 <bp-sym.h> and <bp-asm.h>.
31399 (memcmp): Don't use BP_SYM. Remove comment about bounded
31401 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31402 <bp-sym.h> and <bp-asm.h>.
31403 (memcpy): Don't use BP_SYM.
31404 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31405 <bp-sym.h> and <bp-asm.h>.
31406 (__mempcpy): Don't use BP_SYM.
31407 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31408 <bp-sym.h> and <bp-asm.h>.
31409 (__memrchr): Don't use BP_SYM.
31410 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31411 <bp-sym.h> and <bp-asm.h>.
31412 (memset): Don't use BP_SYM.
31413 (__bzero): Likewise.
31414 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31415 <bp-sym.h> and <bp-asm.h>.
31416 (__rawmemchr): Don't use BP_SYM.
31417 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31418 <bp-sym.h> and <bp-asm.h>.
31419 (__STRCMP): Don't use BP_SYM.
31420 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31421 <bp-sym.h> and <bp-asm.h>.
31422 (strchr): Don't use BP_SYM.
31423 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31424 <bp-sym.h> and <bp-asm.h>.
31425 (__strchrnul): Don't use BP_SYM.
31426 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31427 <bp-sym.h> and <bp-asm.h>.
31428 (strlen): Don't use BP_SYM.
31429 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31430 <bp-sym.h> and <bp-asm.h>.
31431 (strncmp): Don't use BP_SYM. Remove comment about bounded
31433 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31434 <bp-sym.h> and <bp-asm.h>.
31435 (__strnlen): Don't use BP_SYM.
31436 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31437 <bp-sym.h> and <bp-asm.h>.
31438 (__GI__setjmp): Don't use BP_SYM.
31439 (_setjmp): Likewise.
31440 (__sigsetjmp): Likewise.
31441 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31442 (L(start_addresses)): Don't use BP_SYM.
31443 (_start): Likewise.
31444 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31446 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31447 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31448 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31449 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31450 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31452 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31453 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31454 about bounded pointers.
31455 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31456 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31457 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31459 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31460 about bounded pointers. Remove GKM FIXME comments.
31461 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31462 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31464 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31465 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31466 Remove GKM FIXME comments.
31467 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31468 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31469 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31471 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31472 about bounded pointers. Remove GKM FIXME comment.
31473 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31475 (strncmp): Don't use BP_SYM. Remove comment about bounded
31477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31478 <bp-sym.h> and <bp-asm.h>.
31479 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31481 <bp-sym.h> and <bp-asm.h>.
31482 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31485 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31487 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31490 2013-03-05 David S. Miller <davem@davemloft.net>
31492 * po/es.po: Update from translation team.
31494 2013-03-05 Andreas Jaeger <aj@suse.de>
31496 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31497 <bits/mman-linux.h>.
31498 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31500 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31501 <bits/mman-linux.h> to end of file.
31502 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31504 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31505 <bits/mman-linux.h> to end of file.
31506 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31508 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31509 <bits/mman-linux.h> to end of file.
31511 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31512 (MCL_CURRENT, MCL_FUTURE): Define here.
31514 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31517 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31519 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31521 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31523 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31524 fourth parameter needed for rt_sigprocmask syscall.
31525 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31526 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31527 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31528 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31529 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31530 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31532 2013-03-04 Joseph Myers <joseph@codesourcery.com>
31535 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31536 comment about bounded pointers.
31537 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31538 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31540 2013-03-04 Andreas Jaeger <aj@suse.de>
31542 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31543 common definitions.
31545 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31546 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31547 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31548 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31549 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31550 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31552 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31555 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31556 __ieee754_sqrl instead of __sqrl.
31558 2013-03-01 Joseph Myers <joseph@codesourcery.com>
31560 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31561 * sysdeps/powerpc/fpu_control.h: ... here.
31562 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31563 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31564 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31565 * sysdeps/powerpc/bits/mathinline.h: ... here.
31567 2013-03-01 Roland McGrath <roland@hack.frob.com>
31569 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31570 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31571 to just [NEED_DL_SYSINFO_DSO].
31572 * elf/dl-support.c: Likewise.
31573 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31574 * elf/rtld.c (dl_main): Likewise.
31575 * elf/setup-vdso.h (setup_vdso): Likewise.
31576 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31577 * sysdeps/unix/sysv/linux/dl-sysdep.c
31578 (_dl_discover_osversion): Likewise.
31580 2013-03-01 Carlos O'Donell <carlos@redhat.com>
31582 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31583 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31585 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31587 * NEWS: Mention libm performance improvements and non-x86 PI
31590 * csu/libc-start.c (__pthread_initialize_minimal): Change
31591 function arguments.
31592 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31594 2013-02-28 Joseph Myers <joseph@codesourcery.com>
31597 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31598 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31599 <bp-sym.h> and <bp-asm.h>.
31600 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31601 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31603 (memcpy): Don't use BP_SYM.
31604 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31606 (__mpn_add_n): Don't use BP_SYM.
31607 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31608 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31610 (__mpn_addmul_1): Don't use BP_SYM.
31611 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31612 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31614 (_setjmp): Don't use BP_SYM.
31615 (__novmx_setjmp): Likewise.
31616 (__GI__setjmp): Likewise.
31617 (__vmx_setjmp): Likewise.
31618 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31620 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31621 (__bzero): Don't use BP_SYM.
31622 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31623 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31624 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31625 <bp-sym.h> and <bp-asm.h>.
31626 (memcpy): Don't use BP_SYM.
31627 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31628 <bp-sym.h> and <bp-asm.h>.
31629 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31630 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31631 <bp-sym.h> and <bp-asm.h>.
31632 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31633 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31635 (__mpn_lshift): Don't use BP_SYM.
31636 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31637 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31639 (memset): Don't use BP_SYM.
31640 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31641 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31642 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31644 (__mpn_mul_1): Don't use BP_SYM.
31645 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31646 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31647 <bp-sym.h> and <bp-asm.h>.
31648 (memcmp): Don't use BP_SYM.
31649 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31650 <bp-sym.h> and <bp-asm.h>.
31651 (memcpy): Don't use BP_SYM.
31652 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31653 <bp-sym.h> and <bp-asm.h>.
31654 (memset): Don't use BP_SYM.
31655 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31656 <bp-sym.h> and <bp-asm.h>.
31657 (strncmp): Don't use BP_SYM.
31658 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31659 <bp-sym.h> and <bp-asm.h>.
31660 (memcpy): Don't use BP_SYM.
31661 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31662 <bp-sym.h> and <bp-asm.h>.
31663 (memset): Don't use BP_SYM.
31664 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31665 <bp-sym.h> and <bp-asm.h>.
31666 (__memchr): Don't use BP_SYM.
31667 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31668 <bp-sym.h> and <bp-asm.h>.
31669 (memcmp): Don't use BP_SYM.
31670 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31671 <bp-sym.h> and <bp-asm.h>.
31672 (memcpy): Don't use BP_SYM.
31673 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31674 <bp-sym.h> and <bp-asm.h>.
31675 (__mempcpy): Don't use BP_SYM.
31676 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31677 <bp-sym.h> and <bp-asm.h>.
31678 (__memrchr): Don't use BP_SYM.
31679 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31680 <bp-sym.h> and <bp-asm.h>.
31681 (memset): Don't use BP_SYM.
31682 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31683 <bp-sym.h> and <bp-asm.h>.
31684 (__rawmemchr): Don't use BP_SYM.
31685 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31686 <bp-sym.h> and <bp-asm.h>.
31687 (__STRCMP): Don't use BP_SYM.
31688 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31689 <bp-sym.h> and <bp-asm.h>.
31690 (strchr): Don't use BP_SYM.
31691 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31692 <bp-sym.h> and <bp-asm.h>.
31693 (__strchrnul): Don't use BP_SYM.
31694 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31695 <bp-sym.h> and <bp-asm.h>.
31696 (strlen): Don't use BP_SYM.
31697 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31698 <bp-sym.h> and <bp-asm.h>.
31699 (strncmp): Don't use BP_SYM.
31700 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31701 <bp-sym.h> and <bp-asm.h>.
31702 (__strnlen): Don't use BP_SYM.
31703 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31705 (__mpn_rshift): Don't use BP_SYM.
31706 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31707 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31708 <bp-sym.h> and <bp-asm.h>.
31709 (__sigsetjmp): Don't use BP_SYM.
31710 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31711 (L(start_addresses)): Don't use BP_SYM.
31712 (_start): Likewise.
31713 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31715 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31716 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31717 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31718 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31720 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31721 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31722 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31723 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31725 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31727 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31728 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31730 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31732 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31733 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31734 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31736 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31738 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31740 (strncmp): Don't use BP_SYM,
31741 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31743 (__mpn_sub_n): Don't use BP_SYM.
31744 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31745 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31747 (__mpn_submul_1): Don't use BP_SYM.
31748 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31750 <bp-sym.h> and <bp-asm.h>.
31751 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31753 <bp-sym.h> and <bp-asm.h>.
31754 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31757 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31760 Use ZK to minimize writes to Z.
31761 (sub_magnitudes): Simplify code a bit.
31762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31763 Use ZK to minimize writes to Z.
31764 (sub_magnitudes): Simplify code a bit.
31766 2013-02-27 Roland McGrath <roland@hack.frob.com>
31768 * csu/gmon-start.c: Add special exception to license text.
31770 2013-02-27 Richard Henderson <rth@redhat.com>
31772 * scripts/config.guess: Update from config.git.
31773 * scripts/config.sub: Likewise.
31775 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31777 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31779 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31781 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31783 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31785 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31787 2013-02-26 Roland McGrath <roland@hack.frob.com>
31789 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31790 [$(build-shared = yes].
31792 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31794 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31795 (__mul): Reduce iterations for calculating mantissa.
31797 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31799 (__mpranred): Likewise.
31802 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31803 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31805 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31807 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31808 Define __attribute__.
31810 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31812 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31814 * posix/regex_internal.h (__attribute): Remove.
31815 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31816 (re_string_context_at): Likewise.
31817 (bitset_not): Use __attribute__ and mark function as possibly
31819 (bitset_merge): Likewise.
31820 (bitset_mask): Likewise.
31821 (re_string_char_size_at): Likewise.
31822 (re_string_wchar_at): Likewise.
31823 (re_string_elem_size_at): Likewise.
31825 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31827 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31831 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31835 (denorm): Likewise.
31836 (__dbl_mp): Likewise.
31837 (add_magnitudes): Likewise.
31838 (sub_magnitudes): Likewise.
31842 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31845 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31848 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31852 up changes with default code.
31853 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31856 2013-02-24 Allan McRae <allan@archlinux.org>
31858 * manual/socket.texi (The Internet Namespace): Order menu items
31859 to match that in the file.
31861 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31862 node listing of the info page menu.
31864 2013-02-21 Joseph Myers <joseph@codesourcery.com>
31867 * sysdeps/i386/bp-asm.h: Remove file.
31868 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31869 (PARMS): Do not use macros from bp-asm.h.
31873 (__mpn_add_n): Do not use BP_SYM
31874 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31876 (PARMS): Do not use macros from bp-asm.h.
31879 (__mpn_addmul_1): Do not use BP_SYM
31880 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31882 (PARMS): Do not use macros from bp-asm.h.
31883 (SIGMSK): Likewise.
31884 (_setjmp): Likewise. Do not use BP_SYM.
31885 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31887 (PARMS): Do not use macros from bp-asm.h.
31888 (SIGMSK): Likewise.
31889 (setjmp): Likewise. Do not use BP_SYM.
31890 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31892 (PARMS): Do not use macros from bp-asm.h.
31893 (__frexp): Do not use BP_SYM.
31895 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31897 (PARMS): Do not use macros from bp-asm.h.
31898 (__frexpf): Do not use BP_SYM.
31899 (frexpf): Likewise.
31900 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31902 (PARMS): Do not use macros from bp-asm.h.
31903 (__frexpl): Do not use BP_SYM.
31904 (frexpl): Likewise.
31905 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31907 (PARMS): Do not use macros from bp-asm.h.
31908 (__remquo): Do not use BP_SYM.
31909 (remquo): Likewise.
31910 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31912 (PARMS): Do not use macros from bp-asm.h.
31913 (__remquof): Do not use BP_SYM.
31914 (remquof): Likewise.
31915 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31917 (PARMS): Do not use macros from bp-asm.h.
31918 (__remquol): Do not use BP_SYM.
31919 (remquol): Likewise.
31920 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31922 (PARMS): Do not use macros from bp-asm.h.
31925 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31926 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31928 (PARMS): Do not use macros from bp-asm.h.
31929 (strlen): Do not use BP_SYM.
31930 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31932 (PARMS): Do not use macros from bp-asm.h.
31936 (__mpn_add_n): Do not use BP_SYM.
31937 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31939 (PARMS): Do not use macros from bp-asm.h.
31942 (__mpn_addmul_1): Do not use BP_SYM.
31943 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31946 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31948 (PARMS): Do not use macros from bp-asm.h.
31951 (__mpn_lshift): Do not use BP_SYM.
31952 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31954 (PARMS): Do not use macros from bp-asm.h.
31958 (memcpy): Likewise. Do not use BP_SYM.
31959 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31960 libc_hidden_def and weak_alias.
31961 (mempcpy): Do not use BP_SYM in weak_alias.
31962 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31964 (PARMS): Do not use macros from bp-asm.h.
31967 [!BZERO_P] (CHR): Likewise.
31968 (memset): Likewise. Do not use BP_SYM.
31969 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31971 (PARMS): Do not use macros from bp-asm.h.
31974 (__mpn_mul_1): Do not use BP_SYM.
31975 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31977 (PARMS): Do not use macros from bp-asm.h.
31980 (__mpn_rshift): Do not use BP_SYM.
31981 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31983 (PARMS): Do not use macros from bp-asm.h.
31986 (strchr): Likewise. Do not use BP_SYM.
31987 (index): Do not use BP_SYM in weak_alias.
31988 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31990 (PARMS): Do not use macros from bp-asm.h.
31993 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31994 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31996 (PARMS): Do not use macros from bp-asm.h.
31997 (strlen): Do not use BP_SYM.
31998 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32000 (PARMS): Do not use macros from bp-asm.h.
32004 (__mpn_sub_n): Do not use BP_SYM.
32005 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32007 (PARMS): Do not use macros from bp-asm.h.
32010 (__mpn_submul_1): Do not use BP_SYM.
32011 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32013 (PARMS): Do not use macros from bp-asm.h.
32017 (__mpn_add_n): Do not use BP_SYM.
32018 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32021 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32023 (PARMS): Do not use macros from bp-asm.h.
32026 (memcmp): Do not use BP_SYM.
32027 (bcmp): Do not use BP_SYM in weak_alias.
32028 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32030 (PARMS): Do not use macros from bp-asm.h.
32034 (memcpy): Likewise. Do not use BP_SYM.
32035 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32037 (PARMS): Do not use macros from bp-asm.h.
32041 (memmove): Likewise. Do not use BP_SYM.
32042 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32044 (PARMS): Do not use macros from bp-asm.h.
32048 (__mempcpy): Likewise. Do not use BP_SYM.
32049 (mempcpy): Do not use BP_SYM in weak_alias.
32050 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32052 (PARMS): Do not use macros from bp-asm.h.
32055 [!BZERO_P] (CHR): Likewise.
32056 (memset): Likewise. Do not use BP_SYM.
32057 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32059 (PARMS): Do not use macros from bp-asm.h.
32061 (strcmp): Do not use BP_SYM.
32062 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32064 (PARMS): Do not use macros from bp-asm.h.
32067 [USE_AS_STRTOK_R] (SAVE): Likewise.
32068 (FUNCTION): Likewise. Do not use BP_SYM.
32069 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32071 (strtok_r): Likewise.
32072 (__GI___strtok_r): Likewise.
32073 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32074 (PARMS): Do not use macros from bp-asm.h.
32077 (__mpn_lshift): Do not use BP_SYM.
32078 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32079 (PARMS): Do not use macros from bp-asm.h.
32082 (__memchr): Do not use BP_SYM.
32083 (memchr): Do not use BP_SYM in weak_alias.
32084 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32085 (PARMS): Do not use macros from bp-asm.h.
32088 (memcmp): Do not use BP_SYM.
32089 (bcmp): Do not use BP_SYM in weak_alias.
32090 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32091 (PARMS): Do not use macros from bp-asm.h.
32094 (__mpn_mul_1): Do not use BP_SYM.
32095 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32097 (PARMS): Do not use macros from bp-asm.h.
32100 (__rawmemchr): Do not use BP_SYM.
32101 (rawmemchr): Do not use BP_SYM in weak_alias.
32102 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32103 (PARMS): Do not use macros from bp-asm.h.
32106 (__mpn_rshift): Do not use BP_SYM.
32107 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32108 (PARMS): Do not use macros from bp-asm.h.
32109 (SIGMSK): Likewise.
32110 (__sigsetjmp): Likewise. Do not use BP_SYM.
32111 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32112 (_start): Do not use BP_SYM.
32113 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32114 (PARMS): Do not use macros from bp-asm.h.
32117 (__stpcpy): Likewise. Do not use BP_SYM.
32118 (stpcpy): Do not use BP_SYM in weak_alias.
32119 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32121 (PARMS): Do not use macros from bp-asm.h.
32125 (__stpncpy): Likewise. Do not use BP_SYM.
32126 (stpncpy): Do not use BP_SYM in weak_alias.
32127 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32128 (PARMS): Do not use macros from bp-asm.h.
32131 (strchr): Likewise. Do not use BP_SYM.
32132 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32134 (PARMS): Do not use macros from bp-asm.h.
32137 (__strchrnul): Likewise. Do not use BP_SYM.
32138 (strchrnul): Do not use BP_SYM in weak_alias.
32139 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32141 (PARMS): Do not use macros from bp-asm.h.
32143 (strcspn): Do not use BP_SYM.
32144 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32146 (PARMS): Do not use macros from bp-asm.h.
32149 (strpbrk): Likewise. Do not use BP_SYM.
32150 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32152 (PARMS): Do not use macros from bp-asm.h.
32155 (strrchr): Likewise. Do not use BP_SYM.
32156 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32157 (PARMS): Do not use macros from bp-asm.h.
32159 (strspn): Do not use BP_SYM.
32160 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32161 (PARMS): Do not use macros from bp-asm.h.
32165 (FUNCTION): Likewise. Do not use BP_SYM.
32166 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32168 (strtok_r): Likewise.
32169 (__GI___strtok_r): Likewise.
32170 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32171 (PARMS): Do not use macros from bp-asm.h.
32175 (__mpn_sub_n): Do not use BP_SYM.
32176 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32178 (PARMS): Do not use macros from bp-asm.h.
32181 (__mpn_submul_1): Do not use BP_SYM.
32182 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32184 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32186 (PARMS): Do not use macros from bp-asm.h.
32191 (__clone): Do not use BP_SYM.
32192 (clone): Do not use BP_SYM in weak_alias.
32193 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32195 (PARMS): Do not use macros from bp-asm.h.
32197 (__mmap64): Do not use BP_SYM.
32198 (mmap64): Do not use BP_SYM in weak_alias.
32199 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32200 <bp-sym.h> and <bp-asm.h>.
32201 (PARMS): Do not use macros from bp-asm.h.
32202 (__posix_fadvise64_l64): Do not use BP_SYM.
32203 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32204 (PARMS): Do not use macros from bp-asm.h.
32206 (semtimedop): Do not use BP_SYM.
32207 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32210 2013-02-21 Allan McRae <allan@archlinux.org>
32212 * manual/message.texi (Charset conversion in gettext):
32213 Move @end statement to beginning of line.
32215 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32217 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32222 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32223 (denorm): Likewise.
32224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32227 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32229 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32230 tail-call to the resolved function if pltexit isn't needed.
32232 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32235 or Y being zero as being unlikely.
32236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32239 2013-02-20 Carlos O'Donell <carlos@redhat.com>
32241 * manual/nss.texi (System Databases and Name Service Switch):
32242 Remove frobnicate @pxref.
32244 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32246 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32247 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32249 2013-02-20 Petr Machata <pmachata@redhat.com>
32251 * elf/elf.h (R_ARM_TARGET1): New macro.
32252 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32253 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32254 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32255 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32256 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32257 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32258 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32259 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32260 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32261 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32262 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32263 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32264 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32265 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32266 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32267 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32268 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32269 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32270 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32271 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32272 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32273 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32274 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32275 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32276 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32277 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32278 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32279 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32280 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32281 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32282 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32283 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32284 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32285 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32286 (R_ARM_THM_GOT_BREL12): Likewise.
32287 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32288 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32289 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32290 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32291 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32292 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32293 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32294 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32295 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32297 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32299 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32300 __attribute_used__ to __attribute__ ((unused)).
32302 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32304 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32307 comment formatting.
32308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32310 2013-02-19 Joseph Myers <joseph@codesourcery.com>
32313 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32315 (ENTER): Remove both macro definitions.
32317 (CHECK_BOUNDS_LOW): Likewise.
32318 (CHECK_BOUNDS_HIGH): Likewise.
32319 (CHECK_BOUNDS_BOTH): Likewise.
32320 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32321 (RETURN_BOUNDED_POINTER): Likewise.
32322 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32323 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32324 (POP_ERRNO_LOCATION_RETURN): Likewise.
32325 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32326 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32327 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32329 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32330 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32331 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32332 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32333 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32334 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32335 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32336 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32337 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32338 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32339 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32340 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32341 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32342 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32344 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32345 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32347 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32348 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32349 * sysdeps/i386/i586/memset.S (memset): Likewise.
32350 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32351 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32352 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32354 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32355 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32356 Change uses of L(2) to L(out).
32357 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32358 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32359 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32360 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32361 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32363 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32364 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32366 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32367 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32368 (RETURN): Do not use macro LEAVE.
32369 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32370 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32371 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32372 * sysdeps/i386/i686/memset.S (memset): Likewise.
32373 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32374 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32375 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32376 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32378 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32379 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32380 L(1_2) and L(1_3) into L(1).
32381 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32382 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32383 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32384 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32385 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32386 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32387 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32388 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32389 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32391 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32392 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32393 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32394 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32395 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32396 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32397 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32398 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32399 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32400 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32401 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32402 * sysdeps/i386/strspn.S (strspn): Likewise.
32403 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32405 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32406 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32407 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32408 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32409 L(1_3) into L(1_1).
32410 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32411 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32412 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32414 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32416 2013-02-19 Jakub Jelinek <jakub@redhat.com>
32418 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32421 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32423 * math/atest-exp.c (exp_mpn): Remove ROUND.
32424 * math/atest-exp2.c (exp_mpn): Likewise.
32425 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32427 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32428 * stdlib/tst-tls-atexit-lib.c: Likewise.
32429 * stdlib/tst-tls-atexit.c: Likewise.
32431 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32433 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32434 and __attribute_alloc_size__.
32436 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32438 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32439 __attribute_alloc_size__.
32440 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32441 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32443 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32445 * include/programs/xmalloc.h: New file.
32446 * catgets/gencat.c: Include it.
32447 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32448 * elf/pldd.c: Likewise.
32449 * iconv/iconv_charmap.c: Likewise.
32450 * iconv/iconvconfig.c: Likewise.
32451 * iconv/strtab.c: Likewise.
32452 * locale/programs/locale.c: Likewise.
32453 * locale/programs/localedef.h: Likewise.
32454 * locale/programs/simple-hash.c: Likewise.
32455 * nscd/nscd.h: Likewise.
32456 * nss/makedb.c: Likewise.
32457 * sysdeps/generic/ldconfig.h: Likewise.
32459 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32461 * Versions.def: Add GLIBC_2.18.
32462 * include/link.h (struct link_map): New member l_tls_dtor_count.
32463 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32464 (__call_tls_dtors): Likewise.
32465 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32466 __cxa_thread_atexit_impl.
32467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32475 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32483 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32484 (tests): Add test case tst-tls-atexit.
32485 (modules-names): Add shared library for tst-tls-atexit.
32486 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32487 (GLIBC_PRIVATE): Add __call_tls_dtors.
32488 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32490 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32491 * stdlib/tst-tls-atexit.c: New test case.
32492 * stdlib/tst-tls-atexit-lib.c: New test case.
32494 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32496 * elf/Versions (ld): Add _dl_find_dso_for_object.
32497 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32498 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32499 (dl_open_worker): Use _dl_find_dso_for_object.
32500 * elf/dl-sym.c (do_sym): Likewise.
32501 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32503 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32505 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32506 Syntactic changes only.
32507 (_dl_runtime_profile): Do a tail-call to the resolved function.
32509 2013-02-17 Joseph Myers <joseph@codesourcery.com>
32512 * sysdeps/x86_64/bp-asm.h: Remove file.
32513 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32514 <bp-sym.h> and <bp-asm.h>.
32515 (__clone): Do not use BP_SYM.
32516 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32517 <bp-sym.h> and <bp-asm.h>.
32518 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32519 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32521 (_setjmp): Do not use BP_SYM.
32522 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32524 (setjmp): Do not use BP_SYM.
32525 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32527 (mempcpy): Do not use BP_SYM in weak_alias.
32528 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32530 (strchr): Do not use BP_SYM.
32531 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32533 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32534 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32535 (_start): Do not use BP_SYM.
32536 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32538 (strcat): Do not use BP_SYM.
32539 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32541 (STRCMP): Do not use BP_SYM.
32542 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32544 (STRCPY): Do not use BP_SYM.
32545 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32547 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32549 (FUNCTION): Do not use BP_SYM.
32550 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32552 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32554 2013-02-17 Andreas Jaeger <aj@suse.de>
32556 * time/Versions: Sort entries.
32557 * string/Versions: Likewise.
32558 * resolv/Versions: Likewise.
32559 * posix/Versions: Likewise.
32560 * iconv/Versions: Likewise.
32561 * elf/Versions: Likewise.
32562 * wcsmbs/Versions: Likewise.
32564 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32566 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32567 loop termination condition.
32569 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32570 variable to calculate EZ.
32573 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32574 the lower precision input.
32576 2013-02-15 Joseph Myers <joseph@codesourcery.com>
32579 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32580 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32581 (run-via-rtld-prefix): Do not handle %-bp tests.
32582 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32583 (all-object-suffixes): Remove .ob.
32584 (bppfx): Remove variable.
32585 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32586 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32587 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32588 [$(build-bounded) = yes] (libtype.ob): Likewise.
32589 * Makerules (elide-routines.ob): Remove variable.
32590 (do-tests-clean): Do not handle *-bp.out.
32591 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32592 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32593 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32594 (tests): Do not include $(tests-bp.out).
32595 (xtests): Do not include $(xtests-bp.out).
32596 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32597 [$(build-bounded) = yes] ($(addprefix
32598 $(objpfx),$(binaries-bounded))): Remove rule.
32599 ($(objpfx)%-bp.out): Remove rule.
32600 * config.make.in (build-bounded): Remove variable.
32601 * crypt/Makefile [$(build-bounded) = yes]
32602 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32603 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32604 append to variable.
32605 [$(build-bounded) = yes] (install-lib): Likewise.
32606 [$(build-bounded) = yes] (generated): Likewise.
32607 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32609 * intl/Makefile [$(build-bounded) = yes]
32610 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32611 * math/Makefile [$(build-bounded) = yes]
32612 ($(tests:%=$(objpfx)%-bp): Likewise.
32613 * misc/Makefile [$(build-bounded) = yes]
32614 ($(objpfx)tst-tsearch-bp): Likewise.
32615 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32616 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32618 * string/Makefile (o-objects.ob): Remove variable.
32619 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32620 (CFLAGS-.ob): Remove variable.
32621 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32622 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32623 both definitions of variable.
32624 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32625 (ASFLAGS-.ob): Remove variable.
32627 2013-02-14 Joseph Myers <joseph@codesourcery.com>
32630 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32631 Remove __BOUNDED_POINTERS__ from condition.
32632 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32633 * string/bits/string2.h [!__NO_STRING_INLINES &&
32634 !__BOUNDED_POINTERS__]: Likewise.
32635 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32637 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32638 Remove conditional code.
32639 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32640 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32641 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32645 * csu/libc-start.c: Do not include <bp-sym.h>.
32646 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32647 * elf/dl-open.c: Do not include <bp-sym.h>.
32648 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32649 * math/fegetenv.c: Do not include <bp-sym.h>.
32650 (fegetenv): Do not use BP_SYM in versioned symbols.
32651 * nptl/sysdeps/pthread/bits/libc-lockP.h
32652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32655 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32657 (__pthread_mutex_destroy): Likewise.
32658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32659 (__pthread_mutex_lock): Likewise.
32660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32661 (__pthread_mutex_trylock): Likewise.
32662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32663 (__pthread_mutex_unlock): Likewise.
32664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32665 (__pthread_mutexattr_init): Likewise.
32666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32667 (__pthread_mutexattr_destroy): Likewise.
32668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32669 (__pthread_mutexattr_settype): Likewise.
32670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32671 (__pthread_rwlock_init): Likewise.
32672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32673 (__pthread_rwlock_destroy): Likewise.
32674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32675 (__pthread_rwlock_rdlock): Likewise.
32676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32677 (__pthread_rwlock_tryrdlock): Likewise.
32678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32679 (__pthread_rwlock_wrlock): Likewise.
32680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32681 (__pthread_rwlock_trywrlock): Likewise.
32682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32683 (__pthread_rwlock_unlock): Likewise.
32684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32685 (__pthread_key_create): Likewise.
32686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32687 (__pthread_setspecific): Likewise.
32688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32689 (__pthread_getspecific): Likewise.
32690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32693 (_pthread_cleanup_push_defer): Likewise.
32694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32695 (_pthread_cleanup_pop_restore): Likewise.
32696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32697 (pthread_setcancelstate): Likewise.
32698 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32700 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32701 (memchr): Do not use BP_SYM in weak_alias.
32702 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32703 (fegetenv): Do not use BP_SYM in versioned symbols.
32704 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32705 (fesetenv): Do not use BP_SYM in versioned symbols.
32706 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32707 (feupdateenv): Do not use BP_SYM in versioned symbols.
32708 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32709 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32710 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32711 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32712 (open64): Do not use BP_SYM in weak_alias.
32713 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32714 (fegetenv): Do not use BP_SYM in versioned symbols.
32715 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32716 (fesetenv): Do not use BP_SYM in versioned symbols.
32717 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32718 (feupdateenv): Do not use BP_SYM in versioned symbols.
32719 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32720 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32721 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32722 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32723 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32724 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32725 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32727 (__libc_start_main): Do not use BP_SYM.
32729 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32732 redundant return line.
32734 (denorm): Likewise.
32735 (dbl_mp): Likewise.
32736 (sub_magnitudes): Likewise.
32742 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32744 (denorm): Likewise.
32745 (dbl_mp): Likewise.
32746 (sub_magnitudes): Likewise.
32753 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32755 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32756 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32759 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32760 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32762 of __mul for squares.
32763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32767 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32768 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32770 2013-02-13 Joseph Myers <joseph@codesourcery.com>
32773 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32775 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32776 prototype or function definition. Rename ubp_* variables and
32777 parameters. Remove argv definitions conditional on
32778 [__BOUNDED_POINTERS__].
32779 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32780 * elf/dl-runtime.c (_dl_fixup): Likewise.
32781 * include/set-hooks.h (RUN_HOOK): Likewise.
32782 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32784 * string/strcpy.c (strcpy): Do not use __unbounded.
32785 * sysdeps/generic/frame.h (struct layout): Likewise.
32786 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32787 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32788 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32789 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32790 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32791 (__backtrace): Likewise.
32792 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32794 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32795 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32796 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32798 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32799 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32800 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32801 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32802 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32803 Do not use __unbounded.
32804 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32805 Rename __unboundedrlimits parameter to rlimits in prototype.
32806 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32807 Do not use __unbounded.
32808 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32809 not use __ptrvalue.
32810 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32811 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32812 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32813 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32814 __ptrvalue or __unbounded.
32815 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32816 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32818 (__new_msgctl): Do not use __ptrvalue.
32819 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32821 (__libc_msgrcv): Do not use __ptrvalue.
32822 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32823 startup_info): Do not use __unbounded.
32824 (__libc_start_main): Likewise. Rename ubp_* variables and
32825 parameters. Remove argv definitions conditional on
32826 [__BOUNDED_POINTERS__].
32827 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32829 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32831 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32833 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32835 (__new_shmctl): Do not use __ptrvalue.
32836 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32837 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32839 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32840 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32841 (__libc_sigaction): Likewise.
32842 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32843 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32845 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32847 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
32849 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32851 * string/mempcpy.c: Implement by calling memcpy.
32853 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32855 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32857 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32860 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32861 values in the mantissa.
32863 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32864 minimize writes to Z.
32865 (sub_magnitudes): Simplify code a bit.
32867 2013-02-12 Roland McGrath <roland@hack.frob.com>
32869 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32870 from the message. The linker prefixes all warnings with that already.
32872 2013-02-12 Andreas Schwab <schwab@suse.de>
32875 * posix/regexec.c (extend_buffers): Add parameter min_len.
32876 (check_matching): Pass minimum needed length.
32877 (clean_state_log_if_needed): Likewise.
32878 (get_subexp): Likewise.
32879 * posix/Makefile (tests): Add bug-regex34.
32880 (bug-regex34-ENV): Define.
32881 * posix/bug-regex34.c: New file.
32884 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32885 elements compare against the byte sequence of it, not its name.
32886 * posix/Makefile (tests): Add bug-regex35.
32887 (bug-regex35-ENV): Define.
32888 * posix/bug-regex35.c: New file.
32890 2013-02-11 Tom de Vries <tom@codesourcery.com>
32892 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32894 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32895 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32896 (CHECK_EOL): Add undef.
32898 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
32900 * bits/stdlib-bsearch.h: New file.
32901 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32902 * stdlib/stdlib.h: Likewise.
32904 2013-02-11 Roland McGrath <roland@hack.frob.com>
32906 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32907 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32909 * manual/search.texi (Array Search Function): Add missing const in
32911 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32912 declaration to use rlim_t.
32913 (Basic Scheduling Functions): Remove erroneous const from
32914 sched_getparam prototype. Remove erroneous * from
32915 sched_get_priority_max and sched_get_priority_min prototypes.
32916 (Resource Usage): Fix summary @comment on vtimes to refer to
32917 sys/vtimes.h rather than vtimes.h.
32918 Add missing *s in vtimes prototype.
32919 (Limits on Resources): Fix ulimit prototype to return long int.
32920 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32921 prototypes to use long int rather than double.
32922 (BSD Random): Fix initstate and setstate to use char *, not void *.
32923 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32924 prototype to make second argument 'struct aiocb64 *const[]'.
32925 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32926 (Status of AIO Operations): Remove erroneous const in aio_return and
32927 aio_return64 prototypes.
32928 (Synchronizing I/O): Fix sync prototype to return void.
32929 * manual/startup.texi (Suboptions): Remove an erroneous const in
32930 getsubopt prototype.
32931 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32932 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32933 use size_t rather than int.
32934 (Scanning All Users): Likewise for getpwent_r.
32935 (Setting Groups): Add missing const to setgroups prototype.
32936 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32937 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32938 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32939 'const void *' rather than 'const char *'.
32940 (Host Address Functions): Likewise for inet_ntop.
32941 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32942 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32943 ssize_t for return value.
32944 (Sending Data): Likewise for send, sendto, sendmsg.
32945 (Socket Option Functions): Add a missing const in setsockopt prototype.
32946 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32947 use wchar_t for the argument.
32948 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32949 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32951 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32952 double/float/long double for second argument.
32953 Fix return types of significand, significandf, significandl.
32954 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32955 argument in fchmod prototype.
32956 (File Owner): Use uid_t and gid_t in fchown prototype.
32957 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32958 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32959 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32960 use 'const struct dirent **' as argument types to CMP function pointer
32962 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32963 (File Times): Fix summary magic @comment for struct utimbuf and utime
32964 to refer to utime.h, not time.h.
32965 * manual/string.texi (Argz Functions): Add missing const in
32966 argz_extract and argz_next prototypes.
32967 (Finding Tokens in a String): Likewise for basename.
32968 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32969 (Copying and Concatenation): Fix typo in wmemmove prototype.
32970 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32971 (Signal Stack): Remove erroneous const in sigstack prototype.
32972 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32974 (Simple Calendar Time): Likewise for stime.
32975 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32977 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32978 say sys/sysctl.h instead.
32979 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32980 and vsyslog prototypes.
32982 2013-02-11 Tom de Vries <tom@codesourcery.com>
32984 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32987 2013-02-11 Roland McGrath <roland@hack.frob.com>
32989 * misc/sys/mman.h: Fix typo in mremap comment.
32991 2013-02-08 Roland McGrath <roland@hack.frob.com>
32993 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32994 the '\0' terminator.
32996 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32999 * debug/segfault.c: Don't include <bp-checks.h>.
33000 * sysdeps/generic/bp-checks.h: Remove file.
33001 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33002 (__GETDENTS): Don't use CHECK_N.
33003 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33004 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33005 (__getgroups): Don't use CHECK_N.
33006 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33007 (setgroups): Don't use CHECK_N.
33008 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33009 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33010 (__libc_msgrcv): Don't use CHECK_N.
33011 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33012 (__libc_msgsnd): Don't use CHECK_N.
33013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33015 (__libc_pread): Don't use CHECK_N.
33016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33017 include <bp-checks.h>.
33018 (__libc_pread64): Don't use CHECK_N.
33019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33020 include <bp-checks.h>.
33021 (__libc_pwrite): Don't use CHECK_N.
33022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33023 include <bp-checks.h>.
33024 (__libc_pwrite64): Don't use CHECK_N.
33025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33027 (__libc_pread): Don't use CHECK_N.
33028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33029 include <bp-checks.h>.
33030 (__libc_pread64): Don't use CHECK_N.
33031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33032 include <bp-checks.h>.
33033 (__libc_pwrite): Don't use CHECK_N.
33034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33035 include <bp-checks.h>.
33036 (__libc_pwrite64): Don't use CHECK_N.
33037 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33038 (do_pread): Don't use CHECK_N.
33039 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33040 (do_pread64): Don't use CHECK_N.
33041 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33042 (do_pwrite): Don't use CHECK_N.
33043 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33044 (do_pwrite64): Don't use CHECK_N.
33045 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33046 (__libc_readv): Don't use CHECK_N.
33047 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33048 (semop): Don't use CHECK_N.
33049 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33051 (semtimedop): Don't use CHECK_N.
33052 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33053 (__libc_pread): Don't use CHECK_N.
33054 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33056 (__libc_pread64): Don't use CHECK_N.
33057 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33059 (__libc_pwrite): Don't use CHECK_N.
33060 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33062 (__libc_pwrite64): Don't use CHECK_N.
33063 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33065 (__libc_msgrcv): Don't use CHECK_N.
33066 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33067 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33068 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33069 (__libc_writev): Don't use CHECK_N.
33071 2013-02-08 Roland McGrath <roland@hack.frob.com>
33073 * string/strcpy.c: Removed unused variable.
33075 * Makeconfig (+sysdep-includes): Define with := rather than =.
33076 Use an existing include/ subdir of each sysdeps dir before it.
33078 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33080 * nscd/connection.c (register_traced_file): Comment function.
33081 [HAVE_INOTIFY] (union __inev): Define.
33082 [HAVE_INOTIFY] (inotify_check_files): New function.
33083 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33084 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33086 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33088 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33090 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33091 loaded if not already and that a failure is permanent.
33093 2013-02-08 Carlos O'Donell <carlos@redhat.com>
33096 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33097 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33099 2013-02-08 Joseph Myers <joseph@codesourcery.com>
33102 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33103 (CHECK_1_NULL_OK): Likewise.
33104 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33105 (__fxstat): Do not use CHECK_1.
33106 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33108 (___fxstat64): Do not use CHECK_1.
33109 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33111 (__fxstatat): Do not use CHECK_1.
33112 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33114 (__fxstatat64): Do not use CHECK_1.
33115 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33117 (__fxstat): Do not use CHECK_1.
33118 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33120 (__fxstatat): Do not use CHECK_1.
33121 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33123 (__getresgid): Do not use CHECK_1.
33124 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33126 (__getresuid): Do not use CHECK_1.
33127 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33129 (__lxstat): Do not use CHECK_1.
33130 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33132 (__old_msgctl): Do not use CHECK_1.
33133 (__new_msgctl): Likewise.
33134 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33136 (__new_setrlimit): Do not use CHECK_1.
33137 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33139 (__old_shmctl): Do not use CHECK_1.
33140 (__new_shmctl): Likewise.
33141 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33143 (__xstat): Do not use CHECK_1.
33144 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33145 (__lxstat): Do not use CHECK_1.
33146 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33148 (___lxstat64): Do not use CHECK_1.
33149 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33150 (__old_msgctl): Do not use CHECK_1.
33151 (__new_msgctl): Likewise.
33152 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33154 (__gettimeofday): Do not use CHECK_1.
33155 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33156 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33157 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33159 (__gettimeofday): Do not use CHECK_1.
33160 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33161 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33162 (__new_shmctl): Do not use CHECK_1.
33163 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33165 (do_sigtimedwait): Do not use CHECK_1.
33166 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33168 (do_sigwaitinfo): Do not use CHECK_1.
33169 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33171 (msgctl): Do not use CHECK_1.
33172 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33174 (shmctl): Do not use CHECK_1.
33175 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33176 (ustat): Do not use CHECK_1.
33177 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33179 (__fxstat): Do not use CHECK_1.
33180 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33182 (__fxstatat): Do not use CHECK_1.
33183 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33185 (__lxstat): Do not use CHECK_1.
33186 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33188 (__xstat): Do not use CHECK_1.
33189 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33190 (__xstat): Do not use CHECK_1.
33191 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33192 (___xstat64): Do not use CHECK_1.
33195 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33197 (CHECK_BOUNDS_HIGH): Likewise.
33198 * string/strcpy.c: Do not include <bp-checks.h>.
33199 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33201 2013-02-07 Roland McGrath <roland@hack.frob.com>
33203 * nscd/nscd-client.h (__nscd_drop_map_ref):
33204 Add __attribute__ ((unused)).
33205 * nis/nss-nisplus.h (niserr2nss): Likewise.
33207 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33208 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33210 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33211 Remove inline keyword.
33212 * include/rounding-mode.h (round_away): Likewise.
33213 * libio/wfileops.c (adjust_wide_data): Likewise.
33214 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33215 (__m128i_strloadu_tolower): Likewise.
33216 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33217 (__m128i_strloadu_tolower): Likewise.
33218 * time/mktime.c (ydhms_diff): Likewise.
33219 * locale/elem-hash.h (elem_hash): Likewise.
33220 * locale/setlocale.c (setdata): Likewise.
33221 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33222 (re_string_wchar_at): Likewise.
33223 (bitset_not, bitset_merge, bitset_mask): Likewise.
33224 [!(__GNUC__ > 3)] (inline): Remove macro.
33225 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33226 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33227 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33228 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33229 * string/memcmp.c (memcmp_bytes): Likewise.
33230 * locale/programs/locarchive.c (compute_hashval): Likewise.
33231 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33232 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33233 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33234 * nss/getent.c (print_rpc, print_protocols): Likewise.
33235 (print_passwd, print_group, print_aliases): Likewise.
33236 * nis/nss-nisplus.h (niserr2nss): Likewise.
33237 * nscd/connections.c (restart_p): Likewise.
33238 Change return type to bool.
33240 2013-02-05 Roland McGrath <roland@hack.frob.com>
33242 * Makeconfig (all-Depend-files): Add existing
33243 $(sorted-subdirs:=/Depend) files.
33244 (all-subdirs): Remove nss.
33245 * sysdeps/unix/inet/Subdirs: Add it here instead.
33246 * hesiod/Depend: New file.
33248 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33249 instead of calling alloca.
33251 * io/lseek.c (__lseek): Rename to __libc_lseek.
33252 Define __lseek as an alias.
33254 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33256 2013-02-04 Carlos O'Donell <carlos@redhat.com>
33258 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33259 else clause and remove check for non-standard endianness.
33261 2013-02-04 David S. Miller <davem@davemloft.net>
33263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33265 2013-02-04 Joseph Myers <joseph@codesourcery.com>
33268 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33269 (__ubp_memchr): Remove prototype.
33270 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33271 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33272 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33273 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33274 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33276 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33277 (__ubp_memchr): Likewise.
33278 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33279 (__ubp_memchr): Likewise.
33280 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33281 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33282 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33283 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33285 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33286 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33287 (__getcwd): Do not use CHECK_STRING.
33288 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33290 (__real_chown): Do not use CHECK_STRING.
33291 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33293 (fchownat): Do not use CHECK_STRING.
33294 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33296 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33298 (__lchown): Do not use CHECK_STRING.
33299 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33300 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33301 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33302 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33304 include <bp-checks.h>.
33305 (truncate64): Do not use CHECK_STRING.
33306 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33308 (__real_chown): Do not use CHECK_STRING.
33309 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33311 (__lchown): Do not use CHECK_STRING.
33312 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33314 (__chown): Do not use CHECK_STRING.
33315 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33317 (truncate64): Do not use CHECK_STRING.
33318 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33320 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33321 (__xmknod): Do not use CHECK_STRING.
33322 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33324 (__xmknodat): Do not use CHECK_STRING.
33325 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33326 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33328 2013-02-04 Andreas Schwab <schwab@suse.de>
33331 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33332 * include/netdb.h: Likewise for h_errno.
33333 * elf/tst-stackguard1.c: Include <tls.h>.
33335 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33337 * elf/link.h (struct link_map): Extend the l_addr comment.
33338 * include/link.h (struct link_map): Likewise.
33340 2013-02-01 Joseph Myers <joseph@codesourcery.com>
33343 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33344 (BOUNDED_1): Remove macro.
33345 * debug/backtrace.c: Don't include <bp-checks.h>.
33346 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33347 (__backtrace): Likewise.
33348 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33350 (__backtrace): Don't use BOUNDED_1.
33351 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33353 (__backtrace): Don't use BOUNDED_1.
33354 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33355 (__backtrace): Don't use BOUNDED_1.
33356 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33357 (shmat): Don't use BOUNDED_N.
33359 2013-01-31 Joseph Myers <joseph@codesourcery.com>
33362 * sysdeps/generic/bp-start.h: Remove file.
33363 * csu/libc-start.c: Don't include <bp-start.h>.
33364 (LIBC_START_MAIN): Set up __environ directly instead of using
33365 INIT_ARGV_and_ENVIRON.
33366 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33370 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33372 (CHECK_FCNTL): Likewise.
33373 (CHECK_N_PAGES): Likewise.
33376 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33378 (CHECK_SIGSET_NULL_OK): Likewise.
33379 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33381 (sigpending): Don't use CHECK_SIGSET.
33382 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33384 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33385 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33387 (do_sigsuspend): Don't use CHECK_SIGSET.
33388 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33390 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33391 (do_sigwait): Don't use CHECK_SIGSET.
33392 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33394 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33395 include <bp-checks.h>.
33396 (sigpending): Don't use CHECK_SIGSET.
33397 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33398 include <bp-checks.h>.
33399 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33400 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33402 (sigpending): Don't use CHECK_SIGSET.
33403 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33405 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33408 * sysdeps/generic/bp-semctl.h: Remove file.
33409 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33410 <bp-checks.h> and <bp-semctl.h>.
33411 (__old_semctl): Don't use CHECK_SEMCTL.
33412 (__new_semctl): Likewise.
33413 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33415 (__old_semctl): Don't use CHECK_SEMCTL.
33416 (__new_semctl): Likewise.
33417 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33418 <bp-checks.h> and <bp-semctl.h>.
33419 (__old_semctl): Don't use CHECK_SEMCTL.
33420 (__new_semctl): Likewise.
33421 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33422 <bp-checks.h> and <bp-semctl.h>.
33423 (semctl): Don't use CHECK_SEMCTL.
33426 * Makerules (elide-bp-thunks): Remove variable.
33427 (elide-routines.oS): Don't use $(elide-bp-thunks).
33428 (elide-routines.os): Likewise.
33429 (elide-routines.o): Likewise.
33430 (elide-routines.op): Likewise.
33431 (elide-routines.og): Likewise.
33432 (objects): Don't use $(bp-thunks).
33433 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33435 (common-generated): Do not add s-proto-bp.d.
33436 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33439 Do not generate makefile rules for bounded-pointer thunks.
33440 * sysdeps/generic/bp-thunks.h: Remove file.
33441 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33442 * sysdeps/unix/s-proto-bp.S: Likewise.
33445 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33446 parts of result separately when argument is not close to line from
33447 -i to i and one part of argument is small.
33448 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33449 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33450 * math/libm-test.inc (cacos_test): Add more tests.
33451 (casin_test): Likewise.
33452 (casinh_test): Likewise.
33453 * sysdeps/i386/fpu/libm-test-ulps: Update.
33454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33456 2013-01-31 David S. Miller <davem@davemloft.net>
33458 * po/de.po: Update from translation team.
33460 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33462 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33464 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33466 * configure.in (_AC_PROG_CC_C89): New definition.
33467 * configure: Regenerate.
33469 * configure.in (AC_PROG_CPP): New definition.
33470 * configure: Regenerate.
33472 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33474 * debug/tst-backtrace.h: New file.
33475 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33476 (ret): Remove variable.
33478 (FAIL): Remove macro.
33479 (NO_INLINE): Likewise.
33480 (fn1): Use match function instead of strstr.
33481 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33482 (ret): Remove variable.
33484 (FAIL): Remove macro.
33485 (NO_INLINE): Likewise.
33486 (fn): Use match function instead of strstr.
33487 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33488 (ret): Remove variable.
33490 (FAIL): Remove macro.
33491 (NO_INLINE): Likewise.
33492 (handle_signal): Use match function instead of strstr.
33493 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33494 (ret): Remove variable.
33496 (FAIL): Remove macro.
33497 (NO_INLINE): Likewise.
33498 (handle_signal): Use match function instead of strstr.
33500 2013-01-23 Roland McGrath <roland@hack.frob.com>
33502 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33504 2013-01-23 David S. Miller <davem@davemloft.net>
33506 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33507 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33508 argument of CAS if possible.
33509 * sysdeps/sparc/sparc64/bits/atomic.h
33510 (__arch_compare_and_exchange_val_32_acq): Likewise.
33511 (__arch_compare_and_exchange_val_64_acq): Likewise.
33513 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33515 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33516 * sysdeps/posix/ulimit.c: ... this.
33517 Include <limits.h>.
33518 * sysdeps/unix/bsd/ulimit.c: Remove file.
33520 2013-01-23 Adam Conrad <adconrad@0c3.net>
33522 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33523 (LDFLAGS-tst-array5): Likewise.
33525 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33528 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33529 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33530 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33531 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33533 2013-01-21 David S. Miller <davem@davemloft.net>
33535 * sysdeps/sparc/backtrace.c: New file.
33536 * sysdeps/sparc/sparc32/backtrace.h: New file.
33537 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33538 * sysdeps/sparc/sparc64/backtrace.h: New file.
33539 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33540 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33543 2013-01-21 Andreas Schwab <schwab@suse.de>
33546 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33549 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33555 2013-01-18 Joseph Myers <joseph@codesourcery.com>
33556 Mark Mitchell <mark@codesourcery.com>
33557 Tom de Vries <tom@codesourcery.com>
33558 Paul Pluzhnikov <ppluzhnikov@google.com>
33560 * debug/tst-backtrace2.c: New file.
33561 * debug/tst-backtrace3.c: Likewise.
33562 * debug/tst-backtrace4.c: Likewise.
33563 * debug/tst-backtrace5.c: Likewise.
33564 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33565 (CFLAGS-tst-backtrace3.c): Likewise.
33566 (CFLAGS-tst-backtrace4.c): Likewise.
33567 (CFLAGS-tst-backtrace5.c): Likewise.
33568 (LDFLAGS-tst-backtrace2): Likewise.
33569 (LDFLAGS-tst-backtrace3): Likewise.
33570 (LDFLAGS-tst-backtrace4): Likewise.
33571 (LDFLAGS-tst-backtrace5): Likewise.
33572 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33573 tst-backtrace4 and tst-backtrace5.
33575 2013-01-18 Anton Blanchard <anton@samba.org>
33576 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33578 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33579 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33580 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33581 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33583 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33584 "+r" and remove output regs list as redundant. Add explicit inline
33585 asm to specify register of return val to work around compiler codegen
33586 bug. Remove (int) cast on return value. Add return type parameter to
33587 use in macro so that this macro does not truncate return value for
33589 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33590 pass to INTERNAL_VSYSCALL_NCS.
33591 (INLINE_VSYSCALL): Add 'long int' as return type to
33592 INTERNAL_VSYSCALL_NCS macro invocation.
33593 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33594 INTERNAL_VSYSCALL_NCS macro invocation.
33595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33597 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33600 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33601 Fix application of SIMD FP exception mask.
33603 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33604 mp_no from a power of two.
33605 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33606 __mpexp_twomm1. Use __pow_mp.
33608 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33611 2013-01-17 David S. Miller <davem@davemloft.net>
33613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33615 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33618 * include/complex.h: Condition contents on [!_COMPLEX_H].
33619 (__kernel_casinhf): New prototype.
33620 (__kernel_casinh): Likewise.
33621 (__kernel_casinhl): Likewise.
33622 * math/Makefile (libm_calls): Add k_casinh.
33623 * math/k_casinh.c: New file.
33624 * math/k_casinhf.c: Likewise.
33625 * math/k_casinhl.c: Likewise.
33626 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33627 finite nonzero arguments.
33628 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33629 finite nonzero arguments.
33630 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33631 finite nonzero arguments.
33632 * math/s_casinh.c: Do not include <float.h>.
33633 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33634 * math/s_casinhf.c: Do not include <float.h>.
33635 (__casinhf): Move code for finite nonzero arguments to
33637 * math/s_casinhl.c: Do not include <float.h>.
33638 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33640 (__casinhl): Move code for finite nonzero arguments to
33642 * math/libm-test.inc (cacos_test): Add more tests.
33643 * sysdeps/i386/fpu/libm-test-ulps: Update.
33644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33646 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33648 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33649 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33650 [!HAVE_MREMAP]: Remove [defined linux] case.
33651 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33653 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33655 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33657 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
33659 * elf/elf.h (R_386_SIZE32): New relocation.
33660 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33662 (elf_machine_rela): Likewise.
33663 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33664 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33666 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33668 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33669 (FP_FAST_FMA): Do not define.
33670 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33671 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33672 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33673 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33674 !_SOFT_FLOAT]: Likewise.
33675 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33676 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33678 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33679 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33680 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33681 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33682 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33683 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33686 2013-01-16 Andreas Schwab <schwab@suse.de>
33689 * include/stdlib.h (__mktemp): Add declaration.
33690 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33691 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33693 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33695 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33697 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33698 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33699 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33701 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33702 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33704 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33706 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33707 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33708 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33710 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33711 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33713 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33715 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33717 2013-01-15 David S. Miller <davem@davemloft.net>
33719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33720 trunc{,f} to libm-sysdep_routes.
33721 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33731 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33732 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33733 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33734 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33735 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33736 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33739 nearbyint{,f} to libm-sysdep_routes.
33740 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33751 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33753 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33754 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33756 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33757 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33758 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33760 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33761 libc_feholdexcept and libc_fesetenv.
33763 2013-01-15 Mike Frysinger <vapier@gentoo.org>
33765 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33767 2013-01-14 David S. Miller <davem@davemloft.net>
33769 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33770 (SPARC_ASM_VIS2_IFUNC): Likewise.
33771 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33773 use of 'siam' instruction.
33774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33781 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33792 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33793 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33794 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33795 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33802 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33804 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33805 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33807 routines to libm-sysdep_routines.
33808 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33811 fdim/fdimf to libm-sysdep_routines.
33812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33820 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33821 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33822 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33823 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33825 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33827 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33828 to optimize copies.
33830 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33835 local variable MPTWO.
33836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33839 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33841 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33844 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33846 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33848 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33850 * manual/pattern.texi (glob_t): Document gl_flags.
33851 (glob64_t): Likewise.
33853 2013-01-11 David S. Miller <davem@davemloft.net>
33855 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33856 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33857 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
33858 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33859 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33860 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33861 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33862 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33863 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33864 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33865 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33866 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33867 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33869 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33870 sparc V9 rather than using V8 code.
33871 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33872 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33874 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33876 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33879 2013-01-11 Roland McGrath <roland@hack.frob.com>
33881 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33882 not in the main loop.
33883 * configure: Regenerated.
33885 2013-01-11 Joseph Myers <joseph@codesourcery.com>
33887 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33888 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33890 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33891 [!__GLIBC_HAVE_LONG_LONG] case.
33892 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33893 condition to just #else.
33894 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33895 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33896 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33897 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33899 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33900 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33901 #elif condition to just #else.
33902 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33903 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33904 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33905 #elif condition to just #else.
33907 2013-01-11 Steve Ellcey <sellcey@mips.com>
33909 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33910 (EF_MIPS_ARCH_64): Fix value.
33911 (EF_MIPS_ARCH_32R2): New.
33912 (EF_MIPS_ARCH_64R2): New.
33914 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33916 * Makeconfig (+link-pie-before-libc): New.
33917 (+link-pie-after-libc): Likewise.
33918 (+link-pie-tests): Likewise.
33919 (+link-pie): Rewritten.
33920 (link-before-libc): Remove $(config-LDFLAGS).
33921 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33922 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33923 (config-LDFLAGS): Renamed to ...
33924 (rtld-LDFLAGS): This.
33925 (rtld-tests-LDFLAGS): New macro.
33926 (link-libc-rpath-link): Likewise.
33927 (link-libc-tests-rpath-link): Likewise.
33928 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33929 (link-libc): Prepand $(link-libc-rpath-link).
33930 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33931 (test-program-prefix): New macro.
33932 (test-via-rtld-prefix): Likewise.
33933 (test-program-cmd): Likewise.
33934 (host-test-program-cmd): Likewise.
33935 * Makefile ($(common-objpfx)testrun.sh): Replace
33936 $(run-program-prefix) with $(test-program-prefix).
33937 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33939 ($(common-objpfx)shlib.lds): Likewise.
33940 (build-module-helper): Likewise.
33941 ($(common-objpfx)format.lds): Likewise.
33942 * Rules (binaries-pie-tests): New.
33943 (binaries-pie-notests): Likewise.
33944 (binaries-pie): Rewritten.
33945 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33946 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33947 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33948 (make-test-out): Replace $(host-built-program-cmd) with
33949 $(host-test-program-cmd).
33950 * config.make.in (build-hardcoded-path-in-tests): New variable.
33951 * configure.in (--enable-hardcoded-path-in-tests): New configure
33953 (hardcoded_path_in_tests): New AC_SUBST.
33954 * configure: Regenerated.
33955 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33956 $(built-program-cmd) with $(test-program-cmd).
33957 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33958 (test_program_cmd): This.
33959 * elf/Makefile ($(objpfx)order.out): Run test with
33960 $(test-program-prefix).
33961 ($(objpfx)order2.out): Likewise.
33962 ($(objpfx)tst-initorder.out): Likewise.
33963 ($(objpfx)tst-initorder2.out): Likewise.
33964 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33965 $(test-program-cmd).
33966 ($(objpfx)tst-array1-static.out): Likewise.
33967 ($(objpfx)tst-array2.out): Likewise.
33968 ($(objpfx)tst-array3.out): Likewise.
33969 ($(objpfx)tst-array4.out): Likewise.
33970 ($(objpfx)tst-array5.out): Likewise.
33971 ($(objpfx)tst-array5-static.out): Likewise.
33972 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33973 $(test-program-cmd).
33974 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33975 $(run-program-prefix) with $(test-program-prefix).
33976 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33977 (test_program_prefix): This.
33978 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33979 $(run-program-prefix) with $(test-program-prefix).
33980 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33981 (test_program_prefix): This.
33982 * iconvdata/tst-tables.sh: Likewise.
33983 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33984 $(run-program-prefix) with $(test-program-prefix).
33985 ($(objpfx)tst-translit.out): Likewise.
33986 ($(objpfx)tst-gettext2.out): Likewise.
33987 ($(objpfx)tst-gettext4.out): Likewise.
33988 ($(objpfx)tst-gettext6.out): Likewise.
33989 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33990 (test_program_prefix): This.
33991 * intl/tst-gettext2.sh: Likewise.
33992 * intl/tst-gettext4.sh Likewise.
33993 * intl/tst-gettext6.sh: Likewise.
33994 * intl/tst-translit.sh: Likewise.
33995 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33996 with $(test-program-cmd).
33997 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33998 $(run-program-prefix) with $(test-program-prefix).
33999 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34000 (test_program_prefix): This.
34001 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34002 $(run-program-prefix) with $(test-program-prefix).
34003 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34004 (test_program_prefix): This.
34005 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34006 * posix/Makefile ($(objpfx)globtest.out): Replace
34007 $(run-via-rtld-prefix) and $(test-wrapper) with
34008 $(test-program-prefix) and $(test-via-rtld-prefix).
34009 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34010 $(test-program-prefix).
34011 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34012 $(host-test-program-cmd).
34013 (tst-spawn-ARGS): Likewise.
34014 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34015 $(test-program-prefix).
34016 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34017 (test_via_rtld_prefix): This.
34018 (test_wrapper): Renamed to ...
34019 (test_program_prefix): This.
34020 (run_program_prefix): Replaced by test_program_prefix.
34021 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34022 (test_program_prefix): This.
34023 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34024 with $(host-test-program-cmd).
34025 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34026 $(run-program-prefix) with $(test-program-prefix).
34027 ($(objpfx)tst-printf.out): Likewise.
34028 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34029 $(test-program-cmd).
34030 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34031 (test_program_prefix): This.
34032 * stdio-common/tst-unbputc.sh: Likewise.
34033 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34034 $(run-program-prefix) with $(test-program-prefix).
34035 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34036 (test_program_prefix): This.
34037 * string/Makefile ($(objpfx)tst-svc.out): Replace
34038 $(built-program-cmd) with $(test-program-cmd).
34040 2013-01-11 Andreas Jaeger <aj@suse.de>
34043 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34044 value. Sync with Linux 3.7.
34046 2013-01-10 David S. Miller <davem@davemloft.net>
34048 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34049 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34050 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34052 2013-01-10 Roland McGrath <roland@hack.frob.com>
34054 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34056 * configure: Regenerated.
34058 2013-01-10 David S. Miller <davem@davemloft.net>
34060 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34061 sparc V9 rather than using V8 code.
34062 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34063 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34065 2013-01-10 Roland McGrath <roland@hack.frob.com>
34067 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34068 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34069 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34070 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34071 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34072 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34073 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34074 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34075 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34076 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34077 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34078 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34079 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34080 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34081 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34082 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34083 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34084 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34085 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34086 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34087 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34088 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34089 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34090 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34091 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34092 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34093 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34095 2013-01-10 David S. Miller <davem@davemloft.net>
34097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34099 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34101 * posix/Makefile (tests-static): New variable.
34102 (tests): Add $(tests-static).
34103 (tst-exec-static-ARGS): New variable.
34104 (tst-spawn-static-ARGS): Likewise.
34105 * posix/tst-exec-static.c: New file.
34106 * posix/tst-spawn-static.c: Likewise.
34107 * posix/tst-exec.c: Support run directly.
34108 * posix/tst-spawn.c: Likewise.
34110 2013-01-10 Joseph Myers <joseph@codesourcery.com>
34112 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34114 * math/bits/mathcalls.h (llrint): Likewise.
34115 (llround): Likewise.
34116 * stdlib/stdlib.h (struct drand48_data): Likewise.
34117 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34118 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34119 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34121 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34123 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34124 (elf_greg_t): Likewise.
34125 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34126 (__jmp_buf): Likewise.
34127 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34129 (llrint): Likewise, for all definitions.
34130 (llrintl): Likewise.
34132 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34133 Remove [__GNUC__] condition.
34134 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34135 condition to just [__USE_ISOC99].
34136 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34138 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34141 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34142 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34144 (_POSIX_V6_ILP32_OFF32): Likewise.
34145 (_XBS5_ILP32_OFF32): Likewise.
34146 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34147 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34149 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34151 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34153 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34154 doubles __mpexp_twomm1. Adjust usage.
34155 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34158 2013-01-10 Andreas Schwab <schwab@suse.de>
34161 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34162 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34164 2013-01-09 David S. Miller <davem@davemloft.net>
34167 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34168 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34169 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34170 (TCP_FASTOPEN): Define.
34171 (tcp_repair_opt): New structure.
34172 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34174 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34175 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34176 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
34177 (tcp_cookie_transactions): New structure.
34179 2013-01-09 Anton Blanchard <anton@samba.org>
34181 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34182 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34183 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34184 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34186 2013-01-09 Joseph Myers <joseph@codesourcery.com>
34188 * include/features.h (__USE_ANSI): Remove.
34190 2013-01-09 Roland McGrath <roland@hack.frob.com>
34192 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34194 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34196 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34198 * sysdeps/s390/fpu/libm-test-ulps: Update.
34200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34202 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34206 (denorm): Likewise.
34207 (__mp_dbl): Likewise.
34208 (__dbl_mp): Likewise.
34209 (add_magnitudes): Likewise.
34210 (sub_magnitudes): Likewise.
34216 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34220 (denorm): Likewise.
34221 (__mp_dbl): Likewise.
34222 (__dbl_mp): Likewise.
34223 (add_magnitudes): Likewise.
34224 (sub_magnitudes): Likewise.
34230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34234 (denorm): Likewise.
34235 (__mp_dbl): Likewise.
34236 (__dbl_mp): Likewise.
34237 (add_magnitudes): Likewise.
34238 (sub_magnitudes): Likewise.
34245 2013-01-08 Joseph Myers <joseph@codesourcery.com>
34247 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34248 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34249 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34250 2 && __USE_EXTERN_INLINES]: Likewise.
34252 2013-01-08 Andreas Jaeger <aj@suse.de>
34255 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34257 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34258 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34260 2013-01-07 Anton Blanchard <anton@samba.org>
34262 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34263 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34264 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34265 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34266 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34267 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34268 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34269 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34271 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34272 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34273 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34274 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34275 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34276 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34277 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34278 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34279 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34280 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34281 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34282 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34283 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34284 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34285 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34286 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34287 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34288 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34289 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34290 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34291 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34292 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34294 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34295 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34296 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34297 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34298 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34299 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34300 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34301 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34302 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34303 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34304 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34306 2013-01-07 Joseph Myers <joseph@codesourcery.com>
34308 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34309 (__MALLOC_PMT): Likewise.
34310 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34311 [__GNUC__], only on [_LIBC].
34312 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34313 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34314 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34315 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34316 forward declaration.
34317 (realloc_hook_ini): Likewise.
34318 (memalign_hook_ini): Likewise.
34319 (__libc_memalign): Do not use __MALLOC_PMT in variable
34321 (__libc_valloc): Likewise.
34322 (__libc_pvalloc): Likewise.
34323 (__libc_calloc): Likewise.
34324 (__posix_memalign): Likewise.
34327 * math/s_casinh.c: Include <float.h>.
34328 (__casinh): Do not do computation with squaring and square root
34329 for large arguments.
34330 * math/s_casinhf.c: Include <float.h>.
34331 (__casinhf): Do not do computation with squaring and square root
34332 for large arguments.
34333 * math/s_casinhl.c: Include <float.h>.
34334 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34335 (__casinhl): Do not do computation with squaring and square root
34336 for large arguments.
34337 * math/libm-test.inc (casin_test): Add more tests.
34338 (casinh_test): Likewise.
34339 * sysdeps/i386/fpu/libm-test-ulps: Update.
34340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34342 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34344 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34345 (__x86_64_raw_data_cache_size): Likewise.
34346 (__x86_64_data_cache_size_half): Likewise.
34347 (__x86_64_raw_data_cache_size_half): Likewise.
34348 (__x86_64_shared_cache_size): Likewise.
34349 (__x86_64_raw_shared_cache_size): Likewise.
34350 (__x86_64_shared_cache_size_half): Likewise.
34351 (__x86_64_raw_shared_cache_size_half): Likewise.
34352 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34354 (__x86_data_cache_size): This.
34355 (__x86_64_raw_data_cache_size): Renamed to ...
34356 (__x86_raw_data_cache_size): This.
34357 (__x86_64_data_cache_size_half): Renamed to ...
34358 (__x86_data_cache_size_half): This.
34359 (__x86_64_raw_data_cache_size_half): Renamed to ...
34360 (__x86_raw_data_cache_size_half): This.
34361 (__x86_64_shared_cache_size): Renamed to ...
34362 (__x86_shared_cache_size): This.
34363 (__x86_64_raw_shared_cache_size): Renamed to ...
34364 (__x86_raw_shared_cache_size): This.
34365 (__x86_64_shared_cache_size_half): Renamed to ...
34366 (__x86_shared_cache_size_half): This.
34367 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34368 (__x86_raw_shared_cache_size_half): This.
34369 * sysdeps/x86_64/memcpy.S: Updated.
34370 * sysdeps/x86_64/memset.S: Likewise.
34371 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34372 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34373 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34375 2013-01-04 David S. Miller <davem@davemloft.net>
34377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34379 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34381 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34382 1 to avoid redefinition warning.
34383 (__USE_GNU): Don't define.
34384 (init_signaling_nan): Protoize.
34386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34388 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34390 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34392 (__cpymn): Likewise.
34393 (norm): Remove commented code.
34394 (denorm): Likewise.
34395 (__mp_dbl): Likewise.
34397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34398 (__cpymn): Likewise.
34399 (norm): Remove commented code.
34400 (denorm): Likewise.
34401 (__mp_dbl): Likewise.
34404 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34405 mp_no value for 1.0 and 2.0.
34406 (norm): Use RADIXI instead of radixi.d.
34407 (denorm): Likewise.
34408 (__mul): Use 0.0 instead of zero.d.
34409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34410 mp_no value for 1.0 and 2.0.
34411 (norm): Use RADIXI instead of radixi.d.
34412 (denorm): Likewise.
34413 (__mul): Use 0.0 instead of zero.d.
34415 2013-01-04 Joseph Myers <joseph@codesourcery.com>
34418 * math/s_casinh.c (__casinh): Reduce finite argument to first
34419 quadrant then set signs of results at the end.
34420 * math/s_casinhf.c (__casinhf): Likewise.
34421 * math/s_casinhl.c (__casinhl): Likewise.
34422 * math/libm-test.inc (casin_test): Add more tests.
34423 (casinh_test): Likewise.
34424 * sysdeps/i386/fpu/libm-test-ulps: Update.
34425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34427 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34429 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34431 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34433 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34435 (denorm): Likewise.
34436 (__mp_dbl): Likewise.
34439 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34440 and adjust the header comment.
34442 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34443 variable name from declaration.
34445 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34448 Initialize COMMON_CPUID_INDEX_7 element.
34449 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34450 (CPUID_RTM): Likewise.
34451 (HAS_RTM): Likewise.
34452 (COMMON_CPUID_INDEX_7): New enum.
34454 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34457 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34458 size is zero, record memory as freed.
34460 2013-01-03 Andreas Jaeger <aj@suse.de>
34462 * po/ia.po: Add new Interlingua translation.
34464 2012-01-03 Allan McRae <allan@archlinux.org>
34466 * locale/programs/localedef.c: Fix description of '--posix' flag.
34468 2013-01-02 Joseph Myers <joseph@codesourcery.com>
34470 * NEWS: Update dates in second copyright notice.
34471 * README: Update copyright dates in example.
34472 * manual/libc.texinfo: Update copyright dates.
34473 * scripts/test-installation.pl: Update copyright date in --version
34476 * hurd/ctty-input.c: Fix copyright notice formatting.
34477 * hurd/ctty-output.c: Likewise.
34478 * hurd/dtable.c: Likewise.
34479 * hurd/hurd-raise.c: Likewise.
34480 * hurd/hurdprio.c: Likewise.
34481 * hurd/msgportdemux.c: Likewise.
34482 * misc/sys/file.h: Likewise.
34483 * misc/sys/ioctl.h: Likewise.
34484 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34485 * sysdeps/mach/hurd/chdir.c: Likewise.
34486 * sysdeps/mach/hurd/fchdir.c: Likewise.
34487 * sysdeps/mach/hurd/rename.c: Likewise.
34488 * sysdeps/mach/hurd/rmdir.c: Likewise.
34489 * sysdeps/mach/hurd/seekdir.c: Likewise.
34490 * sysdeps/mach/hurd/setsid.c: Likewise.
34491 * sysdeps/posix/wait3.c: Likewise.
34493 * All files with FSF copyright notices: Update copyright dates
34494 using scripts/update-copyrights.
34495 * intl/plural.c: Regenerated.
34496 * locale/programs/charmap-kw.h: Likewise.
34497 * locale/programs/locfile-kw.h: Likewise.
34499 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34501 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34504 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34505 calculation loop and add branch prediction.
34507 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34508 check access beyond bounds of m1np.
34510 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34512 (__inv): Remove local variable MPTWO to use the global
34514 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34515 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34517 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34518 MP3HALFS static const.
34520 2013-01-01 David S. Miller <davem@davemloft.net>
34522 * po/ca.po: Update from translation team.
34524 2013-01-01 Joseph Myers <joseph@codesourcery.com>
34526 * scripts/update-copyrights: New file.
34527 * Makeconfig: Reformat copyright notice.
34528 * ctype/ctype.h: Likewise.
34529 * debug/swprintf_chk.c: Likewise.
34530 * elf/dl-cache.c: Likewise.
34531 * elf/dl-debug.c: Likewise.
34532 * elf/dl-object.c: Likewise.
34533 * grp/initgroups.c: Likewise.
34534 * hurd/Makefile: Likewise.
34535 * hurd/hurd/signal.h: Likewise.
34536 * hurd/hurdfault.c: Likewise.
34537 * hurd/hurdioctl.c: Likewise.
34538 * hurd/hurdlookup.c: Likewise.
34539 * hurd/intr-msg.c: Likewise.
34540 * iconv/gconv_open.c: Likewise.
34541 * libio/swprintf.c: Likewise.
34542 * locale/lc-ctype.c: Likewise.
34543 * locale/nl_langinfo.c: Likewise.
34544 * mach/Machrules: Likewise.
34545 * mach/Makefile: Likewise.
34546 * malloc/obstack.h: Likewise.
34547 * manual/Makefile: Likewise.
34548 * manual/tsort.awk: Likewise.
34549 * misc/bits/stab.def: Likewise.
34550 * nis/nis_print_group_entry.c: Likewise.
34551 * nis/nis_table.c: Likewise.
34552 * nis/nss_compat/compat-pwd.c: Likewise.
34553 * nis/nss_compat/compat-spwd.c: Likewise.
34554 * po/Makefile: Likewise.
34555 * posix/fnmatch.c: Likewise.
34556 * posix/regex.h: Likewise.
34557 * resolv/Makefile: Likewise.
34558 * resolv/nss_dns/dns-network.c: Likewise.
34559 * resolv/res_hconf.c: Likewise.
34560 * scripts/gen-sorted.awk: Likewise.
34561 * soft-fp/soft-fp.h: Likewise.
34562 * stdio-common/printf.h: Likewise.
34563 * stdlib/monetary.h: Likewise.
34564 * stdlib/random.c: Likewise.
34565 * stdlib/random_r.c: Likewise.
34566 * sysdeps/generic/Makefile: Likewise.
34567 * sysdeps/gnu/Makefile: Likewise.
34568 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34570 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34571 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34572 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34575 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34576 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34577 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34578 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34579 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34580 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34581 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34582 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34583 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34584 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34585 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34586 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34587 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34588 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34589 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34590 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34591 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34592 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34593 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34594 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34595 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34596 * sysdeps/mach/hurd/errnos.awk: Likewise.
34597 * sysdeps/mach/hurd/fork.c: Likewise.
34598 * sysdeps/mach/hurd/getcwd.c: Likewise.
34599 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34600 * sysdeps/mach/hurd/mmap.c: Likewise.
34601 * sysdeps/mach/hurd/utimes.c: Likewise.
34602 * sysdeps/mach/hurd/xmknod.c: Likewise.
34603 * sysdeps/posix/profil.c: Likewise.
34604 * sysdeps/posix/readdir_r.c: Likewise.
34605 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34606 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34607 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34608 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34609 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34610 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34611 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34612 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34614 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34615 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34616 * sysdeps/pthread/lio_listio.c: Likewise.
34617 * sysdeps/sparc/dl-procinfo.h: Likewise.
34618 * sysdeps/unix/i386/sysdep.S: Likewise.
34619 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34620 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34621 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34622 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34624 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34625 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34626 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34627 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34628 * sysdeps/wordsize-32/divdi3.c: Likewise.
34629 * time/sys/time.h: Likewise.
34630 * wcsmbs/Makefile: Likewise.
34632 2013-01-01 David S. Miller <davem@davemloft.net>
34634 * po/fr.po: Update from translation team.
34636 * catgets/gencat.c: Update copyright year.
34637 * csu/version.c: Likewise.
34638 * debug/catchsegv.sh: Likewise.
34639 * debug/pcprofiledump.c: Likewise.
34640 * debug/xtrace.sh: Likewise.
34641 * elf/ldconfig.c: Likewise.
34642 * elf/ldd.bash.in: Likewise.
34643 * elf/pldd.c: Likewise.
34644 * elf/sotruss.ksh: Likewise.
34645 * elf/sprof.c: Likewise.
34646 * iconv/iconv_prog.c: Likewise.
34647 * iconv/iconvconfig.c: Likewise.
34648 * locale/programs/locale.c: Likewise.
34649 * locale/programs/localedef.c: Likewise.
34650 * login/programs/pt_chown.c: Likewise.
34651 * malloc/memusage.sh: Likewise.
34652 * malloc/memusagestat.c: Likewise.
34653 * malloc/mtrace.pl: Likewise.
34654 * nscd/nscd.c: Likewise.
34655 * nss/getent.c: Likewise.
34656 * nss/makedb.c: Likewise.
34657 * posix/getconf.c: Likewise.
34659 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34661 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34664 2012-12-30 Mike Frysinger <vapier@gentoo.org>
34666 * math/bits/mathcalls.h (modf): Use __nonnull.
34668 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34670 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34671 (split): Use macro CN instead of the bare value.
34672 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34674 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34675 instead of the bare value.
34676 (power1): Likewise.
34678 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34680 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34682 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34684 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34686 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34687 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34688 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34689 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34691 2012-12-28 Andreas Jaeger <aj@suse.de>
34693 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34694 values are from Linux 3.7.
34696 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34697 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34699 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34701 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34704 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34706 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34707 variables with preprocessor constants.
34708 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34709 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34710 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34712 2012-12-27 Bruno Haible <bruno@clisp.org>
34715 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34718 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34720 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34721 and use variable directly.
34722 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34724 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34726 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34727 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34729 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34730 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34731 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34732 include directive. Remove local variable MPONE.
34733 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34734 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34735 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34737 2012-12-25 David S. Miller <davem@davemloft.net>
34739 * version.h (RELEASE): Set to "development".
34740 (VERSION): Set to "2.17.90".
34741 * NEWS: Add 2.18 section.
34743 2012-12-21 David S. Miller <davem@davemloft.net>
34745 * po/hr.po: Update from translation team.
34747 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34749 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34751 2012-12-19 Steve Ellcey <sellcey@mips.com>
34753 * NEWS: Mention new memcpy for MIPS.
34755 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34757 * manual/contrib.texi (Contributors): Spelling correction.
34759 2012-12-15 David S. Miller <davem@davemloft.net>
34761 * po/ru.po: Update from translation team.
34763 2012-12-13 David S. Miller <davem@davemloft.net>
34765 * NEWS: Mention IFUNC testsuite enhancements.
34767 * po/pl.po: Update from translation team.
34768 * po/bg.po: Likewise.
34770 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34771 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34773 2012-12-11 David S. Miller <davem@davemloft.net>
34775 * po/sv.po: Update from translation team.
34777 * po/vi.po: Update from translation team.
34779 * po/cs.po: Update from translation team.
34781 * po/de.po: Update from translation team.
34782 * po/eo.po: Likewise.
34783 * po/nl.po: Likewise.
34785 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34788 * manual/argp.texi (Argp Helper Functions): Move node to follow
34789 Argp Parsing State.
34792 * manual/conf.texi (Limits on File System Capacity): Mention if
34793 terminating null is included in the max size.
34795 2012-12-10 Andreas Jaeger <aj@suse.de>
34797 * po/cs.po: Update from translation team.
34799 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34801 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34802 void pointer and cast to uintptr_t.
34803 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34805 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34806 * sysdeps/s390/s390-64/memset.S: Likewise.
34808 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
34811 * menual/message.texi (Message Translation): Fix typos.
34812 (Helper programs for gettext): Likewise.
34814 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34817 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34820 2012-12-07 David S. Miller <davem@davemloft.net>
34822 * po/libc.pot: Update.
34824 2012-12-07 Richard Henderson <rth@redhat.com>
34827 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34828 normal/normal case to before the switch.
34829 (_FP_DIV): Likewise.
34831 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34832 Mike Frysinger <vapier@gentoo.org>
34834 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34835 check for __NR_fadvise64_64.
34837 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34839 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34840 0, not just to plain "0" as a statement.
34841 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34844 2012-12-06 Joseph Myers <joseph@codesourcery.com>
34846 * NEWS: Use sourceware.org in Bugzilla URL.
34848 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34851 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34853 * stdio-common/tst-put-error.c (do_test): Add newline to the
34854 padded test to ensure flush.
34856 2012-12-05 Jeff Law <law@redhat.com>
34858 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34860 2012-12-05 Joseph Myers <joseph@codesourcery.com>
34862 * README: Don't refer to ports add-on as distributed separately.
34863 Mention AArch64 in list of systems supported in the ports add-on.
34865 * LICENSES: Add more non-FSF copyright and license notices.
34867 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34870 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34872 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34873 10000 as width of padded output.
34875 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34877 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34879 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34880 variable LX with __attribute__ ((unused)).
34881 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34883 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34884 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34885 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34886 with __attribute__ ((unused)).
34888 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
34890 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34892 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34894 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34895 (CFLAGS-nldbl-acos.c): New variable.
34896 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34897 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34898 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34899 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34900 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34901 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34902 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34903 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34904 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34905 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34906 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34907 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34908 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34909 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34910 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34911 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34912 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34913 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34914 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34915 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34916 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34917 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34918 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34919 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34920 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34921 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34922 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34923 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34924 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34925 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34926 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34927 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34928 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34929 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34930 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34931 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34932 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34933 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34934 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34935 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34936 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34937 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34938 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34939 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34940 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34941 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34942 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34943 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34944 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34945 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34946 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34947 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34948 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34949 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34950 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34951 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34952 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34953 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34954 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34955 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34956 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34957 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34958 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34959 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34960 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34961 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34962 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34963 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34964 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34965 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34966 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34967 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34968 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34969 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34970 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34971 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34972 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34973 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34974 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34975 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34976 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34977 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34978 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34979 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34980 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34981 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34982 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34983 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34984 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34985 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34986 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34987 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34988 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34989 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34990 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34991 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34992 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34995 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34998 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34999 whole low double instead of just low 47 bits when splitting values
35002 2012-12-03 Allan McRae <allan@archlinux.org>
35004 * manual/stdio.texi (Predefined Printf Handlers): Remove
35005 @hsep and @vsep usage.
35007 2012-12-03 Mike Frysinger <vapier@gentoo.org>
35009 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35010 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35012 2012-12-03 Jeff Law <law@redhat.com>
35014 * time/sys/time.h (settimeofday): Do not mark TV argument
35017 2012-12-01 Mike Frysinger <vapier@gentoo.org>
35019 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35020 when currently writing and seek to current position when not.
35021 * libio/Makefile (tests): Remove bug-fclose1.
35022 * libio/bug-fclose1.c: Delete.
35024 2012-12-01 Joseph Myers <joseph@codesourcery.com>
35026 * manual/arith.texi (feenableexcept): Fix typo.
35027 (fedisableexcept): Likewise.
35029 2012-11-30 Roland McGrath <roland@hack.frob.com>
35031 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35032 second, differently-typed declaration, rather than a cast.
35034 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35036 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35037 * include/rpc/svc.h: ... here.
35039 2012-11-30 Aurelien Jarno <aurel32@debian.org>
35042 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35043 depending n and resplen2 to catch cases where answer
35046 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35048 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35049 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35051 2012-11-29 Mike Frysinger <vapier@gentoo.org>
35053 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35055 2012-11-29 Roland McGrath <roland@hack.frob.com>
35057 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35059 2012-11-28 Jeff Law <law@redhat.com>
35062 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35063 dataset_temporary. Track alloca usage into alloca_used.
35064 If dataset is large allocate and release it via malloc/free.
35066 2012-06-04 Florian Weimer <fweimer@redhat.com>
35069 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35071 2012-11-28 David S. Miller <davem@davemloft.net>
35073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35075 2012-11-28 Joseph Myers <joseph@codesourcery.com>
35078 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35079 of pi/2 rounded to nearest to 64 bits.
35080 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35081 nearest to 64 bits.
35082 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35085 2012-11-28 Jeff Law <law@redhat.com>
35086 Martin Osvald <mosvald@redhat.com>
35089 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35090 * sunrpc/svc.c: Include time.h.
35091 (__svc_accept_failed): New function.
35092 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35093 any reason other than EINTR, call __svc_accept_failed.
35094 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35095 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35097 2012-11-28 Andreas Schwab <schwab@suse.de>
35099 * scripts/abilist.awk: Also handle indirect functions in .opd
35102 2012-11-28 Joseph Myers <joseph@codesourcery.com>
35105 * sysdeps/x86/fpu/powl_helper.c: New file.
35106 * sysdeps/x86/fpu/Makefile: Likewise.
35107 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35109 (__ieee754_powl): Use __powl_helper for finite arguments except
35110 integer exponents below 8.
35111 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35113 (__ieee754_powl): Use __powl_helper for finite arguments except
35114 integer exponents below 8.
35115 * math/libm-test.inc (pow_test): Add more tests and enable some
35116 previously disabled tests.
35117 * sysdeps/i386/fpu/libm-test-ulps: Update.
35118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35120 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35121 Carlos O'Donell <carlos_odonell@mentor.com>
35123 * nss/makedb.c (is_prime): Assert that input is odd and greater
35124 than 4. Note that fact in a comment too.
35125 (next_prime): Add 4 to input.
35127 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35130 * libio/Makefile (tests): Add test case tst-fwrite-error.
35131 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35132 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35133 * libio/tst-fwrite-error.c: New test case.
35135 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35137 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35138 before casting to void *.
35139 * include/libc-internal.h (__pointer_type): New macro.
35140 (__integer_if_pointer_type_sub): Likewise.
35141 (__integer_if_pointer_type): Likewise.
35142 (cast_to_integer): Likewise.
35143 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35144 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35145 before casting to atomic64_t.
35146 (atomic_exchange_acq): Likewise.
35147 (__arch_exchange_and_add_body): Likewise.
35148 (__arch_add_body): Likewise.
35149 (atomic_add_negative): Likewise.
35150 (atomic_add_zero): Likewise.
35152 2012-11-26 Joseph Myers <joseph@codesourcery.com>
35154 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35155 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35156 (add_fdes): Likewise.
35157 (linear_search_fdes): Likewise.
35158 (binary_search_unencoded_fdes): Likewise.
35160 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35162 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35164 2012-11-24 Adam Conrad <adconrad@0c3.net>
35166 * configure.in: Autodetect C++ header directories.
35167 * configure: Regenerated.
35169 2012-11-23 Mike Frysinger <vapier@gentoo.org>
35171 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35173 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35177 2012-11-22 Joseph Myers <joseph@codesourcery.com>
35179 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35180 LDBL_MANT_DIG == 106]: Disable some tests.
35181 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35183 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35187 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35188 input for small inputs. Return +/- pi/2 for large inputs.
35189 * math/libm-test.inc (atan_test): Add more tests.
35191 * sysdeps/generic/unwind-dw2-fde-glibc.c
35192 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35193 __attribute__ ((unused)).
35196 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35197 x * y if x and y are nonzero and z is zero.
35200 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35201 nonzero exponents with absolute value below 0x1p-117 to +/-
35205 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35206 up arguments below 2**-450, not just those below 2**-500.
35207 * math/libm-test.inc (hypot_test): Add another test.
35210 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35211 Return a+b for ratio over 2**120, not 2**60.
35212 * math/libm-test.inc (hypot_test): Add another test.
35214 * math/libm-test.inc (clog_test): Use
35215 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35216 (clog10_test): Likewise.
35219 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35221 2012-11-22 Andreas Schwab <schwab@suse.de>
35223 * sysdeps/i386/fpu/libm-test-ulps: Update.
35225 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35227 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35228 printf output with newline.
35230 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35233 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35234 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35235 -z nodlopen, -z initfirst and -z execstack support.
35236 * configure: Regenerated.
35238 * elf/elf.h (DF_1_NODIRECT): New macro.
35239 (DF_1_IGNMULDEF): Likewise.
35240 (DF_1_NOKSYMS): Likewise.
35241 (DF_1_NOHDR): Likewise.
35242 (DF_1_EDITED): Likewise.
35243 (DF_1_NORELOC): Likewise.
35244 (DF_1_SYMINTPOSE): Likewise.
35245 (DF_1_GLOBAUDIT): Likewise.
35246 (DF_1_SINGLETON): Likewise.
35247 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35248 DT_1_SUPPORTED_MASK bits.
35249 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35251 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35253 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35255 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35257 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35260 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35261 (sendmmsg): Move declarations...
35262 * socket/sys/socket.h: ... here.
35263 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35264 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35266 * socket/recvmmsg.c: ... this new file.
35267 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35268 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35269 definition of __sendmmsg hidden.
35270 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35271 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35272 Move ENOSYS stub into and include it from...
35273 * socket/sendmmsg.c: ... this new file.
35274 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35275 (sysdep_routines): Move recvmmsg and sendmmsg...
35276 * socket/Makefile (routines): ... here.
35277 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35278 (GLIBC_PRIVATE): Add __sendmmsg.
35279 * include/sys/socket.h (__sendmmsg): Add declarations.
35280 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35283 2012-11-20 Joseph Myers <joseph@codesourcery.com>
35285 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35286 variable I1 with __attribute__ ((unused)).
35287 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35289 2012-11-19 Joseph Myers <joseph@codesourcery.com>
35291 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35292 DUMMY variables with __attribute__ ((unused)).
35294 * bits/byteswap.h: Include <bits/types.h>.
35295 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35297 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35299 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35300 string_t. Do not manually set errno.
35301 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35302 length with __strnlen. Make sure to both set errno and return it on
35305 2012-11-19 David S. Miller <davem@davemloft.net>
35307 With help from Joseph Myers.
35308 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35309 very large arguments properly.
35310 * math/libm-test.inc (atan_test): New tests.
35311 (atan2_test): New tests.
35312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35315 2012-11-19 Joseph Myers <joseph@codesourcery.com>
35318 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35321 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35322 [POSIX] (EADDRNOTAVAIL): Likewise.
35323 [POSIX] (EAFNOSUPPORT): Likewise.
35324 [POSIX] (EALREADY): Likewise.
35325 [POSIX] (ECONNABORTED): Likewise.
35326 [POSIX] (ECONNREFUSED): Likewise.
35327 [POSIX] (ECONNRESET): Likewise.
35328 [POSIX] (EDESTADDRREQ): Likewise.
35329 [POSIX] (EDQUOT): Likewise.
35330 [POSIX] (EHOSTUNREACH): Likewise.
35331 [POSIX] (EIDRM): Likewise.
35332 [POSIX] (EISCONN): Likewise.
35333 [POSIX] (ELOOP): Likewise.
35334 [POSIX] (EMULTIHOP): Likewise.
35335 [POSIX] (ENETDOWN): Likewise.
35336 [POSIX] (ENETUNREACH): Likewise.
35337 [POSIX] (ENOBUFS): Likewise.
35338 [POSIX] (ENODATA): Likewise.
35339 [POSIX] (ENOLINK): Likewise.
35340 [POSIX] (ENOMSG): Likewise.
35341 [POSIX] (ENOPROTOOPT): Likewise.
35342 [POSIX] (ENOSR): Likewise.
35343 [POSIX] (ENOSTR): Likewise.
35344 [POSIX] (ENOTCONN): Likewise.
35345 [POSIX] (ENOTSOCK): Likewise.
35346 [POSIX] (EOPNOTSUPP): Likewise.
35347 [POSIX] (EOVERFLOW): Likewise.
35348 [POSIX] (EPROTO): Likewise.
35349 [POSIX] (EPROTONOSUPPORT): Likewise.
35350 [POSIX] (EPROTOTYPE): Likewise.
35351 [POSIX] (ESTALE): Likewise.
35352 [POSIX] (ETIME): Likewise.
35353 [POSIX] (ETXTBSY): Likewise.
35354 [POSIX] (EWOULDBLOCK): Likewise.
35355 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35356 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35357 [POSIX] (SEEK_CUR): Likewise.
35358 [POSIX] (SEEK_END): Likewise.
35359 [POSIX || UNIX98] (mode_t): Do not require.
35360 [POSIX] (off_t): Likewise.
35361 [POSIX] (pid_t): Likewise.
35362 [POSIX] (sys/stat.h): Do not allow header.
35363 [POSIX] (unistd.h): Likewise.
35364 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35365 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35366 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35367 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35369 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35370 sigevent): Specify elements.
35371 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35373 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35374 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35376 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35377 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35378 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35379 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35380 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35381 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35382 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35383 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35384 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35385 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35386 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35387 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35388 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35389 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35391 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35393 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35395 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35397 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35398 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35399 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35400 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35401 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35402 Specify lower bound on value.
35403 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35404 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35405 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35406 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35407 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35408 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35409 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35410 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35412 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35414 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35415 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35416 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35417 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35418 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35419 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35420 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35421 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35422 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35423 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35424 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35425 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35426 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35427 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35428 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35429 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35431 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35433 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35434 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35435 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35436 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35437 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35438 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35440 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35441 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35442 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35443 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35444 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35445 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35446 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35448 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35449 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35450 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35451 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35452 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35453 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35454 specify as optional.
35455 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35456 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35457 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35458 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35459 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35460 [XPG3] (NL_LANGMAX): Likewise.
35461 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35462 [POSIX || XPG3] (NL_NMAX): Likewise.
35463 [POSIX || XPG3] (NL_SETMAX): Likewise.
35464 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35465 [XPG3] (NZERO): Likewise.
35466 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35467 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35468 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35469 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35470 (REG_ERANGE): Expect.
35471 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35473 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35474 Use (void) in prototype.
35475 [POSIX] (*_t): Allow.
35476 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35477 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35478 (WRDE_BADVAL): Expect.
35480 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35482 [XPG3 || XPG4] (O_RSYNC): Likewise.
35483 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35485 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35486 [XPG3 || XPG4] (sigqueue): Likewise.
35487 [XPG3 || XPG4] (sigtimedwait): Likewise.
35488 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35489 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35490 [XPG3 || XPG4] (vsnprintf): Likewise.
35491 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35493 [XPG3 || XPG4] (blksize_t): Likewise.
35494 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35496 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35497 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35498 [XPG3 || XPG4] (struct itimerspec): Likewise.
35499 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35500 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35501 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35502 [XPG3 || XPG4] (clockid_t): Likewise.
35503 [XPG3 || XPG4] (timer_t): Likewise.
35504 [XPG3 || XPG4] (clock_getres): Likewise.
35505 [XPG3 || XPG4] (clock_gettime): Likewise.
35506 [XPG3 || XPG4] (clock_settime): Likewise.
35507 [XPG3 || XPG4] (nanosleep): Likewise.
35508 [XPG3 || XPG4] (timer_create): Likewise.
35509 [XPG3 || XPG4] (timer_delete): Likewise.
35510 [XPG3 || XPG4] (timer_gettime): Likewise.
35511 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35512 [XPG3 || XPG4] (timer_settime): Likewise.
35513 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35514 [XPG3 || XPG4] (getlogin_r): Likewise.
35515 [XPG3 || XPG4] (pread): Likewise.
35516 [XPG3 || XPG4] (pthread_atfork): Likewise.
35517 [XPG3 || XPG4] (pwrite): Likewise.
35520 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35523 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35525 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35526 finalizing MALLSTREAM.
35528 * sysdeps/mach/hurd/syncfs.c: New file.
35530 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35533 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35534 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35535 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35536 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35537 (_nss_dns_gethostbyname4_r): Likewise.
35538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35539 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35541 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35544 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35546 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35548 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35549 * elf/cache.c (print_entry): Print ",AArch64" for
35552 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35553 * elf/cache.c (print_entry): Print ",hard-float" for
35556 2012-11-18 David S. Miller <davem@davemloft.net>
35558 With help from Joseph Myers.
35559 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35561 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35563 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35564 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35566 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35567 * math/libm-test.inc (y0_test): New tests.
35568 (y1_test): New tests.
35569 * sysdeps/i386/fpu/libm-test-ulps: Update.
35570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35573 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35575 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35577 * configure: Regenerated.
35579 2012-11-17 David S. Miller <davem@davemloft.net>
35582 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35583 nonzero exponents with absolute value below 0x1p-128 to +/-
35586 2012-11-17 Joseph Myers <joseph@codesourcery.com>
35588 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35590 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35592 * posix/getconf-speclist.c: New file.
35593 * posix/posix-envs.def: Likewise.
35594 * posix/confstr.c (START_ENV_GROUP): New macro.
35595 (END_ENV_GROUP): Likewise.
35596 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35597 (KNOWN_PRESENT_ENV_STRING): Likewise.
35598 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35599 (UNKNOWN_ENVIRONMENT): Likewise.
35600 (confstr): Include posix-envs.def instead of handling
35601 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35602 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35603 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35604 (END_ENV_GROUP): Likewise.
35605 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35606 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35607 (UNKNOWN_ENVIRONMENT): Likewise.
35608 (__sysconf): Include posix-envs.def instead of handling associated
35609 cases directly here.
35610 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35611 preprocessing getconf-speclist.c rather than running getconf or
35612 generating empty file.
35614 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35616 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35618 2012-11-16 Andrej Lajovic <natrij@gmail.com>
35621 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35623 2012-11-16 David S. Miller <davem@davemloft.net>
35625 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35626 smaller than LDBL_EPSILON/2.0L, just return xm1.
35628 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35630 * elf/tst-array1.c (init): Set constructor priority to 1000.
35631 (fini): Set destructor priority to 1000.
35632 * elf/tst-array2dep.c: Likewise.
35634 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35637 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35638 (_IO_new_file_xsputn): Also return EOF if none of the input
35639 data was written when overflow failed.
35640 * libio/iopadn.c (_IO_padn): Likewise.
35641 * libio/iowpadn.c (_IO_wpadn): Likewise.
35642 * stdio-common/tst-put-error.c: Add copyright notice.
35643 (do_test): Add case for printing padded string.
35644 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35645 _IO_padn returned error.
35646 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35647 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35650 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35652 * libio/libioP.h: Add comment note that the references to C++
35653 bits are now obsolete.
35655 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35657 * math/libm-test.inc (check_complex): Use asprintf.
35659 2012-11-14 Joseph Myers <joseph@codesourcery.com>
35661 * debug/pcprofiledump.c (print_version): Update copyright year.
35662 * malloc/memusagestat.c (print_version): Likewise.
35664 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35667 * elf/Makefile (tests): Add tst-audit8.
35668 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35669 ($(objpfx)tst-audit8.out): New target.
35670 (tst-audit8-ENV): New variable.
35671 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35672 audit if l_reloc_result is NULL.
35673 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35674 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35675 * elf/tst-audit8.c: New file.
35677 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35679 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35680 * misc/Makefile (CFLAGS-select.c): Define.
35681 * posix/Makefile (CFLAGS-pause.c): Define.
35683 2012-11-13 David S. Miller <davem@davemloft.net>
35685 * crypt/Makefile: Move test targets after toplevel Rules
35686 inclusion. Grab any necessary sysdep routines when linking.
35687 * crypt/md5.c (md5_process_block): Remove define, we will always
35688 name it __md5_process_block.
35689 (md5_finish_ctx): Update md5_process_block call.
35690 (md5_stream): Likewise.
35691 (md5_process_bytes): Likewise.
35692 (md5_process_block): Rename to __md5_process_block and move to ...
35693 * crypt/md5-block.c: ... here.
35694 * crypt/sha256.c (sha256_process_block): Move to ...
35695 * crypt/sha256-block.c: ... here.
35696 * crypt/sha512.c (sha512_process_block): Move to ...
35697 * crypt/sha512-block.c: ... here.
35698 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35700 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35701 * sysdeps/sparc/sparc64/multiarch/Makefile
35702 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35704 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35705 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35707 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35708 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35709 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35710 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35711 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35712 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35713 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35714 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35715 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35717 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35718 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35720 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35722 2012-11-13 Joseph Myers <joseph@codesourcery.com>
35724 * timezone/tzselect.ksh: Update from tzcode git revision
35725 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35726 * timezone/zdump.c: Likewise.
35727 * timezone/zic.c: Likewise.
35728 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35729 in TZVERSION setting, not $(PKGVERSION).
35730 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35731 REPORT_BUGS_TO settings.
35734 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35737 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35739 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35740 detection to immediately after _FP_ROUND().
35741 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35744 2012-11-11 David S. Miller <davem@davemloft.net>
35746 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35748 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35749 __close rather than their public counterparts.
35751 2012-11-10 Joseph Myers <joseph@codesourcery.com>
35753 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35755 [UNIX98] (sem_timedwait): Do not expect.
35756 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35757 [XPG4 || UNIX98] (sockatmark): Do not expect.
35758 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35759 (clock_getcpuclockid): Do not expect.
35760 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35761 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35763 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35764 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35765 [UNIX98] (vwscanf): Likewise.
35766 [UNIX98] (vswscanf): Likewise.
35768 2012-11-09 Joseph Myers <joseph@codesourcery.com>
35770 * timezone/version.h: Remove file.
35771 * timezone/README: Do not refer to version.h.
35772 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35773 $(objpfx)version.h.
35774 ($(objpfx)zdump.o): Likewise.
35775 ($(objpfx)version.h): New target.
35777 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35779 * timezone/README: Don't mention modification to tzselect.ksh.
35780 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35781 work on unmodified tzselect.ksh. Substitute version numbers in
35784 * Makefile (format-me): Remove.
35785 (INSTALL): Adjust indentation. Use commands directly instead of
35786 using $(format-me).
35788 * aclocal.m4 (ACX_PKGVERSION): New macro.
35789 (ACX_BUGURL): Likewise.
35790 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35791 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35792 (REPORT_BUGS_TO): Likewise.
35793 * configure: Regenerated.
35794 * config.h.in (PKGVERSION): New macro.
35795 (REPORT_BUGS_TO): Likewise.
35796 * config.make.in (PKGVERSION): New variable.
35797 (PKGVERSION_TEXI): Likewise.
35798 (REPORT_BUGS_TO): Likewise.
35799 (REPORT_BUGS_TEXI): Likewise.
35800 * Makefile (format-me): Use -I$(common-objpfx)manual.
35801 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35802 ($(common-objpfx)manual/%): New target.
35803 (manual/%): Remove target.
35804 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35805 (print_version): Use PKGVERSION.
35806 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35807 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35808 and REPORT_BUGS_TO.
35809 ($(objpfx)xtrace): Likewise.
35810 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35811 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35812 (print_version): Use PKGVERSION.
35813 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35814 (do_version): Use PKGVERSION.
35815 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35817 (common-ldd-rewrite): Likewise.
35818 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35819 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35820 (print_version): Use PKGVERSION.
35821 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35822 * elf/pldd.c (argp_program_bug_address): Remove variable.
35823 (more_help): New function.
35824 (argp): Use more_help.
35825 (print_version): Use PKGVERSION.
35826 * elf/sln.c (main): Use PKGVERSION.
35827 (usage): Use REPORT_BUGS_TO.
35828 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35829 (top level): Use PKGVERSION.
35830 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35831 (print_version): Use PKGVERSION.
35832 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35833 (print_version): Use PKGVERSION.
35834 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35835 (print_version): Use PKGVERSION.
35836 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35837 (print_version): Use PKGVERSION.
35838 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35839 (print_version): Use PKGVERSION.
35840 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35841 (print_version): Use PKGVERSION.
35842 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35844 ($(objpfx)memusage): Likewise.
35845 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35846 (do_version): Use PKGVERSION.
35847 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35848 (print_version): Use PKGVERSION.
35849 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35850 ($PKGVERSION): New variable.
35851 ($REPORT_BUGS_TO): Likewise.
35852 (usage): Use $REPORT_BUGS_TO.
35853 (top level): Use $PKGVERSION.
35854 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35855 ($(objpfx)pkgvers.texi): New rule.
35856 ($(objpfx)stamp-pkgvers): Likewise.
35857 * manual/install.texi: Include pkgvers.texi.
35858 (--with-pkgversion): Document new configure option.
35859 (--with-bugurl): Likewise.
35860 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35861 than necessarily for this particular distribution. Use
35862 REPORT_BUGS_TO for where to report bugs.
35863 * INSTALL: Regenerated.
35864 * manual/libc.texinfo: Include pkgvers.texi.
35865 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35866 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35867 (print_version): Use PKGVERSION.
35868 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35869 (print_version): Use PKGVERSION.
35870 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35871 (print_version): Use PKGVERSION.
35872 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35873 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35875 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35876 (print_version): Use PKGVERSION.
35877 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35878 (print_version): Use PKGVERSION.
35879 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35882 * timezone/checktab.awk: Update from tzcode 2012i.
35883 * timezone/ialloc.c: Likewise.
35884 * timezone/private.h: Likewise.
35885 * timezone/scheck.c: Likewise.
35886 * timezone/tzfile.h: Likewise.
35887 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35888 (TZVERSION): Hardcode tzcode version number.
35889 * timezone/zdump.c: Update from tzcode 2012i.
35890 * timezone/zic.c: Likewise.
35891 * timezone/version.h: New file.
35892 * timezone/README: Describe version.h. Update upstream location.
35895 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35896 (mktemp): Enable declaration.
35897 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35898 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35899 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35900 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35902 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35904 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35906 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35908 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35910 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35914 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35915 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35916 for copies of such integer values.
35917 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35918 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35920 2012-11-09 Andreas Jaeger <aj@suse.de>
35922 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35923 definitions and declarations that are provided by
35924 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35926 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35928 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35929 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35930 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35933 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35935 * elf/elf.h: Update comment before AArch64 relocations.
35937 2012-11-07 David S. Miller <davem@davemloft.net>
35939 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35940 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35941 (__start_context): Declare.
35942 (__makecontext_ret): Delete.
35943 (__makecontext): Hook up __start_context instead of
35945 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35946 (sysdep_routines): Add __start_context when in stdlib.
35948 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35950 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35951 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35952 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35954 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35955 (READELF): New variable. Use it instead of hardcoded "readelf".
35957 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35959 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35960 * sysdeps/x86/Makefile: Here.
35961 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35962 * sysdeps/x86/tst-xmmymm.sh: This.
35964 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35966 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35968 [UNIX98] (pthread_barrier_t): Do not expect.
35969 [UNIX98] (pthread_barrierattr_t): Likewise.
35970 [UNIX98] (pthread_spinlock_t): Likewise.
35971 [UNIX98] (pthread_barrier_destroy): Likewise.
35972 [UNIX98] (pthread_barrier_init): Likewise.
35973 [UNIX98] (pthread_barrier_wait): Likewise.
35974 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35975 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35976 [UNIX98] (pthread_barrierattr_init): Likewise.
35977 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35978 [UNIX98] (pthread_getcpuclockid): Likewise.
35979 [UNIX98] (pthread_mutex_timedlock): Likewise.
35980 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35981 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35982 [UNIX98] (pthread_sigmask): Likewise.
35983 [UNIX98] (pthread_spin_destroy): Likewise.
35984 [UNIX98] (pthread_spin_init): Likewise.
35985 [UNIX98] (pthread_spin_lock): Likewise.
35986 [UNIX98] (pthread_spin_trylock): Likewise.
35987 [UNIX98] (pthread_spin_unlock): Likewise.
35988 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35990 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35991 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35992 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35993 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35994 [XPG3 || XPG4] (pthread_key_t): Likewise.
35995 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35996 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35997 [XPG3 || XPG4] (pthread_once_t): Likewise.
35998 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35999 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36000 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36001 [XPG3 || XPG4] (pthread_t): Likewise.
36003 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36005 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36007 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36008 Change function return type to int.
36010 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36011 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36012 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36013 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36014 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36015 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36016 [!POSIX] (posix_madvise): Likewise.
36017 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36019 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36020 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36021 (mode_t): Likewise.
36022 (posix_mem_offset): Likewise.
36023 (posix_typed_mem_get_info): Likewise.
36024 (posix_typed_mem_open): Likewise.
36026 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36027 Change condition to [XOPEN2K8].
36029 * conform/conformtest.pl: Preprocess allow-header data with -x c
36030 instead of from stdin.
36031 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36032 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36033 [C99-based standards] (cerfc): Likewise.
36034 [C99-based standards] (cexp2): Likewise.
36035 [C99-based standards] (cexpm1): Likewise.
36036 [C99-based standards] (clog10): Likewise.
36037 [C99-based standards] (clog1p): Likewise.
36038 [C99-based standards] (clog2): Likewise.
36039 [C99-based standards] (clgamma): Likewise.
36040 [C99-based standards] (ctgamma): Likewise.
36041 [C99-based standards] (cerff): Likewise.
36042 [C99-based standards] (cerfcf): Likewise.
36043 [C99-based standards] (cexp2f): Likewise.
36044 [C99-based standards] (cexpm1f): Likewise.
36045 [C99-based standards] (clog10f): Likewise.
36046 [C99-based standards] (clog1pf): Likewise.
36047 [C99-based standards] (clog2f): Likewise.
36048 [C99-based standards] (clgammaf): Likewise.
36049 [C99-based standards] (ctgammaf): Likewise.
36050 [C99-based standards] (cerfl): Likewise.
36051 [C99-based standards] (cerfcl): Likewise.
36052 [C99-based standards] (cexp2l): Likewise.
36053 [C99-based standards] (cexpm1l): Likewise.
36054 [C99-based standards] (clog10l): Likewise.
36055 [C99-based standards] (clog1pl): Likewise.
36056 [C99-based standards] (clog2l): Likewise.
36057 [C99-based standards] (clgammal): Likewise.
36058 [C99-based standards] (ctgammal): Likewise.
36059 * conform/data/inttypes.h-data [C99-based standards]: Include
36060 stdint.h-data. Remove all expectations for stdint.h contents.
36061 [C99-based standards] (PRI*): Do not allow.
36062 [C99-based standards] (SCN*): Likewise.
36063 [C99-based standards] (*_t): Likewise.
36064 [C99-based-standards] (PRId8): Expect macro.
36065 [C99-based-standards] (PRIi8): Likewise.
36066 [C99-based-standards] (PRIo8): Likewise.
36067 [C99-based-standards] (PRIu8): Likewise.
36068 [C99-based-standards] (PRIx8): Likewise.
36069 [C99-based-standards] (PRIX8): Likewise.
36070 [C99-based-standards] (SCNd8): Likewise.
36071 [C99-based-standards] (SCNi8): Likewise.
36072 [C99-based-standards] (SCNo8): Likewise.
36073 [C99-based-standards] (SCNu8): Likewise.
36074 [C99-based-standards] (SCNx8): Likewise.
36075 [C99-based-standards] (PRIdLEAST8): Likewise.
36076 [C99-based-standards] (PRIiLEAST8): Likewise.
36077 [C99-based-standards] (PRIoLEAST8): Likewise.
36078 [C99-based-standards] (PRIuLEAST8): Likewise.
36079 [C99-based-standards] (PRIxLEAST8): Likewise.
36080 [C99-based-standards] (PRIXLEAST8): Likewise.
36081 [C99-based-standards] (SCNdLEAST8): Likewise.
36082 [C99-based-standards] (SCNiLEAST8): Likewise.
36083 [C99-based-standards] (SCNoLEAST8): Likewise.
36084 [C99-based-standards] (SCNuLEAST8): Likewise.
36085 [C99-based-standards] (SCNxLEAST8): Likewise.
36086 [C99-based-standards] (PRIdFAST8): Likewise.
36087 [C99-based-standards] (PRIiFAST8): Likewise.
36088 [C99-based-standards] (PRIoFAST8): Likewise.
36089 [C99-based-standards] (PRIuFAST8): Likewise.
36090 [C99-based-standards] (PRIxFAST8): Likewise.
36091 [C99-based-standards] (PRIXFAST8): Likewise.
36092 [C99-based-standards] (SCNdFAST8): Likewise.
36093 [C99-based-standards] (SCNiFAST8): Likewise.
36094 [C99-based-standards] (SCNoFAST8): Likewise.
36095 [C99-based-standards] (SCNuFAST8): Likewise.
36096 [C99-based-standards] (SCNxFAST8): Likewise.
36097 [C99-based-standards] (PRId16): Likewise.
36098 [C99-based-standards] (PRIi16): Likewise.
36099 [C99-based-standards] (PRIo16): Likewise.
36100 [C99-based-standards] (PRIu16): Likewise.
36101 [C99-based-standards] (PRIx16): Likewise.
36102 [C99-based-standards] (PRIX16): Likewise.
36103 [C99-based-standards] (SCNd16): Likewise.
36104 [C99-based-standards] (SCNi16): Likewise.
36105 [C99-based-standards] (SCNo16): Likewise.
36106 [C99-based-standards] (SCNu16): Likewise.
36107 [C99-based-standards] (SCNx16): Likewise.
36108 [C99-based-standards] (PRIdLEAST16): Likewise.
36109 [C99-based-standards] (PRIiLEAST16): Likewise.
36110 [C99-based-standards] (PRIoLEAST16): Likewise.
36111 [C99-based-standards] (PRIuLEAST16): Likewise.
36112 [C99-based-standards] (PRIxLEAST16): Likewise.
36113 [C99-based-standards] (PRIXLEAST16): Likewise.
36114 [C99-based-standards] (SCNdLEAST16): Likewise.
36115 [C99-based-standards] (SCNiLEAST16): Likewise.
36116 [C99-based-standards] (SCNoLEAST16): Likewise.
36117 [C99-based-standards] (SCNuLEAST16): Likewise.
36118 [C99-based-standards] (SCNxLEAST16): Likewise.
36119 [C99-based-standards] (PRIdFAST16): Likewise.
36120 [C99-based-standards] (PRIiFAST16): Likewise.
36121 [C99-based-standards] (PRIoFAST16): Likewise.
36122 [C99-based-standards] (PRIuFAST16): Likewise.
36123 [C99-based-standards] (PRIxFAST16): Likewise.
36124 [C99-based-standards] (PRIXFAST16): Likewise.
36125 [C99-based-standards] (SCNdFAST16): Likewise.
36126 [C99-based-standards] (SCNiFAST16): Likewise.
36127 [C99-based-standards] (SCNoFAST16): Likewise.
36128 [C99-based-standards] (SCNuFAST16): Likewise.
36129 [C99-based-standards] (SCNxFAST16): Likewise.
36130 [C99-based-standards] (PRId32): Likewise.
36131 [C99-based-standards] (PRIi32): Likewise.
36132 [C99-based-standards] (PRIo32): Likewise.
36133 [C99-based-standards] (PRIu32): Likewise.
36134 [C99-based-standards] (PRIx32): Likewise.
36135 [C99-based-standards] (PRIX32): Likewise.
36136 [C99-based-standards] (SCNd32): Likewise.
36137 [C99-based-standards] (SCNi32): Likewise.
36138 [C99-based-standards] (SCNo32): Likewise.
36139 [C99-based-standards] (SCNu32): Likewise.
36140 [C99-based-standards] (SCNx32): Likewise.
36141 [C99-based-standards] (PRIdLEAST32): Likewise.
36142 [C99-based-standards] (PRIiLEAST32): Likewise.
36143 [C99-based-standards] (PRIoLEAST32): Likewise.
36144 [C99-based-standards] (PRIuLEAST32): Likewise.
36145 [C99-based-standards] (PRIxLEAST32): Likewise.
36146 [C99-based-standards] (PRIXLEAST32): Likewise.
36147 [C99-based-standards] (SCNdLEAST32): Likewise.
36148 [C99-based-standards] (SCNiLEAST32): Likewise.
36149 [C99-based-standards] (SCNoLEAST32): Likewise.
36150 [C99-based-standards] (SCNuLEAST32): Likewise.
36151 [C99-based-standards] (SCNxLEAST32): Likewise.
36152 [C99-based-standards] (PRIdFAST32): Likewise.
36153 [C99-based-standards] (PRIiFAST32): Likewise.
36154 [C99-based-standards] (PRIoFAST32): Likewise.
36155 [C99-based-standards] (PRIuFAST32): Likewise.
36156 [C99-based-standards] (PRIxFAST32): Likewise.
36157 [C99-based-standards] (PRIXFAST32): Likewise.
36158 [C99-based-standards] (SCNdFAST32): Likewise.
36159 [C99-based-standards] (SCNiFAST32): Likewise.
36160 [C99-based-standards] (SCNoFAST32): Likewise.
36161 [C99-based-standards] (SCNuFAST32): Likewise.
36162 [C99-based-standards] (SCNxFAST32): Likewise.
36163 [C99-based-standards] (PRId64): Likewise.
36164 [C99-based-standards] (PRIi64): Likewise.
36165 [C99-based-standards] (PRIo64): Likewise.
36166 [C99-based-standards] (PRIu64): Likewise.
36167 [C99-based-standards] (PRIx64): Likewise.
36168 [C99-based-standards] (PRIX64): Likewise.
36169 [C99-based-standards] (SCNd64): Likewise.
36170 [C99-based-standards] (SCNi64): Likewise.
36171 [C99-based-standards] (SCNo64): Likewise.
36172 [C99-based-standards] (SCNu64): Likewise.
36173 [C99-based-standards] (SCNx64): Likewise.
36174 [C99-based-standards] (PRIdLEAST64): Likewise.
36175 [C99-based-standards] (PRIiLEAST64): Likewise.
36176 [C99-based-standards] (PRIoLEAST64): Likewise.
36177 [C99-based-standards] (PRIuLEAST64): Likewise.
36178 [C99-based-standards] (PRIxLEAST64): Likewise.
36179 [C99-based-standards] (PRIXLEAST64): Likewise.
36180 [C99-based-standards] (SCNdLEAST64): Likewise.
36181 [C99-based-standards] (SCNiLEAST64): Likewise.
36182 [C99-based-standards] (SCNoLEAST64): Likewise.
36183 [C99-based-standards] (SCNuLEAST64): Likewise.
36184 [C99-based-standards] (SCNxLEAST64): Likewise.
36185 [C99-based-standards] (PRIdFAST64): Likewise.
36186 [C99-based-standards] (PRIiFAST64): Likewise.
36187 [C99-based-standards] (PRIoFAST64): Likewise.
36188 [C99-based-standards] (PRIuFAST64): Likewise.
36189 [C99-based-standards] (PRIxFAST64): Likewise.
36190 [C99-based-standards] (PRIXFAST64): Likewise.
36191 [C99-based-standards] (SCNdFAST64): Likewise.
36192 [C99-based-standards] (SCNiFAST64): Likewise.
36193 [C99-based-standards] (SCNoFAST64): Likewise.
36194 [C99-based-standards] (SCNuFAST64): Likewise.
36195 [C99-based-standards] (SCNxFAST64): Likewise.
36196 [C99-based-standards] (PRIdMAX): Likewise.
36197 [C99-based-standards] (PRIiMAX): Likewise.
36198 [C99-based-standards] (PRIoMAX): Likewise.
36199 [C99-based-standards] (PRIuMAX): Likewise.
36200 [C99-based-standards] (PRIxMAX): Likewise.
36201 [C99-based-standards] (PRIXMAX): Likewise.
36202 [C99-based-standards] (SCNdMAX): Likewise.
36203 [C99-based-standards] (SCNiMAX): Likewise.
36204 [C99-based-standards] (SCNoMAX): Likewise.
36205 [C99-based-standards] (SCNuMAX): Likewise.
36206 [C99-based-standards] (SCNxMAX): Likewise.
36207 [C99-based-standards] (PRIdPTR): Likewise.
36208 [C99-based-standards] (PRIiPTR): Likewise.
36209 [C99-based-standards] (PRIoPTR): Likewise.
36210 [C99-based-standards] (PRIuPTR): Likewise.
36211 [C99-based-standards] (PRIxPTR): Likewise.
36212 [C99-based-standards] (PRIXPTR): Likewise.
36213 [C99-based-standards] (SCNdPTR): Likewise.
36214 [C99-based-standards] (SCNiPTR): Likewise.
36215 [C99-based-standards] (SCNoPTR): Likewise.
36216 [C99-based-standards] (SCNuPTR): Likewise.
36217 [C99-based-standards] (SCNxPTR): Likewise.
36218 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36220 * conform/data/stdint.h-data: Update comments to clarify
36222 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36224 [C99-based standards] (INT8_MAX): Likewise.
36225 [C99-based standards] (INT16_MIN): Likewise.
36226 [C99-based standards] (INT16_MAX): Likewise.
36227 [C99-based standards] (INT32_MIN): Likewise.
36228 [C99-based standards] (INT32_MAX): Likewise.
36229 [C99-based standards] (INT64_MIN): Likewise.
36230 [C99-based standards] (INT64_MAX): Likewise.
36231 [C99-based standards] (UINT8_MAX): Likewise.
36232 [C99-based standards] (UINT16_MAX): Likewise.
36233 [C99-based standards] (UINT32_MAX): Likewise.
36234 [C99-based standards] (UINT64_MAX): Likewise.
36235 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36236 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36237 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36238 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36239 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36240 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36241 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36242 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36243 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36244 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36245 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36246 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36247 [C99-based standards] (INT_FAST8_MIN): Likewise.
36248 [C99-based standards] (INT_FAST8_MAX): Likewise.
36249 [C99-based standards] (INT_FAST16_MIN): Likewise.
36250 [C99-based standards] (INT_FAST16_MAX): Likewise.
36251 [C99-based standards] (INT_FAST32_MIN): Likewise.
36252 [C99-based standards] (INT_FAST32_MAX): Likewise.
36253 [C99-based standards] (INT_FAST64_MIN): Likewise.
36254 [C99-based standards] (INT_FAST64_MAX): Likewise.
36255 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36256 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36257 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36258 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36259 [C99-based standards] (INTPTR_MIN): Likewise.
36260 [C99-based standards] (INTPTR_MAX): Likewise.
36261 [C99-based standards] (UINTPTR_MAX): Likewise.
36262 [C99-based standards] (INTMAX_MIN): Likewise.
36263 [C99-based standards] (INTMAX_MAX): Likewise.
36264 [C99-based standards] (UINTMAX_MAX): Likewise.
36265 [C99-based standards] (PTRDIFF_MIN): Likewise.
36266 [C99-based standards] (PTRDIFF_MAX): Likewise.
36267 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36268 [C99-based standards] (SIZE_MAX): Likewise.
36269 [C99-based standards] (WCHAR_MAX): Likewise.
36270 [C99-based standards] (WINT_MAX): Likewise.
36271 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36272 constraint on value.
36273 [C99-based standards] (WCHAR_MIN): Likewise.
36274 [C99-based standards] (WINT_MIN): Likewise.
36275 [C99-based standards] (*_t): Allow.
36276 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36277 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36278 Include math.h-data and complex.h-data. Remove all expectations
36279 of math.h and complex.h contents.
36280 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36282 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36283 (struct tm): Expect tag.
36284 [C99-based-standards] (wcstof): Expect function.
36285 [C99-based-standards] (wcstold): Likewise.
36286 [C99-based-standards] (wcstoll): Likewise.
36287 [C99-based-standards] (wcstoull): Likewise.
36288 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36289 macro-int-constant. Specify type.
36290 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36291 constraint on value.
36292 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36294 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36296 [ISO C standards]: Do not allow headers.
36297 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36298 wcs[abcdefghijklmnopqrstuvwxyz]*.
36299 [ISO C standards] (*_t): Do not allow.
36300 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36302 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36303 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36305 [ISO C standards]: Do not allow headers.
36306 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36307 is[abcdefghijklmnopqrstuvwxyz]*.
36308 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36309 to[abcdefghijklmnopqrstuvwxyz]*.
36310 [ISO C standards] (*_t): Do not allow.
36311 * conform/data/stdalign.h-data: New file.
36312 * conform/data/stdbool.h-data: Likewise.
36313 * conform/data/stdnoreturn.h-data: Likewise.
36315 2012-11-07 Roland McGrath <roland@hack.frob.com>
36318 * manual/filesys.texi (Directory Entries): Typo fix.
36319 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36321 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36323 * elf/elf.h (EM_AARCH64): New macro.
36324 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36325 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36326 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36327 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36328 (R_AARCH64_TLSDESC): Likewise.
36329 (NT_ARM_TLS): Likewise.
36330 (NT_ARM_HW_BREAK): Likewise.
36331 (NT_ARM_HW_WATCH): Likewise.
36333 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36336 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36337 (__ieee754_powl): Saturate nonzero exponents with absolute value
36338 below 0x1p-79 to +/- 0x1p-79.
36339 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36340 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36341 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36342 nonzero exponents with absolute value below 0x1p-32 to +/-
36344 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36345 (__ieee754_powl): Saturate nonzero exponents with absolute value
36346 below 0x1p-79 to +/- 0x1p-79.
36347 * math/libm-test.inc (pow_test): Add more tests.
36349 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36351 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36352 _dl_s390_cap_flags with kernel. Increase string length.
36353 (_dl_s390_platforms): Add z196 and zEC12.
36355 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36357 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36358 Change XOPEN21K to XOPEN2K.
36360 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36362 * string/memmove.c: Use memcpy when possible.
36364 2012-11-06 Andreas Jaeger <aj@suse.de>
36366 * po/eo.po: Update from translation team.
36368 2012-11-06 Joseph Myers <joseph@codesourcery.com>
36371 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36372 exponent and small x and y exponents, scale x or y up. Increase
36373 by 2 the exponent used in scaling up.
36374 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36375 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36376 * math/libm-test.inc (fma_test): Add more tests.
36377 (fma_test_towardzero): Likewise.
36378 (fma_test_downward): Likewise.
36379 (fma_test_upward): Likewise.
36381 2012-11-05 Joseph Myers <joseph@codesourcery.com>
36384 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36388 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36389 namespace for names of struct fields.
36390 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36392 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36393 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36395 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36398 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36400 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36402 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36406 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36409 2012-11-04 Joseph Myers <joseph@codesourcery.com>
36412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36413 definitely overflow as x * y not x * y + z.
36414 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36415 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36416 * math/libm-test.inc (fma_test): Add more tests.
36417 (fma_test_towardzero): Likewise.
36418 (fma_test_downward): Likewise.
36419 (fma_test_upward): Likewise.
36421 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36425 * include/stub-tag.h: Remove file.
36426 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36428 * manual/maint.texi (Porting): Don't reference it.
36429 * Makerules ($(objpfx)stubs): Likewise.
36430 * dirent/closedir.c: Don't include <stub-tag.h>.
36431 * dirent/dirfd.c: Likewise.
36432 * dirent/fdopendir.c: Likewise.
36433 * dirent/getdents.c: Likewise.
36434 * dirent/getdents64.c: Likewise.
36435 * dirent/opendir.c: Likewise.
36436 * dirent/readdir.c: Likewise.
36437 * dirent/readdir64.c: Likewise.
36438 * dirent/readdir64_r.c: Likewise.
36439 * dirent/readdir_r.c: Likewise.
36440 * dirent/rewinddir.c: Likewise.
36441 * dirent/seekdir.c: Likewise.
36442 * dirent/telldir.c: Likewise.
36443 * gmon/profil.c: Likewise.
36444 * grp/setgroups.c: Likewise.
36445 * inet/if_index.c: Likewise.
36446 * io/access.c: Likewise.
36447 * io/chdir.c: Likewise.
36448 * io/chmod.c: Likewise.
36449 * io/chown.c: Likewise.
36450 * io/close.c: Likewise.
36451 * io/dup.c: Likewise.
36452 * io/dup2.c: Likewise.
36453 * io/dup3.c: Likewise.
36454 * io/euidaccess.c: Likewise.
36455 * io/faccessat.c: Likewise.
36456 * io/fchdir.c: Likewise.
36457 * io/fchmod.c: Likewise.
36458 * io/fchmodat.c: Likewise.
36459 * io/fchown.c: Likewise.
36460 * io/fchownat.c: Likewise.
36461 * io/fcntl.c: Likewise.
36462 * io/flock.c: Likewise.
36463 * io/fstatfs.c: Likewise.
36464 * io/fstatfs64.c: Likewise.
36465 * io/fstatvfs.c: Likewise.
36466 * io/fstatvfs64.c: Likewise.
36467 * io/futimens.c: Likewise.
36468 * io/fxstat.c: Likewise.
36469 * io/fxstat64.c: Likewise.
36470 * io/fxstatat.c: Likewise.
36471 * io/fxstatat64.c: Likewise.
36472 * io/getcwd.c: Likewise.
36473 * io/isatty.c: Likewise.
36474 * io/lchmod.c: Likewise.
36475 * io/lchown.c: Likewise.
36476 * io/link.c: Likewise.
36477 * io/linkat.c: Likewise.
36478 * io/lseek.c: Likewise.
36479 * io/lseek64.c: Likewise.
36480 * io/lxstat64.c: Likewise.
36481 * io/mkdir.c: Likewise.
36482 * io/mkdirat.c: Likewise.
36483 * io/mkfifo.c: Likewise.
36484 * io/mkfifoat.c: Likewise.
36485 * io/open.c: Likewise.
36486 * io/open64.c: Likewise.
36487 * io/openat.c: Likewise.
36488 * io/openat64.c: Likewise.
36489 * io/pipe.c: Likewise.
36490 * io/pipe2.c: Likewise.
36491 * io/poll.c: Likewise.
36492 * io/posix_fadvise.c: Likewise.
36493 * io/posix_fadvise64.c: Likewise.
36494 * io/posix_fallocate.c: Likewise.
36495 * io/posix_fallocate64.c: Likewise.
36496 * io/read.c: Likewise.
36497 * io/readlink.c: Likewise.
36498 * io/readlinkat.c: Likewise.
36499 * io/rmdir.c: Likewise.
36500 * io/sendfile.c: Likewise.
36501 * io/sendfile64.c: Likewise.
36502 * io/statfs.c: Likewise.
36503 * io/statfs64.c: Likewise.
36504 * io/statvfs.c: Likewise.
36505 * io/statvfs64.c: Likewise.
36506 * io/symlink.c: Likewise.
36507 * io/symlinkat.c: Likewise.
36508 * io/ttyname.c: Likewise.
36509 * io/ttyname_r.c: Likewise.
36510 * io/umask.c: Likewise.
36511 * io/unlink.c: Likewise.
36512 * io/unlinkat.c: Likewise.
36513 * io/utime.c: Likewise.
36514 * io/utimensat.c: Likewise.
36515 * io/write.c: Likewise.
36516 * io/xmknod.c: Likewise.
36517 * io/xmknodat.c: Likewise.
36518 * io/xstat.c: Likewise.
36519 * io/xstat64.c: Likewise.
36520 * login/getpt.c: Likewise.
36521 * login/grantpt.c: Likewise.
36522 * login/unlockpt.c: Likewise.
36523 * math/e_acoshl.c: Likewise.
36524 * math/e_acosl.c: Likewise.
36525 * math/e_asinl.c: Likewise.
36526 * math/e_atan2l.c: Likewise.
36527 * math/e_atanhl.c: Likewise.
36528 * math/e_coshl.c: Likewise.
36529 * math/e_expl.c: Likewise.
36530 * math/e_fmodl.c: Likewise.
36531 * math/e_gammal_r.c: Likewise.
36532 * math/e_hypotl.c: Likewise.
36533 * math/e_j0l.c: Likewise.
36534 * math/e_j1l.c: Likewise.
36535 * math/e_jnl.c: Likewise.
36536 * math/e_lgammal_r.c: Likewise.
36537 * math/e_log10l.c: Likewise.
36538 * math/e_log2l.c: Likewise.
36539 * math/e_logl.c: Likewise.
36540 * math/e_powl.c: Likewise.
36541 * math/e_rem_pio2l.c: Likewise.
36542 * math/e_sinhl.c: Likewise.
36543 * math/e_sqrtl.c: Likewise.
36544 * math/fclrexcpt.c: Likewise.
36545 * math/fedisblxcpt.c: Likewise.
36546 * math/feenablxcpt.c: Likewise.
36547 * math/fegetenv.c: Likewise.
36548 * math/fegetexcept.c: Likewise.
36549 * math/fegetround.c: Likewise.
36550 * math/feholdexcpt.c: Likewise.
36551 * math/fesetenv.c: Likewise.
36552 * math/fesetround.c: Likewise.
36553 * math/feupdateenv.c: Likewise.
36554 * math/fgetexcptflg.c: Likewise.
36555 * math/fraiseexcpt.c: Likewise.
36556 * math/fsetexcptflg.c: Likewise.
36557 * math/ftestexcept.c: Likewise.
36558 * math/k_cosl.c: Likewise.
36559 * math/k_rem_pio2l.c: Likewise.
36560 * math/k_sinl.c: Likewise.
36561 * math/k_tanl.c: Likewise.
36562 * math/s_asinhl.c: Likewise.
36563 * math/s_atanl.c: Likewise.
36564 * math/s_cbrtl.c: Likewise.
36565 * math/s_erfl.c: Likewise.
36566 * math/s_expm1l.c: Likewise.
36567 * math/s_log1pl.c: Likewise.
36568 * math/s_tanhl.c: Likewise.
36569 * misc/acct.c: Likewise.
36570 * misc/brk.c: Likewise.
36571 * misc/chflags.c: Likewise.
36572 * misc/chroot.c: Likewise.
36573 * misc/fchflags.c: Likewise.
36574 * misc/fgetxattr.c: Likewise.
36575 * misc/flistxattr.c: Likewise.
36576 * misc/fremovexattr.c: Likewise.
36577 * misc/fsetxattr.c: Likewise.
36578 * misc/fsync.c: Likewise.
36579 * misc/ftruncate.c: Likewise.
36580 * misc/futimes.c: Likewise.
36581 * misc/futimesat.c: Likewise.
36582 * misc/getdomain.c: Likewise.
36583 * misc/getdtsz.c: Likewise.
36584 * misc/gethostid.c: Likewise.
36585 * misc/gethostname.c: Likewise.
36586 * misc/getloadavg.c: Likewise.
36587 * misc/getpagesize.c: Likewise.
36588 * misc/getsysstats.c: Likewise.
36589 * misc/getxattr.c: Likewise.
36590 * misc/gtty.c: Likewise.
36591 * misc/ioctl.c: Likewise.
36592 * misc/lgetxattr.c: Likewise.
36593 * misc/listxattr.c: Likewise.
36594 * misc/llistxattr.c: Likewise.
36595 * misc/lremovexattr.c: Likewise.
36596 * misc/lsetxattr.c: Likewise.
36597 * misc/lutimes.c: Likewise.
36598 * misc/madvise.c: Likewise.
36599 * misc/mincore.c: Likewise.
36600 * misc/mlock.c: Likewise.
36601 * misc/mlockall.c: Likewise.
36602 * misc/mmap.c: Likewise.
36603 * misc/mprotect.c: Likewise.
36604 * misc/msync.c: Likewise.
36605 * misc/munlock.c: Likewise.
36606 * misc/munlockall.c: Likewise.
36607 * misc/munmap.c: Likewise.
36608 * misc/preadv.c: Likewise.
36609 * misc/preadv64.c: Likewise.
36610 * misc/ptrace.c: Likewise.
36611 * misc/pwritev.c: Likewise.
36612 * misc/pwritev64.c: Likewise.
36613 * misc/readv.c: Likewise.
36614 * misc/reboot.c: Likewise.
36615 * misc/remap_file_pages.c: Likewise.
36616 * misc/removexattr.c: Likewise.
36617 * misc/revoke.c: Likewise.
36618 * misc/select.c: Likewise.
36619 * misc/setdomain.c: Likewise.
36620 * misc/setegid.c: Likewise.
36621 * misc/seteuid.c: Likewise.
36622 * misc/sethostid.c: Likewise.
36623 * misc/sethostname.c: Likewise.
36624 * misc/setregid.c: Likewise.
36625 * misc/setreuid.c: Likewise.
36626 * misc/setxattr.c: Likewise.
36627 * misc/sstk.c: Likewise.
36628 * misc/stty.c: Likewise.
36629 * misc/swapoff.c: Likewise.
36630 * misc/swapon.c: Likewise.
36631 * misc/sync.c: Likewise.
36632 * misc/syncfs.c: Likewise.
36633 * misc/syscall.c: Likewise.
36634 * misc/truncate.c: Likewise.
36635 * misc/ualarm.c: Likewise.
36636 * misc/usleep.c: Likewise.
36637 * misc/ustat.c: Likewise.
36638 * misc/utimes.c: Likewise.
36639 * misc/vhangup.c: Likewise.
36640 * misc/writev.c: Likewise.
36641 * posix/_exit.c: Likewise.
36642 * posix/alarm.c: Likewise.
36643 * posix/execve.c: Likewise.
36644 * posix/fexecve.c: Likewise.
36645 * posix/fork.c: Likewise.
36646 * posix/fpathconf.c: Likewise.
36647 * posix/getaddrinfo.c: Likewise.
36648 * posix/getegid.c: Likewise.
36649 * posix/geteuid.c: Likewise.
36650 * posix/getgid.c: Likewise.
36651 * posix/getgroups.c: Likewise.
36652 * posix/getlogin.c: Likewise.
36653 * posix/getlogin_r.c: Likewise.
36654 * posix/getpgid.c: Likewise.
36655 * posix/getpid.c: Likewise.
36656 * posix/getppid.c: Likewise.
36657 * posix/getresgid.c: Likewise.
36658 * posix/getresuid.c: Likewise.
36659 * posix/getsid.c: Likewise.
36660 * posix/getuid.c: Likewise.
36661 * posix/glob64.c: Likewise.
36662 * posix/nanosleep.c: Likewise.
36663 * posix/pathconf.c: Likewise.
36664 * posix/pause.c: Likewise.
36665 * posix/posix_madvise.c: Likewise.
36666 * posix/pread.c: Likewise.
36667 * posix/pread64.c: Likewise.
36668 * posix/pwrite.c: Likewise.
36669 * posix/pwrite64.c: Likewise.
36670 * posix/sched_getaffinity.c: Likewise.
36671 * posix/sched_getp.c: Likewise.
36672 * posix/sched_gets.c: Likewise.
36673 * posix/sched_primax.c: Likewise.
36674 * posix/sched_primin.c: Likewise.
36675 * posix/sched_rr_gi.c: Likewise.
36676 * posix/sched_setaffinity.c: Likewise.
36677 * posix/sched_setp.c: Likewise.
36678 * posix/sched_sets.c: Likewise.
36679 * posix/sched_yield.c: Likewise.
36680 * posix/setgid.c: Likewise.
36681 * posix/setlogin.c: Likewise.
36682 * posix/setpgid.c: Likewise.
36683 * posix/setresgid.c: Likewise.
36684 * posix/setresuid.c: Likewise.
36685 * posix/setsid.c: Likewise.
36686 * posix/setuid.c: Likewise.
36687 * posix/sleep.c: Likewise.
36688 * posix/spawni.c: Likewise.
36689 * posix/sysconf.c: Likewise.
36690 * posix/times.c: Likewise.
36691 * posix/wait.c: Likewise.
36692 * posix/wait3.c: Likewise.
36693 * posix/wait4.c: Likewise.
36694 * posix/waitpid.c: Likewise.
36695 * resolv/gai_sigqueue.c: Likewise.
36696 * resource/getpriority.c: Likewise.
36697 * resource/getrlimit.c: Likewise.
36698 * resource/getrusage.c: Likewise.
36699 * resource/nice.c: Likewise.
36700 * resource/setpriority.c: Likewise.
36701 * resource/setrlimit.c: Likewise.
36702 * resource/ulimit.c: Likewise.
36703 * rt/aio_cancel.c: Likewise.
36704 * rt/aio_fsync.c: Likewise.
36705 * rt/aio_read.c: Likewise.
36706 * rt/aio_sigqueue.c: Likewise.
36707 * rt/aio_suspend.c: Likewise.
36708 * rt/aio_write.c: Likewise.
36709 * rt/clock_getres.c: Likewise.
36710 * rt/clock_gettime.c: Likewise.
36711 * rt/clock_nanosleep.c: Likewise.
36712 * rt/clock_settime.c: Likewise.
36713 * rt/lio_listio.c: Likewise.
36714 * rt/mq_close.c: Likewise.
36715 * rt/mq_getattr.c: Likewise.
36716 * rt/mq_notify.c: Likewise.
36717 * rt/mq_open.c: Likewise.
36718 * rt/mq_receive.c: Likewise.
36719 * rt/mq_send.c: Likewise.
36720 * rt/mq_setattr.c: Likewise.
36721 * rt/mq_timedreceive.c: Likewise.
36722 * rt/mq_timedsend.c: Likewise.
36723 * rt/mq_unlink.c: Likewise.
36724 * rt/shm_open.c: Likewise.
36725 * rt/shm_unlink.c: Likewise.
36726 * rt/timer_create.c: Likewise.
36727 * rt/timer_delete.c: Likewise.
36728 * rt/timer_getoverr.c: Likewise.
36729 * rt/timer_gettime.c: Likewise.
36730 * rt/timer_settime.c: Likewise.
36731 * setjmp/__longjmp.c: Likewise.
36732 * setjmp/setjmp.c: Likewise.
36733 * signal/kill.c: Likewise.
36734 * signal/killpg.c: Likewise.
36735 * signal/raise.c: Likewise.
36736 * signal/sigaction.c: Likewise.
36737 * signal/sigaltstack.c: Likewise.
36738 * signal/sigblock.c: Likewise.
36739 * signal/sigignore.c: Likewise.
36740 * signal/sigintr.c: Likewise.
36741 * signal/signal.c: Likewise.
36742 * signal/sigpause.c: Likewise.
36743 * signal/sigpending.c: Likewise.
36744 * signal/sigqueue.c: Likewise.
36745 * signal/sigreturn.c: Likewise.
36746 * signal/sigset.c: Likewise.
36747 * signal/sigsetmask.c: Likewise.
36748 * signal/sigstack.c: Likewise.
36749 * signal/sigsuspend.c: Likewise.
36750 * signal/sigtimedwait.c: Likewise.
36751 * signal/sigvec.c: Likewise.
36752 * signal/sigwait.c: Likewise.
36753 * signal/sigwaitinfo.c: Likewise.
36754 * signal/sysv_signal.c: Likewise.
36755 * socket/accept.c: Likewise.
36756 * socket/accept4.c: Likewise.
36757 * socket/bind.c: Likewise.
36758 * socket/connect.c: Likewise.
36759 * socket/getpeername.c: Likewise.
36760 * socket/getsockname.c: Likewise.
36761 * socket/getsockopt.c: Likewise.
36762 * socket/isfdtype.c: Likewise.
36763 * socket/listen.c: Likewise.
36764 * socket/recv.c: Likewise.
36765 * socket/recvfrom.c: Likewise.
36766 * socket/recvmsg.c: Likewise.
36767 * socket/send.c: Likewise.
36768 * socket/sendmsg.c: Likewise.
36769 * socket/sendto.c: Likewise.
36770 * socket/setsockopt.c: Likewise.
36771 * socket/shutdown.c: Likewise.
36772 * socket/sockatmark.c: Likewise.
36773 * socket/socket.c: Likewise.
36774 * socket/socketpair.c: Likewise.
36775 * stdio-common/ctermid.c: Likewise.
36776 * stdio-common/cuserid.c: Likewise.
36777 * stdio-common/remove.c: Likewise.
36778 * stdio-common/rename.c: Likewise.
36779 * stdio-common/renameat.c: Likewise.
36780 * stdio-common/tempname.c: Likewise.
36781 * stdlib/getcontext.c: Likewise.
36782 * stdlib/makecontext.c: Likewise.
36783 * stdlib/setcontext.c: Likewise.
36784 * stdlib/swapcontext.c: Likewise.
36785 * stdlib/system.c: Likewise.
36786 * streams/fattach.c: Likewise.
36787 * streams/fdetach.c: Likewise.
36788 * streams/getmsg.c: Likewise.
36789 * streams/getpmsg.c: Likewise.
36790 * streams/putmsg.c: Likewise.
36791 * streams/putpmsg.c: Likewise.
36792 * sysdeps/unix/bsd/getpt.c: Likewise.
36793 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36794 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36795 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36798 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36799 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36800 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36801 * sysvipc/msgctl.c: Likewise.
36802 * sysvipc/msgget.c: Likewise.
36803 * sysvipc/msgrcv.c: Likewise.
36804 * sysvipc/msgsnd.c: Likewise.
36805 * sysvipc/semctl.c: Likewise.
36806 * sysvipc/semget.c: Likewise.
36807 * sysvipc/semop.c: Likewise.
36808 * sysvipc/semtimedop.c: Likewise.
36809 * sysvipc/shmat.c: Likewise.
36810 * sysvipc/shmctl.c: Likewise.
36811 * sysvipc/shmdt.c: Likewise.
36812 * sysvipc/shmget.c: Likewise.
36813 * termios/tcdrain.c: Likewise.
36814 * termios/tcflow.c: Likewise.
36815 * termios/tcflush.c: Likewise.
36816 * termios/tcgetattr.c: Likewise.
36817 * termios/tcgetpgrp.c: Likewise.
36818 * termios/tcsendbrk.c: Likewise.
36819 * termios/tcsetattr.c: Likewise.
36820 * termios/tcsetpgrp.c: Likewise.
36821 * time/adjtime.c: Likewise.
36822 * time/clock.c: Likewise.
36823 * time/getitimer.c: Likewise.
36824 * time/gettimeofday.c: Likewise.
36825 * time/setitimer.c: Likewise.
36826 * time/settimeofday.c: Likewise.
36827 * time/stime.c: Likewise.
36828 * time/time.c: Likewise.
36830 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
36832 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36835 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36837 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36839 2012-11-03 Joseph Myers <joseph@codesourcery.com>
36842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36843 FE_TONEAREST before applying Dekker multiplication and Knuth
36844 addition. Clear inexact exceptions and check for exact zero
36845 results afterwards.
36846 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36847 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36848 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36849 * math/libm-test.inc (fma_test): Add more tests.
36850 (fma_test_towardzero): Likewise.
36851 (fma_test_downward): Likewise.
36852 (fma_test_upward): Likewise.
36853 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36855 (libc_fesetround): New macro.
36856 (libc_fesetroundf): Likewise.
36857 (libc_fesetroundl): Likewise.
36858 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36860 (libc_fesetround_387): Likewise.
36861 (libc_fesetroundf): New macro.
36862 (libc_fesetround): Likewise.
36863 (libc_fesetroundl): Likewise.
36864 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36866 (libc_fesetroundf): New macro.
36867 (libc_fesetround): Likewise.
36868 (libc_fesetroundl): Likewise.
36869 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36870 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36871 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36873 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36874 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36876 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36877 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36879 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36883 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36884 integer constant usable in #if and use that to give value to enum
36886 (FE_DIVBYZERO): Likewise.
36887 (FE_UNDERFLOW): Likewise.
36888 (FE_OVERFLOW): Likewise.
36889 (FE_INVALID): Likewise.
36890 (FE_INVALID_SNAN): Likewise.
36891 (FE_INVALID_ISI): Likewise.
36892 (FE_INVALID_IDI): Likewise.
36893 (FE_INVALID_ZDZ): Likewise.
36894 (FE_INVALID_IMZ): Likewise.
36895 (FE_INVALID_COMPARE): Likewise.
36896 (FE_INVALID_SOFTWARE): Likewise.
36897 (FE_INVALID_SQRT): Likewise.
36898 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36899 (FE_TONEAREST): Likewise.
36900 (FE_TOWARDZERO): Likewise.
36901 (FE_UPWARD): Likewise.
36902 (FE_DOWNWARD): Likewise.
36903 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36904 (FE_DIVBYZERO): Likewise.
36905 (FE_OVERFLOW): Likewise.
36906 (FE_UNDERFLOW): Likewise.
36907 (FE_INEXACT): Likewise.
36908 (FE_TONEAREST): Likewise.
36909 (FE_DOWNWARD): Likewise.
36910 (FE_UPWARD): Likewise.
36911 (FE_TOWARDZERO): Likewise.
36912 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36913 (FE_UNDERFLOW): Likewise.
36914 (FE_OVERFLOW): Likewise.
36915 (FE_DIVBYZERO): Likewise.
36916 (FE_INVALID): Likewise.
36917 (FE_TONEAREST): Likewise.
36918 (FE_TOWARDZERO): Likewise.
36919 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36920 (FE_OVERFLOW): Likewise.
36921 (FE_UNDERFLOW): Likewise.
36922 (FE_DIVBYZERO): Likewise.
36923 (FE_INEXACT): Likewise.
36924 (FE_TONEAREST): Likewise.
36925 (FE_TOWARDZERO): Likewise.
36926 (FE_UPWARD): Likewise.
36927 (FE_DOWNWARD): Likewise.
36928 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36929 (FE_DIVBYZERO): Likewise.
36930 (FE_OVERFLOW): Likewise.
36931 (FE_UNDERFLOW): Likewise.
36932 (FE_INEXACT): Likewise.
36933 (FE_TONEAREST): Likewise.
36934 (FE_DOWNWARD): Likewise.
36935 (FE_UPWARD): Likewise.
36936 (FE_TOWARDZERO): Likewise.
36938 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36940 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36942 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36944 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36945 commands. Quote $PWD.
36946 (blacklist_exports): Don't use remove_newlines. Replace "declare
36948 (remove_newlines): Remove.
36950 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36952 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36953 * stdlib/stdlib.h (atof): Moved to ...
36954 * include/bits/stdlib-float.h: Here. New file.
36955 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36956 * stdlib/bits/stdlib-float.h: New file.
36957 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36959 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36962 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36964 * conform/conformtest.pl (@headers): Add fenv.h.
36965 * conform/data/fenv.h-data: New file.
36966 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36967 include of <math/fenv.h>.
36969 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36970 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36971 && !UNIX98]. Enables tests for XOPEN2K8.
36972 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36973 POSIX2008]: Likewise.
36975 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36976 (struct rusage): Do not expect type or its members.
36979 * math/math.h (FP_NAN): Define macro to integer constant usable in
36980 #if and use that to give value to enum constant.
36981 (FP_INFINITE): Likewise.
36982 (FP_ZERO): Likewise.
36983 (FP_SUBNORMAL): Likewise.
36984 (FP_NORMAL): Likewise.
36986 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36988 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36989 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36992 2012-11-02 Roland McGrath <roland@hack.frob.com>
36994 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36995 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36996 autoconf-time if not.
36997 * configure.in: Remove AC_PREREQ.
36999 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37001 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37002 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37003 of the internal implementation.
37005 2012-11-02 Joseph Myers <joseph@codesourcery.com>
37007 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37008 except include of <misc/sys/syslog.h>.
37010 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37013 function returns with a NULL context exit with zero.
37015 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37017 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37019 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37021 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37022 (run_program_cmd): This.
37023 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37024 (tst_langinfo): New variable. Use it.
37026 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37028 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37029 floating point opcodes.
37031 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37033 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37036 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37038 * sysdeps/mach/hurd/powerpc: Remove directory.
37039 * sysdeps/mach/powerpc: Likewise.
37041 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37043 * scripts/check-local-headers.sh: Ignore c++ headers.
37045 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37047 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37048 __libc_cleanup_region_start argument.
37050 2012-11-01 Joseph Myers <joseph@codesourcery.com>
37054 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37055 x * y using scaling, not as x * y + z.
37056 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37057 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37058 * math/libm-test.inc (fma_test): Add more tests.
37059 (fma_test_towardzero): Likewise.
37060 (fma_test_downward): Likewise.
37061 (fma_test_upward): Likewise.
37063 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37065 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37067 2012-10-31 Joseph Myers <joseph@codesourcery.com>
37069 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37072 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37074 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37076 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37083 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37086 Fix the order of the list for glibc 2.17.
37087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37090 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37094 2012-10-31 Joseph Myers <joseph@codesourcery.com>
37097 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37098 for low part of x being zero before using __atanl (y).
37099 * math/libm-test.inc (atan2_test): Add another test.
37101 * manual/install.texi (Configuring and compiling): Document
37102 general use of test-wrapper and test-wrapper-env.
37103 * INSTALL: Regenerated.
37105 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37106 (__fma): Do not extract and scale down low bits on after-rounding
37107 systems when result rounded to normal precision would have normal
37109 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37110 (__fmal): Do not extract and scale down low bits on after-rounding
37111 systems when result rounded to normal precision would have normal
37113 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37114 (__fmal): Do not extract and scale down low bits on after-rounding
37115 systems when result rounded to normal precision would have normal
37117 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37119 (fma_test): Add more tests.
37120 (fma_test_towardzero): Likewise.
37121 (fma_test_downward): Likewise.
37122 (fma_test_upward): Likewise.
37124 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37126 * sysdeps/i386/tininess.h: Renamed to ...
37127 * sysdeps/x86/tininess.h: This.
37128 * sysdeps/x86_64/tininess.h: Removed.
37130 2012-10-30 Joseph Myers <joseph@codesourcery.com>
37132 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37133 input. Use $(build-program-cmd).
37134 ($(objpfx)tst-array1-static.out): Likewise.
37135 ($(objpfx)tst-array2.out): Likewise.
37136 ($(objpfx)tst-array3.out): Likewise.
37137 ($(objpfx)tst-array4.out): Likewise.
37138 ($(objpfx)tst-array5.out): Likewise.
37139 ($(objpfx)tst-array5-static.out): Likewise.
37141 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37143 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37146 * nss/nsswitch.h (nss_interface_function): Provide new
37147 macro for use with NSS functions.
37148 * grp/initgroups.c: Use new macro.
37149 * nss/getXXbyYY.c: Likewise.
37150 * nss/getXXbyYY_r.c: Likewise.
37151 * nss/getXXent.c: Likewise.
37152 * nss/getXXent_r.c: Likewise.
37153 * sysdeps/posix/getaddrinfo.c: Likewise.
37155 2012-10-30 Andreas Jaeger <aj@suse.de>
37157 * po/ru.po: Update Russion translation from translation project.
37159 2012-10-30 Joseph Myers <joseph@codesourcery.com>
37163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37164 result and shift together with sticky bit instead of replicating
37165 round-to-nearest rounding.
37166 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37167 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37168 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37169 missing underflow exceptions.
37170 (fma_test_towardzero): Add more tests.
37171 (fma_test_downward): Likewise.
37172 (fma_test_upward): Likewise.
37175 * sysdeps/generic/tininess.h: New file.
37176 * sysdeps/i386/tininess.h: Likewise.
37177 * sysdeps/sh/tininess.h: Likewise.
37178 * sysdeps/x86_64/tininess.h: Likewise.
37179 * stdlib/tst-strtod-underflow.c: Likewise.
37180 * stdlib/tst-tininess.c: Likewise.
37181 * stdlib/strtod_l.c: Include <tininess.h>.
37182 (round_and_return): Do not set errno for exact underflow cases.
37183 Force an underflow exception when setting errno for underflow.
37184 Determine underflow based on rounding to normal precision if
37185 TININESS_AFTER_ROUNDING.
37186 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37187 ERANGE for exact underflow cases.
37188 * stdlib/Makefile (tests): Add tst-tininess and
37189 tst-strtod-underflow.
37190 ($(objpfx)tst-tininess): Use $(link-libm).
37191 ($(objpfx)tst-strtod-underflow): Likewise.
37193 2012-10-30 Andreas Jaeger <aj@suse.de>
37196 * elf/Makefile (tests): Remove conditional for have-initfini-array
37197 since this is now always required and the variable does not exist
37199 (tests-static): Likewise.
37200 (modules-names): Likewise.
37202 * po/eo.po: Add Esperanto translation from translation project.
37204 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37205 merged with constructor/destructor.
37206 (init_array): Likewise.
37207 * elf/tst-array2dep.c (fini_array): Likewise.
37208 (init_array): Likewise.
37210 2012-10-29 Mike Frysinger <vapier@gentoo.org>
37212 * manual/message.texi: Delete @cartouche tags.
37214 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37216 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37218 * sysdeps/mach/hurd/fsync.c: Likewise.
37220 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37221 [_POSIX_REALTIME_SIGNALS]: Change condition to
37222 [_POSIX_REALTIME_SIGNALS > 0].
37224 2012-10-27 Andreas Jaeger <aj@suse.de>
37226 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37227 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37228 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37229 [__WORDSIZE != 64]: Likewise.
37231 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37233 * iconvdata/tst-table.sh: Remove ${SHELL}.
37234 * iconvdata/tst-tables.sh: Likewise.
37236 2012-10-25 David S. Miller <davem@davemloft.net>
37238 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37239 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37242 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37244 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37245 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37246 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37249 2012-10-25 Roland McGrath <roland@hack.frob.com>
37251 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37252 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37255 2012-10-25 Joseph Myers <joseph@codesourcery.com>
37256 Jim Blandy <jimb@codesourcery.com>
37258 * scripts/cross-test-ssh.sh: New file.
37259 * manual/install.texi (Configuring and compiling): Document use of
37261 * INSTALL: Regenerated.
37263 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37265 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37268 2012-10-25 Joseph Myers <joseph@codesourcery.com>
37270 * Makeconfig (run-program-prefix): Fix comment.
37272 2012-10-24 Joseph Myers <joseph@codesourcery.com>
37273 Jim Blandy <jimb@codesourcery.com>
37275 * Makeconfig (test-wrapper): New variable,
37276 (test-wrapper-env): Likewise.
37277 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37278 (run-built-tests): Define to yes.
37279 (run-program-prefix): Use $(test-wrapper).
37280 (built-program-cmd): Likewise.
37281 * Rules (make-test-out): Use $(test-wrapper-env) and
37282 $(host-built-program-cmd).
37283 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37284 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37286 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37287 $(test-wrapper-env) to tst-rtld-load-self.sh.
37288 ($(objpfx)order2.out): Use $(test-wrapper).
37289 ($(objpfx)tst-initorder.out): Likewise.
37290 ($(objpfx)tst-initorder2.out): Likewise.
37291 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37292 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37293 (test_wrapper_env): New variable. Use it to run ld.so.
37294 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37295 Use it to run ld.so.
37296 (test_wrapper_env): Likewise.
37297 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37298 $(test-wrapper) to run-iconv-test.sh.
37299 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37300 (ICONV): Use $test_wrapper.
37301 * posix/Makefile ($(objpfx)globtest.out): Pass
37302 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37303 globtest.sh, not $(run-program-prefix).
37304 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37305 (test_wrapper): Likewise.
37306 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37307 set together with run_via_rtld_prefix.
37308 (run_program_prefix): Define in terms of test_wrapper and
37309 run_via_rtld_prefix.
37311 2012-10-24 Roland McGrath <roland@hack.frob.com>
37313 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37314 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37318 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37319 Declare __clock_getres, __clock_gettime, __clock_settime,
37320 __clock_nanosleep, and __clock_getcpuclockid.
37321 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37322 Remove librt_hidden_def (clock_gettime).
37323 * sysdeps/unix/clock_gettime.c: Likewise.
37324 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37325 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37326 * rt/clock_getres.c: Define __clock_getres as an alias.
37327 * sysdeps/posix/clock_getres.c: Likewise.
37328 * rt/clock_settime.c: Define __clock_settime as an alias.
37329 * sysdeps/unix/clock_settime.c: Likewise.
37330 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37331 * sysdeps/unix/clock_nanosleep.c: Likewise.
37332 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37333 * rt/clock-compat.c: New file.
37334 * rt/Makefile (librt-routines): Add clock-compat and move
37335 $(clock-routines) to ...
37336 (routines): ... here, new variable.
37337 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37338 Don't add get_clockfreq here.
37339 * rt/Versions (libc: GLIBC_2.17): New version set.
37340 Add clock_* symbols here.
37341 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37342 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37343 (GLIBC_2.17): Add clock_* symbols.
37344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37346 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37355 * NEWS: Mention the move.
37357 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37358 Use __open, __read, __close rather than their public counterparts.
37359 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37360 (__get_clockfreq_via_cpuinfo): Likewise.
37361 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37362 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37364 * config.h.in (HAVE_IFUNC): New #undef.
37365 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37367 * configure: Regenerated.
37369 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37371 * configure.in: Move READELF check to start of file.
37372 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37373 libc_cv_asm_gnu_indirect_function in the process.
37374 * configure: Regenerated.
37376 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37378 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37379 send the output to /dev/null.
37380 (libc_cv_cc_with_libunwind): Likewise.
37381 (libc_cv_as_noexecstack): Likewise.
37382 * configure: Regenerate.
37384 2012-10-24 Joseph Myers <joseph@codesourcery.com>
37386 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37388 * posix/globtest.sh (TMPDIR): Do not set.
37389 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37390 (testout): Likewise.
37392 2012-10-24 Andreas Jaeger <aj@suse.de>
37394 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37395 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37396 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37397 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37398 posix_fadvise64, posix_fallocate64.
37400 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37401 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37402 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37404 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37406 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37408 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37409 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37410 <bits/fcntl-linux.h>.
37411 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37413 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37414 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37415 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37416 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37417 [__WORDSIZE != 64]: Likewise.
37419 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37421 * Makeconfig (run-built-tests): New variable.
37422 * Rules [$(cross-compiling) = yes]: Change condition to
37423 [$(run-built-tests) = no].
37424 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37425 to [$(run-built-tests) = yes].
37426 * elf/Makefile [$(cross-compiling) = no]: Likewise
37427 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37428 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37429 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37430 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37431 * io/Makefile [$(cross-compiling) = no]: Likewise.
37432 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37433 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37434 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37435 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37436 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37437 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37438 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37439 * string/Makefile [$(cross-compiling) = no]: Likewise.
37441 * posix/Makefile ($(objpfx)globtest.out): Pass
37442 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37443 $(rtld-installed-name).
37444 * posix/globtest.sh (elf_objpfx): Remove variable.
37445 (rtld_installed_name): Likewise.
37446 (library_path): Likewise.
37447 (run_program_prefix): New variable. Use for running globtest
37450 2012-10-23 Jim Blandy <jimb@codesourcery.com>
37451 Joseph Myers <joseph@codesourcery.com>
37453 * Makeconfig (host-built-program-cmd): New variable.
37454 * elf/Makefile (tst-stackguard1-ARGS): Use
37455 $(host-built-program-cmd).
37456 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37457 (tst-spawn-ARGS): Likewise.
37458 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37460 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37461 Jim Blandy <jimb@codesourcery.com>
37463 * Makeconfig (run-via-rtld-prefix): New variable.
37464 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37465 (built-program-cmd): Likewise.
37467 2012-10-22 Andreas Jaeger <aj@suse.de>
37469 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37470 __O_RSYNC if it exists, otherwise to O_SYNC.
37472 2012-10-22 Jim Blandy <jimb@codesourcery.com>
37473 Joseph Myers <joseph@codesourcery.com>
37475 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37477 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37479 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37482 2012-10-22 Andreas Jaeger <aj@suse.de>
37484 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37489 bits/fcntl-linux.h.
37491 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37492 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37494 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37496 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37499 2012-10-21 Jim Blandy <jimb@codesourcery.com>
37500 Joseph Myers <joseph@codesourcery.com>
37502 * config.make.in (NM): New variable.
37504 2012-10-21 Andreas Jaeger <aj@suse.de>
37506 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37507 definitions and declarations that are provided by
37508 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37510 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37513 * elf/Makefile (tests-static): Add tst-leaks1-static.
37514 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37515 ($(objpfx)tst-leaks1-static): New rule.
37516 ($(objpfx)tst-leaks1-static-mem): Likewise.
37517 (tst-leaks1-static-ENV): New macro.
37518 * elf/dl-open.c (dl_open_worker): Check the main application
37519 only if SHARED is defined.
37520 * elf/tst-leaks1-static.c: New file.
37522 2012-10-20 Andreas Jaeger <aj@suse.de>
37524 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37525 generic values for Linux.
37526 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37527 and declarations that are provided by <bits/fcntl-linux.h> and
37528 include <bits/fcntl-linux.h>.
37529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37530 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37532 2012-10-20 Roland McGrath <roland@hack.frob.com>
37534 * io/fcntl.h: Move include of <bits/types.h> to the top and
37535 include it unconditionally.
37537 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37539 * wcsmbs/Makefile (tests-ifunc): New variable.
37540 (tests): Add $(tests-ifunc).
37541 * wcsmbs/test-wcschr-ifunc.c: New file.
37542 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37543 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37544 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37545 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37546 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37548 * string/Makefile (tests-ifunc): New variable.
37549 (tests): Add $(tests-ifunc).
37550 * string/test-memccpy.c (TEST_NAME): New macro.
37551 * string/test-memchr.c (TEST_NAME): Likewise.
37552 * string/test-memcmp.c (TEST_NAME): Likewise.
37553 * string/test-memcpy.c (TEST_NAME): Likewise.
37554 * string/test-memmem.c (TEST_NAME): Likewise.
37555 * string/test-memmove.c (TEST_NAME): Likewise.
37556 * string/test-memset.c (TEST_NAME): Likewise.
37557 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37558 * string/test-stpcpy.c (TEST_NAME): Likewise.
37559 * string/test-stpncpy.c (TEST_NAME): Likewise.
37560 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37561 * string/test-strcasestr.c (TEST_NAME): Likewise.
37562 * string/test-strcat.c (TEST_NAME): Likewise.
37563 * string/test-strchr.c (TEST_NAME): Likewise.
37564 * string/test-strcmp.c(TEST_NAME): Likewise.
37565 * string/test-strcpy.c (TEST_NAME): Likewise.
37566 * string/test-strcspn.c (TEST_NAME): Likewise.
37567 * string/test-strlen.c (TEST_NAME): Likewise.
37568 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37569 * string/test-strncmp.c (TEST_NAME): Likewise.
37570 * string/test-strncpy.c (TEST_NAME): Likewise.
37571 * string/test-strnlen.c (TEST_NAME): Likewise.
37572 * string/test-strpbrk.c (TEST_NAME): Likewise.
37573 * string/test-strrchr.c (TEST_NAME): Likewise.
37574 * string/test-strspn.c (TEST_NAME): Likewise.
37575 * string/test-strstr.c (TEST_NAME): Likewise.
37576 * string/test-bcopy-ifunc.c: New file.
37577 * string/test-bzero-ifunc.c: Likewise.
37578 * string/test-memccpy-ifunc.c: Likewise.
37579 * string/test-memchr-ifunc.c: Likewise.
37580 * string/test-memcmp-ifunc.c: Likewise.
37581 * string/test-memcpy-ifunc.c: Likewise.
37582 * string/test-memmem-ifunc.c: Likewise.
37583 * string/test-memmove-ifunc.c: Likewise.
37584 * string/test-mempcpy-ifunc.c: Likewise.
37585 * string/test-memset-ifunc.c: Likewise.
37586 * string/test-rawmemchr-ifunc.c: Likewise.
37587 * string/test-stpcpy-ifunc.c: Likewise.
37588 * string/test-stpncpy-ifunc.c: Likewise.
37589 * string/test-strcasecmp-ifunc.c: Likewise.
37590 * string/test-strcasestr-ifunc.c: Likewise.
37591 * string/test-strcat-ifunc.c: Likewise.
37592 * string/test-strchr-ifunc.c: Likewise.
37593 * string/test-strchrnul-ifunc.c: Likewise.
37594 * string/test-strcmp-ifunc.c: Likewise.
37595 * string/test-strcpy-ifunc.c: Likewise.
37596 * string/test-strcspn-ifunc.c: Likewise.
37597 * string/test-strlen-ifunc.c: Likewise.
37598 * string/test-strncasecmp-ifunc.c: Likewise.
37599 * string/test-strncat-ifunc.c: Likewise.
37600 * string/test-strncmp-ifunc.c: Likewise.
37601 * string/test-strncpy-ifunc.c: Likewise.
37602 * string/test-strnlen-ifunc.c: Likewise.
37603 * string/test-strpbrk-ifunc.c: Likewise.
37604 * string/test-strrchr-ifunc.c: Likewise.
37605 * string/test-strspn-ifunc.c: Likewise.
37606 * string/test-strstr-ifunc.c: Likewise.
37608 * debug/Makefile (tests-ifunc): New variable.
37609 (tests): Add $(tests-ifunc).
37610 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37611 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37612 * debug/test-stpcpy_chk-ifunc.c: New file.
37613 * debug/test-strcpy_chk-ifunc.c: Likewise.
37615 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37618 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37619 header is not read in.
37621 2012-10-19 Joseph Myers <joseph@codesourcery.com>
37623 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37624 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37625 directly. Pass built executable to script as
37626 $(built-program-cmd).
37627 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37628 $testprogram without using LD_LIBRARY_PATH and $ldso.
37630 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37631 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37632 $(rtld-installed-name).
37633 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37634 (rtld_installed_name): Likewise.
37635 (library_path): Likewise.
37636 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37637 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37638 $(run-program-prefix) to tst-tables.sh.
37639 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37640 it to run tst-table-from and tst-table-to.
37641 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37642 Pass it to tst-table.sh.
37643 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37644 $(run-program-prefix) to tst-gettext.sh.
37645 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37647 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37649 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37650 to run tst-gettext.
37651 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37652 to run tst-gettext2.
37653 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37654 to run tst-translit.
37655 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37656 $(run-program-prefix) to tst-mtrace.sh.
37657 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37659 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37660 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37661 $(rtld-installed-name).
37662 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37663 (rtld_installed_name): Likewise.
37664 (run_program_prefix): New variable. Use it to run wordexp-test.
37666 * Makeconfig (ARCH): Remove all definitions.
37667 (machine): Likewise.
37668 [ARCH]: Remove conditional code.
37669 [!objdir]: Give error.
37670 [!objdir] (objpfx): Remove.
37671 [!objdir] (common-objpfx): Likewise.
37672 [!objdir] (common-objdir): Likewise.
37673 * configure.in (config_makefile): Remove. Hardcode Makefile in
37674 AC_CONFIG_FILES call.
37675 * configure: Regenerated.
37678 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37680 (testout): Likewise.
37682 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37683 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37684 $(rtld-installed-name).
37685 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37686 (rtld_installed_name): Likwise.
37687 (runit): Remove function.
37688 (run_getconf): New variable, Use it for running getconf binary.
37690 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37693 * string/test-memmem.c (check_result): New function.
37694 (do_one_test): Use it.
37695 (check1): New function.
37696 (test_main): Use it.
37698 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37700 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37702 2012-10-18 Joseph Myers <joseph@codesourcery.com>
37704 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37705 (_G_LSEEK64): Likewise.
37706 (_G_MMAP64): Likewise.
37707 (_G_FSTAT64): Likewise.
37708 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37709 (_G_LSEEK64): Likewise.
37710 (_G_MMAP64): Likewise.
37711 (_G_FSTAT64): Likewise.
37712 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37713 unconditional. Call __mmap64 directly.
37714 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37715 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37716 __lseek64 directly.
37717 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37718 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37720 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37721 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37722 __lseek64 directly.
37723 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37724 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37725 __lseek64 directly.
37726 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37727 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37728 __lseek64 directly.
37729 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37730 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37731 __fxstat64 directly.
37732 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37733 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37735 (freopen64) [!_G_OPEN64]: Remove conditional code.
37736 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37738 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37739 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37741 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37742 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37744 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37745 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37747 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37748 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37750 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37751 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37753 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37754 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37756 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37758 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37761 * manual/memory.texi (Malloc Tunable Parameters): Add note
37762 about free list pointers overwriting some perturb bytes.
37763 Wording suggested by Roland McGrath.
37765 2012-10-17 Joseph Myers <joseph@codesourcery.com>
37767 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37768 (lgamma_test): Likewise.
37769 (tgamma_test): Likewise.
37771 2012-10-16 Florian Weimer <fweimer@redhat.com>
37774 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37775 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37777 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37779 * NEWS: Mention BZ #14716.
37780 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37781 when removing AVAILABLE1_USES_J macro.
37783 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37785 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37786 (__bswap_64): __uint64_t for unsigned 64-bit int.
37788 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37790 * include/string.h (memmem): Declare libc hidden alias.
37791 * string/memmem.c (memmem): Define libc hidden alias.
37792 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37793 __read, __close instead of open, read, close.
37795 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37797 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37798 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37800 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37801 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37802 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37804 (__rawmemchr_sse2): Likewise.
37805 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37806 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37807 (__strchr_sse2): Likewise.
37808 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37809 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37810 (__strcasecmp_sse2): Likewise.
37811 (__strncasecmp_sse2): Likewise.
37812 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37813 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37814 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37815 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37816 (__strrchr_sse2): Likewise.
37817 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37819 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37820 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37821 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37822 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37823 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37824 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37825 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37826 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37827 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37828 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37829 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37830 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37831 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37832 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37833 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37834 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37835 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37836 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37837 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37838 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37839 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37840 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37841 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37842 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37843 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37844 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37845 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37846 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37847 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37848 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37850 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37852 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37853 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37854 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37855 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37857 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37859 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37860 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37861 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37862 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37864 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37865 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37866 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37867 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37868 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37869 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37870 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37871 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37872 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37873 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37874 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37875 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37876 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37877 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37878 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37879 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37880 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37881 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37882 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37883 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37884 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37885 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37886 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37887 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37888 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37889 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37890 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37891 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37892 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37893 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37894 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37895 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37896 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37897 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37898 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37899 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37900 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37901 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37902 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37903 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37904 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37906 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37907 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37908 * include/ifunc-impl-list.h: New file.
37909 * misc/ifunc-impl-list.c: Likewise.
37910 * misc/Makefile (routines): Add ifunc-impl-list.
37911 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37912 * string/test-string.h: Include <ifunc-impl-list.h>.
37913 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37914 TEST_NAME]: New variables.
37915 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37917 (test_init): Call __libc_ifunc_impl_list to initialize
37918 func_list if TEST_IFUNC and TEST_NAME are defined.
37920 * string/Makefile (strop-tests): Add bcopy and bzero.
37921 * string/test-bcopy.c: New file.
37922 * string/test-bzero.c: Likewise.
37923 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37925 * string/test-memset.c: Support bzero test if TEST_BZERO is
37927 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37929 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37931 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37934 2012-10-10 Joseph Myers <joseph@codesourcery.com>
37936 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37937 * configure: Regenerated.
37939 * Makeconfig (+link-static-before-libc): Don't include
37940 $(link-static-libc).
37942 * libio/libio.h (_IO_pos_t): Remove.
37944 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37946 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37949 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37951 * crypt/crypt-entry.c: Include fips-private.h.
37952 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37953 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37954 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37955 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37957 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37959 * crypt/crypt-private.h: Include stdbool.h.
37960 (_ufc_setup_salt_r): Return bool.
37961 * crypt/crypt-entry.c: Include errno.h.
37962 (__crypt_r): Return NULL with EINVAL for bad salt.
37963 * crypt/crypt_util.c (bad_for_salt): New.
37964 (_ufc_setup_salt_r): Check that salt is long enough and within
37965 the specified alphabet.
37966 * crypt/badsalttest.c: New file.
37967 * crypt/Makefile (tests): Add it.
37968 ($(objpfx)badsalttest): New.
37970 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37972 * NEWS: Add entry for BZ #14602.
37974 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37976 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37978 * math/libm-test.inc: Update comment listing what functions and
37980 (isgreater_test): New function.
37981 (isgreaterequal_test): Likewise.
37982 (isless_test): Likewise.
37983 (islessequal_test): Likewise.
37984 (islessgreater_test): Likewise.
37985 (isunordered_test): Likewise.
37986 (main): Call the new functions.
37988 2012-10-09 Roland McGrath <roland@hack.frob.com>
37990 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37991 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37992 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37993 * sysdeps/i386/configure: Regenerated.
37994 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37995 * sysdeps/mach/configure: Regenerated.
37996 * sysdeps/mach/hurd/configure: Regenerated.
37997 * sysdeps/powerpc/configure: Regenerated.
37998 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37999 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38000 * sysdeps/s390/s390-32/configure: Regenerated.
38001 * sysdeps/s390/s390-64/configure: Regenerated.
38002 * sysdeps/sh/configure: Regenerated.
38003 * sysdeps/sparc/configure: Regenerated.
38004 * sysdeps/unix/sysv/linux/configure: Regenerated.
38005 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38006 * sysdeps/x86_64/configure: Regenerated.
38008 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38009 defined. Don't check if MAP is NULL.
38011 2012-10-09 Joseph Myers <joseph@codesourcery.com>
38013 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38014 (_G_stat64): Likewise.
38015 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38016 (_G_stat64): Likewise.
38017 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38018 instead of struct _G_stat64.
38019 * libio/fileops.c (mmap_remap_check): Likewise.
38020 (decide_maybe_mmap): Likewise.
38021 (_IO_new_file_seekoff): Likewise.
38022 (_IO_file_stat): Likewise.
38023 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38025 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38026 instead of struct _G_stat64.
38027 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38029 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38032 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38034 (CHECK_EOL): New macro.
38035 (two_way_short_needle): Check beginning of haystack for EOL. Use
38037 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38038 Replace with CHECK_EOL.
38039 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38040 Replace with CHECK_EOL.
38042 2012-10-08 Joseph Myers <joseph@codesourcery.com>
38044 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38046 * math/libm-test.inc: Update comment listing what functions and
38048 (finite_test): New function.
38049 (isinf_test): Likewise.
38050 (isnan_test): Likewise.
38051 (fpclassify_test): Test subnormal input.
38052 (isfinite_test): Likewise.
38053 (isnormal_test): Likewise.
38054 (main): Call the new functions.
38056 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38059 * Makerules (%.dynsym): Force C locale when running
38060 $(OBJDUMP) --dynamic-syms.
38062 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38064 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38067 2012-10-06 David S. Miller <davem@davemloft.net>
38069 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38070 upper 32-bits of the length value in %o2 since we use branch-on-register
38071 tests which consider the entire 64-bit register.
38073 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38075 * string/test-strstr.c (check2): Add a test for page boundary.
38077 2012-10-05 David S. Miller <davem@davemloft.net>
38079 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38080 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38082 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38084 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38085 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38086 and bzero when HWCAP_SPARC_CRYPTO is present.
38088 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38091 * string/test-strstr.c (check2): New function.
38092 (test_main): Call check2.
38094 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38096 * string/bug-strcasestr1.c (do_test): Moved to ...
38097 * string/test-strcasestr.c (check1): Here. New function.
38098 (do_one_test): Break out result checking code into ...
38099 (check_result): This. New function.
38100 (do_one_test): Call check_result.
38101 (test_main): Call check1.
38102 * string/bug-strchr1.c (do_test): Moved to ...
38103 * string/test-strchr.c (check1): Here. New function.
38104 (do_one_test): Break out result checking code into ...
38105 (check_result): This. New function.
38106 (do_one_test): Call check_result.
38107 (test_main): Call check1.
38108 * string/bug-strstr1.c (main): Moved to ...
38109 * string/test-strstr.c (check1): Here. New function.
38110 (do_one_test): Break out result checking code into ...
38111 (check_result): This. New function.
38112 (do_one_test): Call check_result.
38113 (test_main): Call check1.
38114 * string/bug-strcasestr1.c: Removed.
38115 * string/bug-strchr1.c: Likewise.
38116 * string/bug-strstr1.c: Likewise.
38118 * elf/Makefile (dl-routines): Add hwcaps.
38119 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38120 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38121 (_dl_important_hwcaps): Moved to ...
38122 * elf/dl-hwcaps.c: Here. New file.
38123 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38126 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38127 if IS_IN_rtld isn't defined.
38129 * elf/dl-support.c (_dl_sysinfo_map): New.
38130 Include "get-dynamic-info.h" and "setup-vdso.h".
38131 (_dl_non_dynamic_init): Call setup_vdso.
38132 * elf/dynamic-link.h: Don't include <assert.h>.
38133 (elf_get_dynamic_info): Moved to ...
38134 * elf/get-dynamic-info.h: Here. New file.
38135 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38136 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38137 * elf/setup-vdso.h: Here. New file.
38138 * elf/rtld.c: Include "setup-vdso.h".
38139 (dl_main): Call setup_vdso.
38141 2012-10-05 Joseph Myers <joseph@codesourcery.com>
38143 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38144 creal in comment listing functions tested. List finite, isinf,
38145 isnan, isless, islessequal, isgreater, isgreaterequal,
38146 islessgreater, isunordered, lgamma_r and pow10 as functions and
38147 macros not tested. Mention which functions not tested are aliases
38148 for other functions. Fix typo. Note that signs of NaNs are not
38151 * scripts/config.guess: Update from config.git.
38152 * scripts/config.sub: Likewise.
38154 2012-10-04 Roland McGrath <roland@hack.frob.com>
38156 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38157 * misc/madvise.c (madvise): Renamed to __madvise.
38158 Make madvise a weak alias.
38159 * include/sys/mman.h: Declare __madvise.
38160 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38161 * sysdeps/unix/syscalls.list
38162 (madvise): Make __madvise the strong name, and madvise a weak alias.
38163 * sysdeps/unix/sysv/linux/syscalls.list
38164 (madvise, mmap): Remove redundant entries.
38165 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38166 * malloc/malloc.c (mtrim): Likewise.
38167 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38169 2012-10-03 Roland McGrath <roland@hack.frob.com>
38171 * sysdeps/mach/hurd/dl-cache.c: File removed.
38172 * config.h.in (USE_LDCONFIG): New #undef.
38173 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38174 * configure: Regenerated.
38175 * elf/Makefile (dl-routines): Add dl-cache only under
38176 [$(use-ldconfig) = yes].
38177 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38178 cache on [USE_LDCONFIG].
38179 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38181 * elf/rtld.c (dl_main): Likewise.
38183 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38185 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38186 _SC_LEVEL4_CACHE_LINESIZE.
38188 2012-10-03 Roland McGrath <roland@hack.frob.com>
38190 * sysdeps/unix/bsd/confstr.h: File removed.
38192 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
38194 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38197 2012-10-02 Roland McGrath <roland@hack.frob.com>
38199 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38200 Make 'mapoff' field ElfW(Off) rather than off_t.
38202 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38204 * nscd/Makefile: Remove nscd-cflags and all its users.
38205 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38206 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38209 * malloc.c (malloc_printerr): Clarify error message.
38211 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38215 Set bit_FMA_Usable if FMA is supported.
38216 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38218 (bit_FMA4_Usable): Updated.
38219 (index_FMA_Usable): New macro.
38220 (CPUID_FMA): Likewise
38221 (HAS_FMA): Defined with bit_FMA_Usable.
38223 2012-10-01 Roland McGrath <roland@hack.frob.com>
38225 * bits/types.h (__swblk_t): Type removed.
38226 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38227 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38228 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38229 (__SWBLK_T_TYPE): Likewise.
38230 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38231 (__SWBLK_T_TYPE): Likewise.
38232 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38233 (__SWBLK_T_TYPE): Likewise.
38234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38235 (__SWBLK_T_TYPE): Likewise.
38237 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
38238 Honza Horak <hhorak@redhat.com>
38240 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38241 (xdr_mapname): Use YPMAXMAP as maxsize.
38242 (xdr_peername): Use YPMAXPEER as maxsize.
38243 (xdr_keydat): Use YPAXRECORD as maxsize.
38244 (xdr_valdat): Use YPMAXRECORD as maxsize.
38246 2012-10-01 Roland McGrath <roland@hack.frob.com>
38248 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38250 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38251 * csu/init-first.c: ... here.
38252 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38253 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38254 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38255 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38256 * sysdeps/i386/init-first.c: File removed.
38257 * sysdeps/sh/init-first.c: File removed.
38259 2012-10-01 Joseph Myers <joseph@codesourcery.com>
38262 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38263 if x * y might underflow to zero and z is zero.
38264 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38265 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38266 * math/libm-test.inc (min_subnorm_value): New variable.
38267 (fma_test): Add more tests.
38268 (fma_test_towardzero): Likewise.
38269 (fma_test_downward): Likewise
38270 (fma_test_upward): Likewise.
38271 (initialize): Set min_subnorm_value.
38273 2012-09-29 Joseph Myers <joseph@codesourcery.com>
38276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38278 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38279 mode for addition resulting in exact zero.
38280 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38281 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38283 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38284 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38285 * math/libm-test.inc (fma_test): Add more tests.
38286 (fma_test_towardzero): New function.
38287 (fma_test_downward): Likewise.
38288 (fma_test_upward): Likewise.
38289 (main): Call the new functions.
38291 2012-09-28 David S. Miller <davem@davemloft.net>
38293 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38295 2012-09-28 Roland McGrath <roland@hack.frob.com>
38297 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38298 instead of SIGALRM.
38300 * sysdeps/gnu/_G_config.h: Moved to ...
38301 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38302 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38303 * sysdeps/generic/_G_config.h: ... here.
38305 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38307 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38309 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38310 Conditionalize target on [libnss_test1.so-version].
38312 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38314 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38315 (elfobjdir): Move out of conditionals.
38317 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38318 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38319 (__nss_lookup_function): Conditionalize label remove_from_tree on
38320 [!DO_STATIC_NSS || SHARED], matching its only use.
38322 2012-09-28 David S. Miller <davem@davemloft.net>
38324 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38325 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38327 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38329 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38330 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38331 when HWCAP_SPARC_CRYPTO is present.
38333 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38335 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38337 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38340 * stdio-common/vfprintf.c (process_string_arg): Revert
38343 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38345 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38347 * stdio-common/tst-sprintf.c: Include <locale.h>
38348 (main): Test sprintf's handling of incomplete multibyte
38351 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38353 * elf/dl-runtime.c (VERSYMIDX): Removed.
38354 * elf/dl-version.c (VERSYMIDX): Likewise.
38355 * elf/do-rel.h (VERSYMIDX): Likewise.
38356 (VALIDX): Likewise.
38357 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38358 * elf/rtld.c (VALIDX): Likewise.
38359 (ADDRIDX): Likewise.
38360 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38361 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38362 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38363 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38364 (VALIDX): Likewise.
38365 (ADDRIDX): Likewise.
38367 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38369 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38371 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38374 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38376 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38377 addresses are in the same scope as 192.0.2/24.
38378 * posix/gai.conf: Document new scope table defaults.
38380 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38383 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38384 for ftell. Compute offsets from write pointers instead.
38385 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38387 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38390 * libio/Makefile (tests): New test case tst-fseek.
38391 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38392 combination works in wide mode.
38393 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38394 state when the external buffer state changes.
38396 2012-09-27 David S. Miller <davem@davemloft.net>
38399 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38400 pass reloc->r_addend in as the 'high' argument to
38401 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38405 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38407 * rt/tst-aio2.c: Include <pthread.h>.
38408 * rt/tst-aio3.c: Likewise.
38410 2012-09-27 Steve Ellcey <sellcey@mips.com>
38412 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38414 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38416 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38417 contents on [SHARED].
38419 2012-09-26 Marek Polacek <polacek@redhat.com>
38423 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38424 for C++ and GCC <4.3 as well as for non GCC compilers.
38426 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38430 2012-09-25 Roland McGrath <roland@hack.frob.com>
38432 * Makefile.in (all, install): Declare with .PHONY.
38433 Reported by Michael Hope <michael.hope@linaro.org>.
38435 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38437 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38438 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38440 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38442 (sydep_routines): Add the new and the internal functions.
38443 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38444 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38446 (GLIBC_2.17): Add the new function.
38447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38448 (GLIBC_2.17): Likewise.
38449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38450 (GLIBC_2.17): Likewise.
38451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38452 (GLIBC_2.17): Likewise.
38453 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38455 2012-09-25 Alan Modra <amodra@gmail.com>
38457 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38458 Add release barrier before setting once_control to say
38459 initialisation is done. Add hints on lwarx. Use macro in
38461 (clear_once_control): Add release barrier.
38463 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38466 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38468 * math/s_clog10.c (__clog10): Likewise.
38469 * math/s_clog10f.c (__clog10f): Likewise.
38470 * math/s_clog10l.c (__clog10l): Likewise.
38471 * math/s_clogf.c (__clogf): Likewise.
38472 * math/s_clogl.c (__clogl): Likewise.
38473 * math/Makefile (libm-calls): Add x2y2m1.
38474 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38475 (__x2y2m1): Likewise.
38476 (__x2y2m1l): Likewise.
38477 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38478 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38479 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38480 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38481 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38482 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38483 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38484 * sysdeps/i386/fpu/libm-test-ulps: Update.
38485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38488 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38489 int as type of variable DEPTH.
38490 (glob): Use size_t instead of int as type of variables NEWCOUNT
38493 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38495 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38496 Add s_sincosf-sse2.
38497 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38498 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38499 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38500 macros for using routine as __sincosf_ia32.
38501 Use macro for function declaration and weak_alias.
38502 * sysdeps/i386/fpu/libm-test-ulps: Update.
38504 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38507 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38508 subnormal argument.
38509 * math/s_cexpf.c (__cexpf): Likewise.
38510 * math/s_csinf.c (__csinf): Likewise.
38511 * math/s_csinhf.c (__csinhf): Likewise.
38512 * math/s_ctanf.c (__ctanf): Likewise.
38513 * math/s_ctanhf.c (__ctanhf): Likewise.
38514 * math/s_ccosh.c (__ccoshf): Likewise.
38515 * math/s_cexp.c (__cexpl): Likewise.
38516 * math/s_csin.c (__csin): Likewise.
38517 * math/s_csinh.c (__csinh): Likewise.
38518 * math/s_ctan.c (__ctan): Likewise.
38519 * math/s_ctanh.c (ctanh): Likewise.
38520 * math/s_ccoshl.c (__ccoshl): Likewise.
38521 * math/s_cexpl.c (__cexpl): Likewise.
38522 * math/s_csinl.c (__csinl): Likewise.
38523 * math/s_csinhl.c (__csinhl): Likewise.
38524 * math/s_ctanl.c (__ctanl): Likewise.
38525 * math/s_ctanhl.c (__ctanhl): Likewise.
38527 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38529 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38530 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38531 (_IO_off_t): Define to __off_t, not _G_off_t.
38532 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38533 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38534 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38535 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38536 type of __dummy and __dummy2 fields.
38537 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38538 (_G_ssize_t): Likewise.
38539 (_G_off_t): Likewise.
38540 (_G_pid_t): Likewise.
38541 (_G_uid_t): Likewise.
38542 (_G_wchar_t): Likewise.
38543 (_G_wint_t): Likewise.
38544 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38545 (_G_ssize_t): Likewise.
38546 (_G_off_t): Likewise.
38547 (_G_pid_t): Likewise.
38548 (_G_uid_t): Likewise.
38549 (_G_wchar_t): Likewise.
38550 (_G_wint_t): Likewise.
38551 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38552 (_G_ssize_t): Likewise.
38553 (_G_off_t): Likewise.
38554 (_G_pid_t): Likewise.
38555 (_G_uid_t): Likewise.
38556 (_G_wchar_t): Likewise.
38557 (_G_wint_t): Likewise.
38559 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38561 * malloc/arena.c: Include malloc-sysdep.h.
38562 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38563 is sufficient to shrink the heap or an unmap is needed.
38564 * sysdeps/generic/malloc-sysdep.h: New file. Define
38565 new function check_may_shrink_heap.
38566 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38567 new function check_may_shrink_heap.
38569 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38571 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38574 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38576 * catgets/test-gencat.sh: Add "set -e".
38577 * elf/tst-pathopt.sh: Likewise.
38578 * grp/tst_fgetgrent.sh: Likewise.
38579 * iconvdata/run-iconv-test.sh: Likewise.
38580 * intl/tst-gettext.sh: Likewise.
38581 * intl/tst-gettext2.sh: Likewise.
38582 * intl/tst-gettext4.sh: Likewise.
38583 * intl/tst-gettext6.sh: Likewise.
38584 * intl/tst-translit.sh: Likewise.
38585 * io/ftwtest-sh: Likewise.
38586 * libio/test-freopen.sh: Likewise.
38587 * malloc/tst-mtrace.sh: Likewise.
38588 * posix/globtest.sh: Likewise.
38589 * posix/tst-getconf.sh: Likewise.
38590 * posix/wordexp-tst.sh: Likewise.
38591 * stdio-common/tst-printf.sh: Likewise.
38592 * stdio-common/tst-unbputc.sh: Likewise.
38593 * stdlib/tst-fmtmsg.sh: Likewise.
38594 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38595 * catgets/Makefile: Do not specify -e option when running
38596 testsuite shell scripts.
38597 * elf/Makefile: Likewise.
38598 * grp/Makefile: Likewise.
38599 * iconvdata/Makefile: Likewise.
38600 * intl/Makefile: Likewise.
38601 * io/Makefile: Likewise.
38602 * libio/Makefile: Likewise.
38603 * malloc/Makefile: Likewise.
38604 * posix/Makefile: Likewise.
38605 * stdio-common/Makefile: Likewise.
38606 * stdlib/Makefile: Likewise.
38607 * sysdeps/x86_64/Makefile: Likewise.
38609 * io/ftwtest-sh: Add copyright header.
38610 * posix/globtest.sh: Likewise.
38611 * posix/tst-getconf.sh: Likewise.
38612 * posix/wordexp-tst.sh: Likewise.
38613 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38615 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38618 * Makeconfig (+link): Defined as $(+link-static) if
38619 $(build-shared) isn't yes.
38620 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38622 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38624 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38627 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38628 new chunk size with MALLOC_ALIGN_MASK.
38630 2012-09-24 Joseph Myers <joseph@codesourcery.com>
38633 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38635 (__printf_fphex): Determine rounding using get_rounding_mode and
38637 * stdio-common/tst-printf-round.c (struct hex_test): New
38639 (hex_tests): New variable.
38640 (test_hex_in_one_mode): New function.
38641 (do_test): Also run tests for hex float output.
38643 2012-09-21 Joseph Myers <joseph@codesourcery.com>
38645 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38646 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38647 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38648 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38649 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38650 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38651 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38652 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38654 2012-09-20 Joseph Myers <joseph@codesourcery.com>
38656 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38657 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38658 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38659 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38661 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38664 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38666 * elf/tst-rtld-load-self.sh: New test.
38667 * elf/Makefile: Run it.
38669 2012-09-18 Joseph Myers <joseph@codesourcery.com>
38671 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38672 (tst-writev-ENV): Remove.
38673 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38675 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38677 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38679 2012-09-17 Joseph Myers <joseph@codesourcery.com>
38681 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38683 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38685 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38686 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38687 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38690 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38693 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38694 * config.make.in (have-cpp-asm-debuginfo): Removed.
38695 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38696 * configure: Regenerated.
38698 2012-09-14 Joseph Myers <joseph@codesourcery.com>
38701 * stdio-common/printf_fp.c: Include <stdbool.h> and
38703 (___printf_fp): Determine rounding using get_rounding_mode and
38705 * stdio-common/tst-printf-round.c: New file.
38706 * stdio-common/Makefile (tests): Add tst-printf-round.
38707 (link-libm): New variable.
38708 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38710 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38713 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38714 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38716 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38719 2012-09-13 Joseph Myers <joseph@codesourcery.com>
38721 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38722 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38723 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38724 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38726 2012-09-12 Joseph Myers <joseph@codesourcery.com>
38729 * include/rounding-mode.h: New file.
38730 * sysdeps/generic/get-rounding-mode.h: Likewise.
38731 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38732 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38733 (MAX_VALUE): New macro.
38734 (MIN_VALUE): Likewise.
38735 (overflow_value): New function.
38736 (underflow_value): Likewise.
38737 (round_and_return): Use overflow_value and underflow_value to
38738 determine return values in overflow and underflow cases. Use
38739 round_away to determine rounding depending on rounding mode.
38740 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38741 determine return values in overflow and underflow cases.
38742 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38743 (struct test_results): New structure.
38744 (struct test): Use struct test_results to store expected results
38745 for all rounding modes.
38746 (TEST): Include expected results for all rounding modes.
38747 (test_in_one_mode): New function.
38748 (do_test): Use test_in_one_mode to compute and check results.
38749 Check results for all rounding modes.
38750 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38753 2012-12-09 Allan McRae <allan@archlinux.org>
38755 * sysdeps/i386/fpu/libm-test-ulps: Update
38757 2012-09-11 Joseph Myers <joseph@codesourcery.com>
38759 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38760 (_G_int32_t): Likewise.
38761 (_G_uint16_t): Likewise.
38762 (_G_uint32_t): Likewise.
38763 (_G_HAVE_BOOL): Likewise.
38764 (_G_HAVE_ATEXIT): Likewise.
38765 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38766 (_G_HAVE_IO_FILE_OPEN): Likewise.
38767 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38768 (_G_int32_t): Likewise.
38769 (_G_uint16_t): Likewise.
38770 (_G_uint32_t): Likewise.
38771 (_G_HAVE_BOOL): Likewise.
38772 (_G_HAVE_ATEXIT): Likewise.
38773 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38774 (_G_HAVE_IO_FILE_OPEN): Likewise.
38775 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38776 (_G_int32_t): Likewise.
38777 (_G_uint16_t): Likewise.
38778 (_G_uint32_t): Likewise.
38779 (_G_HAVE_BOOL): Likewise.
38780 (_G_HAVE_ATEXIT): Likewise.
38781 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38782 (_G_HAVE_IO_FILE_OPEN): Likewise.
38784 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38786 * csu/libc-tls.c: Update copyright years.
38788 2012-09-10 Joseph Myers <joseph@codesourcery.com>
38790 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38791 [!_G_USING_THUNKS]: Remove conditional code.
38792 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38793 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38795 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38796 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38797 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38798 (_G_VTABLE_LABEL_PREFIX): Likewise.
38799 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38800 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38801 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38802 (_G_VTABLE_LABEL_PREFIX): Likewise.
38803 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38804 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38805 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38806 (_G_VTABLE_LABEL_PREFIX): Likewise.
38807 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38809 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38811 * libio/Makefile: Include ../Makeconfig before tests.
38812 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38813 only if $(build-shared) is yes.
38815 * iconv/gconv_db.c: Update copyright years.
38817 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38819 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38820 unwind info if defined PIC. Fix special cases description.
38821 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38823 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38825 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38827 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38829 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38831 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38834 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38835 (LDLIBS-tst-chk4): This.
38836 (LDFLAGS-tst-chk5): Renamed to ...
38837 (LDLIBS-tst-chk5): This.
38838 (LDFLAGS-tst-chk6): Renamed to ...
38839 (LDLIBS-tst-chk6): This.
38840 (LDFLAGS-tst-lfschk4): Renamed to ...
38841 (LDLIBS-tst-lfschk4): This.
38842 (LDFLAGS-tst-lfschk5): Renamed to ...
38843 (LDLIBS-tst-lfschk5): This.
38844 (LDFLAGS-tst-lfschk6): Renamed to ...
38845 (LDLIBS-tst-lfschk6): This.
38847 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38848 on $(common-objpfx)soversions.mk.
38850 2012-09-07 Joseph Myers <joseph@codesourcery.com>
38853 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38856 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38858 * malloc/arena.c (arena_get_retry): New function that gets
38859 another arena for the caller to try its request on.
38860 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38861 current arena cannot fulfill the request.
38862 (__libc_memalign): Likewise.
38863 (__libc_memalign): Likewise.
38864 (__libc_pvalloc): Likewise.
38865 (__libc_calloc): Likewise.
38867 2012-09-05 John Tobey <john.tobey@gmail.com>
38870 * manual/arith.texi (Operations on Complex): Fix description
38871 of carg branch cut.
38873 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38876 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38880 * manual/memory.texi (Memory): Make order of menu items match
38883 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38885 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38886 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38887 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38889 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38891 * csu/libc-tls.c (static_dtv): Renamed to ...
38892 (_dl_static_dtv): This. Make it global.
38893 (_dl_initial_dtv): Removed.
38894 (__libc_setup_tls): Updated.
38895 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38896 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38899 2012-09-06 Petr Machata <pmachata@redhat.com>
38901 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38902 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38903 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38904 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38906 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38909 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38910 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38913 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38916 * Makeconfig (link-static-before-libc): Replace $(+prector)
38918 (link-static-after-libc): Replace $(+postctor) with
38920 (link-bounded): Replace $(+prector)/$(+postctor) with
38921 $(+prectorT)/$(+postctorT).
38922 (+prectorT): New macro.
38923 (+postctorT): Likewise.
38925 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38927 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38928 (round_str): Handle values above the maximum for IBM long double
38930 * stdlib/tst-strtod-round.c (tests): Regenerated.
38932 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38934 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38936 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38937 zarch_nohighgprs around the zarch optimized routines.
38938 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38939 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38940 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38943 2012-09-05 David S. Miller <davem@davemloft.net>
38945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38947 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38948 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38949 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38950 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38953 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38955 * malloc/arena.c: Fold copyright years.
38956 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38958 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38960 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38962 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38964 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38966 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38968 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38969 change internal state upon failure.
38971 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38973 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38974 * malloc/memusage.c (mmap): Likewise.
38975 (mmap64, mremap): Likewise. Adjust name in comment.
38977 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38979 * libio/fileops.c: Fix typos in comments.
38980 * libio/oldfileops.c: Likewise.
38981 * libio/wfileops.c: Likewise.
38983 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38986 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38987 (tst-malloc-usable-ENV): Set environment for test case.
38988 * malloc/hooks.c (malloc_check_get_size): New function to get
38990 * malloc/malloc.c (musable): Use malloc_check_get_size.
38991 * malloc/tst-malloc-usable.c: New test case.
38993 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38995 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38997 2012-09-05 Allan McRae <allan@archlinux.org>
39000 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39001 determine header location.
39002 * configure: Regenerated.
39004 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39006 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39008 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
39009 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39011 (test): Regenerate.
39013 2012-09-04 David S. Miller <davem@davemloft.net>
39015 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39016 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39017 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39019 2012-09-04 Florian Weimer <fweimer@redhat.com>
39021 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39024 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39026 2012-09-04 Joseph Myers <joseph@codesourcery.com>
39029 * libio/iogetdelim.c: Include <limits.h>.
39030 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39031 + len + 1 would overflow.
39033 2012-09-03 Andreas Jaeger <aj@suse.de>
39035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39036 * sysdeps/i386/fpu/libm-test-ulps: Update.
39038 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39040 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39041 Add s_sinf-sse2, s_conf-sse2.
39043 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39044 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39045 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39046 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39048 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39049 for using routine as __sinf_ia32.
39050 Use macro for function declaration and weak_alias.
39051 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39052 for using routine as __cosf_ia32.
39053 Use macro for function declaration and weak_alias.
39055 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39056 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39058 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39059 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39062 * math/libm-test.inc (cos_test): Add more test cases.
39063 (sin_test): Likewise.
39064 (sincos_test): Likewise.
39066 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39068 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39069 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39071 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39073 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39076 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39077 first element of the GOT.
39078 (elf_machine_load_address): Return the difference between
39079 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39081 2012-09-01 Allan McRae <allan@archlinux.org>
39084 * configure.in (AWK): Require gawk version 3.0 or later.
39085 * configure: Regenerated.
39087 2012-09-01 Joseph Myers <joseph@codesourcery.com>
39089 * sysdeps/unix/sysv/linux/kernel-features.h
39090 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39091 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39092 [__NR_clock_getres]: Make code unconditional.
39093 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39094 (clock_getcpuclockid): Remove code left unreachable by removal of
39096 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39097 code unconditional.
39098 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39099 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39100 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39101 Make code unconditional.
39102 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39103 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39104 * sysdeps/unix/sysv/linux/clock_settime.c
39105 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39107 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39108 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39110 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39113 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39114 scripts/test-installation.pl.
39116 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39117 and $ld_so_version if it is set.
39119 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39122 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39123 failure if reading from procfs failed.
39124 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39126 2012-08-27 Joseph Myers <joseph@codesourcery.com>
39128 * sysdeps/unix/sysv/linux/kernel-features.h
39129 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39130 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39131 Remove conditional code.
39132 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39133 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39134 Remove conditional code.
39135 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39136 * sysdeps/unix/sysv/linux/i386/fxstat.c
39137 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39138 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39139 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39140 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39141 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39142 * sysdeps/unix/sysv/linux/i386/lxstat.c
39143 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39144 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39145 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39146 Remove conditional code.
39147 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39148 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39149 Remove conditional code.
39150 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39151 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39152 <kernel-features.h>.
39153 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39155 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39156 Remove conditional code.
39157 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39158 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39159 Remove conditional.
39161 2012-08-27 Mike Frysinger <vapier@gentoo.org>
39164 * NEWS: Add fixed bug number.
39166 2012-08-27 Joseph Myers <joseph@codesourcery.com>
39169 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39170 underflowing exponent in case of negative sign.
39171 * stdlib/tst-strtod-round-data: Add more tests.
39172 * stdlib/tst-strtod-round.c (tests): Regenerated.
39175 * stdlib/strtod_l.c (NDIG): Remove.
39176 (HEXNDIG): Likewise.
39177 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39178 smallest representable value.
39179 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39180 lie within an exact representation of 1/2 ulp of the result.
39181 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39183 (TENS_P9_IDX): Define unconditionally.
39184 (TENS_P9_SIZE): Likewise.
39185 (TENS_P10_IDX): Likewise.
39186 (TENS_P10_SIZE): Likewise.
39187 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39188 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39189 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39190 entries for 10^2^13 and 10^2^14.
39191 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39192 (TENS_P13_IDX): Define.
39193 (TENS_P13_SIZE): Likewise.
39194 (TENS_P14_IDX): Likewise.
39195 (TENS_P14_SIZE): Likewise.
39196 (_fpioconst_pow10): Change array size to
39197 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39199 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39200 1024]: Add entries for 10^2^13 and 10^2^14.
39201 [LAST_POW10 > _LAST_POW10]: Remove #error.
39202 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39203 (_fpioconst_pow10): Change array size to
39204 FPIOCONST_POW10_ARRAY_SIZE.
39205 * stdlib/gen-fpioconst.c: New file.
39206 * stdlib/gen-tst-strtod-round.c: Likewise.
39207 * stdlib/tst-strtod-round-data: Likewise.
39208 * stdlib/tst-strtod-round.c: Likewise.
39209 * stdlib/Makefile (tests): Add tst-strtod-round.
39212 * stdlib/strtod_l.c: Include <stdint.h>.
39213 (NDEBUG): Do not define.
39214 (round_and_return): Change EXPONENT parameter to type intmax_t.
39215 Rearrange calculations to avoid internal overflow possibilities.
39216 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39217 Rearrange calculations to avoid internal overflow possibilities.
39218 Assert that number fits inside MPNSIZE limbs.
39219 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39220 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39221 calculations and add assertions to avoid internal overflow
39222 possibilities. Add casts to avoid signed/unsigned operations.
39223 * stdlib/tst-strtod-overflow.c: New file.
39224 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39226 2012-08-25 Marek Polacek <polacek@redhat.com>
39228 * time/time.h: Fix some typos in comments.
39230 2012-08-23 Roland McGrath <roland@hack.frob.com>
39232 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39233 * posix/tst-rfc3484-2.c: Likewise.
39234 * posix/tst-rfc3484-3.c: Likewise.
39236 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39238 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39239 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39241 2012-08-23 Joseph Myers <joseph@codesourcery.com>
39243 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39244 #include of fxstatat64.c.
39246 2012-08-22 Roland McGrath <roland@hack.frob.com>
39248 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39249 * shadow/getspent_r.c: Likewise.
39250 * shadow/getspnam.c: Likewise.
39251 * shadow/getspnam_r.c: Likewise.
39252 * gshadow/getsgent.c: Likewise.
39253 * gshadow/getsgent_r.c: Likewise.
39254 * gshadow/getsgnam.c: Likewise.
39255 * gshadow/getsgnam_r.c: Likewise.
39256 * inet/getnetbyad.c: Likewise.
39257 * inet/getnetbyad_r.c: Likewise.
39258 * inet/getnetbynm.c: Likewise.
39259 * inet/getnetbynm_r.c: Likewise.
39260 * inet/getnetent.c: Likewise.
39261 * inet/getnetent_r.c: Likewise.
39262 * inet/getproto.c: Likewise.
39263 * inet/getproto_r.c: Likewise.
39264 * inet/getprtent.c: Likewise.
39265 * inet/getprtent_r.c: Likewise.
39266 * inet/getprtname.c: Likewise.
39267 * inet/getprtname_r.c: Likewise.
39268 * inet/getrpcbyname.c: Likewise.
39269 * inet/getrpcbyname_r.c: Likewise.
39270 * inet/getrpcbynumber.c: Likewise.
39271 * inet/getrpcbynumber_r.c: Likewise.
39272 * inet/getrpcent.c: Likewise.
39273 * inet/getrpcent_r.c: Likewise.
39274 * inet/getaliasent.c: Likewise.
39275 * inet/getaliasent_r.c: Likewise.
39276 * inet/getaliasname.c: Likewise.
39277 * inet/getaliasname_r.c: Likewise.
39278 * nscd/getgrgid_r.c: Likewise.
39279 * nscd/getgrnam_r.c: Likewise.
39280 * nscd/gethstbyad_r.c: Likewise.
39281 * nscd/gethstbynm3_r.c: Likewise.
39282 * nscd/getpwnam_r.c: Likewise.
39283 * nscd/getpwuid_r.c: Likewise.
39284 * nscd/getsrvbynm_r.c: Likewise.
39285 * nscd/getsrvbypt_r.c: Likewise.
39286 * nscd/gai.c: Likewise.
39288 * configure.in (build_nscd): New substituted variable, set
39289 by --disable-build-nscd and defaults to $use_nscd.
39290 * configure: Regenerated.
39291 * config.make.in (build-nscd): New substituted variable.
39292 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39293 Change conditional to require [$(build-nscd) = yes] as well.
39294 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39297 * configure.in (use_nscd): New substituted variable, set by
39298 --disable-nscd. If enabled, define USE_NSCD.
39299 * configure: Regenerated.
39300 * config.h.in: Add USE_NSCD.
39301 * config.make.in (use-nscd): New substituted variable.
39302 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39303 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39304 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39305 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39306 (CFLAGS-getgrnam_r.c): Likewise.
39307 (CFLAGS-initgroups.c): Likewise.
39308 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39309 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39311 * inet/getnetgrent_r.c
39312 (nscd_setnetgrent): New function, broken out of ...
39313 (setnetgrent): ... here. Call it.
39314 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39315 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39316 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39317 * nscd/Makefile (routines, aux): Move definitions after include of
39318 Makeconfig. Conditionalize on [$(use-nscd) != no].
39319 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39320 Conditionalize on [USE_NSCD].
39321 (is_nscd, nscd_init_cb): Likewise.
39322 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39323 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39324 * nss/nss_db/db-init.c: Likewise.
39325 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39327 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39328 (make_request): Use it.
39329 (cache_valid_p): New function.
39330 (__check_pf): Use it.
39331 * NEWS: Add item for --disable-nscd.
39333 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39335 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39336 to support sed >= 4.2.1-20-ga9bf076.
39337 * configure: Regenerated.
39339 2012-08-22 Roland McGrath <roland@hack.frob.com>
39341 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39342 Conditionalize whole body on [IREL].
39344 2012-08-22 Jeff Law <law@redhat.com>
39347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39348 if the family is PF_UNSPEC.
39350 2012-08-22 Mike Frysinger <vapier@gentoo.org>
39352 * Makerules (lib-version): Rename from V.
39353 (install-lib-nosubdir): Change V to lib-version.
39355 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39358 * powerpc32/power6/wcschr.c: New file.
39359 * powerpc32/power6/wcscpy.c: New file.
39360 * powerpc32/power6/wcsrchr.c: New file.
39361 * powerpc64/power6/wcschr.c: New file.
39362 * powerpc64/power6/wcscpy.c: New file.
39363 * powerpc64/power6/wcsrchr.c: New file.
39365 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39367 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39368 (two_way_short_needle): Use it.
39369 * string/strstr.c (AVAILABLE1_USES_J): Define.
39370 * string/strcasestr.c: Likewise.
39372 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39374 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39377 * NEWS: Add an entry.
39378 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39379 define their defaults.
39380 (two_way_short_needle): Detect end-of-string on-the-fly.
39381 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39382 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39383 * string/bug-strcasestr1.c: New test.
39384 * string/Makefile: Run it.
39386 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39389 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39390 the first character.
39392 2012-08-21 Roland McGrath <roland@hack.frob.com>
39394 * csu/elf-init.c (__libc_csu_irel): Function removed.
39395 * csu/libc-start.c (apply_irel): New function.
39396 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39398 2012-08-21 Joseph Myers <joseph@codesourcery.com>
39400 * sysdeps/unix/sysv/linux/kernel-features.h
39401 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39402 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39403 <kernel-features.h>.
39404 [__NR_fadvise64_64]: Make code unconditional.
39405 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39406 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39407 !__NR_fadvise64_64)]: Likewise.
39408 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39409 !__NR_fadvise64_64))]: Likewise.
39410 [__NR_fadvise64]: Make code unconditional.
39411 [!__NR_fadvise64]: Remove conditional code.
39412 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39413 <kernel-features.h>.
39414 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39416 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39419 not include <kernel-features.h>.
39420 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39422 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39424 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39425 include <kernel-features.h>.
39426 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39428 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39431 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39433 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39434 slight instruction rearrangements per scrollpipe analysis.
39435 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39437 2012-08-20 Roland McGrath <roland@hack.frob.com>
39439 * manual/syslog.texi (syslog; vsyslog, closelog):
39440 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39441 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39443 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39444 DSOCAPS to match condition on defining it.
39446 2012-08-20 Joseph Myers <joseph@codesourcery.com>
39448 * sysdeps/unix/sysv/linux/kernel-features.h
39449 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39451 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39452 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39454 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39455 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39457 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39458 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39460 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39461 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39463 * sysdeps/unix/sysv/linux/kernel-features.h
39464 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39465 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39467 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39468 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39469 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39470 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39471 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39472 Make code unconditional.
39473 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39474 (__mmap64) [!__NR_mmap2]: Likewise.
39475 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39476 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39477 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39478 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39479 [__NR_mmap2]: Make code unconditional.
39480 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39481 (__mmap64) [!__NR_mmap2]: Likewise.
39483 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39485 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39487 2012-08-18 Andreas Jaeger <aj@suse.de>
39489 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39491 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39493 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39494 * include/unistd.h (__have_sock_cloexec): Likewise.
39495 (__have_pipe2): Likewise.
39496 (__have_dup3): Likewise.
39498 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39501 * include/unistd.h (__have_pipe2): Change define into an extern int.
39502 (__have_dup3): Likewise.
39503 * socket/have_sock_cloexec.c: Include fcntl.h.
39504 (__have_pipe2): New variable.
39505 (__have_dup3): Likewise.
39507 2012-08-17 Mike Frysinger <vapier@gentoo.org>
39509 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39511 2012-08-17 Marek Polacek <polacek@redhat.com>
39513 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39514 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39516 2012-08-17 Roland McGrath <roland@hack.frob.com>
39518 * configure.in: Add AC_SUBST for sysheaders.
39519 * configure: Regenerated.
39520 * config.make.in (sysheaders): New substituted variable.
39522 * sysdeps/unix/mkfifo.c: Moved ...
39523 * sysdeps/posix/mkfifo.c: ... here.
39524 * sysdeps/unix/mkfifoat.c: Moved ...
39525 * sysdeps/posix/mkfifoat.c: ... here.
39527 * sysdeps/unix/utime.c: Moved ...
39528 * sysdeps/posix/utime.c: ... here.
39530 * sysdeps/unix/time.c: Moved ...
39531 * sysdeps/posix/time.c: ... here.
39532 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39533 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39535 * sysdeps/unix/nice.c: Moved ...
39536 * sysdeps/posix/nice.c: ... here.
39538 * sysdeps/unix/alarm.c: Moved ...
39539 * sysdeps/posix/alarm.c: ... here.
39541 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39543 2012-08-17 Jeff Law <law@redhat.com>
39545 * intl/Makefile (codeset_mo): New variable.
39546 ($(codeset_mo)): New target.
39547 (tst-codeset.out): Depend on that. Remove explicit rule.
39548 (tst-gettext3.out, tst-gettext5.out): Likewise.
39549 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39550 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39551 * intl/tst-codeset.sh: Remove.
39552 * intl/tst-gettext3.sh: Likewise.
39553 * intl/tst-gettext5.sh: Likewise.
39555 2012-08-17 Roland McGrath <roland@hack.frob.com>
39557 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39558 * sysdeps/unix/syscalls.list: ... here.
39560 * sysdeps/posix/getaddrinfo.c
39561 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39562 (gaiconf_init, gaiconf_reload): Use them.
39563 [!_STATBUF_ST_NSEC]
39564 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39565 Define using time_t rather than struct timespec.
39567 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39568 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39570 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39572 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39573 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39576 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39577 __libc_cleanup_push argument.
39579 * bits/param.h: New file.
39580 * misc/sys/param.h: New file.
39581 * include/sys/param.h: New file.
39582 * misc/Makefile (headers): Add bits/param.h.
39583 * sysdeps/generic/sys/param.h: File removed.
39584 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39585 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39586 * sysdeps/mach/hurd/bits/param.h: New file.
39587 * sysdeps/mach/hurd/sys/param.h: File removed.
39589 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39592 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39594 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39595 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39598 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39599 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39600 rather than -D_IO_MTSAFE_IO conditionally.
39601 * stdio-common/Makefile (CPPFLAGS): Likewise.
39602 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39603 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39604 Use $(libio-mtsafe).
39605 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39606 of -D_IO_MTSAFE_IO.
39607 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39608 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39609 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39610 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39611 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39612 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39613 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39614 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39615 (CFLAGS-fread_u_chk.c): Likewise.
39616 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39617 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39618 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39619 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39620 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39621 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39622 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39623 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39624 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39626 * libio/Makefile: Test [$(libc-reentrant) = yes]
39627 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39630 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39631 * sysdeps/pthread/configure: File removed.
39632 * sysdeps/pthread/Makeconfig: New file.
39633 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39634 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39636 2012-08-16 Gary Benson <gbenson@redhat.com>
39638 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39639 unmapping the first object in a namespace.
39641 2012-08-16 Roland McGrath <roland@hack.frob.com>
39643 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39644 (__internal_setnetgrent): ... this. Add internal_function to
39645 definition. Add libc_hidden_def.
39646 (setnetgrent): Update caller.
39647 (internal_endnetgrent): Renamed to ...
39648 (__internal_endnetgrent): ... this. Add internal_function to
39649 definition. Add libc_hidden_def.
39650 (endnetgrent): Update caller.
39651 (internal_getnetgrent_r): Renamed to ...
39652 (__internal_getnetgrent_r): ... this. Add internal_function to
39653 definition. Add libc_hidden_def.
39654 (__getnetgrent_r): Update caller.
39655 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39657 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39659 * stdlib/longlong.h: Update from GCC.
39661 2012-08-16 Roland McGrath <roland@hack.frob.com>
39663 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39664 on _QL, which is set by umul_ppmm but never used.
39665 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39666 variables, which are set by GMP macros but never used.
39667 * stdio-common/_itowa.c (_itowa): Likewise.
39668 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39669 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39671 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39673 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39674 struct La_sh_regs is not constant.
39675 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39676 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39677 and struct La_sparc64_regs are not constant.
39679 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39681 * sysdeps/unix/sysv/linux/kernel-features.h
39682 (__ASSUME_POSIX_TIMERS): Remove.
39683 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39684 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39685 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39686 Make code unconditional.
39687 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39688 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39689 Make code unconditional.
39690 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39691 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39692 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39693 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39694 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39695 Make code unconditional.
39696 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39697 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39698 (__libc_missing_posix_timers): Remove.
39700 2012-08-15 Roland McGrath <roland@hack.frob.com>
39702 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39703 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39705 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39707 * elf/dl-sym.c: Include <stdlib.h>.
39709 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39710 constants, which avoids warnings in 32-bit builds.
39712 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39713 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39715 * misc/lseek.c: File moved to ...
39716 * io/lseek.c: ... here.
39718 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39720 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39721 shifting LEN more than 31 bits at once.
39723 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39726 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39727 segmentation fault for a case of two empty input strings.
39728 * string/test-strncasecmp.c (check1): Renamed to...
39729 (bz12205): ...this.
39730 (bz14195): Add new testcase for two empty input strings and N > 0.
39731 (test_main): Call new testcase, adapt for renamed function.
39733 2012-08-15 Andreas Jaeger <aj@suse.de>
39736 * crypt/md5test2.c: New test, based on test supplied by Serge
39737 Belyshev <belyshev@depni.sinp.msu.ru>.
39738 * crypt/Makefile (xtests): Add md5test-giant..
39739 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39741 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39744 * crypt/md5.c (md5_process_block): Don't assume the buffer
39745 length is less than 2**32.
39746 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39747 length is less than 2**64.
39749 2012-08-15 Roland McGrath <roland@hack.frob.com>
39751 * string/str-two-way.h: Include <sys/param.h>.
39752 (MAX): Macro removed.
39754 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39755 Move #define and #undef of memmove to just before and after
39756 including <string.h>.
39758 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39759 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39760 and after including <string.h>. Move declarations of
39761 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39762 to before #include "string/memmove.c".
39764 * include/dirent.h: Declare __getdirentries.
39766 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39767 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39769 2012-08-14 Mike Frysinger <vapier@gentoo.org>
39771 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39772 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39773 * sysdeps/i386/configure: Regenerated.
39774 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39775 STABS_CURRENT_FILE, and STABS_FUN.
39776 (END): Remove call to STABS_FUN_END.
39777 (STABS_CURRENT_FILE1): Delete.
39778 (STABS_CURRENT_FILE): Likewise.
39779 (STABS_FUN): Likewise.
39780 (STABS_FUN_END): Likewise.
39781 (STABS_FUN2): Likewise.
39782 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39783 * sysdeps/x86_64/configure: Regenerated.
39785 2012-08-14 Roland McGrath <roland@hack.frob.com>
39787 * elf/dl-open.c: Include <atomic.h>.
39788 * elf/dl-lookup.c: Likewise.
39790 2012-08-14 Joseph Myers <joseph@codesourcery.com>
39792 * sysdeps/unix/sysv/linux/kernel-features.h
39793 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39794 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39796 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39798 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39799 condition on __ASSUME_CLONE_THREAD_FLAGS.
39801 2012-08-14 Andreas Jaeger <aj@suse.de>
39803 * sysdeps/i386/fpu/libm-test-ulps: Update.
39805 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39807 * include/atomic.h (atomic_exchange_and_add): Split into ...
39808 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39811 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39813 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39815 2012-08-13 Jeff Law <law@redhat.com>
39817 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39818 null byte in the output string.
39820 2012-08-10 Joseph Myers <joseph@codesourcery.com>
39822 * sysdeps/unix/sysv/linux/kernel-features.h
39823 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39824 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39825 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39826 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39827 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39828 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39829 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39831 2012-08-09 Jeff Law <law@redhat.com>
39834 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39835 When avoid_arena is set, don't retry in the that arena. Pick the
39836 next one, whatever it might be.
39837 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39838 (arena_lock): Pass in new parameter to arena_get2.
39839 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39841 (__libc_malloc): Unify retrying after main arena failure with
39842 __libc_memalign version.
39843 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39845 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39848 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39849 to __redirect_strstr.
39850 (__strstr_sse42): Use typeof __redirect_strstr.
39851 (__strstr_ia32): Likewise.
39852 (__libc_strstr): New prototype.
39853 (strstr): Renamed to ...
39854 (__libc_strstr): This.
39855 (strstr): New strong alias of __libc_strstr.
39856 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39857 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39860 (__libc_time): New prototype.
39861 (time_ifunc): Replace time with __libc_time.
39862 (time): New strong alias and hidden definition of __libc_time.
39863 (__GI_time): Remove strong alias.
39864 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39865 Include <stddef.h>.
39866 (memmove): Redefined to __redirect_memmove.
39867 (__memmove_sse2): Use typeof __redirect_memmove.
39868 (__memmove_ssse3): Likewise.
39869 (__memmove_ssse3_back): Likewise.
39870 (__libc_memmove): New prototype.
39871 (memmove): Renamed to ...
39872 (__libc_memmove): This.
39873 (memmove): New strong alias of __libc_memmove.
39875 2012-08-08 Mark Salter <msalter@redhat.com>
39878 (R_MN10300_TLS_GD): Define.
39879 (R_MN10300_TLS_LD): Likewise.
39880 (R_MN10300_TLS_LDO): Likewise.
39881 (R_MN10300_TLS_GOTIE): Likewise.
39882 (R_MN10300_TLS_IE): Likewise.
39883 (R_MN10300_TLS_LE): Likewise.
39884 (R_MN10300_TLS_DTPMOD): Likewise.
39885 (R_MN10300_TLS_DTPOFF): Likewise.
39886 (R_MN10300_TLS_TPOFF): Likewise.
39887 (R_MN10300_SYM_DIFF): Likewise.
39888 (R_MN10300_ALIGN): Likewise.
39889 (R_MN10300_NUM): Update.
39891 2012-08-08 Joseph Myers <joseph@codesourcery.com>
39893 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39896 2012-08-08 Roland McGrath <roland@hack.frob.com>
39898 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39900 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39901 sysdeps/unix -> sysdeps/posix move.
39902 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39904 2012-08-07 Allan McRae <allan@archlinux.org>
39907 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39908 (SUNOS_CPP): Likewise.
39909 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39911 (open_input): Call CPP using execvp.
39913 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39915 * sysdeps/unix/sysv/linux/kernel-features.h
39916 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39917 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39918 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39919 (__ASSUME_WAITID_SYSCALL): Likewise.
39920 * sysdeps/unix/sysv/linux/dl-execstack.c
39921 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39922 code unconditional.
39923 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39925 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39926 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39927 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39929 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39931 [__ASSUME_WAITID_SYSCALL]: Likewise.
39932 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39934 2012-08-07 Roland McGrath <roland@hack.frob.com>
39936 * sysdeps/unix/closedir.c: Renamed to ...
39937 * sysdeps/posix/closedir.c: ... here.
39938 * sysdeps/unix/dirfd.c: Renamed to ...
39939 * sysdeps/posix/dirfd.c: ... here.
39940 * sysdeps/unix/dirstream.h: Renamed to ...
39941 * sysdeps/posix/dirstream.h: ... here.
39942 * sysdeps/unix/fdopendir.c: Renamed to ...
39943 * sysdeps/posix/fdopendir.c: ... here.
39944 * sysdeps/unix/opendir.c: Renamed to ...
39945 * sysdeps/posix/opendir.c: ... here.
39946 * sysdeps/unix/readdir.c: Renamed to ...
39947 * sysdeps/posix/readdir.c: ... here.
39948 * sysdeps/unix/readdir_r.c: Renamed to ...
39949 * sysdeps/posix/readdir_r.c: ... here.
39950 * sysdeps/unix/rewinddir.c: Renamed to ...
39951 * sysdeps/posix/rewinddir.c: ... here.
39952 * sysdeps/unix/seekdir.c: Renamed to ...
39953 * sysdeps/posix/seekdir.c: ... here.
39954 * sysdeps/unix/telldir.c: Renamed to ...
39955 * sysdeps/posix/telldir.c: ... here.
39956 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39957 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39958 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39959 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39961 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39962 * bits/fcntl.h: ... here.
39964 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39966 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39967 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39968 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39969 (struct flock): Move l_start, l_len to the beginning.
39970 Use __pid_t for l_pid.
39971 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39972 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39973 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39974 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39975 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39976 [__USE_LARGEFILE64] (struct flock64): New type.
39977 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39979 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39980 * bits/dirent.h: ... here.
39982 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39983 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39985 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39987 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39988 Change from 2.6.0 to 2.6.16.
39989 * sysdeps/unix/sysv/linux/configure: Regenerated.
39990 * sysdeps/unix/sysv/linux/kernel-features.h
39991 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39992 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39994 (__ASSUME_UTIMES): Likewise.
39995 (__ASSUME_CLONE_STOPPED): Remove.
39996 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39997 architectures, not kernel version.
39998 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39999 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40000 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40001 (__ASSUME_WAITID_SYSCALL): Likewise.
40002 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40003 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40004 * README: State 2.6.16 as minimum Linux kernel version. Do not
40005 refer to older versions.
40007 2012-08-06 Roland McGrath <roland@hack.frob.com>
40009 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40010 Define alphasort64 as an alias.
40011 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40012 Define versionsort64 as an alias.
40013 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40014 Define scandir64 as an alias.
40015 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40016 Define scandirat64 as an alias.
40017 * dirent/alphasort64.c (alphasort64):
40018 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40019 * dirent/versionsort64.c: Likewise.
40020 * dirent/scandir64.c: Likewise.
40021 * dirent/scandirat64.c: Likewise.
40022 * sysdeps/wordsize-64/alphasort.c: File removed.
40023 * sysdeps/wordsize-64/alphasort64.c: File removed.
40024 * sysdeps/wordsize-64/scandir.c: File removed.
40025 * sysdeps/wordsize-64/scandir64.c: File removed.
40026 * sysdeps/wordsize-64/scandirat.c: File removed.
40027 * sysdeps/wordsize-64/scandirat64.c: File removed.
40028 * sysdeps/wordsize-64/versionsort.c: File removed.
40029 * sysdeps/wordsize-64/versionsort64.c: File removed.
40030 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40031 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40032 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40033 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40034 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40035 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40036 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40037 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40039 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40040 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40041 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40042 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40043 [defined __arch64__ || defined __sparcv9]
40044 (__INO_T_MATCHES_INO64_T): New macro.
40045 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40046 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40047 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40048 * sysdeps/unix/sysv/linux/bits/dirent.h
40049 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40050 (_DIRENT_MATCHES_DIRENT64): New macro.
40052 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40053 Define lockf64 as an alias.
40054 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40055 Define fseeko64 as an alias.
40056 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40057 Define ftello64 as an alias.
40058 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40059 Define _IO_fgetpos64 and fgetpos64 as aliases.
40060 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40061 Define _IO_fsetpos64 and fsetpos64 as aliases.
40062 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40063 Conditionalize body on this.
40064 * libio/fseeko64.c: Likewise.
40065 * libio/ftello64.c: Likewise.
40066 * libio/iofgetpos64.c: Likewise.
40067 * libio/iofsetpos64.c: Likewise.
40068 * sysdeps/wordsize-64/lockf.c: File removed.
40069 * sysdeps/wordsize-64/lockf64.c: File removed.
40070 * sysdeps/wordsize-64/fseeko.c: File removed.
40071 * sysdeps/wordsize-64/fseeko64.c: File removed.
40072 * sysdeps/wordsize-64/ftello.c: File removed.
40073 * sysdeps/wordsize-64/ftello64.c: File removed.
40074 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40075 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40076 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40077 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40078 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40079 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40080 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40081 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40082 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40083 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40084 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40085 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40086 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40087 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40089 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40090 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40091 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40092 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40093 [defined __arch64__ || defined __sparcv9]
40094 (__OFF_T_MATCHES_OFF64_T): New macro.
40095 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40096 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40097 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40098 (__OFF_T_MATCHES_OFF64_T): New macro.
40100 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40102 * stdlib/secure-getenv.c (__secure_getenv): Replace
40103 GLIBC_2_16 with GLIBC_2_17.
40105 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40107 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40108 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40110 2012-08-03 David S. Miller <davem@davemloft.net>
40112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40114 2012-08-03 Joseph Myers <joseph@codesourcery.com>
40116 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40118 (__ASSUME_CORRECT_SI_PID): Likewise.
40119 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40120 (__ASSUME_TMPFS_NAME): Likewise.
40121 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40122 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40123 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40124 (HAVE_AUX_SECURE): Make definition unconditional.
40125 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40126 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40128 2012-08-03 Roland McGrath <roland@hack.frob.com>
40130 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40131 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40132 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40133 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40134 __eloop_threshold instead of SYMLOOP_MAX.
40136 * sysdeps/generic/eloop-threshold.h: New file.
40137 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40139 * elf/chroot_canon.c (chroot_canon): Likewise.
40141 2012-08-03 Joseph Myers <joseph@codesourcery.com>
40144 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40145 Change to 2.6.0 everywhere.
40146 * sysdeps/unix/sysv/linux/configure: Regenerated.
40147 * sysdeps/unix/sysv/linux/kernel-features.h
40148 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40149 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40151 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40152 (__ASSUME_FUTEX_REQUEUE): Remove.
40153 (__ASSUME_STATFS64): Define unconditionally.
40154 (__ASSUME_AT_SECURE): Likewise.
40155 (__ASSUME_CORRECT_SI_PID): Likewise.
40156 (__ASSUME_TGKILL): Define without depending on kernel version for
40158 (__ASSUME_UTIMES): Likewise.
40159 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40161 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40162 (__ASSUME_TMPFS_NAME): Likewise.
40163 * README: Update reference to Linux kernel versions.
40165 2012-08-02 Marek Polacek <polacek@redhat.com>
40168 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40169 libc_cv_asm_type_prefix with %.
40170 * configure: Regenerated.
40171 * include/libc-symbols.h: Remove comment about
40172 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40173 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40174 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40175 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40176 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40177 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40178 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40179 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40180 * elf/tst-unique2mod1.c: Likewise.
40181 * elf/tst-unique1mod2.c: Likewise.
40182 * elf/tst-unique1mod1.c: Likewise.
40183 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40184 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40185 Replace ASM_TYPE_DIRECTIVE with .type.
40186 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40187 * sysdeps/i386/sysdep.h: Likewise.
40188 * sysdeps/x86_64/sysdep.h: Likewise.
40189 * sysdeps/sh/sysdep.h: Likewise.
40190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40191 Do not define ASM_TYPE_DIRECTIVE.
40192 * sysdeps/powerpc/sysdep.h: Likewise.
40193 * sysdeps/powerpc/powerpc32/sysdep.h:
40194 Replace ASM_TYPE_DIRECTIVE with .type.
40195 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40196 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40197 * sysdeps/i386/fpu/e_powf.S: Likewise.
40198 * sysdeps/i386/fpu/e_expl.S: Likewise.
40199 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40200 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40201 * sysdeps/i386/fpu/e_pow.S: Likewise.
40202 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40203 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40204 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40205 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40206 * sysdeps/i386/fpu/e_log2.S: Likewise.
40207 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40208 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40209 * sysdeps/i386/fpu/e_powl.S: Likewise.
40210 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40211 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40212 * sysdeps/i386/fpu/e_logl.S: Likewise.
40213 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40214 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40215 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40216 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40217 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40218 * sysdeps/i386/fpu/e_log.S: Likewise.
40219 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40220 * sysdeps/i386/fpu/e_logf.S: Likewise.
40221 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40222 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40223 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40224 * sysdeps/i386/fpu/e_log10.S: Likewise.
40225 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40226 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40227 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40228 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40229 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40230 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40231 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40232 * sysdeps/i386/i686/strtok.S: Likewise.
40233 * sysdeps/i386/i386-mcount.S: Likewise.
40234 * sysdeps/i386/strtok.S: Likewise.
40235 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40236 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40237 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40238 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40239 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40240 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40241 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40242 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40243 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40244 * sysdeps/x86_64/_mcount.S: Likewise.
40245 * sysdeps/x86_64/strtok.S: Likewise.
40246 * sysdeps/sh/_mcount.S: Likewise.
40248 2012-08-01 Roland McGrath <roland@hack.frob.com>
40250 * libio/iofopen.c: Include <fcntl.h>.
40251 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40252 (_IO_fopen64, fopen64): Define as aliases.
40253 * libio/iofopen64.c: Include <fcntl.h>.
40254 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40255 Conditionalize body on this.
40256 * sysdeps/wordsize-64/iofopen.c: File removed.
40257 * sysdeps/wordsize-64/iofopen64.c: File removed.
40259 2012-08-01 Marek Polacek <polacek@redhat.com>
40261 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40262 Use dlfcn directly instead of a variable.
40263 (binfmt-subdir): Do not define.
40266 2012-08-01 Joseph Myers <joseph@codesourcery.com>
40268 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40269 Remove all definitions.
40270 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40271 <kernel-features.h>.
40272 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40273 (miss_F_GETOWN_EX): Remove all definitions.
40274 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40276 [!__ASSUME_FCNTL64]: Remove conditional code.
40277 [__ASSUME_FCNTL64]: Make code unconditional.
40278 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40279 <kernel-features.h>.
40280 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40281 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40282 (lockf64) [__NR_fcntl64]: Make code unconditional.
40283 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40285 * sysdeps/unix/sysv/linux/kernel-features.h
40286 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40287 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40288 Make code unconditional.
40289 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40290 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40292 [__NR_vfork]: Make code unconditional.
40293 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40294 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40296 [__NR_vfork]: Make code unconditional.
40297 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40298 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40300 2012-08-01 Roland McGrath <roland@hack.frob.com>
40302 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40303 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40305 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40306 Define mkstemp64 as an alias.
40307 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40308 Define mkstemps64 as an alias.
40309 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40310 Define mkostemp64 as an alias.
40311 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40312 Define mkostemps64 as an alias.
40313 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40314 Conditionalize body on this.
40315 * misc/mkostemp64.c: Likewise.
40316 * misc/mkostemps64.c: Likewise.
40317 * misc/mkstemps64.c: Likewise.
40318 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40319 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40320 * sysdeps/wordsize-64/mkostemp.c: File removed.
40321 * sysdeps/wordsize-64/mkstemp.c: File removed.
40322 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40323 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40324 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40325 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40328 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40329 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40330 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40331 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40333 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40334 compat_symbol macros from <shlib-compat.h> rather than the underlying
40335 default_symbol_version and symbol_version macros, so that DEFAULT
40336 lines in shlib-versions are respected.
40337 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40339 2012-08-01 Florian Weimer <fweimer@redhat.com>
40341 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40342 Declare with warn_unused_result.
40343 (setgid, setregid, setegid, setresgid): Likewise.
40344 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40346 * WUR-REPORT: Remove set*id functions.
40348 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40350 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40352 2012-07-31 Roland McGrath <roland@hack.frob.com>
40355 * include/sys/socket.h (__libc_accept, __libc_accept4):
40356 Add attribute_hidden.
40357 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40359 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40361 * inet/getnetgrent_r.c (setup): Likewise.
40363 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40365 2012-07-31 David S. Miller <davem@davemloft.net>
40367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40369 2012-07-31 Joseph Myers <joseph@codesourcery.com>
40372 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40373 value between 1.0 and 2.0 and smaller part has absolute value less
40375 * math/s_clog10.c (__clog10): Likewise.
40376 * math/s_clog10f.c (__clog10f): Likewise.
40377 * math/s_clog10l.c (__clog10l): Likewise.
40378 * math/s_clogf.c (__clogf): Likewise.
40379 * math/s_clogl.c (__clogl): Likewise.
40380 * math/libm-test.inc (clog_test): Add more tests.
40381 (clog10_test): Likewise.
40382 * sysdeps/i386/fpu/libm-test-ulps: Update.
40383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40385 2012-07-31 Florian Weimer <fweimer@redhat.com>
40387 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40388 Exit with zero in case no suitable GID is found, and write a
40389 message to standard error.
40391 2012-07-30 Roland McGrath <roland@hack.frob.com>
40393 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40395 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40396 (MAXPATHLEN): Removed.
40397 (NOGROUP, NODEV): New macros.
40398 (setbit, clrbit, isset, isclr): New macros.
40399 (howmany, roundup, powerof2): New macros.
40400 (DEV_BSIZE): New macro.
40402 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40403 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40405 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40406 definition on [!__NO_LONG_DOUBLE_MATH].
40408 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40409 PTR_MANGLE and PTR_DEMANGLE.
40411 * socket/accept4.c (accept4): Rename to __libc_accept4.
40412 Define accept4 as a weak alias.
40414 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40415 on [_DIRENT_HAVE_D_TYPE].
40416 * io/ftw.c (ftw_dir): Likewise.
40418 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40420 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40422 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40423 Use the BSD numbers rather than the arbitrary ones we had.
40424 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40425 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40426 (SIGXCPU, SIGXFSZ): New macros.
40429 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40430 initializer on [_LIBC_REENTRANT].
40432 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40433 definitions inside [_POSIX_MAPPED_FILES].
40435 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40437 * dirent/opendir.c: Include <fcntl.h>.
40439 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40440 (__libc_getspecific): Likewise.
40441 (__libc_key_create): Likewise.
40443 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40444 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40445 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40446 (tmpfile64): Define as alias.
40447 * sysdeps/wordsize-64/tmpfile.c: File removed.
40448 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40449 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40450 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40452 * stdio-common/vfscanf.c: Include <stdbool.h>.
40453 * nss/makedb.c: Likewise.
40454 * stdio-common/_i18n_number.h: Likewise.
40455 * argp/argp-help.c: Likewise.
40456 * posix/wordexp.c: Likewise.
40457 * sysdeps/posix/spawni.c: Likewise.
40458 * nss/nss_files/files-initgroups.c: Likewise.
40459 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40460 * nss/nss_files/files-initgroups.c: Likewise.
40461 * nss/nss_db/db-netgrp.c: Likewise.
40462 * nss/nss_db/db-initgroups.c: Likewise.
40463 * io/fchmodat.c: Include <sys/stat.h>.
40465 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40466 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40468 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40471 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40472 Add multiple inclusion protection.
40474 2012-07-27 David S. Miller <davem@davemloft.net>
40476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40478 2012-07-27 Gary Benson <gbenson@redhat.com>
40481 * elf/rtld.c: Include <stap-probe.h>.
40482 (dl_main): Added static probes "init_start" and "init_complete".
40483 * elf/dl-load.c: Include <stap-probe.h>.
40484 (lose): Take new parameter "nsid".
40485 Added static probe "map_failed".
40486 (_dl_map_object_from_fd): Pass namespace id to lose.
40487 Added static probe "map_start".
40488 (open_verify): Pass namespace id to lose.
40489 * elf/dl-open.c: Include <stap-probe.h>.
40490 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40491 and "reloc_complete".
40492 * elf/dl-close.c: Include <stap-probe.h>.
40493 (_dl_close_worker): Added static probes "unmap_start" and
40495 * elf/rtld-debugger-interface.txt: New file documenting the above.
40497 2012-07-26 Roland McGrath <roland@hack.frob.com>
40499 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40500 rather than a string variable.
40501 * sunrpc/rpc_main.c (h_output): Likewise.
40502 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40504 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40506 * inet/check_native.c: New file.
40508 2012-07-26 Joseph Myers <joseph@codesourcery.com>
40511 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40512 if larger part has absolute value 1.0.
40513 * math/s_clog10.c (__clog10): Likewise.
40514 * math/s_clog10f.c (__clog10f): Likewise.
40515 * math/s_clog10l.c (__clog10l): Likewise.
40516 * math/s_clogf.c (__clogf): Likewise.
40517 * math/s_clogl.c (__clogl): Likewise.
40518 * math/libm-test.inc (clog_test): Add more tests.
40519 (clog10_test): Likewise.
40520 * sysdeps/i386/fpu/libm-test-ulps: Update.
40521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40523 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40524 (pltexit): Likewise.
40525 (La_regs): Likewise.
40526 (La_retval): Likewise.
40527 (int_retval): Likewise.
40528 Update #error for removed macros to refer only to definitions in
40530 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40532 (pltexit): Likewise.
40533 (La_regs): Likewise.
40534 (La_retval): Likewise.
40535 (int_retval): Likewise.
40536 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40538 (pltexit): Likewise.
40539 (La_regs): Likewise.
40540 (La_retval): Likewise.
40541 (int_retval): Likewise.
40542 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40544 (pltexit): Likewise.
40545 (La_regs): Likewise.
40546 (La_retval): Likewise.
40547 (int_retval): Likewise.
40548 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40550 (pltexit): Likewise.
40551 (La_regs): Likewise.
40552 (La_retval): Likewise.
40553 (int_retval): Likewise.
40554 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40556 (pltexit): Likewise.
40557 (La_regs): Likewise.
40558 (La_retval): Likewise.
40559 (int_retval): Likewise.
40560 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40562 (pltexit): Likewise.
40563 (La_regs): Likewise.
40564 (La_retval): Likewise.
40565 (int_retval): Likewise.
40566 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40567 macro definitions in tst-audit.h.
40568 * sysdeps/i386/tst-audit.h: New file.
40569 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40570 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40571 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40572 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40573 * sysdeps/sh/tst-audit.h: Likewise.
40574 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40575 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40576 * sysdeps/x86_64/tst-audit.h: Likewise.
40578 2012-07-26 Andreas Jaeger <aj@suse.de>
40580 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40583 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40584 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40585 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40587 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40588 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40589 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40591 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40594 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40596 (si_call_addr, si_syscall, si_arch): Define new macro.
40597 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40599 (si_call_addr, si_syscall, si_arch): Define new marcro.
40600 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40602 (si_call_addr, si_syscall, si_arch): Define new macro.
40603 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40605 (si_call_addr, si_syscall, si_arch): Define new macro.
40607 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40610 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40611 Change to 2.4.21 where previously 2.4.1.
40612 * sysdeps/unix/sysv/linux/configure: Regenerated.
40613 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40614 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40615 Linux kernel version.
40616 (__ASSUME_STD_AUXV): Remove.
40617 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40619 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40620 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40621 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40622 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40623 (__ASSUME_NETLINK_SUPPORT): Likewise.
40624 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40625 (__no_netlink_support): Remove conditional definition.
40626 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40628 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40629 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40630 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40631 (if_nameindex_ioctl): Remove.
40632 (if_nameindex_netlink): Do not handle __no_netlink_support.
40633 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40635 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40636 Remove conditional code.
40637 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40639 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40641 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40642 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40643 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40645 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40646 [!__ASSUME_STD_AUXV]: Remove conditional code.
40647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40648 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40649 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40651 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40652 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40654 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40656 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40657 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40659 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40661 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40664 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40667 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40668 code unconditional.
40669 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40671 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40673 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40676 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40678 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40681 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40682 code unconditional.
40683 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40685 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40687 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40690 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40691 code unconditional.
40692 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40694 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40696 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40699 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40701 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40702 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40703 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40704 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40705 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40706 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40707 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40708 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40709 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40710 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40711 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40712 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40713 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40714 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40715 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40716 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40717 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40718 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40719 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40720 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40721 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40722 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40723 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40725 2012-07-25 Florian Weimer <fweimer@redhat.com>
40727 * Versions.def: Add GLIBC_2.17.
40728 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40729 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40730 Introduce __libc_secure_getenv.
40731 * stdlib/Versions (2.17): Add secure_getenv
40732 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40733 * stdlib/secure-getenv.c: Rename __secure_getenv to
40734 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40735 symbol __secure_getenv for GLIBC_2.0.
40736 * stdlib/tst-secure-getenv.c: New.
40737 * stdlib/Makefile (tests): Add testcase.
40738 * manual/startup.texi (Environment Access): Document
40740 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40741 __libc_secure_getenv.
40742 * inet/ruserpass.c (ruserpass): Likewise.
40743 * malloc/mtrace.c (mtrace): Likewise.
40744 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40745 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40746 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40747 * sysdeps/posix/tempname.c: Likewise. Evaluate
40748 HAVE_SECURE_GETENV.
40749 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40750 __secure_getenv to __libc_secure_getenv.
40751 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40758 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40764 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40766 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40767 (struct La_i86_retval): Likewise.
40768 (struct La_x86_64_regs): Likewise.
40769 (struct La_x86_64_retval): Likewise.
40770 (struct La_x32_regs): Likewise.
40771 (struct La_x32_retval): Likewise.
40772 (struct La_ppc32_regs): Likewise.
40773 (struct La_ppc32_retval): Likewise.
40774 (struct La_ppc64_regs): Likewise.
40775 (struct La_ppc64_retval): Likewise.
40776 (struct La_sh_regs): Likewise.
40777 (struct La_sh_retval): Likewise.
40778 (struct La_s390_32_regs): Likewise.
40779 (struct La_s390_32_retval): Likewise.
40780 (struct La_s390_64_regs): Likewise.
40781 (struct La_s390_64_retval): Likewise.
40782 (struct La_sparc32_regs): Likewise.
40783 (struct La_sparc32_retval): Likewise.
40784 (struct La_sparc64_regs): Likewise.
40785 (struct La_sparc64_retval): Likewise.
40786 (struct audit_ifaces): Remove architecture-specific pltenter and
40788 * sysdeps/i386/ldsodefs.h: New file.
40789 * sysdeps/powerpc/ldsodefs.h: Likewise.
40790 * sysdeps/s390/ldsodefs.h: Likewise.
40791 * sysdeps/sh/ldsodefs.h: Likewise.
40792 * sysdeps/sparc/ldsodefs.h: Likewise.
40793 * sysdeps/x86_64/ldsodefs.h: Likewise.
40795 2012-07-25 Marek Polacek <polacek@redhat.com>
40798 * math/libm-test.inc (yn_test): Add another test.
40799 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40800 to ERANGE when the result is +-Inf.
40801 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40802 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40803 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40804 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40806 2012-07-24 Joseph Myers <joseph@codesourcery.com>
40808 * conform/data/time.h-data (NULL): Use macro-constant. Require
40810 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40812 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40814 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40816 * configure.in <sysdeps resolving>: Correct printing
40818 * configure: Regenerate.
40820 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40822 * math/w_ilogb.c: Include <limits.h>.
40823 * math/w_ilogbl.c: Likewise.
40825 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40827 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40828 va_copy. Document allowing for unavailable va_copy only as
40829 pre-C99 compatibility.
40830 * manual/string.texi (Copying and Concatenation): Use va_copy
40831 instead of __va_copy in concat example.
40833 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40835 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40836 (__sendto): Use create_address_port. Initialize APORT and deallocate
40839 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40840 with O_NOLINK passed to __file_name_lookup.
40842 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40843 with O_NOLINK passed to __file_name_lookup.
40845 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40846 negative N or less than NGIDS.
40848 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40849 type to string_t. Set ERANGE as errno and return it if NAME is not big
40850 enough. Use memcpy instead of strncpy.
40852 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40854 * elf/Makefile (check-data): Remove.
40855 (localplt.data): New vpath directive.
40856 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40857 instead of $(check-data).
40858 * scripts/data/localplt-generic.data: Move to ...
40859 * sysdeps/generic/localplt.data: ... here.
40860 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40861 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40862 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40865 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40868 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40871 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40874 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40877 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40881 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40883 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40884 PPC32 and PPC64 files.
40885 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40886 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40888 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40890 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40891 __makecontext_ret to ...
40892 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40893 ... here and call exit if uc_link is NULL. New file.
40894 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40895 __makecontext_ret.S.
40896 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40897 __makecontext_ret to ...
40898 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40899 ... here and call exit if uc_link is NULL. New file.
40900 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40901 __makecontext_ret.S.
40903 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40905 * elf/elf.h (R_390_IRELATIVE): New definition.
40906 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40907 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40908 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40909 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40910 (elf_machine_lazy_rel): Likewise.
40911 * sysdeps/s390/dl-irel.h: New file.
40912 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40913 * sysdeps/s390/s390-64/memset.S: New asm code.
40914 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40915 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40916 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40917 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40918 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40919 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40920 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40921 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40922 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40923 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40924 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40925 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40926 * sysdeps/s390/s390-32/memset.S: New asm code.
40927 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40929 2012-07-17 Marek Polacek <polacek@redhat.com>
40932 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40933 * sysdeps/s390/s390-64/configure.in: Likewise.
40934 * sysdeps/sparc/configure.in: Likewise.
40935 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40936 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40937 * sysdeps/i386/configure.in: Likewise.
40938 * sysdeps/x86_64/configure.in: Likewise.
40939 * sysdeps/sh/configure.in: Likewise.
40940 * sysdeps/s390/s390-32/configure: Regenerated.
40941 * sysdeps/s390/s390-64/configure: Likewise.
40942 * sysdeps/x86_64/configure: Likewise.
40943 * sysdeps/sh/configure: Likewise.
40944 * sysdeps/powerpc/powerpc64/configure: Likewise.
40945 * sysdeps/powerpc/powerpc32/configure: Likewise.
40946 * sysdeps/sparc/configure: Likwise.
40947 * sysdeps/i386/configure: Likewise.
40949 * elf/dl-open.c: Comment fixes.
40951 2012-07-17 Joseph Myers <joseph@codesourcery.com>
40953 * Makefile [CXX] (check-data): Remove.
40954 [CXX] (c++-types.data): New vpath directive.
40955 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40956 vpath. Do not allow for C++ type data being missing.
40957 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40958 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40959 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40960 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40961 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40962 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40963 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40966 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40969 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40972 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40975 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40978 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40981 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40984 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40987 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40988 definitions to architecture-specific files.
40989 (TLS_IE): Likewise.
40990 (TLS_LD): Likewise.
40991 (TLS_GD): Likewise.
40992 * sysdeps/i386/tls-macros.h: New file.
40993 * sysdeps/powerpc/tls-macros.h: Likewise.
40994 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40995 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40996 * sysdeps/sh/tls-macros.h: Likewise.
40997 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40998 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40999 * sysdeps/x86_64/tls-macros.h: Likewise.
41001 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41003 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41004 zero value for regular exit case.
41006 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41007 (__start_context): Preserve zero value for regular exit case.
41009 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41010 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41012 * manual/setjmp.texi (setcontext): Clarify normal process
41013 termination when uc_link is the null pointer.
41014 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41017 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41019 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41020 preprocessor. Test for each exception mask separately.
41022 2012-07-16 Andreas Jaeger <aj@suse.de>
41024 * po/ru.po: Update from translation team.
41026 2012-07-15 Joseph Myers <joseph@codesourcery.com>
41028 * conform/data/string.h-data (NULL): Use macro-constant. Require
41030 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41031 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41032 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41033 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41034 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41036 2012-07-13 Andreas Jaeger <aj@suse.de>
41038 * po/fr.po: Update from translation team.
41040 2012-07-12 Marek Polacek <polacek@redhat.com>
41043 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41044 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41047 2012-07-12 Joseph Myers <joseph@codesourcery.com>
41050 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41051 Change to 2.4.1 where previously 2.4.0.
41052 * sysdeps/unix/sysv/linux/configure: Regenerated.
41053 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41054 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41056 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41057 (__ASSUME_AT_CLKTCK): Remove.
41058 (__ASSUME_AT_PAGESIZE): Likewise.
41059 (__ASSUME_AT_XID): Likewise.
41060 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41061 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41062 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41064 (HAVE_AUX_PAGESIZE): Likewise.
41065 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41066 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41067 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41069 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41073 the temporary buffer used to invoke __gethostbyname2_r,
41074 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41075 host_data / struct gaih_addrtuple.
41076 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41077 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41078 header file nss/nsswitch.h.
41079 * nss/nsswitch.h (global scope): Add definition of implementation
41080 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41081 resolv/nss_dns/dns-host.c).
41083 2012-07-11 Andreas Jaeger <aj@suse.de>
41085 * po/fr.po: Update from translation team.
41087 * po/sv.po: Update from translation team
41088 * po/fr.po: Another update from translation team.
41090 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41092 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41093 for subnormals or multiply small sinh result by itself.
41094 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41097 2012-07-11 David S. Miller <davem@davemloft.net>
41099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41101 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41104 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41105 (INTERNAL_MARK): Shift it here.
41107 2012-07-10 Marek Polacek <polacek@redhat.com>
41110 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41111 libc_cv_asm_global_directive with .globl.
41112 * configure: Regenerated.
41113 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41115 * sysdeps/i386/configure: Regenerated.
41116 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41118 * sysdeps/x86_64/configure: Regenerated.
41119 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41120 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41121 * elf/tst-unique2mod2.c: Likewise.
41122 * elf/tst-unique2mod1.c: Likewise.
41123 * elf/tst-unique1mod2.c: Likewise.
41124 * elf/tst-unique1mod1.c: Likewise.
41125 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41126 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41127 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41128 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41129 * sysdeps/mach/sysdep.h: Likewise.
41130 * sysdeps/i386/sysdep.h: Likewise.
41131 * sysdeps/i386/i386-mcount.S: Likewise.
41132 * sysdeps/x86_64/_mcount.S: Likewise.
41133 * sysdeps/x86_64/sysdep.h: Likewise.
41134 * sysdeps/sh/_mcount.S: Likewise.
41135 * sysdeps/sh/sysdep.h: Likewise.
41136 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41137 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41138 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41139 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41140 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41141 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41142 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41143 * locale/localeinfo.h: Likewise.
41144 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41145 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41147 2012-07-09 Roland McGrath <roland@hack.frob.com>
41150 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41152 * manual/message.texi (The Uniforum approach): Likewise.
41153 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41154 (glibc iconv Implementation): Likewise.
41156 2012-07-09 Joseph Myers <joseph@codesourcery.com>
41159 * math/s_clog.c (__clog): Avoid scaling a value down where that
41160 could result in underflow.
41161 * math/s_clog10.c (__clog10): Likewise.
41162 * math/s_clog10f.c (__clog10f): Likewise.
41163 * math/s_clog10l.c (__clog10l): Likewise.
41164 * math/s_clogf.c (__clogf): Likewise.
41165 * math/s_clogl.c (__clogl): Likewise.
41166 * math/libm-test.inc (clog_test): Add more tests.
41167 (clog10_test): Likewise.
41168 * sysdeps/i386/fpu/libm-test-ulps: Update.
41169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41171 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41174 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41175 by 7 not 8 to examine high bit of fractional part.
41178 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41179 for call to __mcount_internal.
41180 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41181 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41182 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41184 2012-07-06 Joseph Myers <joseph@codesourcery.com>
41187 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41188 approximation for values within 0x1p-13f of an odd multiple of
41190 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41191 exception. Add more tests.
41192 * sysdeps/i386/fpu/libm-test-ulps: Update.
41195 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41196 inputs and return -1 for them. Do not check for +Inf in case not
41197 reachable for +Inf.
41198 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41199 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41200 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41201 and return -1 for them. Do not check for +Inf in case not
41202 reachable for +Inf.
41203 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41205 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41206 and return -1 for them. Do not check for +Inf in case not
41207 reachable for +Inf.
41208 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41209 spurious underflow.
41210 * sysdeps/i386/fpu/libm-test-ulps: Update.
41211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41213 2012-07-06 Mike Frysinger <vapier@gentoo.org>
41215 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41217 2012-07-05 Joseph Myers <joseph@codesourcery.com>
41221 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41222 could result in spurious underflow. Scale down values above
41223 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41224 * math/s_csqrtf.c (__csqrtf): Likewise.
41225 * math/s_csqrtl.c (__csqrtl): Likewise.
41226 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41227 spurious underflow.
41228 * sysdeps/i386/fpu/libm-test-ulps: Update.
41229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41231 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41233 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41235 * catgets/xopen-msg.awk: New file.
41236 * catgets/xopen-msg.sed: Removed.
41238 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41240 * intl/po2test.awk: New file.
41241 * intl/po2test.sed: Removed.
41243 2012-07-04 Joseph Myers <joseph@codesourcery.com>
41246 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41247 or multiply small sinh result by itself.
41248 * math/s_ctanf.c (__ctanf): Likewise.
41249 * math/s_ctanh.c (__ctanh): Likewise.
41250 * math/s_ctanhf.c (__ctanhf): Likewise.
41251 * math/s_ctanhl.c (__ctanhl): Likewise.
41252 * math/s_ctanl.c (__ctanl): Likewise.
41253 * math/libm-test.inc (ctan_test_tonearest): New function.
41254 (ctan_test_towardzero): Likewise.
41255 (ctan_test_downward): Likewise.
41256 (ctan_test_upward): Likewise.
41257 (ctanh_test_tonearest): Likewise.
41258 (ctanh_test_towardzero): Likewise.
41259 (ctanh_test_downward): Likewise.
41260 (ctanh_test_upward): Likewise.
41261 (main): Call these new functions.
41262 * sysdeps/i386/fpu/libm-test-ulps: Update.
41263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41265 2012-07-03 Mike Frysinger <vapier@gentoo.org>
41267 * .gitignore: Delete /ports entry.
41269 2012-07-03 Andreas Jaeger <aj@suse.de>
41271 * po/bg.po: Update from translation team.
41272 * po/cs.po: Likewise.
41273 * po/de.po: Likewise.
41274 * po/hr.po: Likewise.
41275 * po/nl.pl: Likewise.
41276 * po/pl.po: Likewise.
41277 * po/vi.po: Likewise.
41279 2012-07-03 Joseph Myers <joseph@codesourcery.com>
41281 * Makeconfig [!+link] (+link-before-libc): New variable.
41282 [!+link] (+link-after-libc): Likewise.
41283 [!+link] (+link-tests): Likewise.
41284 [!+link] (+link): Define in terms of $(+link-before-libc) and
41285 $(+link-after-libc).
41286 [!+link-static] (+link-static-before-libc): New variable.
41287 [!+link-static] (+link-static-after-libc): Likewise.
41288 [!+link-static] (+link-static-tests): Likewise.
41289 [!+link-static] (+link-static): Define in terms of
41290 $(+link-static-before-libc) and $(+link-static-after-libc).
41291 [build-shared] (link-libc-before-gnulib): New variable.
41292 [build-shared] (link-libc-tests): Likewise.
41293 [build-shared] (link-libc): Define in terms of
41294 $(link-libc-before-gnulib).
41295 [!build-shared] (link-libc-tests): New variable.
41296 (link-libc-static-tests): New variable.
41297 [!gnulib] (gnulib-arch): New variable.
41298 [!gnulib] (gnulib-tests): Likewise.
41299 [!gnulib] (static-gnulib-arch): Likewise.
41300 [!gnulib] (static-gnulib-tests): Likewise.
41301 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41302 Define with "=" instead of ":=".
41303 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41304 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41305 * Rules (binaries-all-notests): New variable.
41306 (binaries-all-tests): Likewise.
41307 (binaries-static-notests): Likewise.
41308 (binaries-static-tests): Likewise.
41309 (binaries-all): Define using $(binaries-all-notests) and
41310 $(binaries-all-tests).
41311 (binaries-static): Define using $(binaries-static-notests) and
41312 $(binaries-static-tests).
41313 (binaries-shared-tests): New variable.
41314 (binaries-shared-notests): Likewise.
41315 (binaries-shared): Remove variable.
41316 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41317 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41318 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41319 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41320 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41321 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41322 * elf/Makefile (sln-modules): New variable.
41323 (extra-objs): Add $(sln-modules:=.o).
41324 (ldconfig-modules): Add static-stubs.
41325 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41326 * elf/static-stubs.c: New file.
41329 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41330 by 7 not 8 to examine high bit of fractional part. Use volatile
41331 variables when splitting into final array of floats if
41332 __FLT_EVAL_METHOD__ != 0.
41333 * math/libm-test.inc (cos_test): Add another test.
41334 (sin_test): Likewise.
41335 * sysdeps/i386/fpu/libm-test-ulps: Update.
41338 * math/libm-test.inc (cosh_test): Add more tests.
41340 * version.h (RELEASE): Set to "development".
41341 (VERSION): Set to "2.16.90".
41343 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41345 * NEWS: Update copyright. Remove last-updated date.
41346 Mention math library bug fixes and timezone data changes.
41347 * README: Mention GNU/Hurd, x32, and HPPA support status.
41349 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41351 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41353 2012-06-27 Andreas Jaeger <aj@suse.de>
41355 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41357 2012-06-25 Andreas Jaeger <aj@suse.de>
41359 * sysdeps/s390/fpu/libm-test-ulps: Update.
41361 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41362 Thomas Schwinge <thomas@codesourcery.com>
41364 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41365 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41366 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41369 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41371 * sysdeps/mach/start.c: Remove file.
41372 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41373 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41374 * sysdeps/sh/init-first.c: Likewise.
41376 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41377 registers for frame unwinding purposes, add CFI directives.
41378 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41379 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41380 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41383 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41384 __fortify_fail returning.
41385 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41387 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41388 sysdeps/sh/____longjmp_chk.S.
41389 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41390 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41391 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41392 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41394 * sysdeps/sh/abort-instr.h: New file.
41395 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41396 process in case exit returns.
41398 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41399 initialize the GOT register before use.
41401 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41402 calculation of ARGC > 4.
41404 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41405 meaningful names to some local labels.
41407 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41408 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41410 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41411 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41412 (__arch_compare_and_exchange_val_16_acq): Likewise.
41413 (__arch_compare_and_exchange_val_32_acq): Likewise.
41414 (atomic_exchange_and_add): Fix gUSA sequence.
41415 (atomic_add): Likewise.
41416 (atomic_add_negative): Likewise.
41417 (atomic_add_zero): Likewise.
41418 (atomic_bit_test_set): Likewise.
41420 2012-06-22 Andreas Schwab <schwab@redhat.com>
41423 * include/link.h (struct link_map): Add l_free_initfini.
41424 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41426 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41427 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41428 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41431 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41433 * configure.in: Use AC_LANG_SOURCE.
41434 * configure: Regenerate.
41436 2012-06-22 Roland McGrath <roland@hack.frob.com>
41438 * configure.in (libc_cv_localstatedir): New substituted variable.
41439 * configure: Regenerated.
41440 * config.make.in (localstatedir): New variable, substituted from
41441 libc_cv_localstatedir.
41442 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41443 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41444 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41445 * sysdeps/gnu/configure: Regenerated.
41447 2012-06-21 Jeff Law <law@redhat.com>
41450 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41451 free. Simplify list management for _LIBC case.
41453 2012-06-21 Joseph Myers <joseph@codesourcery.com>
41456 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41457 Clear sign bit of 64-bit integer value before comparing against
41460 * sysdeps/mach/configure: Regenerated.
41462 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41465 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41467 2012-06-21 Jeff Law <law@redhat.com>
41470 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41471 uint16_t for elements in the "seen" array to avoid char overflows.
41472 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41473 * elf/dl-open.c (dl_open_worker): Likewise.
41475 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41477 * scripts/list-sources.sh: Scan PORTS for translations.
41478 * po/libc.pot: Regenerated.
41480 2012-06-21 Andreas Jaeger <aj@suse.de>
41483 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41485 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41486 * bits/byteswap-16.h (__bswap_16): Likewise.
41487 * bits/byteswap.h (__bswap_constant_16): Likewise.
41489 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41492 * sysdeps/i386/fpu_control.h: Removed.
41493 * sysdeps/x86_64/fpu_control.h: Moved to ...
41494 * sysdeps/x86/fpu_control.h: Here.
41496 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41497 (_FPU_SETCW): Likewise.
41499 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41502 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41503 * sysdeps/x86/fpu/bits/mathinline.h: This.
41504 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41508 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41509 functions if __x86_64__ is defined.
41511 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41513 * string/endian.h: Add !__ASSEMBLER__ condition for including
41514 conversion interfaces.
41516 2012-06-15 Joseph Myers <joseph@codesourcery.com>
41519 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41520 of ABS(x) in calculating zero to negative powers other than odd
41522 * math/libm-test.inc (pow_test): Add more tests.
41524 2012-06-15 Andreas Jaeger <aj@suse.de>
41526 * manual/contrib.texi (Contributors): Update entry of Liubov
41527 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41530 2012-06-15 Cyril Hrubis <metan@ucw.cz>
41532 * string/string.h: Add __wur to GNU version of strerror_r.
41534 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41537 * string/Makefile (tests): Add tst-strtok_r.
41538 * string/tst-strtok_r.c: New file.
41539 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41540 RAX_LP/RDX_LP on SAVE_PTR.
41542 2012-06-14 Roland McGrath <roland@hack.frob.com>
41544 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41546 2012-06-14 Joseph Myers <joseph@codesourcery.com>
41548 * libm_test.inc (csqrt_test): Allow more spurious underflow
41550 (j0_test): Likewise.
41551 (j1_test): Likewise.
41552 (y0_test): Likewise.
41553 (y1_test): Likewise.
41555 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41557 * po/Makefile (libc.pot): Use UTF-8 charset.
41559 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41562 Suppress sign-conversion warning from FD_SET.
41563 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41564 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41565 not unsigned long int.
41566 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41568 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41572 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41573 __extern_always_inline instead of __extern_inline.
41574 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41575 (__signbit): Likewise.
41576 (__signbitl): Support C++ namespace.
41577 (lrintf): New inline function.
41579 (llrintf): Likewise.
41580 (llrint): Likewise.
41590 (floorf): Likewise.
41591 (nearbyint): Likewise.
41592 (nearbyintf): Likewise.
41594 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41596 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41597 non-default versions.
41599 2012-06-11 Roland McGrath <roland@hack.frob.com>
41602 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41604 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41606 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41607 (FE_UPWARD, FE_DOWNWARD): Don't define.
41608 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41609 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41611 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41613 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41614 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41616 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41618 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41619 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41620 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41621 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41623 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41626 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41627 * sysdeps/i386/fpu/Implies: New file.
41628 * sysdeps/x86_64/fpu/Implies: Likewise.
41629 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41630 * sysdeps/x86/fpu/bits/fenv.h: This.
41632 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41635 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41638 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41639 character 0xffff that matches the last element of the
41642 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41644 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41647 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41649 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41650 values higher than 25.6283.
41652 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41654 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41655 subnormal exponent extraction and add some __builtin_expect.
41656 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41657 Fix for subnormal mantissa calculation.
41659 2012-06-04 Mike Frysinger <vapier@gentoo.org>
41661 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41662 cpu2 is -1 and errno is not ENOSYS.
41664 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41667 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41668 * sysdeps/x86/bits/string.h: This.
41669 * sysdeps/x86_64/bits/string.h: Removed.
41671 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41672 if not compiling for x86-64, but compiling for >= i486.
41674 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41675 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41677 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41678 New macro from Linux kernel 3.4.0.
41679 (FP_XSTATE_MAGIC2): Likewise.
41680 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41681 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41682 (struct _fpx_sw_bytes): New struct.
41683 (struct _xsave_hdr): Likewise.
41684 (struct _ymmh_state): Likewise.
41685 (struct _xstate): Likewise.
41687 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41688 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41689 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41690 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41691 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41692 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41694 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41695 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41696 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41697 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41698 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41699 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41701 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41704 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41705 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41706 (sysdep_headers): Include sys/platform/ppc.h.
41707 * sysdeps/powerpc/test-gettimebase.c: Test for
41708 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41709 * manual/Makefile (appendices): Include platform.texi.
41710 * manual/contrib.texi (Contributors): Update @node pointers.
41711 * manual/maint.texi (Maintenance): Likewise.
41712 (Platform): New node.
41713 * manual/platform.texi: New file. Document the new features.
41715 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41716 Jakub Jelinek <jakub@redhat.com>
41719 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41720 where __builtin_expect is unavailable.
41722 2012-06-03 David S. Miller <davem@davemloft.net>
41724 * stdlib/longlong.h: Updated from GCC.
41726 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41729 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41730 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41733 (GLIBC_2.16): Likewise.
41735 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41737 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41739 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41742 (default-abi): New variable.
41743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41744 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41746 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41748 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41750 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41753 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41754 definition. Document in comment.
41756 2012-06-01 David S. Miller <davem@davemloft.net>
41758 * stdlib/longlong.h: Updated from GCC.
41760 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41763 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41764 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41765 sys/debugreg.h sys/io.h here.
41766 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41767 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41769 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41770 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41771 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41772 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41773 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41774 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41776 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41777 Define only if __x86_64__ is defined.
41779 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41782 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41783 Use int64_t for variable i.
41784 * math/libm-test.inc (fmod_test): Add more tests.
41786 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41787 z computation is not scheduled after fetestexcept.
41788 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41789 Use math_force_eval instead of asm to ensure calculation scheduled
41790 before exception test.
41791 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41792 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41794 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41797 computation is not scheduled after fetestexcept.
41799 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41802 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41803 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41805 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41807 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41808 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41810 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41813 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41815 (__WCHAR_MIN): Support __WORDSIZE == 64.
41816 (__WCHAR_MAX): Likewise.
41818 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41819 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41822 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41823 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41826 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41827 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41829 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41830 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41832 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41833 Defined to 1 if __x86_64__ isn't defined.
41834 (_STAT_VER_LINUX_OLD): New.
41835 (st_atime): Remove duplicate.
41836 (st_mtime): Likewise.
41837 (st_ctime): Likewise.
41839 2012-05-31 David S. Miller <davem@davemloft.net>
41841 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41844 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41846 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41850 * elf/dl-reloc.c: Include <_itoa.h>.
41851 (_dl_reloc_bad_type): Remove use of INTUSE.
41852 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41853 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41854 * stdio-common/psiginfo.c (psiginfo): Likewise.
41855 * stdio-common/psignal.c (psignal): Likewise.
41856 * string/strsignal.c (strsignal): Likewise.
41857 * include/signal.h (_sys_siglist): Declare hidden proto.
41858 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41859 INTVARDEF with libc_hidden_data_def.
41860 * stdio-common/itoa-udigits.c: Likewise.
41861 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41862 (_itoa_lower_digits_internal): Remove declaration.
41863 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41864 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41865 (_sys_sigabbrev_internal): Remove aliases.
41866 (_sys_siglist): Define hidden alias.
41868 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41873 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41876 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41877 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41879 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41880 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41881 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41882 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41883 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41884 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41886 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41887 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41888 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41890 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41898 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41899 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41900 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41902 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41903 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41904 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41905 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41906 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41907 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41909 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41910 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41912 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41913 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41915 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41916 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41917 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41919 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41920 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41922 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41924 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41925 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41926 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41928 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41930 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41932 2012-05-31 Joseph Myers <joseph@codesourcery.com>
41934 * math/math.h (M_El): Use two more decimal places.
41935 (M_LOG2El): Likewise.
41936 (M_LOG10El): Likewise.
41937 (M_LN2l): Likewise.
41938 (M_LN10l): Likewise.
41940 (M_PI_2l): Likewise.
41941 (M_PI_4l): Likewise.
41942 (M_1_PIl): Likewise.
41943 (M_2_PIl): Likewise.
41944 (M_2_SQRTPIl): Likewise.
41945 (M_SQRT2l): Likewise.
41946 (M_SQRT1_2l): Likewise.
41948 2012-05-31 David S. Miller <davem@davemloft.net>
41950 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41951 values between float registers.
41952 * sysdeps/sparc/sparc64/memset.S: Likewise.
41953 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41955 2012-05-31 Mike Frysinger <vapier@gentoo.org>
41957 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41958 -D_FORTIFY_SOURCE=1.
41959 (CPPFLAGS-tst-longjmp_chk.c): Define.
41960 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41961 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41962 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41963 CFLAGS-tst-wchar-h.c.
41965 2012-05-31 Marek Polacek <polacek@redhat.com>
41968 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41969 __endmntent_internal): Remove declaration.
41970 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41971 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41972 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41974 2012-05-30 David S. Miller <davem@davemloft.net>
41976 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41977 (___Q_simulate_exceptions): Use real FP ops rather than writing
41979 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41982 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41985 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41986 * sysdeps/x86/bits/xtitypes.h: This.
41988 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41989 * sysdeps/x86/bits/wordsize.h: This.
41991 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41992 * sysdeps/x86/bits/huge_vall.h: This.
41994 * sysdeps/i386/bits/select.h: Removed.
41995 * sysdeps/x86_64/bits/select.h: Renamed to ...
41996 * sysdeps/x86/bits/select.h: This.
41998 * sysdeps/i386/bits/setjmp.h: Removed.
41999 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42000 * sysdeps/x86/bits/setjmp.h: This.
42002 * sysdeps/i386/bits/mathdef.h: Removed.
42003 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42004 * sysdeps/x86/bits/mathdef.h: This.
42006 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42009 * include/sys/socket.h (__connect_internal)
42010 (__libc_sa_len_internal): Remove declaration.
42011 (__connect, __libc_sa_len): Declare hidden_proto.
42012 (SA_LEN): Remove use of INTUSE.
42013 * socket/connect.c: Add libc_hidden_def.
42014 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42015 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42016 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42018 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42019 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42020 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42021 of adding _internal alias.
42023 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42026 * sysdeps/i386/bits/link.h: Removed.
42027 * sysdeps/i386/bits/linkmap.h: Likewise.
42028 * sysdeps/x86_64/bits/link.h: Renamed to ...
42029 * sysdeps/x86/bits/link.h: This.
42030 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42031 * sysdeps/x86/bits/linkmap.h: This.
42033 * sysdeps/i386/bits/endian.h: Removed.
42034 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42035 * sysdeps/x86/bits/endian.h: This.
42037 * sysdeps/i386/bits/byteswap.h: Removed.
42038 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42039 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42040 * sysdeps/x86/bits/byteswap.h: This.
42041 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42042 * sysdeps/x86/bits/byteswap-16.h: This.
42043 * sysdeps/i386/Implies: Add x86.
42044 * sysdeps/x86_64/Implies: Likewise.
42046 2012-05-30 David S. Miller <davem@davemloft.net>
42048 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42049 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42050 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42051 (FP_TRAPPING_EXCEPTIONS): Define.
42052 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42053 (FP_TRAPPING_EXCEPTIONS): Define.
42054 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42055 subnormals only when inexact has been signalled or underflow
42056 exceptions are enabled.
42057 (_FP_PACK_CANONICAL): Likewise.
42059 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42062 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42063 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42065 2012-05-30 Richard Henderson <rth@twiddle.net>
42067 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42068 with #ifndef NOT_IN_libc.
42070 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42071 marked to avoid plt entry.
42073 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42076 * Makeconfig (default-abi): New macro.
42077 (abi-includes): Likewise.
42078 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42079 $(abi-$(default-abi)-lib-soname) for soname if defined.
42080 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42082 * Makefile (installed-stubs): Likewise.
42083 * include/stubs-biarch.h: Removed.
42084 * scripts/lib-names.awk: Only handle one library at a time.
42085 * scripts/soversions.awk: Remove WORDSIZE support.
42086 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42088 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42090 (syscall-list-default-condition): Likewise.
42091 (syscall-list-default-condition): Likewise.
42092 (syscall-list-includes): Likewise.
42093 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42094 syscall-list-* with abi-*. Handle undefined abi-variants.
42095 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42096 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42097 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42098 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42099 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42100 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42102 (syscall-list-32-options): Likewise.
42103 (syscall-list-32-condition): Likewise.
42104 (syscall-list-64-options): Likewise.
42105 (syscall-list-64-condition): Likewise.
42106 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42108 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42111 (abi-64-ld-soname): New macro.
42112 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42113 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42116 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42117 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42119 2012-05-30 Joseph Myers <joseph@codesourcery.com>
42121 * sysdeps/unix/sysv/linux/kernel-features.h
42122 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42123 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42124 include <kernel-features.h>.
42125 [!__NR_ftruncate64]: Remove conditional code.
42126 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42127 [__NR_ftruncate64]: Make code unconditional.
42128 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42129 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42130 include <kernel-features.h>.
42131 [!__NR_ftruncate64]: Remove conditional code.
42132 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42133 [__NR_ftruncate64]: Make code unconditional.
42134 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42136 include <kernel-features.h>.
42137 [!__NR_ftruncate64]: Remove conditional code.
42138 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42139 [__NR_ftruncate64]: Make code unconditional.
42140 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42142 include <kernel-features.h>.
42143 [!__NR_ftruncate64]: Remove conditional code.
42144 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42145 [__NR_ftruncate64]: Make code unconditional.
42146 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42148 * configure.in (libc_cv_fpie): Weaken to a compile test using
42149 LIBC_TRY_CC_OPTION.
42150 * configure: Regenerated.
42152 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42167 2012-05-27 David S. Miller <davem@davemloft.net>
42169 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42171 (__Q_simulate_exceptions): Return void. Change to simulate
42172 exceptions by writing into the %fsr.
42173 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42174 (__Qp_handle_exceptions): Likewise.
42176 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42177 __Qp_handle_exceptions.
42178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42179 __Qp_handle_exceptions.
42180 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42181 as unused and give dummy FP_RND_NEAREST initializer.
42182 (FP_INHIBIT_RESULTS): Define.
42183 (___Q_simulate_exceptions): Update declaration.
42184 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42186 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42187 as unused and give dummy FP_RND_NEAREST initializer.
42188 (__Qp_handle_exceptions): Update declaration.
42189 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42192 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42194 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42195 the temporary FPU control word.
42196 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42197 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42198 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42199 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42200 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42201 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42202 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42203 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42204 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42205 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42206 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42208 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42210 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42213 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42215 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42216 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42217 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42218 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42220 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42221 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42224 2012-05-27 Ulrich Drepper <drepper@gmail.com>
42226 * po/h.po: Update from translation team.
42228 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42230 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42232 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42233 handling of denormals.
42234 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42235 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42236 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42237 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42238 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42239 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42240 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42243 2012-05-26 Marek Polacek <polacek@redhat.com>
42246 * math/libm-test.inc (fma_test): Don't always expect underflow
42249 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42252 * elf/tst-execstack.c: Include stackinfo.h.
42253 (do_test): Adjust test case to ensure that pthread_getattr_np
42254 behaviour remains the same after marking stack executable.
42256 2012-05-25 Joseph Myers <joseph@codesourcery.com>
42258 * sysdeps/unix/sysv/linux/kernel-features.h
42259 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42260 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42262 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42263 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42264 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42266 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42267 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42269 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42271 * configure.in: Define the default includes to being none.
42272 * configure: Regenerated.
42274 2012-05-25 Roland McGrath <roland@hack.frob.com>
42276 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42277 * sysdeps/x86_64/setjmp.S: Likewise.
42278 * sysdeps/i386/bsd-setjmp.S: Likewise.
42279 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42280 * sysdeps/i386/setjmp.S: Likewise.
42281 * sysdeps/i386/__longjmp.S: Likewise.
42282 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42283 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42285 * include/stap-probe.h: New file.
42286 * configure.in: Handle --enable-systemtap.
42287 * configure: Regenerated.
42288 * config.h.in (USE_STAP_PROBE): New #undef.
42289 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42290 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42291 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42293 2012-05-25 Joseph Myers <joseph@codesourcery.com>
42296 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42297 to 2.4.0 where earlier.
42298 * sysdeps/unix/sysv/linux/configure: Regenerated.
42299 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42300 <kernel-features.h>.
42301 [__ASSUME_32BITUIDS]: Make code unconditional.
42302 [!__ASSUME_32BITUIDS]: Remove conditional code.
42303 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42304 <kernel-features.h>.
42305 [__ASSUME_32BITUIDS]: Make code unconditional.
42306 [!__ASSUME_32BITUIDS]: Remove conditional code.
42307 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42308 [__ASSUME_32BITUIDS]: Make code unconditional.
42309 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42310 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42311 <kernel-features.h>.
42312 [__ASSUME_32BITUIDS]: Make code unconditional.
42313 [!__ASSUME_32BITUIDS]: Remove conditional code.
42314 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42315 <kernel-features.h>.
42316 [__ASSUME_32BITUIDS]: Make code unconditional.
42317 [!__ASSUME_32BITUIDS]: Remove conditional code.
42318 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42319 <kernel-features.h>.
42320 [__ASSUME_32BITUIDS]: Make code unconditional.
42321 [!__ASSUME_32BITUIDS]: Remove conditional code.
42322 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42323 <kernel-features.h>.
42324 [__ASSUME_32BITUIDS]: Make code unconditional.
42325 [!__ASSUME_32BITUIDS]: Remove conditional code.
42326 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42327 <kernel-features.h>.
42328 [__ASSUME_32BITUIDS]: Make code unconditional.
42329 [!__ASSUME_32BITUIDS]: Remove conditional code.
42330 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42331 <kernel-features.h>.
42332 [__ASSUME_32BITUIDS]: Make code unconditional.
42333 [!__ASSUME_32BITUIDS]: Remove conditional code.
42334 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42335 <kernel-features.h>.
42336 [__ASSUME_32BITUIDS]: Make code unconditional.
42337 [!__ASSUME_32BITUIDS]: Remove conditional code.
42338 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42339 <kernel-features.h>.
42340 [__ASSUME_32BITUIDS]: Make code unconditional.
42341 [!__ASSUME_32BITUIDS]: Remove conditional code.
42342 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42343 <kernel-features.h>.
42344 [__ASSUME_32BITUIDS]: Make code unconditional.
42345 [!__ASSUME_32BITUIDS]: Remove conditional code.
42346 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42347 <kernel-features.h>.
42348 [__ASSUME_32BITUIDS]: Make code unconditional.
42349 [!__ASSUME_32BITUIDS]: Remove conditional code.
42350 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42351 <kernel-features.h>.
42352 [__NR_setresgid] (__setresgid): Do not declare.
42353 [__ASSUME_32BITUIDS]: Make code unconditional.
42354 [!__ASSUME_32BITUIDS]: Remove conditional code.
42355 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42356 <kernel-features.h>.
42357 [__NR_setresuid] (__setresuid): Do not declare.
42358 [__ASSUME_32BITUIDS]: Make code unconditional.
42359 [!__ASSUME_32BITUIDS]: Remove conditional code.
42360 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42361 <kernel-features.h>.
42362 [__ASSUME_32BITUIDS]: Make code unconditional.
42363 [!__ASSUME_32BITUIDS]: Remove conditional code.
42364 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42365 <kernel-features.h>.
42366 [__ASSUME_32BITUIDS]: Make code unconditional.
42367 [!__ASSUME_32BITUIDS]: Remove conditional code.
42368 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42369 <kernel-features.h>.
42370 [__ASSUME_32BITUIDS]: Make code unconditional.
42371 [!__ASSUME_32BITUIDS]: Remove conditional code.
42372 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42373 <kernel-features.h>.
42374 [__ASSUME_32BITUIDS]: Make code unconditional.
42375 [!__ASSUME_32BITUIDS]: Remove conditional code.
42376 * sysdeps/unix/sysv/linux/i386/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
42401 (__ASSUME_SETRESUID_SYSCALL): Remove.
42402 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42403 (__ASSUME_32BITUIDS): Likewise.
42404 (__ASSUME_LDT_WORKS): Likewise.
42405 (__ASSUME_O_DIRECTORY): Likewise.
42406 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42407 architecture but not kernel version.
42408 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42409 (__ASSUME_MMAP2_SYSCALL): Likewise.
42410 (__ASSUME_STAT64_SYSCALL): Likewise.
42411 (__ASSUME_IPC64): Likewise.
42412 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42413 <kernel-features.h>.
42414 [__ASSUME_32BITUIDS]: Make code unconditional.
42415 [!__ASSUME_32BITUIDS]: Remove conditional code.
42416 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42417 <kernel-features.h>.
42418 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42419 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42420 132096]: Remove conditional code.
42421 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42422 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42423 <kernel-features.h>.
42424 [__ASSUME_32BITUIDS]: Make code unconditional.
42425 [!__ASSUME_32BITUIDS]: Remove conditional code.
42426 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
42431 <kernel-features.h>.
42432 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42434 (__setresgid): Do not declare.
42435 [__ASSUME_32BITUIDS]: Make code unconditional.
42436 [!__ASSUME_32BITUIDS]: Remove conditional code.
42437 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42438 <kernel-features.h>.
42439 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42441 (__setresuid): Do not declare.
42442 [__ASSUME_32BITUIDS]: Make code unconditional.
42443 [!__ASSUME_32BITUIDS]: Remove conditional code.
42444 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42445 <kernel-features.h>.
42446 [__ASSUME_32BITUIDS]: Make code unconditional.
42447 [!__ASSUME_32BITUIDS]: Remove conditional code.
42448 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42449 <kernel-features.h>.
42450 [__ASSUME_32BITUIDS]: Make code unconditional.
42451 [!__ASSUME_32BITUIDS]: Remove conditional code.
42453 2012-05-25 Richard Henderson <rth@twiddle.net>
42455 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42456 dl_hwcap to ifunc resolver.
42457 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42459 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42460 dl_hwcap to ifunc resolver.
42461 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42463 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42466 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42467 for |x| <= 2**-26, not 2**-57.
42468 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42471 2012-05-24 Jeff Law <law@redhat.com>
42473 * stdio-common/Makefile (tests): Add bug25.
42474 * stdio-common/bug25.c: New test.
42476 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42479 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42480 multiple of MALLOC_ALIGNMENT in size.
42481 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42483 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42485 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42487 (FILENAME_MAX): Use macro-int-constant.
42488 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42489 (_IOFBF): Use macro-int-constant.
42490 (_IOLBF): Likewise.
42491 (_IONBF): Likewise.
42492 (SEEK_CUR): Likewise.
42493 (SEEK_END): Likewise.
42494 (SEEK_SET): Likewise.
42495 (TMP_MAX): Likewise.
42496 (EOF): Use macro-int-constant. Require < 0.
42497 (NULL): Use macro-constant. Require == 0.
42498 (stdin): Require type to be FILE *.
42499 (stdout): Likewise.
42500 (stderr): Likewise.
42501 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42502 macro-int-constant.
42503 (EXIT_SUCCESS): Likewise.
42504 (NULL): Use macro-constant. Require == 0.
42505 (RAND_MAX): Use macro-int-constant.
42506 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42507 [C99-based standards] (strtof): Require function.
42508 [C99-based standards] (strtold): Likewise.
42509 [C99-based standards] (strtoll): Likewise.
42510 [C99-based standards] (strtoull): Likewise.
42511 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42512 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42513 [ISO || ISO99 || ISO11] (math.h): Likewise.
42514 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42515 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42516 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42518 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42521 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42522 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42523 * intl/dgettext.c (DCGETTEXT): Likewise.
42524 * intl/gettext.c (DCGETTEXT): Likewise.
42525 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42526 * posix/regex_internal.h (gettext): Likewise.
42527 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42528 Remove declaration.
42529 * include/argz.h (__argz_count_internal)
42530 (__argz_stringify_internal): Remove declaration.
42531 (__argz_count, __argz_stringify): Declare hidden proto.
42532 * intl/dcgettext.c: Remove use of INTDEF.
42533 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42534 * string/argz-stringify.c: Likewise.
42535 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42536 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42537 Declare hidden proto.
42538 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42539 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42540 Declare hidden proto.
42541 * include/stdio.h (__asprintf_internal): Don't declare.
42542 (__asprintf): Don't define as macro. Declare hidden proto.
42543 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42544 (__fsetlocking): Declare hidden proto.
42545 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42546 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42548 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42549 (_IO_setlinebuf): Remove use of INTUSE.
42550 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42551 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42552 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42553 Remove declaration.
42554 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42555 (_IO_do_flush): Remove use of INTUSE.
42556 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42557 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42558 (_IO_adjust_column, _IO_least_wmarker)
42559 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42560 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42561 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42562 (_IO_default_doallocate, _IO_wdefault_doallocate)
42563 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42564 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42565 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42566 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42567 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42568 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42569 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42570 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42571 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42572 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42573 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42574 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42575 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42577 (_IO_flush_all_internal, _IO_adjust_column_internal)
42578 (_IO_default_uflow_internal, _IO_default_finish_internal)
42579 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42580 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42581 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42582 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42583 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42584 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42585 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42586 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42587 (_IO_file_close_internal, _IO_file_close_it_internal)
42588 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42589 (_IO_file_init_internal, _IO_file_attach_internal)
42590 (_IO_file_fopen_internal, _IO_file_read_internal)
42591 (_IO_file_sync_internal, _IO_file_seek_internal)
42592 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42593 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42594 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42595 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42596 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42597 (_IO_list_all_internal, _IO_link_in_internal)
42598 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42599 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42600 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42601 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42602 (_IO_do_write_internal, _IO_padn_internal)
42603 (_IO_getline_info_internal, _IO_getline_internal)
42604 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42605 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42606 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42607 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42608 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42609 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42610 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42611 with libc_hidden_ver, remove use of INTUSE.
42612 * libio/genops.c: Likewise.
42613 * libio/freopen.c: Likewise.
42614 * libio/freopen64.c: Likewise.
42615 * libio/iofclose.c: Likewise.
42616 * libio/iofdopen.c: Likewise.
42617 * libio/iofflush.c: Likewise.
42618 * libio/iofflush_u.c: Likewise.
42619 * libio/iofgets.c: Likewise.
42620 * libio/iofgets_u.c: Likewise.
42621 * libio/iofopen.c: Likewise.
42622 * libio/iofopncook.c: Likewise.
42623 * libio/iofread.c: Likewise.
42624 * libio/iofread_u.c: Likewise.
42625 * libio/ioftell.c: Likewise.
42626 * libio/iofwrite.c: Likewise.
42627 * libio/iogetline.c: Likewise.
42628 * libio/iogets.c: Likewise.
42629 * libio/iogetwline.c: Likewise.
42630 * libio/iopadn.c: Likewise.
42631 * libio/iopopen.c: Likewise.
42632 * libio/ioseekoff.c: Likewise.
42633 * libio/ioseekpos.c: Likewise.
42634 * libio/iosetbuffer.c: Likewise.
42635 * libio/iosetvbuf.c: Likewise.
42636 * libio/ioungetc.c: Likewise.
42637 * libio/ioungetwc.c: Likewise.
42638 * libio/iovdprintf.c: Likewise.
42639 * libio/iovsprintf.c: Likewise.
42640 * libio/iovsscanf.c: Likewise.
42641 * libio/memstream.c: Likewise.
42642 * libio/obprintf.c: Likewise.
42643 * libio/oldfileops.c: Likewise.
42644 * libio/oldiofclose.c: Likewise.
42645 * libio/oldiofdopen.c: Likewise.
42646 * libio/oldiofopen.c: Likewise.
42647 * libio/oldiopopen.c: Likewise.
42648 * libio/oldstdfiles.c: Likewise.
42649 * libio/putc.c: Likewise.
42650 * libio/setbuf.c: Likewise.
42651 * libio/setlinebuf.c: Likewise.
42652 * libio/stdfiles.c: Likewise.
42653 * libio/strops.c: Likewise.
42654 * libio/vasprintf.c: Likewise.
42655 * libio/vscanf.c: Likewise.
42656 * libio/vsnprintf.c: Likewise.
42657 * libio/vswprintf.c: Likewise.
42658 * libio/wfiledoalloc.c: Likewise.
42659 * libio/wfileops.c: Likewise.
42660 * libio/wgenops.c: Likewise.
42661 * libio/wmemstream.c: Likewise.
42662 * libio/wstrops.c: Likewise.
42663 * libio/__fpurge.c: Likewise.
42664 * libio/__fsetlocking.c: Likewise.
42665 * assert/assert.c: Likewise.
42666 * debug/fgets_chk.c: Likewise.
42667 * debug/fgets_u_chk.c: Likewise.
42668 * debug/fread_chk.c: Likewise.
42669 * debug/fread_u_chk.c: Likewise.
42670 * debug/gets_chk.c: Likewise.
42671 * debug/obprintf_chk.c: Likewise.
42672 * debug/vasprintf_chk.c: Likewise.
42673 * debug/vdprintf_chk.c: Likewise.
42674 * debug/vsnprintf_chk.c: Likewise.
42675 * debug/vsprintf_chk.c: Likewise.
42676 * malloc/mtrace.c: Likewise.
42677 * misc/error.c: Likewise.
42678 * misc/syslog.c: Likewise.
42679 * stdio-common/asprintf.c: Likewise.
42680 * stdio-common/fxprintf.c: Likewise.
42681 * stdio-common/getw.c: Likewise.
42682 * stdio-common/isoc99_fscanf.c: Likewise.
42683 * stdio-common/isoc99_scanf.c: Likewise.
42684 * stdio-common/isoc99_vfscanf.c: Likewise.
42685 * stdio-common/isoc99_vscanf.c: Likewise.
42686 * stdio-common/isoc99_vsscanf.c: Likewise.
42687 * stdio-common/printf-prs.c: Likewise.
42688 * stdio-common/printf_fp.c: Likewise.
42689 * stdio-common/printf_fphex.c: Likewise.
42690 * stdio-common/printf_size.c: Likewise.
42691 * stdio-common/putw.c: Likewise.
42692 * stdio-common/scanf.c: Likewise.
42693 * stdio-common/sprintf.c: Likewise.
42694 * stdio-common/tmpfile.c: Likewise.
42695 * stdio-common/vfprintf.c: Likewise.
42696 * stdio-common/vfscanf.c: Likewise.
42697 * stdlib/strfmon_l.c: Likewise.
42698 * sunrpc/openchild.c: Likewise.
42699 * sunrpc/xdr_stdio.c: Likewise.
42700 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42701 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42703 2012-05-24 Roland McGrath <roland@hack.frob.com>
42705 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42707 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42708 in the third column, to generate for the shared library an IFUNC
42709 that uses _dl_vdso_vsym.
42710 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42711 * Makeconfig (object-suffixes-noshared): New variable.
42713 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42714 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42715 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42716 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42719 * include/sys/time.h (__gettimeofday): Remove macro.
42720 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42721 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42723 (__gettimeofday): Add libc_hidden_def.
42724 (gettimeofday): Add libc_hidden_weak.
42725 * sysdeps/mach/gettimeofday.c: Likewise.
42726 * sysdeps/posix/gettimeofday.c: Likewise.
42727 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42728 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42729 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42730 (__gettimeofday_internal): Remove strong_alias.
42731 (__gettimeofday): Add libc_hidden_def.
42732 (gettimeofday): Add libc_hidden_weak.
42733 * sysdeps/unix/syscalls.list (gettimeofday):
42734 Remove __gettimeofday_internal alias.
42736 2012-05-24 Daniel Jacobowitz <drow@false.org>
42737 H.J. Lu <hongjiu.lu@intel.com>
42740 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42741 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42742 (largebin_index_32_big): New.
42743 (largebin_index): Use it for 16-byte alignment.
42744 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42745 correction with front_misalign.
42747 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42775 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42776 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42778 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42782 * math/libm-test.inc (exp_test): Add test from bug 14036.
42783 (pow_test): Add test from bug 10846.
42785 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42787 (special_function): Do not include flags in test name.
42788 (parse_args): Likewise.
42789 * sysdeps/i386/fpu/libm-test-ulps: Update.
42790 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42791 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42792 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42795 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42797 * math/libm-test.inc ("Philosophy"): Update comment about
42799 (UNDERFLOW_EXCEPTION): New macro.
42800 (UNDERFLOW_EXCEPTION_OK): Likewise.
42801 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42802 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42803 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42804 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42805 (INVALID_EXCEPTION_OK): Update value.
42806 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42807 (OVERFLOW_EXCEPTION_OK): Likewise.
42808 (IGNORE_ZERO_INF_SIGN): Likewise.
42809 (test_exceptions): Handle underflow exceptions.
42810 (acos_test): Update for underflow exception expectations.
42811 (cexp_test): Likewise.
42812 (clog_test): Likewise.
42813 (clog10_test): Likewise.
42814 (csqrt_test): Likewise.
42815 (ctan_test): Likewise.
42816 (ctanh_test): Likewise.
42817 (exp_test): Likewise.
42818 (exp10_test): Likewise.
42819 (exp2_test): Likewise.
42820 (expm1_test): Likewise.
42821 (fma_test): Likewise.
42822 (j0_test): Likewise.
42823 (jn_test): Likewise.
42824 (nexttoward_test): Likewise.
42825 (pow_test): Likewise.
42826 (scalbn_test): Likewise.
42827 (scalbln_test): Likewise.
42828 (tan_test): Likewise.
42829 (y1_test): Likewise.
42830 * sysdeps/i386/fpu/libm-test-ulps: Update.
42831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42833 2012-05-23 David S. Miller <davem@davemloft.net>
42835 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42836 (__libc_sigaction): Remove unused local variables.
42838 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42840 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42842 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42844 mktime: avoid signed integer overflow
42845 * time/mktime.c (__mktime_internal): Do not mishandle the case
42846 where diff == INT_MIN.
42848 mktime: simplify computation of average
42849 * time/mktime.c (ranged_convert): Use new time_t_avg function
42850 instead of rolling our own (probably-slower) code.
42852 mktime: do not assume signed right shift propagates sign bit
42853 * time/mktime.c (isdst_differ): New static function.
42854 (__mktime_internal): No need to normalize tm_isdst now.
42855 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42858 mktime: merge another wrapv change from gnulib
42859 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42860 from some compilers.
42862 mktime: remove incorrect attempt at unusual arithmetics
42863 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42864 The code didn't really work on such machines anyway.
42865 (TYPE_MINIMUM): Assume two's complement.
42866 (twos_complement_arithmetic): Verify that long_int and time_t
42867 are two's complement (or unsigned, in the latter case).
42869 mktime: check signed shifts on long_int and time_t, too
42870 * time/mktime.c (SHR): Check that shifts work as desired
42871 on the types long_int and time_t too, as SHR is used on
42874 mktime: do not assume 'long' is wide enough
42875 * time/mktime.c (verify): Move decl up.
42876 (long_int): New type.
42877 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42878 to remove assumption in the code that 'long' is wide enough to
42879 store year values. This assumption is not true on x32 and on
42880 some non-glibc platforms.
42882 mktime: merge wrapv change from gnulib
42883 * time/mktime.c (WRAPV): New macro.
42884 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42885 (guess_time_tm, __mktime_internal): Do not assume that signed
42886 integer overflow wraps around; modern compilers generate code
42887 where this assumption is no longer valid.
42889 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42891 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42892 Replace "jmp L(pseudo_end)" with "ret".
42893 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42896 2012-05-23 Andreas Jaeger <aj@suse.de>
42898 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42899 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42901 2012-05-23 Andreas Jaeger <aj@suse.de>
42902 Maximilian Attems <max@stro.at>
42904 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42907 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42909 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42910 code so that pseudo_end is just ret and the stack pointer is
42911 correct also for static library in error case.
42913 2012-05-23 Joseph Myers <joseph@codesourcery.com>
42915 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42916 move to syscalls.list.
42917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42922 * manual/install.texi (Running make install): Do not mention Linux
42923 kernel version for which pt_chown is not needed.
42924 (Linux): Do not mention problems with nscd with 2.0 kernels.
42925 * INSTALL: Regenerated.
42927 2012-05-23 Andreas Jaeger <aj@suse.de>
42929 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42930 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42932 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42933 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42934 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42935 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42936 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42937 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42938 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42939 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42940 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42941 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42942 * sysdeps/unix/sysv/linux/bits/in.h
42943 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42945 2012-05-22 Roland McGrath <roland@hack.frob.com>
42947 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42948 (PREPARE_VERSION): Just use assert instead, it will be elided
42949 under [NDEBUG] anyway.
42951 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42953 * sysdeps/unix/sysv/linux/Makefile: Include
42954 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42955 (sysdep_routines): Remove sysctl.
42956 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42957 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42958 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42959 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42960 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42962 2012-05-22 Andreas Jaeger <aj@suse.de>
42964 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42965 that pseudo_end is just ret and the stack pointer is correct also
42966 for static library in error case.
42968 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42971 * nss/nsswitch.c (defconfig_entries): New variable.
42972 (__nss_database_lookup): Don't leak defconfig entries.
42973 (nss_parse_service_list): Don't leak on error paths.
42974 (free_database_entries): New function.
42975 (free_defconfig): New function.
42976 (free_mem): Move common code to free_database_entries.
42978 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42980 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42982 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42984 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42985 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42988 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42989 (INTERNAL_SYSCALL_TYPES): Likewise.
42990 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42991 (LOAD_REGS_TYPES_[1-6]): Likewise.
42992 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42993 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42995 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42997 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42998 copysignl for GLIBC_2_0.
42999 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43000 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43001 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43002 logbl for GLIBC_2_0.
43003 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43004 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43006 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43008 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43009 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43011 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43014 * time/mktime.c: Update copyright years.
43016 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43018 mktime: merge comment-quoting-style change from gnulib
43019 * time/mktime.c: Quote 'like this' in comments.
43020 The GNU coding standards suggest that we no longer quote `like this',
43021 as "`" and "'" are typically rendered asymmetrically nowadays.
43022 The typical gnulib style is to quote 'like this' when quoting
43023 code, and "like this" when quoting English.
43025 * time/mktime.c (compile-command): Add "-I.".
43027 mktime: merge mktime-internal.h change from gnulib
43028 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43030 mktime: merge time_r change from gnulib
43031 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43033 mktime: merge DEBUG change from gnulib
43034 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43035 case system <time.h> has a #define.
43037 mktime: merge <sys/types.h> change from gnulib
43038 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43039 since <time.t> is now guaranteed to define time_t.
43041 mktime: merge HAVE_CONFIG_H change from gnulib
43042 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43044 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43046 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43049 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43051 (struct rusage): Use anonymous union to pad each field to
43054 2012-05-21 David S. Miller <davem@davemloft.net>
43056 * Makefules (o-iterator): Remove .s cases.
43057 (compile-command.s): Delete.
43058 (COMPILE.s): Delete.
43059 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43061 2012-05-21 Joseph Myers <joseph@codesourcery.com>
43063 * configure.in (libc_cv_predef_stack_protector): Only consider
43064 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43065 * configure: Regenerated.
43067 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43070 New macro. Use R*LP on int and pointer.
43071 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
43072 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43073 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
43074 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43076 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43077 [__WORDSIZE_TIME64_COMPAT32] instead of
43078 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43079 (struct utmp): Likewise.
43080 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43081 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43083 (__WORDSIZE_TIME64_COMPAT32): This.
43084 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43085 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43086 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43087 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43088 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43089 (__WORDSIZE_TIME64_COMPAT32): New macro.
43091 2012-05-21 Andreas Jaeger <aj@suse.de>
43093 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43094 only if [SHARED]. Add prototype for __wcschr_ia32.
43096 2012-05-21 Roland McGrath <roland@hack.frob.com>
43098 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43099 of %rbp unmolested in the jmp_buf while mangling the low bits.
43100 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43101 unmolested high bits of %rbp while demangling the low bits.
43102 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43104 2012-05-21 Andreas Jaeger <aj@suse.de>
43106 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43107 * sunrpc/svc_simple.c: Use it for registerrpc.
43108 * sunrpc/xcrypt.c: Use it for passwd2des.
43110 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43112 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43114 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43115 Don't define if [__SYSCALL_WORDSIZE != 32].
43116 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43119 2012-05-21 Bruno Haible <bruno@clisp.org>
43120 Andreas Jaeger <aj@suse.de>
43122 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43123 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43124 inptr and inend for must_buffer_ch.
43125 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43126 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43127 * stdio-common/Makefile (tests): Remove bug15.
43128 (bug15-ENV): Remove macro.
43129 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43132 2012-05-19 Andreas Jaeger <aj@suse.de>
43133 Roland McGrath <roland@hack.frob.com>
43135 * manual/contrib.texi: Completely rewritten. It contains now an
43136 alphabetical list of contributors and their contributions.
43138 2012-05-21 Richard Henderson <rth@twiddle.net>
43140 * misc/getauxval.c (__getauxval): Use unsigned long int.
43141 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43142 (getauxval): Use unsigned long int.
43144 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43146 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43148 2012-05-21 Roland McGrath <roland@hack.frob.com>
43150 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43151 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43152 __alignof__ (long double).
43154 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43158 2012-05-20 Richard Henderson <rth@twiddle.net>
43160 * misc/getauxval.c: New file.
43161 * misc/sys/auxv.h: New file.
43162 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43163 (routines): Add getauxval.
43164 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43165 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43166 * elf/dl-sysdep.c (_dl_auxv): Remove.
43167 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43168 * elf/dl-support.c (_dl_auxv): New variable.
43169 (_dl_aux_init): Initialize it.
43170 * manual/startup.texi (Auxiliary Vector): New node.
43171 * sysdeps/generic/bits/hwcap.h: New file.
43172 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43173 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43174 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43175 * sysdeps/sparc/sysdep.h: ... here. Include it.
43176 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43177 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
43178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43183 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43189 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43193 2012-05-19 David S. Miller <davem@davemloft.net>
43195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43197 2012-05-19 Joseph Myers <joseph@codesourcery.com>
43200 * math/s_ccosh.c: Include <float.h>
43201 (__ccosh): Avoid internal overflow calculating sinh and cosh
43202 values before multiplying by sin and cos values.
43203 * math/s_ccoshf.c: Likewise.
43204 * math/s_ccoshl.c: Likewise.
43205 * math/s_csin.c: Likewise.
43206 * math/s_csinf.c: Likewise.
43207 * math/s_csinl.c: Likewise.
43208 * math/s_csinh.c: Likewise.
43209 * math/s_csinhf.c: Likewise.
43210 * math/s_csinhl.c: Likewise.
43211 * math/libm-test.inc (ccos_test): Add more tests.
43212 (ccosh_test): Likewise.
43213 (csin_test): Likewise.
43214 (csinh_test): Likewise.
43215 * sysdeps/i386/fpu/libm-test-ulps: Update.
43216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43218 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43220 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43221 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43223 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43225 2012-05-19 Joseph Myers <joseph@codesourcery.com>
43227 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43228 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43229 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43230 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43231 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43232 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43233 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43234 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43235 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43236 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43237 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43238 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43239 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43240 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43241 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43242 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43243 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43244 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43245 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43246 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43247 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43248 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43249 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43250 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43251 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43252 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43253 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43254 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43255 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43256 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43257 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43259 2012-05-18 Andreas Jaeger <aj@suse.de>
43261 * csu/.gitignore: Delete.
43263 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43265 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43266 (timex): Use __syscall_slong_t.
43268 2012-05-18 Andreas Jaeger <aj@suse.de>
43269 Carlos O'Donell <carlos_odonell@mentor.com>
43271 * manual/install.texi (Configuring and compiling): Update
43272 description about files modified in the source directory.
43273 * INSTALL: Regenerated.
43275 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43277 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43278 value. Use "or" to set return value to -1.
43279 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43280 negate return value.
43282 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43284 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43285 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43286 failure if the compiler has Graphite support disabled.
43287 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43289 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43290 (CFLAGS-memmove.c): Likewise.
43291 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43294 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43296 * sysdeps/x86_64/x32/_itoa.h: New file.
43298 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43299 getdents system call only if kernel and user dirents have the
43300 same d_ino and d_off.
43302 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43303 LLONG_MAX != LONG_MAX.
43304 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43305 (_fitoa_word): Likewise.
43307 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43309 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43310 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43311 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43313 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43314 include <bits/wordsize.h>. Check __x86_64__ instead of
43316 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43317 if __x86_64__ is defined. Use anonymous union on fpstate.
43319 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43322 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43324 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43325 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43326 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43327 Refer to _rtld_local_ro instead of _rtld_global_ro.
43328 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43330 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43332 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43334 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43335 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43336 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43338 * sysdeps/powerpc/powerpc32/dl-machine.c
43339 (__elf_machine_runtime_setup) [PROF]: Don't reference
43342 2012-05-18 Andreas Jaeger <aj@suse.de>
43344 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43345 function only available for GCCs before 3.4 since GCC 3.4
43346 introduced a builtin.
43348 (llrintf): Likewise.
43349 (llrint): Likewise.
43356 (nearbyint): Likewise.
43357 (nearbyintf): Likewise.
43361 (floorf): Likewise.
43363 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43365 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43366 on both fields and cast pointer to __syscall_ulong_t.
43368 * bits/types.h (__fsword_t): New type.
43369 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43370 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43371 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43372 (__FSWORD_T_TYPE): Likewise.
43373 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43374 (__FSWORD_T_TYPE): Likewise.
43375 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43376 (__FSWORD_T_TYPE): Likewise.
43377 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43378 (__FSWORD_T_TYPE): Likewise.
43379 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43380 __SWORD_TYPE with __fsword_t.
43381 (statfs64): Likewise.
43383 2012-05-17 David S. Miller <davem@davemloft.net>
43385 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43387 2012-05-17 Andreas Jaeger <aj@suse.de>
43389 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43392 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43394 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43396 2012-05-17 Andreas Jaeger <aj@suse.de>
43398 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43401 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43403 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43405 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43407 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43408 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43410 2012-05-17 Andreas Jaeger <aj@suse.de>
43411 Carlos O'Donell <carlos_odonell@mentor.com>
43414 * sysdeps/x86_64/multiarch/init-arch.h
43415 (bit_YMM_Usable): Rename to...
43416 (bit_AVX_Usable): ... this.
43417 (bit_FMA4_Usable): New macro.
43418 (bit_XMM_state): New macro.
43419 (bit_YMM_state): New macro.
43420 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43421 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43422 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43423 (CPUID_OSXSAVE): New macro.
43424 (CPUID_AVX): New macro.
43425 (CPUID_FMA4): New macro.
43426 (index_YMM_Usable): Rename to...
43427 (index_AVX_Usable): ... this.
43428 (HAS_AVX): Use HAS_ARCH_FEATURE.
43429 (HAS_FMA4): Likewise.
43430 (HAS_YMM_USABLE): Remove.
43431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43432 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43434 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43435 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43436 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43437 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43438 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43440 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43442 * math/libm-test.c: Support platforms without multiple rounding modes.
43443 * math/bug-nextafter.c: Support platforms without FP exceptions.
43444 * math/bug-nexttoward.c: Likewise.
43445 * math/test-fenv.c: Likewise.
43446 * math/test-misc.c: Likewise.
43447 * stdlib/bug-getcontext.c: Likewise.
43449 2012-05-17 Andreas Jaeger <aj@suse.de>
43451 * manual/examples/search.c (critter_cmp): Change signature to
43453 * manual/string.texi (Collation Functions): Likewise.
43455 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43457 * bits/types.h: Fold copyright years.
43458 * bits/typesizes.h: Likewise.
43459 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43460 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43461 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43462 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43463 * time/time.h: Likewise.
43465 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43468 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43469 in instead of returning them. Return void.
43470 (__libc_mallinfo): Accumulate over all arenas.
43471 (__malloc_stats): Adjust for change in int_mallinfo interface.
43473 2012-05-16 Roland McGrath <roland@hack.frob.com>
43476 * configure.in (NM): Add AC_CHECK_TOOL for it.
43477 (libc_extra_cflags): New substituted variable.
43478 Check for -fstack-protector being used implicitly.
43479 * configure: Regenerated.
43480 * config.make.in (config-extra-cflags): New variable,
43481 gets @libc_extra_cflags@.
43482 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43485 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43486 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43487 * configure: Regenerated.
43488 * config.make.in (CPPUNDEFS): New substituted variable.
43489 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43490 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43491 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43493 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43495 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43496 (mq_attr): Use __syscall_slong_t.
43498 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43500 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43501 Check __x86_64__ instead of __WORDSIZE.
43502 (_STAT_VER_LINUX): Likewise.
43503 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43504 __syscall_ulong_t and __syscall_slong_t.
43505 (stat64): Likewise.
43507 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43509 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43511 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43513 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43515 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43517 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43520 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43521 include <bits/wordsize.h>. Check __x86_64__ instead of
43523 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43525 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43527 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43528 include <bits/wordsize.h>. Check __x86_64__ instead of
43530 (user_regs_struct): Use "__extension__ unsigned long long"
43531 instead of "unsigned long" if __x86_64__ is defined.
43532 (user): Likewise. Pad after pointer field if __ILP32__ is
43535 2012-05-16 Joseph Myers <joseph@codesourcery.com>
43537 * configure.in (makeinfo): Require version 4.5 or later. Allow
43539 * configure: Regenerated.
43540 * manual/install.texi (texinfo): Increase version requirement to
43542 * INSTALL: Regenerated.
43544 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43546 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43548 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43550 * sysdeps/x86_64/x32/ffs.c: New file.
43552 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43554 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43555 defined. Use __syscall_ulong_t.
43556 (shminfo): Use __syscall_ulong_t.
43557 (shm_info): Likewise.
43559 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43562 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43564 (msgqnum_t): Use __syscall_ulong_t.
43565 (msglen_t): Likewise.
43566 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43569 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43570 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43572 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43574 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43575 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43577 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43580 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43581 include <bits/wordsize.h>. Check __x86_64__ instead of
43584 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43585 "unsigned long long int" if __x86_64__ is defined.
43586 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43588 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43589 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43590 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43592 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43594 (GET_PC): Cast to uintptr_t first.
43595 (GET_FRAME): Likewise.
43596 (GET_STACK): Likewise.
43598 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43599 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43600 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43601 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43602 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43603 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43604 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43605 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43606 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43607 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43608 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43609 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43610 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43611 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43612 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43613 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43614 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43615 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43616 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43617 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43618 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43619 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43620 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43621 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43622 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43623 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43624 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43625 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43626 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43628 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43630 * Makerules (+depfiles): Also collect depfiles from .oS in
43632 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43633 .oS, $(libnldbl-routines)).
43635 * Makerules (native-compile-mkdep-flags): Define.
43636 * sunrpc/Makefile (extra-objs): Add $(addprefix
43637 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43638 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43639 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43640 calling $(make-target-directory).
43642 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43644 * bits/types.h (__snseconds_t): Removed.
43645 * time/time.h (struct timespec): Replace __snseconds_t with
43647 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43648 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43650 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43651 (__SNSECONDS_T_TYPE): Likewise.
43652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43653 (__SNSECONDS_T_TYPE): Likewise.
43654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43655 (__SNSECONDS_T_TYPE): Likewise.
43657 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43659 * sysdeps/mach/hurd/bits/typesizes.h
43660 (__SYSCALL_SLONG_TYPE): New macro.
43661 (__SYSCALL_ULONG_TYPE): Likewise.
43663 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43665 * bits/types.h (__syscall_slong_t): New type.
43666 (__syscall_ulong_t): Likewise.
43668 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43669 (__SYSCALL_ULONG_TYPE): Likewise.
43670 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43671 (__SYSCALL_SLONG_TYPE): Likewise.
43672 (__SYSCALL_ULONG_TYPE): Likewise.
43673 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43674 (__SYSCALL_SLONG_TYPE): Likewise.
43675 (__SYSCALL_ULONG_TYPE): Likewise.
43676 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43677 (__SYSCALL_SLONG_TYPE): Likewise.
43678 (__SYSCALL_ULONG_TYPE): Likewise.
43680 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43682 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43683 Add sigaltstack-offsets.sym.
43684 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43685 <sigaltstack-offsets.h>.
43686 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43687 longjmp_msg pointer.
43688 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43689 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43691 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43693 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43695 * elf/stackguard-macros.h: Remove file.
43696 * sysdeps/generic/stackguard-macros.h: New file.
43697 * sysdeps/i386/stackguard-macros.h: Likewise.
43698 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43699 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43700 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43701 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43702 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43703 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43704 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43705 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43706 <elf/stackguard-macros.h>.
43709 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43710 __aligned__ in attribute.
43711 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43712 (gregset_t): Likewise.
43714 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43716 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43717 * sysdeps/x86_64/64/Implies-after: Here. New file.
43718 * sysdeps/x86_64/x32/Implies-after: New file.
43720 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43722 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43723 and access return value for _dl_profile_fixup. Use R10_LP to
43726 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43728 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43730 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43732 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43733 * sysdeps/x86_64/x32/sysdep.h: New file.
43735 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43737 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43738 * sysdeps/x86_64/setjmp.S: Likewise.
43740 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43742 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43743 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43744 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43745 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43746 remove unused global constant.
43748 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43750 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43751 include of <not-cancel.h>.
43753 2012-05-15 Roland McGrath <roland@hack.frob.com>
43755 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43757 2012-05-15 Jeff Law <law@redhat.com>
43758 Andreas Jaeger <aj@suse.de>
43761 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43763 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43764 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43765 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43766 code changing __hst_map_handle.map.
43768 2012-05-15 Roland McGrath <roland@hack.frob.com>
43770 * configure.in (sysnames): Look for Implies-before and Implies-after
43772 * configure: Regenerated.
43774 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43776 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43777 8-byte data alignment with LP_SIZE alignment.
43779 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43781 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43784 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43786 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43788 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43790 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43791 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43792 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43794 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43798 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43799 (stackinfo_sub_sp): Likewise.
43801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43803 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43806 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43808 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43811 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43813 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43816 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43818 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43820 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43822 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43823 into R11_LP and load __x86_64_shared_cache_size_half into
43826 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43828 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43831 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43833 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43835 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43837 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43839 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43840 powerpc32/power7/fpu/s_logb.c via #include.
43841 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43842 powerpc32/power7/fpu/s_logbf.c via #include.
43843 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43844 powerpc32/power7/fpu/s_logbl.c via #include.
43846 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43848 * README.libm: Remove file.
43850 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43852 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43853 count for x32. Use R*_LP and omit operand-size suffix.
43855 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43857 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43858 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43859 * sysdeps/x86_64/x32/shlib-versions: New file.
43861 2012-05-14 Roland McGrath <roland@hack.frob.com>
43863 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43864 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43865 Use _dl_fatal_printf instead.
43867 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43869 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43870 set if not set by the user. Do not allow for being unset.
43871 * sysdeps/unix/sysv/linux/configure: Regenerated.
43873 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43875 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43876 the `q' suffix from lea and replace .quad with ASM_ADDR.
43878 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43880 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43881 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43883 (PTR_DEMANGLE): Likewise.
43885 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43887 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43889 (ASM_ADDR): Likewise.
43890 (RAX_LP): Likewise.
43891 (RBP_LP): Likewise.
43892 (RBX_LP): Likewise.
43893 (RCX_LP): Likewise.
43894 (RDI_LP): Likewise.
43895 (RSI_LP): Likewise.
43896 (RSP_LP): Likewise.
43899 (R10_LP): Likewise.
43900 (R10_LP): Likewise.
43901 (R11_LP): Likewise.
43902 (R12_LP): Likewise.
43903 (R13_LP): Likewise.
43904 (R14_LP): Likewise.
43905 (R15_LP): Likewise.
43907 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43909 * sysdeps/x86_64/x32/dl-machine.h: New file.
43911 2012-05-14 Andreas Jaeger <aj@suse.de>
43913 * manual/Makefile (subdir): Remove export of subdir.
43914 (all): Remove target.
43915 (.PHONY): Remove all from list.
43916 (mkinstalldirs): Remove.
43917 (.PHONY): Remove installdirs from list.
43918 ($(inst_infodir)/libc.info): Use make-target-directory.
43919 (installdirs): Remove.
43920 (subdir_%): Remove.
43921 (glibc-targets): Remove.
43924 ($(objpfx)stubs ../po/manual.pot): Remove.
43925 ($(objpfx)stamp%): Remove.
43926 (make-target-directory): Remove.
43927 (subdir_install): Remove.
43928 (routines): Remove.
43935 * manual/.gitignore: Remove, it's not needed anymore.
43936 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43938 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43940 (texis): Renamed to $(objpfx)texis.
43941 (texis-path): New, contains path to generated files.
43942 (chapters.%): Use texis-path for complete path, add extra argument
43944 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43945 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43946 (summary,texi, stamp-summary): Use complete path of
43947 files. Generate files in build dir.
43948 (dir-add.texi): Build in build dir.
43949 (libm-err.texi,stamp-libm-err): Likewise.
43950 (version.texi, stamp-version): Likewise.
43951 (.%c.texi): Likewise.
43952 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43953 (mostlyclean): Remove target.
43954 (realclean): Remove target.
43955 (generated): Add new variable with contents from mostlyclean and
43956 realclean, remove entries duplicated in common-mostlyclean, add
43957 stamp-libm-err and stamp-version.
43958 (generated-dirs): Add libc directory.
43959 ($(inst_infodir)/libc.info): Install files from build dir.
43961 * manual/install.texi (Configuring and compiling): Adjust since
43962 the info files are not part of the tar ball anymore.
43964 2012-05-14 Andreas Jaeger <aj@suse.de>
43966 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43969 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43972 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43973 to 2.2.0 where earlier.
43974 * sysdeps/unix/sysv/linux/configure: Regenerated.
43975 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43976 Remove conditional code.
43977 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43978 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43979 Remove conditional code.
43980 [!__NR_lchown]: Likewise.
43981 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43982 [__NR_lchown]: Likewise.
43983 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43984 comment referencing __ASSUME_LCHOWN_SYSCALL.
43985 * sysdeps/unix/sysv/linux/i386/sigaction.c
43986 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43987 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43988 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43989 Remove conditional code.
43990 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43991 (__protocol_available): Remove #if 0 code.
43992 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43994 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43995 * sysdeps/unix/sysv/linux/kernel-features.h
43996 (__ASSUME_GETCWD_SYSCALL): Don't define.
43997 (__ASSUME_REALTIME_SIGNALS): Likewise.
43998 (__ASSUME_PREAD_SYSCALL): Likewise.
43999 (__ASSUME_PWRITE_SYSCALL): Likewise.
44000 (__ASSUME_POLL_SYSCALL): Likewise.
44001 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44002 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44004 (__ASSUME_SIOCGIFNAME): Don't define.
44005 (__ASSUME_MSG_NOSIGNAL): Likewise.
44006 (__ASSUME_SENDFILE): Define unconditionally.
44007 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44008 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44010 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44011 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44012 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44013 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44014 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44015 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44016 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44018 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44019 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44021 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44022 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44024 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44025 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44027 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44028 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44030 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44031 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44033 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44034 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44036 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44037 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44039 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44040 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44041 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44042 Remove conditional code.
44043 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44044 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44045 Remove conditional code.
44046 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44047 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44048 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44049 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44050 Remove conditional code.
44051 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44052 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44053 Remove conditional code.
44054 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44055 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44056 Remove conditional code.
44057 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44058 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44059 Remove conditional code.
44060 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44061 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44062 Remove conditional code.
44063 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44064 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44065 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44066 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44067 * sysdeps/unix/sysv/linux/sigaction.c
44068 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44069 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44070 * sysdeps/unix/sysv/linux/sigpending.c
44071 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44072 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44073 * sysdeps/unix/sysv/linux/sigprocmask.c
44074 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44075 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44076 * sysdeps/unix/sysv/linux/sigsuspend.c
44077 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44078 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44079 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44080 (__libc_missing_rt_sigs): Remove.
44081 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44082 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44083 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44084 Remove conditional code.
44085 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44086 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44088 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44089 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44090 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44091 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44093 2012-05-14 Andreas Jaeger <aj@suse.de>
44095 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44096 it's not used in glibc.
44097 (__coshm1): Likewise.
44098 (__acosh1p): Likewise.
44101 * manual/string.texi (Copying and Concatenation): Add missing
44102 variable in concat example.
44103 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44105 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44108 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44109 __builtin_clzl with __builtin_clzll.
44111 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44114 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44117 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44119 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44120 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44121 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44122 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44124 2012-05-14 Mike Frysinger <vapier@gentoo.org>
44126 * NEWS: Update ia64 info.
44128 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44130 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44133 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44135 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44136 * sysdeps/unix/syscalls.list (dup3): Likewise.
44137 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44138 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44140 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44142 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44143 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44145 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44147 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44149 (TLS_IE): Use mov/add instead of movq/addq to load thread
44151 (TLS_GD_PREFIX): New.
44154 2012-05-11 David S. Miller <davem@davemloft.net>
44156 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44157 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44158 (_FPU_SETCW): Likewise.
44160 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44162 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44163 is 32-byte aligned.
44165 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44168 * iconvdata/gb18030.c: Update tables.
44169 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44170 characters specially.
44171 (BODY for TO_LOOP): Add encoding of missing ranges.
44173 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44176 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44177 * sysdeps/mach/hurd/dup3.c: Likewise.
44178 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44179 * sysdeps/powerpc/memmove.c:: Likewise.
44181 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44183 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44184 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44186 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44188 * elf/elf.h (R_X86_64_RELATIVE64): New.
44189 (R_X86_64_NUM): Updated.
44190 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44191 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44192 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44193 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44194 tst-quad1pie tst-quad2pie
44195 (modules-names): Add tst-quadmod1 tst-quadmod2.
44196 ($(objpfx)tst-quad1): New dependency.
44197 ($(objpfx)tst-quad2): Likewise.
44198 ($(objpfx)tst-quad1pie): Likewise.
44199 ($(objpfx)tst-quad2pie): Likewise.
44200 * sysdeps/x86_64/tst-quad1.c: New file.
44201 * sysdeps/x86_64/tst-quad1pie.c: New file.
44202 * sysdeps/x86_64/tst-quad2.c: Likewise.
44203 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44204 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44205 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44206 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44207 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44209 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44211 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44212 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44213 * streams/stropts.h (t_scalar_t): Define type.
44215 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44216 (_PATH_PRESERVE): Set to "/var/lib".
44217 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44219 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44222 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44223 if __dir_mkfile succeeded.
44225 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44226 checking for _hurd_dtablesize. Unlock it right after having
44227 finished _hurd_dtable allocation.
44229 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44231 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44232 * sysdeps/mach/hurd/configure: Regenerated.
44233 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44234 special-casing to...
44235 * sysdeps/gnu/configure.in: ... this new file.
44236 * sysdeps/unix/sysv/linux/configure: Regenerated.
44237 * sysdeps/gnu/configure: New generated file.
44239 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44240 for Linux: use nsec instead of usec, as well as:
44241 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44242 members of type struct timespec.
44243 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44245 (struct stat64): Likewise.
44246 (_STATBUF_ST_NSEC): New macro.
44247 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44249 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44250 __strtoul_internal rather than strtoul.
44252 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44254 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44257 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44259 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44260 which preserves existing values.
44261 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44263 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44265 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44266 TIMEOUT values. Return EINVAL for NFDS values either negative or
44267 greater than FD_SETSIZE.
44269 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44271 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44272 allocated, call __vm_protect to finish enabling the existing space, and
44273 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44274 allocate the remainder.
44276 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44278 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44279 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44281 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44283 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44284 sysdeps/mach/hurd/readlink.c.
44286 * posix/tst-sysconf.c (posix_options): Only use
44287 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44288 _POSIX_SYNCHRONIZED_IO when they are defined
44289 * sysdeps/mach/hurd/bits/posix_opt.h:
44290 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44291 (_XOPEN_REALTIME): Undefine macro.
44292 (_XOPEN_REALTIME_THREADS): Undefine macro.
44293 (_XOPEN_SHM): Undefine macro.
44294 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44296 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44298 (_POSIX_ASYNC_IO): Undefine macro.
44299 (_POSIX_PRIORITIZED_IO): Undefine macro.
44300 (_POSIX_SPIN_LOCKS): Define macro to -1.
44302 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44303 SA_NODEFER, SA_RESETHAND.
44304 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44305 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44308 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44310 * elf/Makefile (pldd-modules): Define unconditionally.
44312 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44314 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44316 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44318 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44319 Return ENOENT when name is empty.
44320 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44322 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44324 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44326 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44328 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44330 Fix mlock in all cases except non-readable pages.
44331 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44332 instead of VM_PROT_ALL as parameter to __vm_wire function.
44334 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44335 (__mkdir): When path is `/', just fail with EEXIST.
44336 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44338 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44340 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44341 <sys/uio.h> (for writev).
44342 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44343 and <sys/param.h> (for MIN).
44345 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44347 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44348 REQUESTED_TIME. Properly set the remaining time and return EINTR
44351 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44353 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44354 Depend on against $(link-rpcuserlibs).
44356 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44358 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44359 (__libc_stack_end): Do not use attribute_relro.
44360 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44361 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44362 to libthread-provided value.
44363 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44366 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44369 * bits/libc-lock.h (__libc_once_get): New macro.
44370 * sysdeps/mach/bits/libc-lock.h: Likewise.
44371 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44372 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44373 instead of using implementation details.
44375 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44376 * libio/freopen.c: Likewise.
44377 * libio/freopen64.c: Likewise.
44378 * misc/syslog.c: Likewise.
44379 * nscd/connections.c: Likewise.
44380 * nscd/netgroupcache.c: Likewise.
44381 * sysdeps/posix/getcwd.c: Likewise.
44383 2012-05-10 Roland McGrath <roland@hack.frob.com>
44385 * math/w_ilogbf.c: Add #include <limits.h>.
44387 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44389 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44390 path instead of returning without unlocking.
44392 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44393 immediate-write ioctls.
44394 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44396 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44398 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44399 __builtin_frame_address instead of making assumptions about the
44400 location of the return address relative to DATA. Force early load of
44401 the return address.
44402 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44403 __builtin_frame_address.
44406 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44407 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44408 implement dup3 and do some further code clean-ups.
44409 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44410 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44412 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44414 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44416 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44417 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44418 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44419 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44420 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44423 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44424 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44425 when handler == SIG_ERR, not when handler != SIG_ERR.
44427 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44429 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44430 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44433 accept4 for GNU Hurd.
44434 * include/sys/socket.h (__libc_accept4): New prototype.
44435 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44436 to implement __libc_accept4.
44437 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44439 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44441 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44442 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44443 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44444 signal-defines.sym.
44446 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44448 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44450 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44452 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44453 assertion on O_CLOEXEC flag.
44454 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44455 * hurd/intern-fd.c: Likewise.
44456 * hurd/port2fd.c: Likewise.
44458 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44461 * bits/in.h (IPV6_PKTINFO): Define new macro.
44462 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44464 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44469 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44470 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44471 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44472 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44473 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44474 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44475 * math/libm-test.inc (logb_test) : Additional logb tests.
44477 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44478 Andreas Jaeger <aj@suse.de>
44480 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44481 * configure: Regenerated.
44482 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44483 * config.make.in (link-obsolete-rpc): New substituted variable.
44484 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44485 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44486 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44487 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44488 so that libc.a contains the symbols.
44489 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44490 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44491 * sunrpc/auth_none.c: Likewise.
44492 * sunrpc/auth_unix.c: Likewise.
44493 * sunrpc/authdes_prot.c: Likewise.
44494 * sunrpc/authuxprot.c: Likewise.
44495 * sunrpc/clnt_gen.c: Likewise.
44496 * sunrpc/clnt_perr.c: Likewise.
44497 * sunrpc/clnt_raw.c: Likewise.
44498 * sunrpc/clnt_simp.c: Likewise.
44499 * sunrpc/clnt_tcp.c: Likewise.
44500 * sunrpc/clnt_udp.c: Likewise.
44501 * sunrpc/clnt_unix.c: Likewise.
44502 * sunrpc/des_crypt.c: Likewise.
44503 * sunrpc/des_soft.c: Likewise.
44504 * sunrpc/get_myaddr.c: Likewise.
44505 * sunrpc/key_call.c: Likewise.
44506 * sunrpc/key_prot.c: Likewise.
44507 * sunrpc/netname.c: Likewise.
44508 * sunrpc/pm_getmaps.c: Likewise.
44509 * sunrpc/pm_getport.c: Likewise.
44510 * sunrpc/pmap_clnt.c: Likewise.
44511 * sunrpc/pmap_prot.c: Likewise.
44512 * sunrpc/pmap_prot2.c: Likewise.
44513 * sunrpc/pmap_rmt.c: Likewise.
44514 * sunrpc/publickey.c: Likewise.
44515 * sunrpc/rpc_cmsg.c: Likewise.
44516 * sunrpc/rpc_common.c: Likewise.
44517 * sunrpc/rpc_dtable.c: Likewise.
44518 * sunrpc/rpc_prot.c: Likewise.
44519 * sunrpc/rpc_thread.c: Likewise.
44520 * sunrpc/rtime.c: Likewise.
44521 * sunrpc/svc.c: Likewise.
44522 * sunrpc/svc_auth.c: Likewise.
44523 * sunrpc/svc_raw.c: Likewise.
44524 * sunrpc/svc_run.c: Likewise.
44525 * sunrpc/svc_tcp.c: Likewise.
44526 * sunrpc/svc_udp.c: Likewise.
44527 * sunrpc/svc_unix.c: Likewise.
44528 * sunrpc/svcauth_des.c: Likewise.
44529 * sunrpc/xcrypt.c: Likewise.
44530 * sunrpc/xdr.c: Likewise.
44531 * sunrpc/xdr_array.c: Likewise.
44532 * sunrpc/xdr_float.c: Likewise.
44533 * sunrpc/xdr_intXX_t.c: Likewise.
44534 * sunrpc/xdr_mem.c: Likewise.
44535 * sunrpc/xdr_rec.c: Likewise.
44536 * sunrpc/xdr_ref.c: Likewise.
44537 * sunrpc/xdr_sizeof.c: Likewise.
44538 * sunrpc/xdr_stdio.c: Likewise.
44540 2012-05-10 Roland McGrath <roland@hack.frob.com>
44542 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44543 change. Update copyright years.
44545 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44547 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44549 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44550 Joseph Myers <joseph@codesourcery.com>
44551 Paul Pluzhnikov <ppluzhnikov@google.com>
44554 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44556 [cross-compiling] (extra-libs): Likewise.
44557 [cross-compiling] (extra-libs-others): Likewise.
44558 [cross-compiling] (librpcsvc-routines): Likewise.
44559 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44560 [cross-compiling] (omit-deps): Likewise.
44561 (sunrpc-CPPFLAGS): New variable.
44562 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44563 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44564 (cross-rpcgen-objs): New variable.
44565 (extra-objs): Append $(cross-rpcgen-objs).
44566 ($(cross-rpcgen-objs)): New rule.
44567 ($(objpfx)cross-rpcgen): Likewise.
44568 (rpcgen-cmd): Define to use $(built-program-file). Expand
44570 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44571 ($(objpfx)x%.stmp): Likewise.
44572 * sunrpc/proto.h [IS_IN_build] (_): Define.
44573 [IS_IN_build] (_libc_intl_domainname): Likewise.
44575 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44577 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44578 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44579 and R_X86_64_TPOFF64.
44581 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44583 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44584 sysdeps/unix/sysv/syscalls.list.
44587 * sysdeps/unix/sysv/syscalls.list: Remove file.
44589 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44592 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44593 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44594 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44595 (__LC_IDENTIFICATION): Make these macros useful in #if
44596 expressions, as required by C99.
44598 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44600 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44601 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44604 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44606 * stdlib/longlong.h: Updated from GCC.
44608 2012-05-09 Andreas Jaeger <aj@suse.de>
44610 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44611 default is first entry.
44612 (run_mode): Set type.
44613 (main): Remove informal message about syslog.
44614 (options): Fix typo.
44617 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44620 (llrintf): Likewise.
44621 (llrint): Likewise.
44624 (nearbyint): Likewise.
44625 (nearbyintf): Likewise.
44627 2012-05-09 Andreas Jaeger <aj@suse.de>
44628 Pedro Alves <palves@redhat.com>
44630 * nscd/nscd.c (run_mode): Use enum.
44631 (main): Cleanup coding style issue.
44633 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
44634 Andreas Jaeger <aj@suse.de>
44636 * nscd/nscd.c (go_background): Replaced with...
44637 (run_mode): ... this.
44638 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44639 (options): Add -F --foreground.
44640 (main): Implement it.
44641 (parse_opt): Parse it.
44643 2012-05-09 Andreas Jaeger <aj@suse.de>
44646 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44647 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44648 -Wconversion warning.
44649 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44652 2012-05-09 Joseph Myers <joseph@codesourcery.com>
44654 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44656 (LC_ALL): Use macro-int-constant.
44657 (LC_COLLATE): Likewise.
44658 (LC_CTYPE): Likewise.
44659 (LC_MESSAGES): Likewise.
44660 (LC_MONETARY): Likewise.
44661 (LC_NUMERIC): Likewise.
44662 (LC_TIME): Likewise.
44663 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44664 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44665 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44666 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44668 [C99-based standards] (float_t): Expect type.
44669 [C99-based standards] (double_t): Expect type.
44670 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44672 [C99-based standards] (HUGE_VALL): Likewise.
44673 [C99-based standards] (INFINITY): Likewise.
44674 [C99-based standards] (NAN): Likewise.
44675 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44676 [C99-based standards] (FP_NAN): Likewise.
44677 [C99-based standards] (FP_NORMAL): Likewise.
44678 [C99-based standards] (FP_SUBNORMAL): Likewise.
44679 [C99-based standards] (FP_ZERO): Likewise.
44680 [C99-based standards] (FP_FAST_FMA): Use
44681 optional-macro-int-constant. Specify type. Require == 1.
44682 [C99-based standards] (FP_FAST_FMAF): Likewise.
44683 [C99-based standards] (FP_FAST_FMAL): Likewise.
44684 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44685 [C99-based standards] (FP_ILOGBNAN): Likewise.
44686 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44688 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44689 [C99-based standards] (math_errhandling): Specify type.
44690 [ISO99 || ISO11] (signgam): Do not allow.
44691 [non-C99-based standards] (copysignf): Do not allow.
44692 [non-C99-based standards] (exp2f): Likewise.
44693 [non-C99-based standards] (log2f): Likewise.
44694 [non-C99-based standards] (modff): Allow.
44695 [non-C99-based standards] (erff): Do not allow.
44696 [non-C99-based standards] (erfcf): Likewise.
44697 [non-C99-based standards] (gammaf): Likewise.
44698 [non-C99-based standards] (hypotf): Likewise.
44699 [non-C99-based standards] (j0f): Likewise.
44700 [non-C99-based standards] (j1f): Likewise.
44701 [non-C99-based standards] (jnf): Likewise.
44702 [non-C99-based standards] (lgammaf): Likewise.
44703 [non-C99-based standards] (tgammaf): Likewise.
44704 [non-C99-based standards] (y0f): Likewise.
44705 [non-C99-based standards] (y1f): Likewise.
44706 [non-C99-based standards] (ynf): Likewise.
44707 [non-C99-based standards] (isnanf): Likewise.
44708 [non-C99-based standards] (acoshf): Likewise.
44709 [non-C99-based standards] (asinhf): Likewise.
44710 [non-C99-based standards] (atanhf): Likewise.
44711 [non-C99-based standards] (cbrtf): Likewise.
44712 [non-C99-based standards] (expm1f): Likewise.
44713 [non-C99-based standards] (ilogbf): Likewise.
44714 [non-C99-based standards] (log1pf): Likewise.
44715 [non-C99-based standards] (logbf): Likewise.
44716 [non-C99-based standards] (nextafterf): Likewise.
44717 [non-C99-based standards] (remainderf): Likewise.
44718 [non-C99-based standards] (rintf): Likewise.
44719 [non-C99-based standards] (scalbf): Likewise.
44720 [non-C99-based standards] (copysignl): Likewise.
44721 [non-C99-based standards] (exp2l): Likewise.
44722 [non-C99-based standards] (log2l): Likewise.
44723 [non-C99-based standards] (modfl): Allow.
44724 [non-C99-based standards] (erfl): Do not allow.
44725 [non-C99-based standards] (erfcl): Likewise.
44726 [non-C99-based standards] (gammal): Likewise.
44727 [non-C99-based standards] (hypotl): Likewise.
44728 [non-C99-based standards] (j0l): Likewise.
44729 [non-C99-based standards] (j1l): Likewise.
44730 [non-C99-based standards] (jnl): Likewise.
44731 [non-C99-based standards] (lgammal): Likewise.
44732 [non-C99-based standards] (tgammal): Likewise.
44733 [non-C99-based standards] (y0l): Likewise.
44734 [non-C99-based standards] (y1l): Likewise.
44735 [non-C99-based standards] (ynl): Likewise.
44736 [non-C99-based standards] (isnanl): Likewise.
44737 [non-C99-based standards] (acoshl): Likewise.
44738 [non-C99-based standards] (asinhl): Likewise.
44739 [non-C99-based standards] (atanhl): Likewise.
44740 [non-C99-based standards] (cbrtl): Likewise.
44741 [non-C99-based standards] (expm1l): Likewise.
44742 [non-C99-based standards] (ilogbl): Likewise.
44743 [non-C99-based standards] (log1pl): Likewise.
44744 [non-C99-based standards] (logbl): Likewise.
44745 [non-C99-based standards] (nextafterl): Likewise.
44746 [non-C99-based standards] (remainderl): Likewise.
44747 [non-C99-based standards] (rintl): Likewise.
44748 [non-C99-based standards] (scalbl): Likewise.
44749 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44750 [non-C99-based standards] (FP_*): Do not allow.
44751 [C99-based standards] (FP_*): Change to
44752 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44753 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44755 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44756 (SIG_ERR): Likewise.
44757 [X/Open-based standards] (SIG_HOLD): Likewise.
44758 (SIG_IGN): Likewise.
44759 (SIGABRT): Use macro-int-constant. Specify type. Require
44761 (SIGFPE): Likewise.
44762 (SIGILL): Likewise.
44763 (SIGINT): Likewise.
44764 (SIGSEGV): Likewise.
44765 (SIGTER): Likewise.
44766 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44767 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44768 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44769 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44770 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44771 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44772 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44773 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44774 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44775 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44776 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44777 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44778 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44779 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44780 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44781 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44782 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44783 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44784 [X/Open-based standards] (SIGTRAP): Likewise.
44785 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44786 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44787 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44788 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44789 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44792 2012-05-08 Ian Wienand <ianw@vmware.com>
44795 * time/tzset.c (__tzset_parse_tz): Update default rules for
44796 daylight time changes in the Energy Policy Act of 2005.
44798 2012-05-09 Andreas Jaeger <aj@suse.de>
44801 * elf/ldconfig.c (parse_conf): Change string to make clear that
44802 ldconfig only issued a warning if ld.so.conf does not exist.
44804 2012-05-08 David S. Miller <davem@davemloft.net>
44806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44807 movxtod instead of popping the value on the stack.
44809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44811 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44813 * config.h.in: Add HAVE_ARM_PCS_VFP.
44815 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
44818 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44819 checking but the checks are disabled for any reason.
44821 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44823 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44824 and ELF64_R_TYPE with ELFW(R_TYPE).
44826 2012-05-08 Joseph Myers <joseph@codesourcery.com>
44828 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44829 (ulimit): Likewise.
44831 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44832 (settimeofday): Likewise.
44834 2012-05-08 Mike Frysinger <vapier@gentoo.org>
44836 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44837 a struct th_u2 inside the union, and move tu_block/tu_code into
44838 a new th_u3 union of tu_block/tu_code inside of that. Move
44839 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44840 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44841 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44842 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44843 (th_stuff): Change to th_u1.tu_stuff.
44845 (th_msg): Change to th_u1.th_u2.tu_data.
44847 2012-05-07 David S. Miller <davem@davemloft.net>
44849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44852 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44853 (SETUP_PIC_REG): Use it.
44854 (SETUP_PIC_REG_LEAF): Use it.
44856 2012-05-07 Joseph Myers <joseph@codesourcery.com>
44860 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44862 (EXPL_FINITE): Likewise.
44863 (FLDLOG): Likewise.
44864 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44865 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44867 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44869 (EXPL_FINITE): Likewise.
44870 (FLDLOG): Likewise.
44871 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44872 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44874 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44875 test of -max_value argument for long double.
44876 * sysdeps/i386/fpu/libm-test-ulps: Update.
44877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44879 2012-05-06 David S. Miller <davem@davemloft.net>
44881 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44882 quad soft-float symbols whose references which are compiler
44884 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44886 2012-05-06 Joseph Myers <joseph@codesourcery.com>
44890 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44892 (EXPL_FINITE): Likewise.
44893 (FLDLOG): Likewise.
44896 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44897 Adjust comments for base varying.
44898 (__expl_finite): Change alias to EXPL_FINITE.
44899 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44901 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44902 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44903 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44904 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44905 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44907 (EXPL_FINITE): Likewise.
44908 (FLDLOG): Likewise.
44911 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44912 Adjust comments for base varying.
44913 (__expl_finite): Change alias to EXPL_FINITE.
44914 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44919 * math/libm-test.inc (check_float_internal): Correct ulp
44920 calculation for subnormal expected results.
44922 2012-05-06 Andreas Jaeger <aj@suse.de>
44924 * Makeconfig (+math-flags): New, set to -frounding-math.
44925 (+cflags): Add +math-flags so that all of glibc gets compiled with
44928 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44930 2012-05-05 Joseph Myers <joseph@codesourcery.com>
44932 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44938 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44939 (__ieee754_expl): Allow for and saturate large arguments.
44940 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44941 (u_threshold): Likewise.
44942 (__exp): Call __ieee754_exp before checking for overflow and
44944 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44945 (u_threshold): Likewise.
44946 (__expf): Call __ieee754_expf before checking for overflow and
44948 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44949 (u_threshold): Likewise.
44950 (__expl): Call __ieee754_expl before checking for overflow and
44952 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44953 (__ieee754_expl): Allow for and saturate large arguments.
44954 * math/libm-test.inc (exp_test): Add another test. Do not allow
44955 missing overflow exception on overflow.
44956 (expm1_test): Do not allow missing overflow exception on overflow.
44958 * sysdeps/i386/fpu/e_expl.c: Move to ...
44959 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44960 rather than using inline asm.
44961 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44962 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44963 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44965 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44968 (signal): Likewise.
44972 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44974 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44975 sysdeps/unix/common/syscalls.list.
44976 (fchmod): Likewise.
44977 (fchown): Likewise.
44978 (ftruncate): Likewise.
44979 (getrusage): Likewise.
44980 (gettimeofday): Likewise.
44981 (setpgid): Likewise.
44982 (setregid): Likewise.
44983 (setreuid): Likewise.
44984 (sigaction): Likewise.
44985 (truncate): Likewise.
44986 (vhangup): Likewise.
44987 * sysdeps/unix/common/syscalls.list: Remove file.
44988 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44989 * sysdeps/unix/sysv/linux/Implies: Likewise.
44991 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44993 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44995 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44999 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45002 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45005 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45008 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45011 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45014 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45017 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45021 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45025 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45028 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45032 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45036 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45038 * sysdeps/unix/common/bits/dirent.h: Remove file.
45039 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45041 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45042 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45043 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45044 * sysdeps/unix/bsd/isatty.c: Likewise.
45045 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45046 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45047 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45049 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45052 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45053 long double comparison inaccuracies.
45054 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45057 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45059 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45060 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45062 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45065 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45066 nonzero digits before rounding a hex value.
45067 * stdlib/tst-strtod.c (tests): Add another test.
45069 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45071 * sysdeps/s390/fpu/libm-test-ulps: Update.
45073 2012-05-03 Andreas Jaeger <aj@suse.de>
45075 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45076 does not get optimized out.
45077 (malloc_opt_barrier): New.
45079 2012-05-03 Andreas Jaeger <aj@suse.de>
45080 Roland McGrath <roland@hack.frob.com>
45082 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
45083 intermediate file deletion.
45084 (generated): Add .symlist files.
45086 2012-05-03 Joseph Myers <joseph@codesourcery.com>
45089 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45090 Redirect under this condition.
45091 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45092 [__USE_GNU] (__dprintf_chk): Not under this condition.
45093 [__USE_GNU] (__vdprintf_chk): Likewise.
45094 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45095 under this condition.
45096 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45097 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45098 [__USE_XOPEN2K8] (vdprintf): Likewise.
45099 [__USE_GNU] (__dprintf_chk): Not under this condition.
45100 [__USE_GNU] (__vdprintf_chk): Likewise.
45101 [__USE_GNU] (dprintf): Likewise.
45102 [__USE_GNU] (vdprintf): Likewise.
45104 2012-05-03 Roland McGrath <roland@hack.frob.com>
45106 * elf/Makefile (common-generated): Set this instead of generated for
45107 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45108 $(all-built-dso)-derived lists.
45110 2012-05-03 Andreas Jaeger <aj@suse.de>
45112 * sysdeps/i386/fpu/libm-test-ulps: Update.
45115 * FAQ.in: Likewise.
45116 * scripts/gen-FAQ.pl: Likewise.
45117 * manual/install.texi (Installation): Point to online location of
45119 * Makefile (files-for-dist): Remove FAQ.
45122 2012-05-02 Allan McRae <allan@archlinux.org>
45124 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45125 (LDFLAGS-reldepmod5.so): Likewise.
45126 (LDFLAGS-reldep6mod1.so): Likewise.
45127 (LDFLAGS-reldep6mod4.so): Likewise.
45128 (LDFLAGS-reldep8mod3.so): Likewise.
45129 (LDFLAGS-unload4mod1.so): Likewise.
45130 (LDFLAGS-unload4mod2.so): Likewise.
45131 (LDFLAGS-tst-initorder): Likewise.
45132 (LDFLAGS-tst-initordera2.so): Likewise.
45133 (LDFLAGS-tst-initordera3.so): Likewise.
45134 (LDFLAGS-tst-initordera4.so): Likewise.
45135 (LDFLAGS-tst-initorderb2.so): Likewise.
45136 (LDFLAGS-noload): Likewise.
45137 (LDFLAGS-next): Likewise.
45138 (LDFLAGS-order2mod1.so): Likewise.
45139 (LDFLAGS-order2mod2.so): Likewise.
45140 (LDFLAGS-tst-initorder2): Likewise.
45141 (LDFLAGS-tst-initorder2a.so): Likewise.
45142 (LDFLAGS-tst-initorder2b.so): Likewise.
45143 (LDFLAGS-tst-initorder2c.so): Likewise.
45144 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45146 2012-05-02 David S. Miller <davem@davemloft.net>
45148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45150 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45153 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45155 2012-05-02 Andreas Jaeger <aj@suse.de>
45157 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45158 since we manipulate rounding mode.
45159 (CPPFLAGS-test-idouble.c): Likewise.
45160 (CPPFLAGS-test-ifloat.c): Likewise.
45161 (CFLAGS-test-ldouble.c): Likewise.
45162 (CFLAGS-test-double.c): Likewise.
45163 (CFLAGS-test-float.c): Likewise.
45164 (CFLAGS-test-misc.c): Likewise.
45165 (CFLAGS-test-test-fenv.c): Likewise.
45167 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45171 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45172 comparisons to determine direction to adjust input.
45174 2012-05-01 Roland McGrath <roland@hack.frob.com>
45176 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45177 output to the target.
45179 * scripts/localplt.awk: New file.
45180 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45181 (check-localplt-CFLAGS): Variable removed.
45182 ($(all-built-dso:=.jmprel)): New static pattern rule.
45183 (generated): Add those targets.
45184 (localplt-built-dso): New variable.
45185 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45187 * elf/check-localplt.c: File removed.
45189 * scripts/check-execstack.awk: New file.
45190 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45191 (check-execstack-CFLAGS): Variable removed.
45192 ($(objpfx)check-execstack.h): Target removed.
45193 ($(objpfx)execstack-default): New target.
45194 (generated): Add that instead of check-execstack.h.
45195 ($(all-built-dso:=.phdr)): New static pattern rule.
45196 (generated): Add those targets.
45197 * elf/check-execstack.c: File removed.
45199 * scripts/check-textrel.awk: New file.
45200 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45201 (check-textrel-CFLAGS): Variable removed.
45202 (all-built-dso): Use := to define.o
45203 ($(all-built-dso:=.dyn)): New static pattern rule.
45204 (generated): Add those targets.
45205 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45206 * config.make.in (READELF): New substituted variable.
45207 * elf/check-textrel.c: File removed.
45209 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45211 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45213 * conform/data/ctype.h-data [C99-based standards] (isblank):
45215 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45216 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45217 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45218 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45219 Specify type. Require positive value.
45220 (EILSEQ): Likewise.
45221 (ERANGE): Likewise.
45222 [ISO || POSIX] (EILSEQ): Do not expect.
45223 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45224 Specify type. Require positive value.
45225 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45226 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45227 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45228 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45229 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45230 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45231 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45232 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45233 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45234 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45235 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45236 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45237 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45238 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45239 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45240 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45241 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45242 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45243 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45244 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45245 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45246 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45247 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45248 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45249 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45250 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45251 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45252 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45253 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45254 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45255 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45256 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45257 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45258 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45259 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45260 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45261 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45262 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45263 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45264 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45265 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45266 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45267 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45268 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45269 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45270 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45271 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45272 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45273 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45274 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45275 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45276 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45277 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45278 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45279 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45280 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45281 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45282 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45283 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45284 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45285 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45286 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45287 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45288 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45289 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45290 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45291 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45292 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45293 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45294 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45295 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45296 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45297 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45298 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45299 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45300 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45301 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45303 (FLT_ROUNDS): Expect as macro, not constant.
45304 (FLT_MANT_DIG): Use macro-int-constant.
45305 (DBL_MANT_DIG): Likewise.
45306 (LDBL_MANT_DIG): Likewise.
45307 (FLT_DIG): Likewise.
45308 (DBL_DIG): Likewise.
45309 (LDBL_DIG): Likewise.
45310 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45311 (DBL_MIN_EXP): Likewise.
45312 (LDBL_MIN_EXP): Likewise.
45313 (FLT_MAX_EXP): Use macro-int-constant.
45314 (DBL_MAX_EXP): Likewise.
45315 (LDBL_MAX_EXP): Likewise.
45316 (FLT_MAX_10_EXP): Likewise.
45317 (DBL_MAX_10_EXP): Likewise.
45318 (LDBL_MAX_10_EXP): Likewise.
45319 (FLT_MAX): Use macro-constant.
45320 (DBL_MAX): Likewise.
45321 (LDBL_MAX): Likewise.
45322 (FLT_EPSILON): Use macro-constant. Give upper bound.
45323 (DBL_EPSILON): Likewise.
45324 (LDBL_EPSILON): Likewise.
45325 (FLT_MIN): Likewise.
45326 (DBL_MIN): Likewise.
45327 (LDBL_MIN): Likewise.
45328 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45329 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45330 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45331 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45332 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45333 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45334 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45335 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45336 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45337 [ISO11] (FLT_TRUE_MIN): Likewise.
45338 [ISO11] (LDBL_TRUE_MIN): Likewise.
45339 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45340 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45341 (SCHAR_MIN): Use macro-int-constant. Specify type.
45342 (SCHAR_MAX): Likewise.
45343 (UCHAR_MAX): Likewise.
45344 (CHAR_MIN): Likewise.
45345 (CHAR_MAX): Likewise.
45346 (MB_LEN_MAX): Use macro-int-constant.
45347 (SHRT_MIN): Use macro-int-constant. Specify type.
45348 (SHRT_MAX): Likewise.
45349 (USHRT_MAX): Likewise.
45350 (INT_MAX): Likewise.
45351 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45353 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45355 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45357 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45358 bound negative. Suffix upper bound with "L".
45359 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45361 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45363 [C99-based standards] (LLONG_MAX): Likewise.
45364 [C99-based standards] (ULLONG_MAX): Likewise.
45365 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45367 [ISO11] (max_align_t): Require type.
45368 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45370 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45371 from $CFLAGS, without defining away __attribute__ calls.
45372 (checknamespace): Use $CFLAGS_namespace.
45374 * conform/conformtest.pl (@keywords): Only include C99 keywords
45375 for standards based on C99 or C11.
45377 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45379 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45382 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45383 usability of symbols in #if.
45385 * conform/conformtest.pl: If macro or constant types start
45386 "promoted:", expect the symbol to be of the following type
45387 promoted by the integer promotions.
45389 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45390 in one place. Also handle "macro-constant".
45392 * conform/conformtest.pl: Only accept expected macro values with
45393 "==". Parse all "macro" lines in one place.
45394 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45396 * conform/conformtest.pl: Handle braced types on "constant" lines
45397 instead of handling "typed-constant".
45398 * conform/data/signal.h-data: Use "constant" instead of
45401 * conform/conformtest.pl: Handle "optional-" at start of lines in
45402 one place rather than duplicating several cases. Handle each
45403 format of "macro" line with initial "optional-".
45405 * conform/conformtest.pl: Only accept expected constant or
45406 optional-constant values with "==". Parse all "constant" lines in
45407 one place. Parse all "optional-constant" lines in one place.
45408 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45409 * conform/data/fmtmsg.h-data: Likewise.
45410 * conform/data/netinet/in.h-data: Likewise.
45411 * conform/data/tar.h-data: Likewise.
45412 * conform/data/limits.h-data: Use "==" form on "constant" and
45413 "optional-constant" lines.
45415 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45416 Use -std=c99 for XOPEN2K.
45417 (@knownproblems): Remove.
45418 (newtoken): Don't check %isknown.
45420 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45421 Do not expect macro.
45422 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45423 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45424 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45425 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45426 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45427 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45428 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45429 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45430 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45431 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45432 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45433 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45434 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45435 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45436 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45437 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45438 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45439 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45440 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45441 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45442 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45443 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45444 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45445 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45446 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45447 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45448 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45449 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45450 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45451 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45452 [XPG3] (acosh): Likewise.
45453 [XPG3] (asinh): Likewise.
45454 [XPG3] (atanh): Likewise.
45455 [XPG3] (cbrt): Likewise.
45456 [XPG3] (expm1): Likewise.
45457 [XPG3] (ilogb): Likewise.
45458 [XPG3] (log1p): Likewise.
45459 [XPG3] (logb): Likewise.
45460 [XPG3] (nextafter): Likewise.
45461 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45462 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45463 [XPG3] (remainder): Likewise.
45464 [XPG3] (rint): Likewise.
45465 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45466 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45467 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45468 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45469 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45470 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45471 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45472 [UNIX98 || XOPEN2K] (scalb): Expect.
45473 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45474 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45475 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45476 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45477 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45478 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45479 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45480 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45481 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45482 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45483 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45484 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45485 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45486 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45487 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45488 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45489 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45490 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45491 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45492 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45493 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45494 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45495 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45496 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45497 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45498 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45499 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45500 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45501 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45502 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45503 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45504 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45505 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45506 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45507 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45508 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45509 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45510 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45511 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45512 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45513 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45514 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45515 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45516 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45517 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45518 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45519 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45520 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45521 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45522 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45523 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45524 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45525 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45526 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45527 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45528 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45529 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45530 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45531 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45532 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45533 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45534 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45535 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45536 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45537 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45538 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45539 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45540 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45541 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45542 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45543 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45544 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45545 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45546 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45547 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45548 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45549 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45550 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45551 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45552 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45553 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45554 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45555 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45556 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45557 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45558 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45559 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45560 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45561 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45562 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45563 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45564 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45565 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45566 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45567 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45568 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45569 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45570 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45571 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45572 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45573 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45574 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45575 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45576 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45577 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45578 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45579 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45580 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45581 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45582 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45583 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45584 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45585 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45586 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45587 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45588 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45589 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45590 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45591 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45592 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45593 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45594 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45595 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45596 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45597 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45598 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45599 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45600 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45601 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45602 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45603 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45604 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45605 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45606 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45607 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45608 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45609 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45611 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45612 _XOPEN_SOURCE_EXTENDED for XPG4.
45614 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45616 * Makeconfig (localtime): Remove variable.
45617 (inst_localtime-file): Likewise.
45619 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45640 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45644 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45645 comparisons to determine direction to adjust input.
45646 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45647 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45648 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45650 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45652 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45654 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45655 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45657 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45659 * math/libm-test.inc (nexttoward_test): Add more tests.
45661 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45664 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45665 in version GLIBC_2.1, not GLIBC_2.0.
45666 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45669 2012-04-30 Joseph Myers <joseph@codesourcery.com>
45672 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45674 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45675 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45676 * math/libm-test.inc (acos_test): Add more tests.
45677 (asin_test): Likewise.
45678 * sysdeps/i386/fpu/libm-test-ulps: Update.
45679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45682 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45684 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45685 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45686 * math/libm-test.inc (acos_test_tonearest): New function.
45687 (acos_test_towardzero): Likewise.
45688 (acos_test_downward): Likewise.
45689 (acos_test_upward): Likewise.
45690 (asin_test_tonearest): Likewise.
45691 (asin_test_towardzero): Likewise.
45692 (asin_test_downward): Likewise.
45693 (asin_test_upward): Likewise.
45694 (main): Call the new functions.
45695 * sysdeps/i386/fpu/libm-test-ulps: Update.
45696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45700 * math/e_exp10.c: Include <float.h>.
45701 (__ieee754_exp10): Handle underflow here rather than multiplying
45702 large negative argument by M_LN10.
45703 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45705 * math/e_exp10l.c: Include <float.h>.
45706 (__ieee754_exp10l): Handle underflow here rather than multiplying
45707 large negative argument by M_LN10l.
45708 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45709 spurious overflow exception on underflow.
45711 2012-04-29 Marek Polacek <polacek@redhat.com>
45713 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45714 (__fortify_function): New macro.
45715 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45716 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45717 __extern_always_inline.
45718 * libio/bits/stdio2.h: Likewise.
45719 * libio/bits/stdio.h: Likewise.
45720 * string/string.h: Likewise.
45721 * string/bits/string3.h: Likewise.
45722 * include/stdio.h: Likewise.
45723 * stdlib/bits/stdlib.h: Likewise.
45724 * stdlib/stdlib.h: Likewise.
45725 * rt/bits/mqueue2.h: Likewise.
45726 * rt/mqueue.h: Likewise.
45727 * posix/bits/unistd.h: Likewise.
45728 * posix/unistd.h: Likewise.
45729 * io/bits/poll2.h: Likewise.
45730 * io/bits/fcntl2.h: Likewise.
45731 * io/fcntl.h: Likewise.
45732 * io/sys/poll.h: Likewise.
45733 * misc/bits/syslog.h: Likewise.
45734 * misc/bits/syslog-ldbl.h: Likewise.
45735 * misc/sys/syslog.h: Likewise.
45736 * socket/bits/socket2.h: Likewise.
45737 * socket/sys/socket.h: Likewise.
45738 * debug/tst-chk1.c: Likewise.
45739 * wcsmbs/bits/wchar2.h: Likewise.
45740 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45741 * wcsmbs/wchar.h: Likewise.
45743 2012-04-29 Andreas Jaeger <aj@suse.de>
45745 * Makerules (tests): Remove enable-check-abi protection.
45746 (check-abi-warn): Remove.
45747 (check-abi-%): Remove check-abi-warn usage.
45749 * configure.in: Remove check-abi configure option.
45750 * configure: Regenerated.
45751 * config.make.in (enable-check-abi): Remove.
45753 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45756 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45757 double functions to double *_finite functions.
45760 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45761 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45763 * stdio-common/Makefile (tests): Add tst-sprintf3.
45764 * stdio-common/tst-sprintf3.c: New file.
45766 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45767 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45769 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45771 * conform/conformtest.pl: Remove duplicate typed-constant
45774 2012-04-28 David S. Miller <davem@davemloft.net>
45776 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45777 (check-abi-%): Remove AWK script prerequisite and explicit
45779 (check-abi): Rewrite to just diff the symlist with the abilist.
45780 (config-tls, config-abi-config): Delete, no longer used.
45781 (update-abi-%): Remove AWK script and explicit abilist directory.
45782 (update-abi): Rewrite to simply compare and conditionally copy the
45783 symlist and the sysdep abilist file. Remove update-abi-config
45785 * abilist/ld.abilist: Remove.
45786 * abilist/libBrokenLocale.abilist: Remove.
45787 * abilist/libanl.abilist: Remove.
45788 * abilist/libcrypt.abilist: Remove.
45789 * abilist/libdl.abilist: Remove.
45790 * abilist/librt.abilist: Remove.
45791 * abilist/libthread_db.abilist: Remove.
45792 * abilist/libutil.abilist: Remove.
45793 * scripts/extract-abilist.awk: Remove.
45794 * scripts/merge-abilist.awk: Remove.
45795 * sysdeps/generic/libcidn.abilist: New file.
45796 * sysdeps/generic/libnss_compat.abilist: New file.
45797 * sysdeps/generic/libnss_db.abilist: New file.
45798 * sysdeps/generic/libnss_dns.abilist: New file.
45799 * sysdeps/generic/libnss_files.abilist: New file.
45800 * sysdeps/generic/libnss_hesiod.abilist: New file.
45801 * sysdeps/generic/libnss_nis.abilist: New file.
45802 * sysdeps/generic/libnss_nisplus.abilist: New file.
45803 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45804 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45805 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45807 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45808 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45809 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45810 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45811 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45812 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45813 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45814 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45815 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45817 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45818 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45819 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45820 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45822 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45823 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45824 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45825 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45826 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45827 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45829 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45830 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45831 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45833 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45834 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45836 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45838 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45840 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45842 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45936 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45937 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45938 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45940 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45941 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45942 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45943 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45944 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45945 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45946 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45947 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45948 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45949 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46001 2012-04-28 Joseph Myers <joseph@codesourcery.com>
46003 * conform/conformtest.pl: Fix typo in handling typed-constant from
46006 2012-04-27 Joseph Myers <joseph@codesourcery.com>
46008 * README: Cut down references to pre-2.6 Linux kernels and
46009 Linuxthreads. Update lists of configurations in libc and ports
46010 and sort alphabetically. Say "or newer" with Linux kernel version
46013 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46015 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46018 * math/libm-test.inc (logb_test_downward): New test to expose
46019 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46022 2012-04-27 Joseph Myers <joseph@codesourcery.com>
46025 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46027 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46028 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46030 2012-04-26 Joseph Myers <joseph@codesourcery.com>
46032 * sysdeps/unix/i386/brk.S: Remove file.
46033 * sysdeps/unix/i386/dl-brk.S: Likewise.
46034 * sysdeps/unix/i386/pipe.S: Likewise.
46035 * sysdeps/unix/i386/sigreturn.S: Likewise.
46036 * sysdeps/unix/i386/syscall.S: Likewise.
46037 * sysdeps/unix/i386/vfork.S: Likewise.
46038 * sysdeps/unix/i386/wait.S: Likewise.
46040 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46041 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46043 * configure.in (arm*-none*): Do not allow without
46044 --enable-hacker-mode.
46045 (netbsd*): Remove case setting base_os.
46046 (386bsd*): Likewise.
46047 (freebsd*): Likewise.
46050 (sunos*): Likewise.
46051 (ultrix*): Likewise.
46052 (newsos*): Likewise.
46053 (dynix*): Likewise.
46059 (minix*): Likewise.
46060 (irix4*): Likewise.
46061 (irix6*): Likewise.
46062 (solaris[2-9]*): Likewise.
46064 * configure: Regenerated.
46066 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46069 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46070 overflow or cancellation in calculating denominator.
46071 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46072 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46073 down expression to avoid unexpected rounding in newer GCCs.
46074 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46076 2012-04-26 David S. Miller <davem@davemloft.net>
46078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46079 long-double compat symbols.
46080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46094 2012-04-25 David S. Miller <davem@davemloft.net>
46096 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46097 HWCAP_* values only after the memory barriers have been defined.
46098 (atomic_full_barrier): Define.
46099 (atomic_read_barrier): Define.
46100 (atomic_write_barrier): Define.
46102 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46104 * shlib-versions: Add libgcc_s version information.
46105 * sysdeps/generic/libgcc_s.h: Remove.
46106 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46108 * sysdeps/gnu/unwind-resume.c: Likewise.
46109 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46111 2012-04-25 David S. Miller <davem@davemloft.net>
46113 * sysdeps/unix/sparc/brk.S: Delete.
46114 * sysdeps/unix/sparc/dl-brk.S: Delete.
46115 * sysdeps/unix/sparc/pipe.S: Delete.
46116 * sysdeps/unix/sparc/sysdep.S: Delete.
46117 * sysdeps/unix/sparc/sysdep.h: Delete.
46118 * sysdeps/unix/sparc/vfork.S: Delete.
46119 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46120 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46121 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46122 (ret_ERRVAL, r0, r1, MOVE): Define.
46123 (JUMPTARGET): Remove.
46124 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46125 sysdeps/unix/sparc/sysdep.h
46126 (ENTRY, END): Remove.
46127 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46129 2012-04-25 Joseph Myers <joseph@codesourcery.com>
46131 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46132 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46135 * timezone/README: Update upstream location and email address for
46137 * timezone/zdump.c: Update from tzcode 2012b.
46138 * timezone/zic.c: Likewise.
46140 * configure.in (libc_cv_as_needed): Remove test.
46141 * configure: Regenerated.
46142 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46143 conditional definition.
46144 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46145 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46146 * config.make.in (have-as-needed): Remove variable.
46148 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46149 Paul Pluzhnikov <ppluzhnikov@google.com>
46151 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46154 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46156 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46157 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46158 * sysdeps/sh/strlen.S: Likewise.
46160 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46162 * sysdeps/unix/fork.S: Remove file.
46163 * sysdeps/unix/i386/fork.S: Likewise.
46164 * sysdeps/unix/sparc/fork.S: Likewise.
46166 * sysdeps/unix/system.c: Remove file.
46167 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46169 * sysdeps/unix/getegid.S: Remove file.
46170 * sysdeps/unix/geteuid.S: Likewise.
46172 2012-04-24 Roland McGrath <roland@hack.frob.com>
46174 * scripts/check-localplt.awk: New file.
46175 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46177 * scripts/data/localplt-generic.data: Add a comment.
46179 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46180 NODE when __dir_mkfile failed.
46181 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46182 Reported by Ludovic Courtès <ludo@gnu.org>.
46184 2012-04-24 Andreas Jaeger <aj@suse.de>
46186 * Makerules (common-clean): Also remove gen-as-const-headers
46189 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46191 * Makerules (native-compile): Do not change working directory for
46192 build. Use $(OUTPUT_OPTION) in command.
46193 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46195 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46198 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46199 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46200 * math/libm-test.inc (floor_test): Add more tests.
46201 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46203 2012-04-24 Joseph Myers <joseph@codesourcery.com>
46205 * sysdeps/unix/getdents.c: Remove file.
46206 * sysdeps/unix/sysv/getdents.c: Likewise.
46207 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46209 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46210 sysdeps/unix/mman/syscalls.list.
46212 (mprotect): Likewise.
46214 (munmap): Likewise.
46215 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46216 * sysdeps/unix/mman/syscalls.list: Remove.
46217 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46219 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46220 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46221 * configure: Regenerated.
46222 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46223 $(libgcc_s_suffix).
46224 * config.make.in (libgcc_s_suffix): Remove variable.
46226 2012-04-23 Joseph Myers <joseph@codesourcery.com>
46228 * sysdeps/unix/sysv/gethostname.c: Move to ...
46229 * sysdeps/posix/gethostname.c: ... here.
46231 * sysdeps/unix/execve.S: Remove file.
46233 * sysdeps/unix/_exit.S: Remove file.
46235 2012-04-23 Andreas Jaeger <aj@suse.de>
46238 * manual/Makefile: Remove make dist support, there's no
46239 need for a stand-alone documentation tar ball.
46240 (TEXI2DVI): Define always, it's not in Makeconfig.
46243 (edition): Removed.
46244 (glibc-doc-$(edition).tar): Removed
46248 (ETAGS): Remove, it's in Makeconfig.
46249 (move-if-change): Remove, it's in Makeconfig.
46251 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
46254 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46255 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46256 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46257 (strtod_l, strtof_l, strtold_l): Remove __wur.
46258 It is not necessarily an error to ignore strtol's return value.
46259 One can reliably look at the stored endptr to decide whether
46260 the number had valid syntax.
46262 2012-04-21 Andreas Jaeger <aj@suse.de>
46265 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46267 2012-04-21 Joseph Myers <joseph@codesourcery.com>
46269 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46270 * sysdeps/unix/sysv/Versions: Remove file.
46272 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46277 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
46280 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46281 version from __vm86.
46283 2012-04-20 Joseph Myers <joseph@codesourcery.com>
46285 * sysdeps/unix/common/lxstat.c: Remove file.
46286 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46288 * sysdeps/unix/sysv/Makefile: Remove file.
46290 * sysdeps/unix/sysv/direct.h: Remove file.
46292 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46293 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46294 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46295 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46296 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46297 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46298 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46300 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46302 * sysdeps/unix/xmknod.c: Remove file.
46303 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46305 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46307 * sysdeps/unix/sysv/i386/time.S: Remove file.
46309 * sysdeps/unix/fxstat.c: Remove file.
46310 * sysdeps/unix/xstat.c: Likewise.
46311 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46313 * sysdeps/unix/sysv/sigaction.c: Remove file.
46315 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46316 (sysdep_headers): Remove variable.
46317 [termio.h not in sysdep_headers] (generated): Likewise.
46318 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46319 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46320 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46321 * sysdeps/unix/sysv/tcflow.c: Likewise.
46322 * sysdeps/unix/sysv/tcflush.c: Likewise.
46323 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46324 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46325 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46326 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46327 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46329 * sysdeps/unix/siglist.c: Remove file.
46331 * sysdeps/unix/getppid.S: Remove file.
46333 * sysdeps/unix/mkdir.c: Remove file.
46334 * sysdeps/unix/rmdir.c: Likewise.
46336 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46338 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46340 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46341 errlist-compat value.
46343 2012-04-18 David S. Miller <davem@davemloft.net>
46345 * sysdeps/generic/memcopy.h (reg_char): Delete.
46346 * debug/strcat_chk.c: Use char, not reg_char.
46347 * debug/strcpy_chk.c: Likewise.
46348 * debug/strncat_chk.c: Likewise.
46349 * debug/strncpy_chk.c: Likewise.
46350 * string/memchr.c: Likewise.
46351 * string/memrchr.c: Likewise.
46352 * string/rawmemchr.c: Likewise.
46353 * string/strcat.c: Likewise.
46354 * string/strchr.c: Likewise.
46355 * string/strchrnul.c: Likewise.
46356 * string/strcmp.c: Likewise.
46357 * string/strcpy.c: Likewise.
46358 * string/strncat.c: Likewise.
46359 * string/strncmp.c: Likewise.
46360 * string/strncpy.c: Likewise.
46362 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46364 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46365 __builtin_memcopy is called when src and dest ranges are known to not
46368 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46370 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46371 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46372 fwd_align_merge macro call.
46373 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46374 bwd_align_merge macro call.
46375 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46377 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46379 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46380 bwd_align_merge macros.
46381 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46382 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46383 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46385 2012-04-18 David S. Miller <davem@davemloft.net>
46387 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46389 2012-04-18 Andreas Jaeger <aj@suse.de>
46392 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46393 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46394 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46396 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46397 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46398 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46400 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46401 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46402 Adjust for changed ldbl-128 files.
46404 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46405 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46406 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46408 2012-04-17 David S. Miller <davem@davemloft.net>
46410 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46412 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46414 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46415 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46416 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46417 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46418 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46419 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46421 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46424 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46425 * math/libm-test.inc: Add ilogb errno and exception tests.
46426 * math/w_ilogb.c: New file: ilogb wrapper.
46427 * math/w_ilogbf.c: New file: ilogbf wrapper.
46428 * math/w_ilogbl.c: New file: ilogbl wrapper.
46429 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46430 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46431 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46432 exception being thrown with 0.0 as argument.
46433 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46434 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46435 exception being thrown with 0.0 as argument.
46436 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46437 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46438 exception being thrown with 0.0 as argument.
46439 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46440 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46441 exception being thrown with 0.0 as argument.
46442 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46443 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46444 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46445 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46446 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46447 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46448 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46449 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46450 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46452 2012-04-17 Petr Baudis <pasky@ucw.cz>
46454 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46457 2012-04-16 Marek Polacek <polacek@redhat.com>
46459 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46461 2012-04-16 Marek Polacek <polacek@redhat.com>
46463 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46464 operands of fdivp instruction.
46466 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46468 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46469 * elf/tst-auditmod3b.c: Likewise.
46470 * elf/tst-auditmod4b.c: Likewise.
46471 * elf/tst-auditmod5b.c: Likewise.
46472 * elf/tst-auditmod6b.c: Likewise.
46473 * elf/tst-auditmod6c.c: Likewise.
46474 * elf/tst-auditmod7b.c: Likewise.
46475 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46476 * sysdeps/x86_64/preconfigure.in: Likewise.
46477 * sysdeps/x86_64/preconfigure: Regenerated.
46479 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46481 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46484 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
46486 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46487 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46489 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46492 * locale/iso-639.def: Fix gl language name. Spotted by
46495 2012-04-12 Roland McGrath <roland@hack.frob.com>
46498 * libio/libio.h (__io_write_fn): Update comment.
46500 2012-04-12 Petr Baudis <pasky@ucw.cz>
46503 * stdio.texi (Hook Functions): The user provided writer function
46504 is not allowed to return -1.
46506 2012-04-11 David S. Miller <davem@davemloft.net>
46508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46510 2012-04-11 Mike Frysinger <vapier@gentoo.org>
46512 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46513 Add a leading slash to rtkaio.
46515 2012-04-11 Jim Meyering <meyering@redhat.com>
46518 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46519 It is not necessarily an error to ignore fwrite's return
46520 value. One can reliably use ferror to test for errors after
46523 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46525 * bits/types.h (__snseconds_t): New type.
46526 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46528 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46529 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46530 (__SNSECONDS_T_TYPE): Likewise.
46531 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46532 (__SNSECONDS_T_TYPE): Likewise.
46533 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46534 (__SNSECONDS_T_TYPE): Likewise.
46536 2012-04-10 Andreas Jaeger <aj@suse.de>
46539 * manual/time.texi (Processor Time): Return type of times is
46540 elapsed real time since an arbitrary point in the past.
46541 (CPU Time): Move CLK_TCK from here...
46542 (Processor Time): ...to here. Correct description.
46543 * manual/conf.texi (Constants for Sysconf): Correct description of
46546 2012-04-10 David S. Miller <davem@davemloft.net>
46549 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46550 where the is a gap between DT_REL(A) and DT_JMPREL.
46552 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46554 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46555 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46556 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46558 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46560 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46561 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46562 (dl_main): Handle --inhibit-cache.
46563 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46565 * elf/dl-load.c (_dl_map_object): Use it.
46566 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46568 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46571 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46572 (__ieee754_powl): Saturate large exponents rather than testing for
46573 overflow of y*log2(x).
46574 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46575 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46579 * math/s_ctan.c: Include <float.h>.
46580 (__ctan): Avoid internal overflow or cancellation in calculating
46582 * math/s_ctanf.c: Likewise.
46583 * math/s_ctanl.c: Likewise.
46584 * math/s_ctanh.c: Likewise.
46585 * math/s_ctanhf.c: Likewise.
46586 * math/s_ctanhl.c: Likewise.
46587 * math/libm-test.inc (ctan_test): Add more tests.
46588 (ctanh_test): Likewise.
46589 * sysdeps/i386/fpu/libm-test-ulps: Update.
46590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46592 2012-04-09 Andreas Jaeger <aj@suse.de>
46595 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46596 is an optional BSD extension.
46599 * manual/stdio.texi (Opening Streams): Document additional fopen
46602 2012-04-09 Roland McGrath <roland@hack.frob.com>
46604 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46605 %eax without telling the compiler.
46607 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46610 * manual/install.texi: Use sourceware.org.
46612 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46615 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46616 (__ieee754_pow): Generate overflow and underflow using huge*huge
46617 and tiny*tiny rather than just returning constant infinity or zero
46618 for large exponents.
46619 * math/libm-test.inc (pow_test): Require overflow exceptions for
46620 applicable cases of large exponents.
46623 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46624 (__ieee754_pow): Use iterative multiplication algorithm only for
46625 integer exponents with absolute value below 1024. Check for odd
46626 integer exponents when using algorithm for real exponents.
46627 * math/libm-test.inc (pow_test): Add more tests.
46628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46630 2012-04-08 Joseph Myers <joseph@codesourcery.com>
46633 * math/libm-test.inc (exp_test): Do not allow overflow exception
46636 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46639 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46640 instead of __kernel_standard_f.
46642 2012-04-08 Mike Frysinger <vapier@gentoo.org>
46644 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46645 * sysdeps/x86_64/memset_chk.S: Likewise.
46647 2012-04-08 Andreas Jaeger <aj@suse.de>
46650 * manual/startup.texi (Environment Access): Describe return value
46651 for putenv and setenv.
46654 * manual/filesys.texi (Directory Entries): Add description for
46658 * manual/filesys.texi (Directory Entries): Clarify that it's file
46659 system not operating system in the description of DT_UNKNOWN.
46662 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46664 2012-04-08 Stephen Compall <s11@member.fsf.org>
46667 * manual/llio.texi (Opening and Closing Files): Add cross
46668 reference to explain mode argument.
46670 2012-04-07 Mike Frysinger <vapier@gentoo.org>
46672 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46673 * sysdeps/x86_64/memset_chk.S: Likewise.
46675 2012-04-07 David S. Miller <davem@davemloft.net>
46677 * elf/elf.h (R_SPARC_WDISP10): Define.
46678 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46680 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46681 R_SPARC_SIZE64 and R_SPARC_H34.
46683 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46685 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46686 conditions and remove no longer applicable assertion.
46688 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46690 * bits/byteswap.h: Include <features.h>.
46691 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46692 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46694 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46696 * bits/byteswap.h (__bswap_16): Removed.
46697 Include <bits/byteswap-16.h> to get __bswap_16.
46698 * sysdeps/i386/bits/byteswap.h: Likewise.
46699 * sysdeps/s390/bits/byteswap.h: Likewise.
46700 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46701 * bits/byteswap-16.h: New file.
46702 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46703 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46704 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46705 * string/Makefile (headers): Add bits/byteswap-16.h.
46707 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46710 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46712 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46713 * nss/tst-nss-static.c: New.
46715 2012-04-06 Robert Millan <rmh@gnu.org>
46718 * manual/llio.texi (File Position Primitive): lseek
46719 refers to WHENCE when it really means OFFSET.
46721 2012-04-06 Andreas Jaeger <aj@suse.de>
46723 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46724 strncmp declarations.
46726 * abilist/libc.abilist: Add __poll and __ppoll.
46728 2012-04-05 David S. Miller <davem@davemloft.net>
46730 * scripts/check-local-headers.sh: Accept a host triplet in the
46731 path matched by the exclude regexp.
46733 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46735 * sysdeps/powerpc/powerpc32/dl-machine.h
46736 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46737 * sysdeps/s390/s390-32/dl-machine.h
46738 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46739 * sysdeps/sparc/sparc32/dl-machine.h
46740 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46741 * sysdeps/sparc/sparc64/dl-machine.h
46742 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46744 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46746 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46747 undefined symbol errors.
46749 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46752 2012-04-05 Michael Matz <matz@suse.de>
46755 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46757 2012-04-05 Andreas Jaeger <aj@suse.de>
46760 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46763 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46765 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46766 which ROUND is no valid rounding mode.
46768 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46770 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46772 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46774 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46776 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46777 an exception using FPU order intentionally.
46779 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46781 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46782 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46783 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46784 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46786 2012-04-05 Simon Josefsson <simon@josefsson.org>
46789 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46790 EINVAL when BUFLEN is too smal.
46792 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46795 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46796 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46798 2012-04-03 Andreas Jaeger <aj@suse.de>
46801 * manual/setjmp.texi (System V contexts): Fix sentence.
46804 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46805 New macro for this case.
46806 [!__GNUC__] (__bswap_64): New inline function for this case.
46807 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46808 * bits/byteswap.h: Likewise.
46809 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46810 ull, guard with __GLIBC_HAVE_LONG_LONG.
46812 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46813 __GLIBC_HAVE_LONG_LONG.
46815 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46816 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46818 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46821 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46822 inptr and inend, rather than using last_ch.
46824 2012-04-02 David S. Miller <davem@davemloft.net>
46826 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46827 * stdio-common/printf-parse.h (read_int): Change return type to
46828 'int', return -1 on INT_MAX overflow.
46829 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46830 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46831 overflows INT_MAX. Check for overflow of in-format-string precision
46832 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46833 SIZE_MAX not INT_MAX for integer overflow test.
46834 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46835 skip the construct in the format string but do not record anything.
46836 * stdio-common/bug22.c: Adjust to test both width/prevision
46837 INT_MAX overflow as well as total length INT_MAX overflow. Check
46838 explicitly for proper errno values.
46840 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46842 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46844 * string/test-strcmp.c [! WIDE]: Likewise.
46845 * time/tst-mktime2.c: Likewise for INT_MAX.
46846 * string/test-string.h: #include <sys/param.h> for MIN.
46848 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46849 * sysdeps/i386/init-first.c (init): Likewise.
46850 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46851 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46852 * sysdeps/sh/init-first.c (init): Likewise.
46854 2012-04-01 Ulrich Drepper <drepper@gmail.com>
46856 * po/ru.po: Update from translation team.
46857 * po/vi.po: Likewise.
46859 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46861 * resolv/nss_dns/dns-host.c: Merge copyright years.
46863 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46865 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46866 Optimize memcpy with prefetch if
46867 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46868 src, dst pointers have unequal 16 byte alignments.
46870 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46873 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46874 from a CNAME entry and return the minimum ttl for the query.
46875 (gaih_getanswer_slice): Likewise.
46877 2012-03-30 Jeff Law <law@redhat.com>
46879 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46881 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46882 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46884 * resolv/nss_dns/dns-host.c: Update copyright year.
46886 2012-03-30 Ulrich Drepper <drepper@gmail.com>
46888 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46889 requests to save a system call. Fix check that all bytes are sent.
46891 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46892 comments for sendmmsg.
46894 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46897 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46898 with only 1 character between 0x0041 and 0x01b0.
46899 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46900 * wcsmbs/tst-mbsnrtowcs.c: New file.
46902 2012-03-29 David S. Miller <davem@davemloft.net>
46904 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46905 small copies by hand.
46907 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46910 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46911 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46914 2012-03-28 David S. Miller <davem@davemloft.net>
46916 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46917 that branches into memcpy.
46918 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46919 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46920 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46921 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46922 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46924 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46925 implementation too.
46926 * sysdeps/sparc/mempcpy.S: New file.
46928 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46929 the IFUNC routine in the libc case.
46930 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46932 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46933 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46934 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46935 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46936 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46937 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46938 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46939 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46941 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46942 loop to 256 bytes instead of 64 bytes and fix test signedness.
46944 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46945 * sysdeps/sparc/sparc32/Makefile: rather than here...
46946 * sysdeps/sparc/sparc64/Makefile: and here.
46948 2012-03-28 Ulrich Drepper <drepper@gmail.com>
46950 * malloc/mallocbug.c: Avoid warnings about unused variables.
46952 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46955 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46956 in the right place. Discard and retry query if response is
46957 larger than input buffer size.
46959 2012-03-28 Joseph Myers <joseph@codesourcery.com>
46964 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46965 x for large integer exponent.
46966 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46967 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46968 sign of result as needed afterwards.
46969 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46970 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46971 result for underflowing pow the same as for overflow.
46972 (__kernel_standard_l): Handle powl overflow and underflow here
46973 rather than calling __kernel_standard.
46974 * math/libm-test.inc (pow_test): Add more tests.
46989 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46990 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46991 (__kernel_standard_l): New function.
46992 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46994 * math/w_acosl.c (__acosl): Likewise.
46995 * math/w_asinl.c (__asinl): Likewise.
46996 * math/w_atan2l.c (__atan2l): Likewise.
46997 * math/w_atanhl.c (__atanhl): Likewise.
46998 * math/w_coshl.c (__coshl): Likewise.
46999 * math/w_exp10l.c (__exp10l): Likewise.
47000 * math/w_exp2l.c (__exp2l): Likewise.
47001 * math/w_fmodl.c (__fmodl): Likewise.
47002 * math/w_hypotl.c (__hypotl): Likewise.
47003 * math/w_j0l.c (__j0l, __y0l): Likewise.
47004 * math/w_j1l.c (__j1l, __y1l): Likewise.
47005 * math/w_jnl.c (__jnl, __ynl): Likewise.
47006 * math/w_lgammal.c (__lgammal): Likewise.
47007 * math/w_log10l.c (__log10l): Likewise.
47008 * math/w_log2l.c (__log2l): Likewise.
47009 * math/w_logl.c (__logl): Likewise.
47010 * math/w_powl.c (__powl): Likewise.
47011 * math/w_remainderl.c (__remainderl): Likewise.
47012 * math/w_scalbl.c (sysv_scalbl): Likewise.
47013 * math/w_sinhl.c (__sinhl): Likewise.
47014 * math/w_sqrtl.c (__sqrtl): Likewise.
47015 * math/w_tgammal.c (__tgammal): Likewise.
47016 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47017 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47018 * math/libm-test.inc (acos_test): Add more tests.
47019 (acosh_test): Likewise.
47020 (asin_test): Likewise.
47021 (atanh_test): Likewise.
47022 (exp_test): Likewise.
47023 (exp10_test): Likewise.
47024 (exp2_test): Likewise.
47025 (expm1_test): Likewise.
47026 (lgamma_test): Likewise.
47027 (log_test): Likewise.
47028 (log10_test): Likewise.
47029 (log1p_test): Likewise.
47030 (log2_test): Likewise.
47031 (pow_test): Do not allow some spurious overflow exceptions.
47032 (sqrt_test): Add more tests.
47033 (tgamma_test): Likewise.
47034 (y0_test): Likewise.
47035 (y1_test): Likewise.
47036 (yn_test): Likewise.
47038 2012-03-27 Anton Blanchard <anton@samba.org>
47040 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47042 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47043 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47044 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47046 2012-03-27 David S. Miller <davem@davemloft.net>
47048 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47050 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47051 have-as-vis3 check.
47053 2012-03-27 Andreas Jaeger <aj@suse.de>
47055 * sysdeps/x86_64/elf/configure.in: Moved to ...
47056 * sysdeps/x86_64/configure.in: ... here.
47057 * sysdeps/x86_64/elf/start.S: Moved to ...
47058 * sysdeps/x86_64/start.S: ... here.
47059 * sysdeps/x86_64/elf/configure: Delete.
47061 * sysdeps/x86_64/configure.in: Merge contents from
47062 sysdeps/i386/configure.in (without i686 check).
47064 * sysdeps/i386/elf/Versions: Merge into ...
47065 * sysdeps/i386/Versions: ... this.
47066 * sysdeps/i386/elf/Versions: Delete file.
47067 * sysdeps/i386/elf/start.S: Moved to ...
47068 * sysdeps/i386/start.S: ...here.
47069 * sysdeps/i386/elf/configure.in: Merge into...
47070 * sysdeps/i386/configure.in: ...here.
47071 * sysdeps/i386/elf/configure.in: Delete file.
47072 * sysdeps/i386/elf/configure: Delete file.
47074 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47075 * debug/backtracesyms.c: ... here.
47076 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47077 * debug/backtracesymsfd.c: ... here.
47078 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47079 * sysdeps/generic/ifunc-sel.h: ... here.
47081 * sysdeps/unix/i386/start.c: Delete file.
47082 * sysdeps/unix/sparc/start.c: Delete file.
47083 * sysdeps/unix/start.c: Delete file.
47085 * sysdeps/sh/elf/configure.in: Moved to ...
47086 * sysdeps/sh/configure.in: ... here.
47087 * sysdeps/sh/elf/start.S: Moved to ...
47088 * sysdeps/sh/start.S: ... here.
47089 * sysdeps/sh/elf/configure: Delete file.
47091 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47092 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47093 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47094 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47095 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47096 * sysdeps/powerpc/powerpc64/start.S: here.
47097 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47098 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47099 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47100 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47101 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47103 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47104 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47105 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47106 * sysdeps/powerpc/powerpc32/start.S: ... here.
47107 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47108 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47109 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47111 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47112 * sysdeps/powerpc/ifunc-sel.h: ... here.
47113 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47114 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47116 * sysdeps/sparc/elf/configure.in: Moved to ...
47117 * sysdeps/sparc/configure.in: ... here.
47118 * sysdeps/sparc/elf/configure: Delete file.
47119 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47120 * sysdeps/sparc/sparc32/start.S: ... here.
47121 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47122 * sysdeps/sparc/sparc64/start.S: ... here.
47123 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47124 * sysdeps/sparc/sparc32/Makefile: ... this.
47125 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47126 * sysdeps/sparc/sparc64/Makefile: ... this.
47128 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47129 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47130 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47131 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47132 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47133 * sysdeps/s390/s390-32/setjmp.S: ... here.
47134 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47135 * sysdeps/s390/s390-32/configure.in: ... here.
47136 * sysdeps/s390/s390-32/elf/configure: Delete file.
47137 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47138 * sysdeps/s390/s390-32/start.S: ... here.
47140 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47141 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47142 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47143 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47144 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47145 * sysdeps/s390/s390-64/setjmp.S: ... here.
47146 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47147 * sysdeps/s390/s390-64/configure.in: ... here
47148 * sysdeps/s390/s390-64/elf/configure: Delete file.
47149 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47150 * sysdeps/s390/s390-64/start.S: ... here.
47151 * sysdeps/s390/s390-64/elf/configure: Delete.
47153 * configure.in: Remove support for elf directories in sysdeps.
47155 * configure: Regenerated.
47156 * sysdeps/i386/configure: Regenerated.
47157 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47158 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47159 * sysdeps/s390/s390-32/configure: Regenerated.
47160 * sysdeps/s390/s390-64/configure: Regenerated.
47161 * sysdeps/sh/configure: Regenerated.
47162 * sysdeps/sparc/configure: Regenerated.
47163 * sysdeps/x86_64/configure: Regenerated.
47165 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47169 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47170 denormal result into account.
47172 2012-03-25 Roland McGrath <roland@hack.frob.com>
47174 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47175 Reported by Allan McRae <allan@archlinux.org>.
47177 2012-03-23 Jeff Law <law@redhat.com>
47179 * nss/getnssent.c (__nss_getent): Fix typo.
47181 2012-03-23 David S. Miller <davem@davemloft.net>
47183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47185 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47187 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47188 to pad to uint64_t for each field.
47189 (dl_tls_index): Replace unsigned long with uint64_t.
47191 2012-03-23 Daniel Jacobowitz <dmj@google.com>
47192 Paul Pluzhnikov <ppluzhnikov@google.com>
47195 * grp/Makefile (otherlibs): Don't set it.
47196 * inet/Makefile (otherlibs): Likewise.
47197 * login/Makefile (otherlibs): Likewise.
47198 * nscd/Makefile (otherlibs): Likewise.
47199 * posix/Makefile (otherlibs): Likewise.
47200 * pwd/Makefile (otherlibs): Likewise.
47201 * rt/Makefile (otherlibs): Likewise.
47202 * sunrpc/Makefile (otherlibs): Likewise.
47203 * nss/Makefile (otherlibs): Likewise.
47204 Add libnss_files to routines and static-only-routines.
47205 ($(objpfx)getent): Remove rule.
47206 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47207 static-only-routines.
47209 2012-03-22 Joseph Myers <joseph@codesourcery.com>
47212 * math/s_cexp.c: Include <float.h>.
47213 (__cexp): Handle exp result overflowing not necessarily
47214 overflowing both real and imaginary parts of result.
47215 * math/s_cexpf.c: Likewise.
47216 * math/s_cexpl.c: Likewise.
47217 * math/libm-test.inc (cexp_test): Add more tests.
47218 * sysdeps/i386/fpu/libm-test-ulps: Update.
47219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47221 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47223 * include/link.h (ELFW): New macro.
47224 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47225 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47227 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47229 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47232 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47234 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47236 (struct La_x32_retval): Likewise.
47238 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47240 * sysdeps/x86_64/preconfigure.in: New file.
47241 * sysdeps/x86_64/preconfigure: New generated file.
47243 2012-03-22 Joseph Myers <joseph@codesourcery.com>
47246 * math/e_exp2l.c: Include <float.h>.
47247 (__ieee754_exp2l): Handle overflow and underflow cases
47248 separately. Only pass fractional part of argument to
47250 * math/libm-test.inc (exp2_test): Add more tests.
47252 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47253 negating x to take absolute value.
47254 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47256 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47257 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47259 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47260 computing low part if x was negated.
47261 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47263 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47265 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47266 la_x32_gnu_pltexit.
47267 (pltexit): Cast int_retval to ptrdiff_t.
47268 * elf/tst-auditmod3b.c: Likewise.
47269 * elf/tst-auditmod4b.c: Likewise.
47270 * elf/tst-auditmod5b.c: Likewise.
47271 * elf/tst-auditmod6b.c: Likewise.
47272 * elf/tst-auditmod6c.c: Likewise.
47273 * elf/tst-auditmod7b.c: Likewise.
47275 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47276 and x32_gnu_pltexit.
47278 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47279 __ELF_NATIVE_CLASS.
47280 (La_x32_regs): New macro.
47281 (La_x32_retval): Likewise.
47282 (la_x32_gnu_pltenter): New function prototype.
47283 (la_x32_gnu_pltexit): Likewise.
47285 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47287 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47292 * configure.in (libc_cv_cc_nofma): Check for option to disable
47293 generation of FMA instructions.
47294 * configure: Regenerate.
47295 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47296 * sysdeps/ieee754/dbl-64/Makefile: New file.
47297 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47298 Remove brandred-fma4.
47299 (CFLAGS-brandred-fma4.c): Remove.
47300 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47301 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47303 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47306 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47308 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47309 LLONG_MAX != LONG_MAX.
47310 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47311 (_fitoa_word): Likewise.
47312 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47313 LLONG_MAX != LONG_MAX.
47314 * stdio-common/_itowa.h: Include <_itoa.h>.
47315 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47316 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47317 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47318 only if not defined.
47319 (_ITOA_WORD_TYPE): Likewise.
47320 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47321 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47323 2012-03-21 David S. Miller <davem@davemloft.net>
47325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47327 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47329 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47330 of x86_64 when setting libc_cv_slibdir, libdir and
47332 * sysdeps/unix/sysv/linux/configure: Regenerated.
47334 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47336 * manual/lang.texi (Old Varargs): Remove section.
47337 (How Variadic): Update menu.
47338 (va_start): Do not mention varargs.h.
47340 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47341 Joseph Myers <joseph@codesourcery.com>
47343 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47345 * configure: Regenerated.
47347 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47349 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47350 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47353 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47356 * Makefile (files-for-dist): Remove NOTES.
47357 (NOTES): Remove rule.
47358 * README: Don't refer to NOTES.
47359 * manual/creature.texi: Don't include macros.texi.
47360 * manual/intro.texi (creature.texi): Remove comment referring to
47363 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47364 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47365 * configure: Regenerated.
47366 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47367 LIBC_TRY_CC_OPTION.
47368 (libc_cv_as_i686): Likewise.
47369 (libc_cv_cc_avx): Likewise.
47370 (libc_cv_cc_sse2avx): Likewise.
47371 (libc_cv_cc_fma4): Likewise.
47372 (libc_cv_cc_novzeroupper): Likewise.
47373 * sysdeps/i386/configure: Regenerated.
47376 * sysdeps/i386/fpu/s_cexp.S: Remove.
47377 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47378 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47379 * math/libm-test.inc (cexp_test): Add more tests.
47380 * sysdeps/i386/fpu/libm-test-ulps: Update.
47381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47383 2012-03-21 Allan McRae <allan@archlinux.org>
47385 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47387 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47390 * math/w_exp2.c: Do not include <float.h>.
47391 (o_threshold, u_threshold): Remove.
47392 (__exp2): Calculate result before checking finiteness and calling
47394 * math/w_exp2f.c: Likewise.
47395 * math/w_exp2l.c: Likewise.
47396 * math/libm-test.inc (exp2_test): Require overflow exception for
47400 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47401 range of signed 64-bit integers before using fistpll. Remove
47402 checks for whether integers fit in mantissa bits.
47403 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47404 the range of signed 32-bit integers before using fistpl. Remove
47405 checks for whether integers fit in mantissa bits.
47406 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47407 (__ieee754_powl): Test for y outside the range of signed 64-bit
47408 integers before using fistpll. Reduce 64-bit values to 63-bit
47410 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47411 divide-by-zero is raised for zero to large negative powers.
47412 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47413 (__ieee754_powl): Test for y outside the range of signed 64-bit
47414 integers before using fistpll. Reduce 64-bit values to 63-bit
47416 * math/libm-test.inc (pow_test): Add more tests.
47418 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47420 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47421 <stdio-common/_itoa.h>.
47422 * debug/segfault.c: Likewise.
47423 * elf/dl-cache.c: Likewise.
47424 * elf/dl-minimal.c: Likewise.
47425 * elf/dl-misc.c: Likewise.
47426 * elf/dl-sysdep.c: Likewise.
47427 * elf/dl-version.c: Likewise.
47428 * elf/rtld.c: Likewise.
47429 * hurd/hurdsock.c: Likewise.
47430 * hurd/lookup-retry.c: Likewise.
47431 * malloc/malloc.c: Likewise.
47432 * malloc/mtrace.c: Likewise.
47433 * nscd/nscd_getgr_r.c: Likewise.
47434 * nscd/nscd_getpw_r.c: Likewise.
47435 * nscd/nscd_getserv_r.c: Likewise.
47436 * posix/getopt_init.c: Likewise.
47437 * posix/wordexp.c: Likewise.
47438 * stdio-common/_itoa.c: Likewise.
47439 * stdio-common/printf_fphex.c: Likewise.
47440 * stdio-common/vfprintf.c: Likewise.
47441 * string/_strerror.c: Likewise.
47442 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47443 * sysdeps/i386/i686/hp-timing.h: Likewise.
47444 * sysdeps/mach/_strerror.c: Likewise.
47445 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47446 * sysdeps/mach/hurd/sethostid.c: Likewise.
47447 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47448 * sysdeps/mach/xpg-strerror.c: Likewise.
47449 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47450 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47451 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47452 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47453 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47454 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47455 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47456 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47457 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47458 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47459 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47460 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47461 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47462 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47463 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47464 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47465 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47466 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47467 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47468 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47469 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47471 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47473 * stdio-common/_itoa.h: Moved to ...
47474 * sysdeps/generic/_itoa.h: Here.
47476 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47478 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47479 instead of "_itoa.h" and "_itowa.h".
47480 * stdio-common/vfprintf.: Likewise.
47482 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47484 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47486 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47487 (__signbit): Likwise.
47488 (llrintf): Likwise.
47491 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47493 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47496 2012-03-20 Joseph Myers <joseph@codesourcery.com>
47498 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47499 OVERFLOW_EXCEPTION_OK.
47500 * math/libm-test.inc ("Philosophy"): Update comment about
47502 (OVERFLOW_EXCEPTION): Define.
47503 (OVERFLOW_EXCEPTION_OK): Likewise.
47504 (INVALID_EXCEPTION_OK): Renumber.
47505 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47506 (IGNORE_ZERO_INF_SIGN): Likewise.
47507 (test_exceptions): Handle FE_OVERFLOW.
47508 (exp10_test): Expect overflow exceptions.
47509 (exp2_test): Likewise.
47510 (expm1_test): Likewise.
47511 (nextafter_test): Likewise.
47512 (pow_test): Likewise.
47513 (scalbn_test): Likewise.
47514 (scalbln_test): Likewise.
47516 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47518 * sysdeps/x86_64/bits/atomic.h
47519 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47521 (atomic_exchange_acq): Likewise.
47522 (__arch_exchange_and_add_body): Likewise.
47523 (__arch_add_body): Likewise.
47524 (atomic_add_negative): Likewise.
47525 (atomic_add_zero): Likewise.
47527 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47529 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47530 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47532 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47534 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47535 Check __x86_64__ instead of __WORDSIZE.
47537 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47539 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47541 2012-03-19 David S. Miller <davem@davemloft.net>
47543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47545 * sysdeps/sparc/fpu/fenv_private.h: New file.
47546 * sysdeps/sparc/fpu/math_private.h: Use it.
47547 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47549 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47550 (libc_feholdexcept_setroundl): Remove.
47551 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47553 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47554 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47556 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47558 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47559 int64_t instead of long int.
47560 (INSERT_WORDS64): Likwise.
47562 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47564 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47565 _Unwind_GetCFA return to _Unwind_Ptr first.
47567 2012-03-19 Joseph Myers <joseph@codesourcery.com>
47570 * math/s_clog.c: Include <float.h>.
47571 (__clog): Scale large or subnormal inputs.
47572 * math/s_clogf.c: Likewise.
47573 * math/s_clogl.c: Likewise.
47574 * math/s_clog10.c: Include <float.h>.
47575 (M_LOG10_2): Define.
47576 (__clog10): Scale large or subnormal inputs.
47577 * math/s_clog10f.c: Likewise.
47578 * math/s_clog10l.c: Likewise.
47579 * math/libm-test.inc (clog_test): Add more tests.
47580 (clog10_test): Likewise.
47581 * sysdeps/i386/fpu/libm-test-ulps: Update.
47582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47585 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47587 * math/libm-test.inc (atan2_test): Add another test.
47589 * Makerules (common-objdir-compile): Remove.
47590 * sysdeps/unix/Makefile (config-generated): Do not add
47591 $(unix-generated) to variable.
47592 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47593 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47595 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47597 [generic bits/local_lim.h] (before-compile): Do not append to
47599 [generic bits/local_lim.h] (common-generated): Likewise.
47600 [generic sys/param.h] (before-compile): Do not append to variable.
47601 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47602 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47603 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47604 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47606 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47607 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47608 [generic sys/param.h] ($(addprefix
47609 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47610 [generic sys/param.h] (common-generated): Do not append to
47612 [generic sys/param.h] (sysdep_headers): Likewise.
47613 [generic bits/errno.h] (before-compile): Do not append to
47615 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47617 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47618 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47619 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47620 [generic bits/errno.h] (common-generated): Do not append to
47622 [generic bits/ioctls.h] (before-compile): Do not append to
47624 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47626 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47627 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47628 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47630 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47631 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47632 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47633 [generic bits/ioctls.h] (common-generated): Do not append to
47635 [generic sys/syscall.h] (syscall.h): Remove variable.
47636 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47638 [generic sys/syscall.h] (before-compile): Do not append to
47640 [generic sys/syscall.h] (common-generated): Likewise.
47641 * sysdeps/unix/errnos-tmpl.c: Remove file.
47642 * sysdeps/unix/errnos.awk: Likewise.
47643 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47644 * sysdeps/unix/ioctls.awk: Likewise.
47645 * sysdeps/unix/mk-local_lim.c: Likewise.
47646 * sysdeps/unix/snarf-ioctls: Likewise.
47648 2012-03-19 Richard Henderson <rth@twiddle.net>
47650 * sysdeps/i386/fpu/fenv_private.h: New file.
47651 * sysdeps/i386/fpu/math_private.h: Use it.
47652 (math_opt_barrier, math_force_eval): Remove.
47653 (libc_feholdexcept_setround_53bit): Remove.
47654 (libc_feupdateenv_53bit): Remove.
47655 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47656 (math_opt_barrier, math_force_eval): Remove.
47657 (libc_feholdexcept): Remove.
47658 (libc_feholdexcept_setround): Remove.
47659 (libc_fetestexcept, libc_fesetenv): Remove.
47660 (libc_feupdateenv_test): Remove.
47661 (libc_feupdateenv, libc_feholdsetround): Remove.
47662 (libc_feresetround): Remove.
47664 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47665 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47667 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47668 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47669 (libc_feupdateenv_testl): New.
47670 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47671 (libc_feupdateenv_testf): New.
47672 (libc_feupdateenv): Use libc_feupdateenv_test.
47673 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47674 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47676 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47677 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47678 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47679 (libc_feresetround_noex): New.
47680 (libc_feresetround_noexf): New.
47681 (libc_feresetround_noexl): New.
47682 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47683 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47684 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47685 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47687 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47688 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47690 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47691 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47692 SET_RESTORE_ROUND_NOEX.
47693 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47694 SET_RESTORE_ROUND_NOEXF.
47695 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47696 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47697 (libc_feholdsetroundf): New.
47698 (libc_feresetround, libc_feresetroundf): New.
47700 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47701 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47702 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47704 * sysdeps/generic/math_private.h: Include <fenv.h>.
47705 (default_libc_feholdexcept): New.
47706 (default_libc_feholdexcept_setround): New.
47707 (default_libc_fesetenv, default_libc_feupdateenv): New.
47708 (libc_feholdexcept): Only define if undefined.
47709 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47710 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47711 (libc_feholdexcept_setroundl): Likewise.
47712 (libc_feholdexcept_setround_53bit): Likewise.
47713 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47714 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47715 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47716 (libc_feupdateenv_53bit): Likewise.
47717 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47718 (libc_feholdexcept): Convert from macro to inline function.
47719 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47720 (libc_fesetenv, libc_feupdateenv): Likewise.
47722 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47723 not previously defined.
47724 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47725 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47726 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47727 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47728 * sysdeps/ieee754/flt-32/math_private.h: New file.
47729 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47730 math_private.h below SET_FLOAT_WORD.
47731 (__isnan, __isinf_ns, __finite): Remove.
47732 (__isnanf, __isinf_nsf, __finitef): Remove.
47734 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47738 2012-03-17 David S. Miller <davem@davemloft.net>
47741 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47744 2012-03-16 David S. Miller <davem@davemloft.net>
47746 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47750 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47752 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47753 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47754 sysdep_routines when subdir is sysvipc.
47755 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47756 __getshmlba helper.
47758 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47760 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47762 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47765 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47767 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47768 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47769 (__lround): Renamed to ...
47770 (__llround): This. Replace long int with long long int.
47771 Define lround functions as aliases of llround functions.
47772 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47774 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47776 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47777 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47778 adresses to uintptr_t. Replace "long int" and "unsigned long
47779 int" with "greg_t" on va_arg.
47781 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47783 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47784 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47786 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47787 Move e_machine check before EI_CLASS check. Handle x32
47788 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47789 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47790 SKIP_EM_IA_64 and include
47791 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47793 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47794 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47795 (add_system_dir): New macro.
47797 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47798 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47800 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47811 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47813 * math/w_j0f.c (j0f): Likewise.
47815 * math/w_j0l.c (__j0l): Likewise.
47817 * math/w_j1.c (j1): Likewise.
47819 * math/w_j1f.c (j1f): Likewise.
47821 * math/w_j1l.c (__j1l): Likewise.
47823 * math/w_jn.c (jn): Likewise.
47825 * math/w_jnf.c (jnf): Likewise.
47827 * math/w_jnl.c (__jnl): Likewise.
47829 * math/libm-test.inc (j0_test): Add more tests.
47830 (j1_test): Likewise.
47831 (jn_test): Likewise. Add trailing semicolon to existing test.
47832 (y0_test): Likewise.
47833 (y1_test): Likewise.
47834 * sysdeps/i386/fpu/libm-test-ulps: Update.
47835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47839 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47840 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47841 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47842 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47843 (__tanl): Set errno for infinite argument.
47844 * sysdeps/i386/fpu/mptan.c: Remove.
47845 * sysdeps/i386/fpu/s_tan.S: Likewise.
47846 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47847 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47848 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47849 * math/libm-test.inc (tan_test): Add more tests and enable more
47850 tests for double and long double.
47851 * sysdeps/i386/fpu/libm-test-ulps: Update.
47852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47854 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47856 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47857 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47859 2012-03-16 Roland McGrath <roland@hack.frob.com>
47861 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47862 * configure.in: Use it for both main tree and add-ons.
47863 * configure: Regenerated.
47865 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47867 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47869 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47871 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47875 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47876 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47877 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47878 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47879 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47881 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47882 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47883 != 0 for prec == 2.
47884 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47885 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47886 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47887 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47888 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47889 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47890 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47891 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47892 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47893 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47894 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47895 * math/libm-test.inc (cos_test): Add more tests and enable more
47896 tests for long double.
47897 (sin_test): Likewise.
47898 (sincos_test): Likewise.
47899 * sysdeps/i386/fpu/libm-test-ulps: Update.
47900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47902 2012-03-16 David S. Miller <davem@davemloft.net>
47904 * sysdeps/sparc/fpu/math_private.h: New file.
47906 2012-03-15 David S. Miller <davem@davemloft.net>
47908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47918 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47922 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47923 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47925 * sysdeps/sparc/sparc-ifunc.h: New file.
47926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47952 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47953 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47954 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47955 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47960 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47961 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47962 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47963 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47964 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47965 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47966 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47967 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47968 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47969 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47971 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47973 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47977 2012-03-15 Andreas Jaeger <aj@suse.de>
47980 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47981 ieee754/flt-32 implementation for sin, cos and sincos.
47982 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47983 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47984 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47985 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47986 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47987 ieee754/flt-32 implementation for tan.
47989 * math/libm-test.inc (cos_test): Enable some large input tests for
47991 (sin_test): Likewise.
47992 (sincos_test): Likewise.
47993 (tan_test): Add tests for large input.
47995 * sysdeps/i386/fpu/libm-test-ulps: Update.
47997 2012-03-15 Andreas Jaeger <aj@suse.de>
48000 * math/libm-test.inc (cos_test): Add more test cases.
48001 (sin_test): Likewise.
48002 (sincos_test): Likewise.
48004 2012-03-15 Andreas Jaeger <aj@suse.de>
48007 * math/libm-test.inc (cos_test): Add a test case for large input
48009 (sin_test): Likewise.
48010 (sincos_test): Likewise.
48012 2012-03-15 Andreas Jaeger <aj@suse.de>
48013 Joseph Myers <joseph@codesourcery.com>
48016 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
48017 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48018 * sysdeps/i386/fpu/branred.c: Likewise.
48019 * sysdeps/i386/fpu/dosincos.c: Likewise.
48020 * sysdeps/i386/fpu/mpa.c: Likewise.
48021 * sysdeps/i386/fpu/s_cos.S: Likewise.
48022 * sysdeps/i386/fpu/s_sin.S: Likewise.
48023 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48024 * sysdeps/i386/fpu/sincos32.c: Likewise.
48026 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48028 (libc_feupdateenv_53bit): Define.
48029 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48031 (libc_feupdateenv_53bit): Define.
48033 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48034 53 bit (without extend i386 double precision).
48036 * math/libm-test.inc (sincos_test): Add tests for large input.
48040 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48042 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48046 2012-03-15 David S. Miller <davem@davemloft.net>
48048 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48049 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48050 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48051 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48057 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48059 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
48063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
48066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
48069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
48072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48075 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48076 fmin/fmax sysdep routines.
48077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48079 2012-03-14 David S. Miller <davem@davemloft.net>
48081 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48082 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48083 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48084 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48085 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48086 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48087 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48088 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48089 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48090 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48091 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48092 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48095 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48096 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48097 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48098 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48099 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48100 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48101 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48102 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48103 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48104 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48105 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48106 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48107 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48108 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
48109 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48153 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48158 * sysdeps/sparc/configure.in: New file.
48159 * sysdeps/sparc/configure: Generate.
48160 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48161 * configure: Regenerate.
48162 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48163 * config.make.in (have-as-vis3): New.
48164 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48165 available use -Av9d instead of -Av9a.
48166 * sysdeps/sparc/sparc64/Makefile: Likewise.
48167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
48168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48176 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48177 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48178 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48179 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48180 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48182 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48183 fzeros/fnegs to load 0x80000000 into a float register instead of
48185 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48187 2012-03-14 Joseph Myers <joseph@codesourcery.com>
48189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48191 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48192 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48193 ($(inst_includedir)/bits/syscall.h): Remove rule.
48194 ($(objpfx)bits/syscall.d): Include instead of
48195 $(objpfx)syscall-list.d.
48196 (generated): Change syscall-list.h and syscall-list.d to
48197 bits/syscall.h and bits/syscall.d.
48199 2012-03-14 Roland McGrath <roland@hack.frob.com>
48202 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48204 2012-03-14 Joseph Myers <joseph@codesourcery.com>
48207 * math/s_csqrt.c: Include <float.h>.
48208 (__csqrt): Scale large or subnormal inputs.
48209 * math/s_csqrtf.c: Likewise.
48210 * math/s_csqrtl.c: Likewise.
48211 * math/libm-test.inc (csqrt_test): Add more tests.
48212 * sysdeps/i386/fpu/libm-test-ulps: Update.
48213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48216 * math/libm-test.inc (hypot_test): Add more tests.
48218 2012-03-13 David S. Miller <davem@davemloft.net>
48221 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48222 double-precision for the calculation instead of scaling.
48224 2012-03-13 Joseph Myers <joseph@codesourcery.com>
48226 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48227 manipulate bits before adding and subtracting TWO52[sx].
48228 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48229 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48231 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48233 2012-03-13 David S. Miller <davem@davemloft.net>
48235 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48236 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48237 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48238 rtld-global-offsets.h
48239 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48241 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48244 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48246 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48247 'err' in the ifdef scope in which it is actually used.
48249 * nss/nss_db/db-init.c: Include string.h
48251 2012-03-12 David S. Miller <davem@davemloft.net>
48253 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48254 masking out of the most significant byte of random value used.
48255 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48256 Fix coding style in previous change.
48258 * sysdeps/unix/sysv/linux/kernel-features.h
48259 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48260 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48262 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48265 2012-03-11 David S. Miller <davem@davemloft.net>
48267 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48268 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48269 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48270 for 'resultvar' otherwise things get truncated on 64-bit.
48272 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48273 Fix masking out of the most significant byte of random value used.
48275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48277 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48281 2012-03-09 David S. Miller <davem@davemloft.net>
48283 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48284 variables with appropriate CPP guards.
48285 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48286 from the frame pointer, not the stack pointer. Correct layout
48287 comments. Fix test on resulting framesize and the management of
48288 the outregs buffer for pltexit. Preserve floating point return
48289 values across _dl_call_pltexit call.
48290 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48291 framesize and the management of the outregs buffer for pltexit.
48292 Preserve floating point return values across _dl_call_pltexit
48294 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48295 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48296 (la_sparc64_gnu_pltexit): New functions.
48297 (print_exit): Fix format string for return register value.
48299 2012-03-10 Joseph Myers <joseph@codesourcery.com>
48301 * sunrpc/Makefile (others): Add rpcgen.
48302 ($(objpfx)rpcgen): Remove special build rule and dependency on
48304 * sunrpc/rpcgen.c: New file.
48306 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48309 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48310 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48311 * sysdeps/i386/crti.S: Likewise.
48312 * sysdeps/i386/crtn.S: Likewise.
48313 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48314 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48315 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48316 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48317 * sysdeps/sh/crti.S: Likewise.
48318 * sysdeps/sh/crtn.S: Likewise.
48319 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48322 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48324 * locale/programs/locfile-kw.gperf: Likewise.
48325 * locale/programs/charmap-kw.h: Regenerated.
48326 * locale/programs/locfile-kw.h: Likewise.
48329 * intl/plural.y: Replace FSF snail mail address with URL.
48330 * intl/plural.c: Regenerated.
48332 2012-03-09 Richard Henderson <rth@twiddle.net>
48334 * include/math_private.h: Remove file.
48335 * math/math_private.h: Move file ...
48336 * sysdeps/generic/math_private.h: ... here.
48338 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48339 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48340 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48342 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48343 and <math_private.h>.
48344 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48345 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48346 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48347 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48348 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48349 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48350 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48351 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48352 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48353 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48354 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48355 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48356 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48357 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48358 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48359 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48360 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48361 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48362 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48363 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48364 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48365 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48366 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48367 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48368 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48369 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48370 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48371 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48372 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48373 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48374 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48375 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48376 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48377 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48378 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48379 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48380 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48381 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48382 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48383 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48384 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48385 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48386 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48387 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48388 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48389 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48390 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48391 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48392 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48393 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48394 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48395 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48396 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48397 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48398 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48399 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48400 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48401 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48402 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48403 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48404 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48405 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48406 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48407 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48408 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48409 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48410 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48411 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48412 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48413 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48414 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48415 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48416 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48417 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48418 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48419 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48420 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48421 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48422 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48423 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48424 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48425 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48426 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48427 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48428 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48429 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48430 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48431 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48432 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48433 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48434 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48435 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48436 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48437 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48438 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48439 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48440 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48441 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48442 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48443 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48444 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48445 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48446 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48447 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48448 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48449 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48450 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48451 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48452 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48453 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48454 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48455 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48456 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48457 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48458 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48459 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48460 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48461 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48462 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48463 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48464 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48465 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48466 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48467 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48468 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48469 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48470 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48471 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48472 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48473 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48474 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48475 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48476 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48477 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48478 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48479 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48480 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48481 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48482 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48483 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48484 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48485 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48486 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48487 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48488 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48489 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48490 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48491 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48492 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48493 * sysdeps/ieee754/k_standard.c: Likewise.
48494 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48495 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48496 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48497 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48498 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48499 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48500 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48501 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48502 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48503 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48504 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48505 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48506 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48507 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48508 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48509 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48510 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48511 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48512 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48513 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48514 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48515 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48516 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48517 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48518 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48519 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48520 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48521 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48522 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48523 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48524 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48525 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48526 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48527 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48528 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48529 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48530 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48531 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48532 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48533 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48534 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48535 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48536 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48537 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48538 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48539 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48540 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48541 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48542 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48543 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48544 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48545 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48546 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48547 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48548 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48549 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48550 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48551 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48552 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48553 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48554 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48555 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48556 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48557 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48558 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48559 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48560 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48561 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48562 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48563 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48564 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48565 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48566 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48567 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48568 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48569 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48570 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48571 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48572 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48573 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48574 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48575 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48576 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48577 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48578 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48579 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48580 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48581 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48582 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48583 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48584 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48585 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48586 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48587 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48588 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48589 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48590 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48591 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48592 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48593 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48594 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48595 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48596 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48597 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48598 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48599 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48600 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48601 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48602 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48603 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48604 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48605 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48606 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48607 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48608 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48609 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48610 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48611 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48612 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48613 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48614 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48615 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48616 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48617 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48618 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48619 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48620 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48621 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48622 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48623 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48624 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48625 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48626 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48627 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48628 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48629 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48630 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48631 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48632 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48633 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48634 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48635 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48636 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48637 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48638 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48639 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48640 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48641 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48642 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48643 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48644 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48645 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48646 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48647 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48648 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48649 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48650 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48651 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48652 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48653 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48654 * sysdeps/ieee754/s_lib_version.c: Likewise.
48655 * sysdeps/ieee754/s_matherr.c: Likewise.
48656 * sysdeps/ieee754/s_signgam.c: Likewise.
48657 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48658 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48659 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48660 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48661 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48662 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48663 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48664 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48665 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48666 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48667 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48668 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48669 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48670 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48671 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48672 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48673 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48674 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48675 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48676 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48677 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48679 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48681 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48682 * sunrpc/rpc_main.c: Likewise.
48683 * sunrpc/rpc_svcout.c: Likewise.
48685 2012-03-09 David S. Miller <davem@davemloft.net>
48687 * include/math_private.h: New file.
48689 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48691 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48692 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48693 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48694 from <bits/socket_type.h>.
48695 (enum __socket_type): Don't define here.
48696 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48698 bits/socket_type.h.
48701 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48702 checking __USE_GNU.
48704 * Makerules ($(inst_includedir)/%.h): New rule.
48705 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48706 (install-others): Remove variable setting.
48707 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48709 2012-03-08 Richard Henderson <rth@twiddle.net>
48711 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48712 from macro to inline function; merge with the
48713 !__LIBC_INTERNAL_MATH_INLINES version.
48714 (__ieee754_sqrtf): Likewise.
48716 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48717 to inline function.
48718 (__rintf, __floor, __floorf): Likewise.
48720 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48721 macro to inline function.
48722 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48724 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48725 not <math/math_private.h>.
48727 2012-03-08 David S. Miller <davem@davemloft.net>
48729 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48731 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48733 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48735 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48737 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48738 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48740 2012-03-08 Ulrich Drepper <drepper@gmail.com>
48742 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48743 be defined individually, they must be defined as a block. Define
48744 S for printing a string instead of hidint the different by using a
48745 macro for adding the 'l'.
48746 * stdio-common/tst-fphex-wide.c: Adjust.
48748 2012-03-07 Marek Polacek <polacek@redhat.com>
48750 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48752 2012-03-08 Marek Polacek <polacek@redhat.com>
48755 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48756 * stdio-common/tst-fphex.c: Define a few macros to make the
48757 test reusable. Use them.
48758 * stdio-common/tst-fphex-wide.c: New file.
48760 2012-03-08 Joseph Myers <joseph@codesourcery.com>
48763 * manual/macros.texi (gnusystems): New macro.
48764 (nongnusystems): Likewise.
48765 (gnulinuxhurdsystems): Likewise.
48766 (gnuhurdsystems): Likewise..
48767 (gnulinuxsystems): Likewise.
48768 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48769 variants of the GNU system, not "GNU system".
48770 * manual/conf.texi: Likewise.
48771 * manual/errno.texi: Likewise. Update example of errno macro
48773 * manual/filesys.texi: Likewise.
48774 (getumask): Document as specific to GNU/Hurd.
48775 * manual/install.texi: Likewise. Reword some references to
48777 * manual/intro.texi: Likewise.
48778 * manual/io.texi: Likewise.
48779 (File Name Portability): Detail which constraints are inapplicable
48780 to all GNU systems and which are only inapplicable to GNU/Hurd.
48781 * manual/job.texi: Likewise.
48782 * manual/llio.texi: Likewise.
48783 (O_NOCTTY): Document as present on GNU/Linux.
48784 * manual/maint.texi: Likewise.
48785 * manual/memory.texi: Likewise.
48786 * manual/pattern.texi: Likewise.
48787 * manual/pipe.texi: Likewise.
48788 * manual/process.texi: Likewise.
48789 * manual/resource.texi: Likewise.
48790 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48792 * manual/setjmp.texi: Likewise.
48793 * manual/signal.texi: Likewise.
48794 * manual/startup.texi: Likewise.
48795 * manual/stdio.texi: Likewise.
48796 * manual/terminal.texi: Likewise.
48797 (ONLCR): Document as POSIX.
48798 (OXTABS): Document availability on GNU/Linux as XTABS.
48799 (ONOEOT): Document availability separately from other bits.
48800 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48801 * manual/time.texi: Likewise.
48802 * manual/users.texi: Likewise.
48803 * INSTALL: Regenerated.
48804 * sysdeps/gnu/errlist.c: Regenerated.
48806 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48807 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48808 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48810 * configure: Regenerated.
48812 2012-03-07 Joseph Myers <joseph@codesourcery.com>
48814 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48815 default includes instead of AC_HEADER_CHECK.
48816 * sysdeps/i386/configure: Regenerated.
48819 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48820 * math/s_cacoshf.c (__cacoshf): Likewise.
48821 * math/s_cacoshl.c (__cacoshl): Likewise.
48822 * math/s_casinh.c (__casinh): Set signs of result from argument.
48823 * math/s_casinhf.c (__casinhf): Likewise.
48824 * math/s_casinhl.c (__casinhl): Likewise.
48825 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48826 (casinh_test): Add more tests.
48827 * sysdeps/i386/fpu/libm-test-ulps: Update.
48828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48830 2012-03-07 Ulrich Drepper <drepper@gmail.com>
48832 * po/zh_TW.po: Update from translation team.
48834 * login/Makefile (distribute): Remove variable.
48835 * catgets/Makefile: Likewise.
48836 * mach/Makefile: Likewise.
48837 * malloc/Makefile: Likewise.
48838 * misc/Makefile: Likewise.
48839 * iconv/Makefile: Likewise.
48840 * nscd/Makefile: Likewise.
48841 * hurd/Makefile: Likewise.
48842 * manual/Makefile: Likewise.
48843 * locale/Makefile: Likewise.
48844 * intl/Makefile: Likewise.
48845 * conform/Makefile: Likewise.
48846 * nss/Makefile: Likewise.
48847 * time/Makefile: Likewise.
48848 * soft-fp/Makefile: Likewise.
48849 * dirent/Makefile: Likewise.
48850 * gmon/Makefile: Likewise.
48851 * po/Makefile: Likewise.
48852 * rt/Makefile: Likewise.
48853 * socket/Makefile: Likewise.
48854 * math/Makefile: Likewise.
48855 * signal/Makefile: Likewise.
48856 * debug/Makefile: Likewise.
48857 * elf/Makefile: Likewise.
48858 * timezone/Makefile: Likewise.
48859 * stdlib/Makefile: Likewise.
48860 * iconvdata/Makefile: Likewise.
48861 * sunrpc/Makefile: Likewise.
48862 * io/Makefile: Likewise.
48863 * argp/Makefile: Likewise.
48864 * inet/Makefile: Likewise.
48865 * hesiod/Makefile: Likewise.
48866 * grp/Makefile: Likewise.
48867 * csu/Makefile: Likewise.
48868 * wctype/Makefile: Likewise.
48869 * crypt/Makefile: Likewise.
48870 * libio/Makefile: Likewise.
48871 * string/Makefile: Likewise.
48872 * nis/Makefile: Likewise.
48873 * resolv/Makefile: Likewise.
48874 * stdio-common/Makefile: Likewise.
48875 * wcsmbs/Makefile: Likewise.
48876 * dlfcn/Makefile: Likewise.
48877 * posix/Makefile: Likewise.
48880 * timezone/Makefile: Don't install timezone files, just the programs
48883 2012-03-06 Ulrich Drepper <drepper@gmail.com>
48885 * nss/databases.def: Add missing gshadow entry.
48887 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48889 2012-03-06 Marek Polacek <polacek@redhat.com>
48892 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48893 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48894 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48895 * stdio-common/tst-long-dbl-fphex.c: New file.
48897 2012-03-06 David S. Miller <davem@davemloft.net>
48899 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48900 (set_obp_int): New function.
48901 (get_obp_int): New function.
48902 (__get_clockfreq_via_dev_openprom): Likewise.
48903 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48904 Avoid unused variable warnings on 'val' and use builtin_expect.
48905 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48907 (INLINE_CLONE_SYSCALL): Likewise.
48909 2012-03-05 David S. Miller <davem@davemloft.net>
48911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48913 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48917 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48918 only for |x| >= 40.
48919 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48921 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
48923 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48924 Replace gettimeofday with __vdso_gettimeofday.
48926 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48927 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48928 __vdso_clock_gettime and __vdso_getcpu.
48930 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48931 time with __vdso_time.
48933 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48935 * manual/lang.texi (size_t): Note types to which size_t may be
48936 equivalent with the GNU C Library, but do not describe when
48937 differences between them are significant.
48939 2012-03-05 Andreas Jaeger <aj@suse.de>
48941 * sysdeps/i386/fpu/libm-test-ulps: Update.
48943 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48946 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48947 (__ieee754_pow): Save and restore rounding mode and use
48948 round-to-nearest for main computations.
48949 * math/libm-test.inc (pow_test_tonearest): New function.
48950 (pow_test_towardzero): Likewise.
48951 (pow_test_downward): Likewise.
48952 (pow_test_upward): Likewise.
48953 (main): Call the new functions.
48954 * sysdeps/i386/fpu/libm-test-ulps: Update.
48955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48958 * math/libm-test.inc (cosh_test_tonearest): New function.
48959 (cosh_test_towardzero): Likewise.
48960 (cosh_test_downward): Likewise.
48961 (cosh_test_upward): Likewise.
48962 (sinh_test_tonearest): Likewise.
48963 (sinh_test_towardzero): Likewise.
48964 (sinh_test_downward): Likewise.
48965 (sinh_test_upward): Likewise.
48966 (main): Call the new functions.
48967 * sysdeps/i386/fpu/libm-test-ulps: Update.
48968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48970 2012-03-05 Tom de Vries <tom@codesourcery.com>
48972 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48973 default stack guard is set in last bytes.
48974 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48976 2012-03-05 Kees Cook <keescook@chromium.org>
48978 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48981 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48982 possibly allocate from heap instead of stack.
48983 * stdio-common/bug-vfprintf-nargs.c: New file.
48984 * stdio-common/Makefile (tests): Add nargs overflow test.
48986 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48990 2012-03-03 Marek Polacek <polacek@redhat.com>
48992 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48993 * math/math_private.h: Likewise.
48994 * stdlib/tst-strtod.c: Likewise.
48995 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48996 * sysdeps/x86_64/bits/atomic.h: Likewise.
48998 2012-03-02 David S. Miller <davem@davemloft.net>
49000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49004 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49005 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49006 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49007 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49009 2012-03-02 Roland McGrath <roland@hack.frob.com>
49012 * manual/examples/README: New file, says the example source files
49013 can be used under GPL>=2.
49014 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49015 line containing just "*/".
49016 * manual/examples/add.c: Add copyright header (GPL>=2).
49017 * manual/examples/argp-ex1.c: Likewise.
49018 * manual/examples/argp-ex2.c: Likewise.
49019 * manual/examples/argp-ex3.c: Likewise.
49020 * manual/examples/argp-ex4.c: Likewise.
49021 * manual/examples/atexit.c: Likewise.
49022 * manual/examples/db.c: Likewise.
49023 * manual/examples/dir.c: Likewise.
49024 * manual/examples/dir2.c: Likewise.
49025 * manual/examples/execinfo.c: Likewise.
49026 * manual/examples/filecli.c: Likewise.
49027 * manual/examples/filesrv.c: Likewise.
49028 * manual/examples/fmtmsgexpl.c: Likewise.
49029 * manual/examples/genpass.c: Likewise.
49030 * manual/examples/inetcli.c: Likewise.
49031 * manual/examples/inetsrv.c: Likewise.
49032 * manual/examples/isockad.c: Likewise.
49033 * manual/examples/longopt.c: Likewise.
49034 * manual/examples/memopen.c: Likewise.
49035 * manual/examples/memstrm.c: Likewise.
49036 * manual/examples/mkfsock.c: Likewise.
49037 * manual/examples/mkisock.c: Likewise.
49038 * manual/examples/mygetpass.c: Likewise.
49039 * manual/examples/pipe.c: Likewise.
49040 * manual/examples/popen.c: Likewise.
49041 * manual/examples/rprintf.c: Likewise.
49042 * manual/examples/search.c: Likewise.
49043 * manual/examples/select.c: Likewise.
49044 * manual/examples/setjmp.c: Likewise.
49045 * manual/examples/sigh1.c: Likewise.
49046 * manual/examples/sigusr.c: Likewise.
49047 * manual/examples/stpcpy.c: Likewise.
49048 * manual/examples/strdupa.c: Likewise.
49049 * manual/examples/strftim.c: Likewise.
49050 * manual/examples/strncat.c: Likewise.
49051 * manual/examples/subopt.c: Likewise.
49052 * manual/examples/swapcontext.c: Likewise.
49053 * manual/examples/termios.c: Likewise.
49054 * manual/examples/testopt.c: Likewise.
49055 * manual/examples/testpass.c: Likewise.
49056 * manual/examples/timeval_subtract.c: Likewise.
49059 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49061 * manual/timeval_subtract.c.texi: ... here, new file.
49063 2012-03-02 David S. Miller <davem@davemloft.net>
49065 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49067 2012-03-02 Joseph Myers <joseph@codesourcery.com>
49070 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49071 (__sin): Save and restore rounding mode and use round-to-nearest
49072 for all computations.
49073 (__cos): Save and restore rounding mode and use round-to-nearest
49074 for all computations.
49075 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49077 (tan): Save and restore rounding mode and use round-to-nearest for
49079 * math/libm-test.inc (cos_test_tonearest): New function.
49080 (cos_test_towardzero): Likewise.
49081 (cos_test_downward): Likewise.
49082 (cos_test_upward): Likewise.
49083 (sin_test_tonearest): Likewise.
49084 (sin_test_towardzero): Likewise.
49085 (sin_test_downward): Likewise.
49086 (sin_test_upward): Likewise.
49087 (tan_test_tonearest): Likewise.
49088 (tan_test_towardzero): Likewise.
49089 (tan_test_downward): Likewise.
49090 (tan_test_upward): Likewise.
49091 (main): Call the new functions.
49092 * sysdeps/i386/fpu/libm-test-ulps: Update.
49093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49096 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49097 small n, then large n, before computing and testing k+n.
49098 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49099 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49101 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49103 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49104 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49105 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49106 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49107 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49108 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49109 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49110 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49111 * math/libm-test.inc (scalbn_test): Add more tests.
49112 (scalbln_test): Likewise.
49114 * manual/filesys.texi (mode_t): Describe constraints on size and
49115 signedness, not exact equivalence to a particular type.
49117 (ino64_t): Likewise.
49119 (nlink_t): Likewise.
49120 (blkcnt_t): Likewise.
49121 (blkcnt64_t): Likewise.
49122 * manual/llio.texi (off_t): Likewise.
49125 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49126 (__ieee754_exp): Save and restore rounding mode and use
49127 round-to-nearest for all computations.
49128 * math/libm-test.inc (exp_test_tonearest): New function.
49129 (exp_test_towardzero): Likewise.
49130 (exp_test_downward): Likewise.
49131 (exp_test_upward): Likewise.
49132 (main): Call the new functions.
49133 * sysdeps/i386/fpu/libm-test-ulps: Update.
49134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49136 2012-03-01 Chris Demetriou <cgd@google.com>
49138 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49139 have predictable order.
49141 2012-03-01 David S. Miller <davem@davemloft.net>
49143 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49145 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49146 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49147 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49148 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49150 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49151 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49152 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49154 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49155 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49156 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49157 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49158 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49162 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49163 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49164 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49166 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49167 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49168 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49169 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49170 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49171 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49172 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49173 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49174 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49175 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49176 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49177 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49178 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49179 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49180 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49181 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49182 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49183 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49184 * sysdeps/sparc/elf/configure: Regenerated.
49186 2012-03-01 Joseph Myers <joseph@codesourcery.com>
49188 * configure.in (AS, LD): Require binutils 2.20 or later.
49189 * configure: Regenerated.
49190 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49191 as required minimum version.
49192 * INSTALL: Regenerated.
49196 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49197 before squaring exponent.
49198 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49199 bottom long double and 27 bits of top long double before squaring
49201 * math/libm-test.inc (erfc_test): Add more tests.
49202 * sysdeps/i386/fpu/libm-test-ulps: Update.
49203 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49206 2012-03-01 Kai Tietz <ktietz@redhat.com>
49208 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49209 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49210 containing bit-fields.
49211 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49212 * soft-fp/single.h (_FP_UNION_S): Likewise.
49213 * soft-fp/double.h (_FP_UNION_D): Likewise.
49215 2012-02-29 Joseph Myers <joseph@codesourcery.com>
49218 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49219 not include ../strcmp.S.
49220 [USE_AS_STRNCASECMP_L]: Likewise.
49221 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49222 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49223 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49224 (__strncasecmp_l_ia32): Define as alias to
49225 __strncasecmp_l_nonascii.
49228 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49229 * sysdeps/i386/fpu/libm-test-ulps: Update.
49230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49232 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49235 2012-02-29 Jeff Law <law@redhat.com>
49237 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49238 out of bounds read.
49240 2012-02-29 Marek Polacek <polacek@redhat.com>
49243 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49244 * elf/Makefile: Add rules to run tst-unused-dep.out.
49246 2012-02-28 David S. Miller <davem@davemloft.net>
49248 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49249 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49250 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49251 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49252 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49253 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49255 2012-02-29 Joseph Myers <joseph@codesourcery.com>
49257 * math/libm-test.inc (llround_test): Move one test from
49258 lround_test. Use TEST_f_L in moved test.
49259 (lround_test): Move misplaced test to llround_test. Add testcase
49262 2012-02-28 Ulrich Drepper <drepper@gmail.com>
49264 * sysdeps/x86_64/fpu/e_expf.S: New file.
49265 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49267 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49270 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49271 of remain_len that may cause incomplete multi-byte character and
49273 * posix/bug-regex33.c: New file.
49274 * posix/Makefile (tests): Add bug-regex33.
49276 2012-02-28 Joseph Myers <joseph@codesourcery.com>
49278 * manual/macros.texi: New file.
49279 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49280 * manual/libc.texinfo: Include macros.texi.
49281 * manual/creatute.texi: Likewise.
49282 * manual/install.texi: Likewise.
49283 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49284 @glibcadj{} in references to the GNU C Library.
49285 * manual/charset.texi: Likewise.
49286 * manual/conf.texi: Likewise.
49287 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49288 when not using those macros.
49289 * manual/creature.texi: Likewise.
49290 * manual/crypt.texi: Likewise.
49291 * manual/errno.texi: Likewise.
49292 * manual/filesys.texi: Likewise.
49293 * manual/header.texi: Likewise.
49294 * manual/install.texi: Likewise.
49295 * manual/intro.texi: Likewise.
49296 * manual/io.texi: Likewise.
49297 * manual/job.texi: Likewise.
49298 * manual/lang.texi: Likewise.
49299 * manual/libc.texiinfo: Likewise.
49300 * manual/llio.texi: Likewise.
49301 * manual/locale.texi: Likewise.
49302 * manual/maint.texi: Likewise.
49303 * manual/math.texi: Likewise.
49304 * manual/memory.texi: Likewise.
49305 * manual/message.texi: Likewise.
49306 * manual/nss.texi: Likewise.
49307 * manual/pattern.texi: Likewise.
49308 * manual/process.texi: Likewise.
49309 * manual/resource.texi: Likewise.
49310 * manual/search.texi: Likewise.
49311 * manual/setjmp.texi: Likewise.
49312 * manual/signal.texi: Likewise.
49313 * manual/socket.texi: Likewise.
49314 * manual/startup.texi: Likewise.
49315 * manual/stdio.texi: Likewise.
49316 * manual/string.texi: Likewise.
49317 * manual/sysinfo.texi: Likewise.
49318 * manual/syslog.texi: Likewise.
49319 * manual/terminal.texi: Likewise.
49320 * manual/time.texi: Likewise.
49321 * manual/users.texi: Likewise.
49322 * INSTALL: Regenerated.
49323 * NOTES: Regenerated.
49324 * sysdeps/gnu/errlist.c: Regenerated.
49326 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49328 * include/dirent.h: Include <dirstream.h> before
49331 2012-02-28 David S. Miller <davem@davemloft.net>
49333 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49334 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49335 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49336 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49338 2012-02-27 David S. Miller <davem@davemloft.net>
49340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49342 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49343 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49346 frame pointer instead of stack pointer relative arg slot.
49347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49348 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49349 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49351 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49354 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49356 2012-02-27 David S. Miller <davem@davemloft.net>
49358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49362 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49363 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49364 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49365 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49367 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49369 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49370 later. Allow versions 5-9.
49371 * configure: Regenerated.
49372 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49373 required minimum version and 4.6 as recommended version. Do not
49374 mention bugs in GCC 2.7 and 2.8.
49375 * INSTALL: Regenerated.
49377 2012-02-27 David S. Miller <davem@davemloft.net>
49379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49383 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49384 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49385 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49386 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49388 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49389 manipulate bits before adding and subtracting TWO112[sx].
49390 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49392 2012-02-27 Roland McGrath <roland@hack.frob.com>
49395 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49396 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49397 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49398 being in POSIX, because they are in 1003.1-2008.
49400 * rt/tst-aio.c: Include <fcntl.h>.
49401 * rt/tst-aio7.c: Likewise.
49402 * rt/tst-aio64.c: Likewise.
49404 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49406 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49408 * manual/install.texi (--with-headers): Describe headers as
49409 interface headers, not private headers.
49410 (Specific advice for GNU/Linux systems): Describe use of headers
49411 from "make headers_install", not private headers from older
49413 * INSTALL: Regenerated.
49414 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49416 * sysdeps/unix/sysv/linux/configure: Regenerated.
49418 * manual/llio.texi (fclean): Remove documentation.
49420 * manual/Makefile (libc-texi-generated): New variable. Include
49422 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49423 $(libc-texi-generated), not duplicated list of files.
49424 (version.texi, stamp-version): New rules.
49425 (realclean): Remove $(libc-texi-generated), not individual files
49426 from that list. Do not remove dir-add.texinfo.
49427 * manual/libc.texinfo: Comment out uses of edition numbers and
49428 references to printed manual. Remove last-updated dates.
49429 (EDITION): Comment out.
49431 (VERSION, UPDATED): Remove.
49432 (version.texi): Include.
49434 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49436 * sysdeps/posix/spawni.c: Include <signal.h>.
49437 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49438 * sysdeps/pthread/aio_fsync.c: Likewise.
49440 2012-02-26 Ulrich Drepper <drepper@gmail.com>
49442 * conform/Makefile (tests): Run only when not cross-compiling and
49443 when fast-check is not defined.
49445 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49446 * conform/data/limits.h-data: Fixes for POSIX2008.
49447 * conform/run-conformtest.sh: Run all tests.
49448 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49450 * include/bits/dlfcn.h: Likewise.
49451 * include/langinfo.h: Likewise.
49452 * include/monetary.h: Likewise.
49453 * include/sys/poll.h: Likewise.
49455 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49457 * posix/spawn.h: Define __need_sigset_t.
49458 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49459 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49460 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49461 to get sigevent_t only.
49462 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49463 only for __USE_GNU.
49464 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49465 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49466 process_vm_writev only for __USE_GNU.
49467 * termios/termios.h: Declare tcgetsid also for POSIX2008.
49469 * conform/Makefile: For now ignore errors from run-conformtest.
49470 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49471 POSIX to avoid namespace pollution. Don't prepend headers.
49472 * conform/data/aio.h-data: Fixes for POSIX testing.
49473 * conform/data/fcntl.h-data: Likewise.
49474 * conform/data/glob.h-data: Likewise.
49475 * conform/data/grp.h-data: Likewise.
49476 * conform/data/pthread.h-data: Likewise.
49477 * conform/data/pwd.h-data: Likewise.
49478 * conform/data/signal.h-data: Likewise.
49479 * conform/data/spawn.h-data: Likewise.
49480 * conform/data/stdio.h-data: Likewise.
49481 * conform/data/stdlib.h-data: Likewise.
49482 * conform/data/stropts.h-data: Likewise.
49483 * conform/data/sys/mman.h-data: Likewise.
49484 * conform/data/sys/stat.h-data: Likewise.
49485 * conform/data/sys/types.h-data: Likewise.
49486 * conform/data/sys/wait.h-data: Likewise.
49487 * conform/data/time.h-data: Likewise.
49488 * conform/data/unistd.h-data: Likewise.
49489 * conform/data/utime.h-data: Likewise.
49491 * io/sys/stat.h: fchmod was always in POSIX.
49492 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49493 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49494 * rt/aio.h: Define __need_timespec before including <time.h>.
49495 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49496 struct. Add forward declaration of pthread_attr_t and use it in
49498 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49499 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49500 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49501 always remove CLK_TCK definition.
49503 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49505 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49507 2012-02-25 Ulrich Drepper <drepper@gmail.com>
49509 * conform/run-conformtest.sh: New file.
49510 * conform/Makefile: Run run-conformtest for tests.
49511 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49514 * conform/data/uchar.h-data: New file.
49515 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49516 * conform/data/arpa/inet.h-data: Likewise.
49517 * conform/data/assert.h-data: Likewise.
49518 * conform/data/complex.h-data: Likewise.
49519 * conform/data/cpio.h-data: Likewise.
49520 * conform/data/ctype.h-data: Likewise.
49521 * conform/data/dirent.h-data: Likewise.
49522 * conform/data/dlfcn.h-data: Likewise.
49523 * conform/data/errno.h-data: Likewise.
49524 * conform/data/fcntl.h-data: Likewise.
49525 * conform/data/float.h-data: Likewise.
49526 * conform/data/fmtmsg.h-data: Likewise.
49527 * conform/data/fnmatch.h-data: Likewise.
49528 * conform/data/ftw.h-data: Likewise.
49529 * conform/data/glob.h-data: Likewise.
49530 * conform/data/grp.h-data: Likewise.
49531 * conform/data/iconv.h-data: Likewise.
49532 * conform/data/inttypes.h-data: Likewise.
49533 * conform/data/langinfo.h-data: Likewise.
49534 * conform/data/libgen.h-data: Likewise.
49535 * conform/data/limits.h-data: Likewise.
49536 * conform/data/locale.h-data: Likewise.
49537 * conform/data/math.h-data: Likewise.
49538 * conform/data/monetary.h-data: Likewise.
49539 * conform/data/mqueue.h-data: Likewise.
49540 * conform/data/ndbm.h-data: Likewise.
49541 * conform/data/net/if.h-data: Likewise.
49542 * conform/data/netdb.h-data: Likewise.
49543 * conform/data/netinet/in.h-data: Likewise.
49544 * conform/data/nl_types.h-data: Likewise.
49545 * conform/data/poll.h-data: Likewise.
49546 * conform/data/pthread.h-data: Likewise.
49547 * conform/data/pwd.h-data: Likewise.
49548 * conform/data/regex.h-data: Likewise.
49549 * conform/data/sched.h-data: Likewise.
49550 * conform/data/search.h-data: Likewise.
49551 * conform/data/semaphore.h-data: Likewise.
49552 * conform/data/setjmp.h-data: Likewise.
49553 * conform/data/signal.h-data: Likewise.
49554 * conform/data/spawn.h-data: Likewise.
49555 * conform/data/stdarg.h-data: Likewise.
49556 * conform/data/stdio.h-data: Likewise.
49557 * conform/data/stdlib.h-data: Likewise.
49558 * conform/data/string.h-data: Likewise.
49559 * conform/data/strings.h-data: Likewise.
49560 * conform/data/stropts.h-data: Likewise.
49561 * conform/data/sys/ipc.h-data: Likewise.
49562 * conform/data/sys/mman.h-data: Likewise.
49563 * conform/data/sys/msg.h-data: Likewise.
49564 * conform/data/sys/resource.h-data: Likewise.
49565 * conform/data/sys/select.h-data: Likewise.
49566 * conform/data/sys/sem.h-data: Likewise.
49567 * conform/data/sys/shm.h-data: Likewise.
49568 * conform/data/sys/socket.h-data: Likewise.
49569 * conform/data/sys/stat.h-data: Likewise.
49570 * conform/data/sys/statvfs.h-data: Likewise.
49571 * conform/data/sys/time.h-data: Likewise.
49572 * conform/data/sys/timeb.h-data: Likewise.
49573 * conform/data/sys/times.h-data: Likewise.
49574 * conform/data/sys/types.h-data: Likewise.
49575 * conform/data/sys/uio.h-data: Likewise.
49576 * conform/data/sys/un.h-data: Likewise.
49577 * conform/data/sys/utsname.h-data: Likewise.
49578 * conform/data/sys/wait.h-data: Likewise.
49579 * conform/data/syslog.h-data: Likewise.
49580 * conform/data/tar.h-data: Likewise.
49581 * conform/data/termios.h-data: Likewise.
49582 * conform/data/utime.h-data: Likewise.
49583 * conform/data/utmpx.h-data: Likewise.
49584 * conform/data/varargs.h-data: Likewise.
49585 * conform/data/wchar.h-data: Likewise.
49586 * conform/data/wctype.h-data: Likewise.
49587 * conform/data/wordexp.h-data: Likewise.
49589 * include/stropts.h: New file.
49590 * include/uchar.h: New file.
49591 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49592 * include/assert.h: Likewise.
49593 * include/ctype.h: Likewise.
49594 * include/dirent.h: Likewise.
49595 * include/dlfcn.h: Likewise.
49596 * include/fcntl.h: Likewise.
49597 * include/fnmatch.h: Likewise.
49598 * include/glob.h: Likewise.
49599 * include/grp.h: Likewise.
49600 * include/libio.h: Likewise.
49601 * include/locale.h: Likewise.
49602 * include/math.h: Likewise.
49603 * include/net/if.h: Likewise.
49604 * include/netdb.h: Likewise.
49605 * include/netinet/in.h: Likewise.
49606 * include/pthread.h: Likewise.
49607 * include/pwd.h: Likewise.
49608 * include/regex.h: Likewise.
49609 * include/sched.h: Likewise.
49610 * include/search.h: Likewise.
49611 * include/setjmp.h: Likewise.
49612 * include/signal.h: Likewise.
49613 * include/stdio.h: Likewise.
49614 * include/stdlib.h: Likewise.
49615 * include/string.h: Likewise.
49616 * include/sys/cdefs.h: Likewise.
49617 * include/sys/mman.h: Likewise.
49618 * include/sys/msg.h: Likewise.
49619 * include/sys/resource.h: Likewise.
49620 * include/sys/select.h: Likewise.
49621 * include/sys/socket.h: Likewise.
49622 * include/sys/stat.h: Likewise.
49623 * include/sys/statvfs.h: Likewise.
49624 * include/sys/time.h: Likewise.
49625 * include/sys/times.h: Likewise.
49626 * include/sys/uio.h: Likewise.
49627 * include/sys/utsname.h: Likewise.
49628 * include/sys/wait.h: Likewise.
49629 * include/termios.h: Likewise.
49630 * include/time.h: Likewise.
49631 * include/ulimit.h: Likewise.
49632 * include/unistd.h: Likewise.
49633 * include/utime.h: Likewise.
49634 * include/wchar.h: Likewise.
49635 * include/wctype.h: Likewise.
49636 * include/wordexp.h: Likewise.
49638 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49640 * time/time.h: TIME_UTC must be a macro.
49641 Make timespec_get available for ISO C11 only as well.
49643 2012-02-24 Ulrich Drepper <drepper@gmail.com>
49645 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49646 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49648 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49650 * configure.in: Use -o not -a in test for unsupported multi-arch.
49652 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49654 * manual/texinfo.tex: Update to version 2012-01-19.16.
49656 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49658 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49660 2012-02-24 Roland McGrath <roland@hack.frob.com>
49663 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49664 * manual/fdl-1.3.texi: New file.
49665 * manual/fdl-1.1.texi: File removed.
49668 * manual/libc.texinfo (FDL_VERSION): New @set.
49669 Use it for mention of FDL in cover text.
49670 (Documentation License): Use it in @include file name.
49672 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49673 Roland McGrath <roland@hack.frob.com>
49676 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49677 (not LONG_LONG_MAX and LONG_LONG_MIN.
49678 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49679 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49681 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49683 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49687 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49688 manipulate bits before adding and subtracting TWO23[sx].
49689 * math/libm-test.inc (nearbyint_test): Add more tests.
49691 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49694 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49695 bits before adding and subtracting TWO23[sx].
49696 * math/libm-test.inc (rint_test): Add more tests.
49697 (rint_test_tonearest): Likewise.
49698 (rint_test_towardzero): Likewise.
49699 (rint_test_downward): Likewise.
49700 (rint_test_upward: Likewise.
49702 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49705 * include/stdc-predef.h: New file. Extracted from features.h.
49706 * include/features.h: Include stdc-predef.h.
49707 * Makefile (headers): Add stdc-predef.h.
49708 * CONFORMANCE (Compiler limitations): Update.
49710 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49712 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49714 2012-02-21 David S. Miller <davem@davemloft.net>
49716 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49717 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49719 2012-02-20 David S. Miller <davem@davemloft.net>
49721 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49722 using a normal save/restore sequence, rather than allocating a
49723 dummy stack frame just to store a frame pointer and restore.
49724 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49726 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49728 * manual/install.texi: Fix stray word in line-wrapped comment.
49730 2012-02-20 David S. Miller <davem@davemloft.net>
49732 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49733 both binutils and gcc support GOTDATA.
49735 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49736 "rd %pc" in the PIC register setup sequences.
49738 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49739 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49740 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49741 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49742 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49743 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49744 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49745 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49746 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49747 (SYSCALL_ERROR_HANDLER): Likewise.
49748 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49749 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49750 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49751 (SYSCALL_ERROR_HANDLER): Likewise.
49753 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49754 (HAVE_GCC_GOTDATA): New.
49755 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49756 relocation support in both binutils and gcc.
49757 * sysdeps/sparc/elf/configure: Regenerate.
49759 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49760 * sysdeps/sparc/sparc32/elf/configure: Delete.
49761 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49762 * sysdeps/sparc/sparc64/elf/configure: Delete.
49763 * sysdeps/sparc/elf/configure.in: New file.
49764 * sysdeps/sparc/elf/configure: Generate.
49766 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49767 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49768 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49769 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49770 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49772 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49774 * manual/install.texi: Do not mention specific glibc version
49776 * manual/libc.texinfo (VERSION, UPDATED): Update.
49777 (@copying): Use @copyright{} and range of years.
49779 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49782 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49783 [crti.S not in sysdirs] (generated): Do not append.
49784 [crti.S not in sysdirs] (omit-deps): Likewise.
49785 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49786 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49787 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49788 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49789 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49791 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49792 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49793 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49794 * csu/defs.awk: Remove file.
49795 * sysdeps/generic/initfini.c: Likewise.
49796 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49798 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49801 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49803 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49804 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49805 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49806 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49807 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49808 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49810 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49811 (__EPOLL_PACKED): Define to empty if not defined by
49813 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49817 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49819 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49820 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49821 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49822 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49824 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49825 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49828 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49830 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49832 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49833 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49834 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49837 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49839 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49840 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49842 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49844 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49845 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49847 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49849 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49852 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49854 * math/w_acos.c: Use non-signaling floating-point comparisons.
49855 * math/w_acosf.c: Likewise.
49856 * math/w_acosh.c: Likewise.
49857 * math/w_acoshf.c: Likewise.
49858 * math/w_acoshl.c: Likewise.
49859 * math/w_acosl.c: Likewise.
49860 * math/w_asin.c: Likewise.
49861 * math/w_asinf.c: Likewise.
49862 * math/w_asinl.c: Likewise.
49863 * math/w_atanh.c: Likewise.
49864 * math/w_atanhf.c: Likewise.
49865 * math/w_atanhl.c: Likewise.
49866 * math/w_exp2.c: Likewise.
49867 * math/w_exp2f.c: Likewise.
49868 * math/w_exp2l.c: Likewise.
49869 * math/w_j0.c: Likewise.
49870 * math/w_j0f.c: Likewise.
49871 * math/w_j0l.c: Likewise.
49872 * math/w_j1.c: Likewise.
49873 * math/w_j1f.c: Likewise.
49874 * math/w_j1l.c: Likewise.
49875 * math/w_jn.c: Likewise.
49876 * math/w_jnf.c: Likewise.
49877 * math/w_log.c: Likewise.
49878 * math/w_log10.c: Likewise.
49879 * math/w_log10f.c: Likewise.
49880 * math/w_log10l.c: Likewise.
49881 * math/w_log2.c: Likewise.
49882 * math/w_log2f.c: Likewise.
49883 * math/w_log2l.c: Likewise.
49884 * math/w_logf.c: Likewise.
49885 * math/w_logl.c: Likewise.
49886 * math/w_sqrt.c: Likewise.
49887 * math/w_sqrtf.c: Likewise.
49888 * math/w_sqrtl.c: Likewise.
49889 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49890 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49891 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49892 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49893 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49895 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49898 * manual/string.texi (strnlen): Use correct parameter name in
49899 equivalent expression.
49901 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49904 * manual/users.texi (seteuid): Consistently use neweuid for
49907 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49910 * manual/nss.texi (Services in the NSS configuration): Correct
49911 list of services in example configuration file.
49913 2012-02-19 Nick Bowler <nbowler@draconx.ca>
49916 * manual/arith.texi: Remove statements about negative zero
49917 behaving identically to zero.
49919 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49922 * manual/install.texi: Do not document upgrading from libc5.
49924 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49927 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49929 2012-02-18 David S. Miller <davem@davemloft.net>
49931 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49932 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49933 %o7 across the call.
49934 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49936 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49937 SETUP_PIC_REG_LEAF.
49938 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49939 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49940 * sysdeps/sparc/crtn.S: Likewise.
49942 2012-02-17 Ulrich Drepper <drepper@gmail.com>
49944 * aout/Makefile: Remove.
49946 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49949 * manual/examples/argp-ex1.c (main): Format definition in GNU
49951 * manual/examples/argp-ex2.c (main): Likewise.
49952 * manual/examples/argp-ex3.c (main): Likewise.
49953 * manual/examples/argp-ex4.c (main): Likewise.
49954 * manual/examples/longopt.c (main): Use new-style prototype
49956 * manual/examples/strncat.c (main): Specify return type and use
49957 (void) for arguments.
49958 * manual/examples/subopt.c (main): Use char **argv argument.
49960 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49963 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49966 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49969 * manual/string.texi (strchr): Change when strchrnul is
49972 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49975 * manual/locale.texi (setlocale): Document LOCPATH.
49977 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49980 * manual/process.texi (execle): Move @dots{} before last argument.
49982 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
49985 * manual/charset.texi (Generic Charset Conversion): Fix typo
49986 (LC_TYPE -> LC_CTYPE).
49988 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49991 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49992 (scalbnf): Likewise.
49993 (scalbnl): Likewise.
49994 (scalbln): Likewise.
49995 (scalblnf): Likewise.
49996 (scalblnl): Likewise.
49997 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49998 (vwarnx): Likewise.
50001 * manual/filesys.texi (telldir): Use braces around return type.
50002 * manual/llio.texi (mmap): Add space after comma.
50003 (mmap64): Likewise.
50004 * manual/math.texi (jn): Use @var{} on parameter names.
50010 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50012 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50014 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50015 (sched_get_priority_max): Likewise.
50016 * manual/signal.texi (sigvec): Add space after comma.
50017 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50019 (if_indextoname): Likewise.
50020 (if_freenameindex): Likewise.
50021 (sendto): Use ',' instead of '.' in prototype.
50022 * manual/startup.texi (syscall): Use @dots{} instead of literal
50024 * manual/stdio.texi (__fpending): Separate initial words of
50025 paragraph from @deftypefun line.
50026 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50028 (vsyslog): Use @var{} on parameter names.
50029 * manual/terminal.texi (stty): Use @var{} on parameter names.
50030 * manual/users.texi (getutmp): Use @var{} on parameter names.
50031 (getutmpx): Likewise.
50033 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50036 * manual/stdio.texi (fopen): Fix typos in description of
50039 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50042 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50043 get clock_id definition.
50045 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
50048 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50049 (madvise): Cast every argument to void on its own.
50051 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50054 * manual/startup.texi (Exit Status): Fix typo.
50056 2012-02-17 Joseph Myers <joseph@codesourcery.com>
50059 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50060 * manual/examples/argp-ex2.c: Likewise.
50061 * manual/examples/argp-ex3.c: Likewise.
50063 2012-02-16 Richard Henderson <rth@redhat.com>
50065 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50066 * sysdeps/s390/s390-32/initfini.c: Remove.
50067 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50068 * sysdeps/s390/s390-64/initfini.c: Remove.
50070 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50072 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50073 compiler output for sysdeps/generic/initfini.c.
50074 * sysdeps/sh/elf/initfini.c: Remove file.
50076 2012-02-16 David S. Miller <davem@davemloft.net>
50079 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50081 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50082 * sysdeps/sparc/crti.S: New file.
50083 * sysdeps/sparc/crtn.S: New file.
50084 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50085 * sysdeps/sparc/sparc64/Makefile: Likewise.
50087 2012-02-15 Mike Frysinger <vapier@gentoo.org>
50090 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50092 2012-02-15 Roland McGrath <roland@hack.frob.com>
50095 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50097 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50098 (write, read, close): Likewise.
50099 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50101 2012-02-15 Joseph Myers <joseph@codesourcery.com>
50103 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50104 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50105 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50106 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50108 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50112 2012-02-14 Marek Polacek <polacek@redhat.com>
50114 * sysdeps/x86_64/crti.S: New file.
50115 * sysdeps/x86_64/crtn.S: New file.
50116 * sysdeps/x86_64/elf/initfini.c: Remove file.
50118 2012-02-13 Joseph Myers <joseph@codesourcery.com>
50120 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50121 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50122 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50123 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50125 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50126 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50129 2012-02-13 Joseph Myers <joseph@codesourcery.com>
50131 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50132 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50133 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50134 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50136 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50140 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50142 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50143 __feraiseexcept instead of feraiseexcept.
50145 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50146 nanosleep invocations.
50147 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50148 strings, and add error checking for a nanosleep invocations.
50150 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50152 Replace FSF snail mail address with URLs, as per GNU coding standards.
50153 Most of the snail mail addresses were wrong anyway, and omitting
50154 them makes the source code easier to maintain. Almost all of the
50155 changes are to license notices and to locale LC_IDENTIFICATION
50156 addresses, except for this one:
50157 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50158 not its snail mail address.
50160 2012-02-09 Richard Henderson <rth@twiddle.net>
50162 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50163 of kernel-features.h.
50165 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50167 2012-02-08 Marek Polacek <polacek@redhat.com>
50169 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50170 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50171 * sysdeps/gnu/_G_config.h: Likewise.
50172 * sysdeps/generic/_G_config.h: Likewise.
50174 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50176 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50180 * sysdeps/powerpc/powerpc32/crti.S: New file.
50181 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50182 * sysdeps/powerpc/powerpc64/crti.S: New file.
50183 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50185 * Makeconfig (have-initfini): Don't set.
50186 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50187 * configure.in (nopic_initfini): Don't substitute.
50188 * config.h.in (HAVE_INITFINI): Don't #undef.
50189 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50190 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50192 2012-02-08 Joseph Myers <joseph@codesourcery.com>
50194 Support crti.S and crtn.S provided directly by architectures.
50195 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50196 [crti.S in sysdirs] (omit-deps): Likewise.
50197 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50198 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50199 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50200 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50201 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50202 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50203 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50204 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50205 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50206 compiler output for sysdeps/generic/initfini.c.
50207 * sysdeps/i386/elf/Makefile: Remove file.
50208 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50210 2012-02-07 Marek Polacek <polacek@redhat.com>
50212 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50213 * sysdeps/gnu/_G_config.h: Likewise.
50214 * sysdeps/mach/hurd/_G_config.h: Likewise.
50216 2012-02-07 Marek Polacek <polacek@redhat.com>
50218 * math/Makefile (tests): Add tst-CMPLX2.
50219 * math/tst-CMPLX2.c: New file.
50221 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50223 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50225 * math/libm-test.inc (jn_test): Add missing L suffix.
50227 2012-02-06 Marek Polacek <polacek@redhat.com>
50229 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50230 * sysdeps/i386/fpu/e_powf.S: Likewise.
50231 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50232 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50233 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50234 * sysdeps/i386/fpu/e_pow.S: Likewise.
50235 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50236 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50237 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50238 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50239 * sysdeps/i386/fpu/e_log2.S: Likewise.
50240 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50241 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50242 * sysdeps/i386/fpu/e_powl.S: Likewise.
50243 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50244 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50245 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50246 * sysdeps/i386/fpu/e_logl.S: Likewise.
50247 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50248 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50249 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50250 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50251 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50252 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50253 * sysdeps/i386/fpu/e_log.S: Likewise.
50254 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50255 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50256 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50257 * sysdeps/i386/fpu/e_logf.S: Likewise.
50258 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50259 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50260 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50261 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50262 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50263 * sysdeps/i386/fpu/e_log10.S: Likewise.
50264 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50265 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50266 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50267 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50268 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50269 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50270 * sysdeps/i386/asm-syntax.h: Likewise.
50271 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50272 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50273 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50274 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50275 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50276 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50277 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50278 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50279 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50280 * sysdeps/powerpc/sysdep.h: Likewise.
50281 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50282 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50284 2012-02-06 Joseph Myers <joseph@codesourcery.com>
50287 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50289 2012-02-06 Joseph Myers <joseph@codesourcery.com>
50291 * sysdeps/i386/sysdep.h: Include <features.h>.
50292 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50295 2012-02-05 Joseph Myers <joseph@codesourcery.com>
50297 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50299 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50302 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50304 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50305 (SETUP_PIC_REG): Use GET_PC_THUNK.
50306 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50309 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50311 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50312 for non-PIC compilation.
50313 (SETUP_PIC_REG): Add .p2align directive.
50314 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50315 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50316 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50317 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50318 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50319 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50320 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50321 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50322 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50323 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50324 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50325 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50326 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50327 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50328 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50329 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50330 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50331 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50332 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50333 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50334 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50335 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50336 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50337 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50338 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50339 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50340 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50341 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50342 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50343 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50344 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50345 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50346 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50347 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50348 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50349 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50350 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50351 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50352 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50353 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50354 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50356 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50358 * math/tst-CMPLX.c: Include <stdio.h>.
50360 2012-01-31 Joseph Myers <joseph@codesourcery.com>
50362 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50364 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50365 * sysdeps/sparc/bits/mathdef.h: Likewise.
50367 2012-01-31 Marek Polacek <polacek@redhat.com>
50369 * libio/libio.h: Don't define _PARAMS.
50370 * locale/programs/config.h: Don't define PARAMS.
50371 * stdlib/strtol_l.c: Likewise.
50372 (__strtol_l): Remove PARAMS from the prototype.
50374 2012-01-31 Ulrich Drepper <drepper@gmail.com>
50376 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50377 names. Just use the correct names. Remove unnecessary wrapper
50379 * malloc/arena.c: Likewise.
50380 * malloc/hooks.c: Likewise.
50382 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50383 ARENA_TEST says not to. Simplify test for creation of a new arena.
50384 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50386 2012-01-30 Ulrich Drepper <drepper@gmail.com>
50388 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50390 (update_get_addr): New function.
50391 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50392 GET_ADDR_MODULE parameter.
50394 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50396 * crypt/cert.c: Remove __STDC__ conditionals.
50397 * crypt/crypt-entry.c: Likewise.
50398 * crypt/crypt_util.c: Likewise.
50399 * libio/filedoalloc.c: Likewise.
50400 * libio/fileops.c: Likewise.
50401 * libio/genops.c: Likewise.
50402 * libio/iofclose.c: Likewise.
50403 * libio/iofdopen.c: Likewise.
50404 * libio/iofopen.c: Likewise.
50405 * libio/iofopen64.c: Likewise.
50406 * libio/iogetdelim.c: Likewise.
50407 * libio/iopopen.c: Likewise.
50408 * libio/obprintf.c: Likewise.
50409 * libio/oldfileops.c: Likewise.
50410 * libio/oldiofclose.c: Likewise.
50411 * libio/oldiofdopen.c: Likewise.
50412 * libio/oldiofopen.c: Likewise.
50413 * libio/oldiopopen.c: Likewise.
50414 * libio/wfiledoalloc.c: Likewise.
50415 * libio/wgenops.c: Likewise.
50416 * locale/programs/xmalloc.c: Likewise.
50417 * misc/syslog.c: Likewise.
50418 * stdio-common/xbug.c: Likewise.
50419 * string/memchr.c: Likewise.
50420 * string/memcmp.c: Likewise.
50421 * string/memrchr.c: Likewise.
50422 * string/rawmemchr.c: Likewise.
50423 * sysdeps/posix/getcwd.c: Likewise.
50424 * time/strftime_l.c: Likewise.
50426 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50428 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50429 * config.make.in (config-cflags-sse2avx): Define.
50430 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50433 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50435 * scripts/config.guess: Update from upstream config git repository.
50436 * scripts/config.sub: Likewise.
50438 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50440 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50442 (R_TILEPRO_*, R_TILEGX_*): New macros.
50444 * scripts/firstversions.awk: Fix bug in version range handling.
50446 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50448 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50450 * include/sys/epoll.h: New file.
50451 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50454 2012-01-28 Ulrich Drepper <drepper@gmail.com>
50456 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50457 Avoid unnecessary __WORDSIZE == 64 test.
50458 (fmaxf): Use VEX format if possible.
50463 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50464 * math/math_private.h: Remove libc_fegetround* and
50466 * sysdeps/i386/configure.in: Check for -msse2avx.
50467 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50468 also if SSE2AVX is defined.
50469 Remove libc_fegetround* and libc_fesetround*.
50470 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50471 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50472 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50474 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50475 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50476 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50477 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50478 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50480 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50482 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50484 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50486 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50488 2012-01-27 Ulrich Drepper <drepper@gmail.com>
50491 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50493 * Makeconfig (libm): Define.
50494 * elf/Makefile: Add rules to build and run tst-relsort1.
50495 * elf/tst-relsort1.c: New file.
50496 * elf/tst-relsort1mod1.c: New file.
50497 * elf/tst-relsort1mod2.c: New file.
50499 2012-01-27 Joseph Myers <joseph@codesourcery.com>
50501 * math/s_ldexp.c: Remove __STDC__ conditionals.
50502 * math/s_ldexpf.c: Likewise.
50503 * math/s_ldexpl.c: Likewise.
50504 * math/s_nextafter.c: Likewise.
50505 * math/s_nexttowardf.c: Likewise.
50506 * math/s_significand.c: Likewise.
50507 * math/s_significandf.c: Likewise.
50508 * math/s_significandl.c: Likewise.
50509 * math/w_jnl.c: Likewise.
50510 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50511 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50512 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50513 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50514 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50515 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50516 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50517 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50518 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50519 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50520 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50521 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50522 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50523 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50524 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50525 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50526 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50527 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50528 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50529 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50530 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50531 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50532 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50533 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50534 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50535 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50536 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50537 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50538 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50539 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50540 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50541 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50542 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50543 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50544 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50545 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50546 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50547 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50548 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50549 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50550 * sysdeps/ieee754/k_standard.c: Likewise.
50551 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50552 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50553 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50554 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50555 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50556 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50557 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50558 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50559 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50560 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50561 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50562 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50563 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50564 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50565 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50566 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50567 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50568 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50569 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50570 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50571 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50572 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50573 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50574 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50575 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50576 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50577 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50578 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50579 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50580 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50581 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50582 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50583 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50584 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50585 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50586 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50587 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50588 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50589 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50590 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50591 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50592 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50593 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50594 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50595 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50596 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50597 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50598 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50599 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50600 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50601 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50602 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50603 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50604 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50605 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50606 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50607 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50608 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50609 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50610 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50611 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50612 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50613 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50614 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50615 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50616 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50617 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50618 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50619 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50620 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50621 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50622 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50623 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50624 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50625 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50626 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50627 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50628 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50629 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50630 * sysdeps/ieee754/s_matherr.c: Likewise.
50631 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50632 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50633 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50634 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50636 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50638 * crypt/md5.h: Remove __STDC__ conditionals.
50639 * libio/libioP.h: Likewise.
50640 * locale/programs/config.h: Likewise.
50641 * sysdeps/generic/sysdep.h: Likewise.
50642 * sysdeps/i386/asm-syntax.h: Likewise.
50643 * sysdeps/s390/asm-syntax.h: Likewise.
50644 * sysdeps/unix/sysdep.h: Likewise.
50645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50648 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50650 * libio/libio.h: Remove __STDC__ conditionals.
50651 * malloc/obstack.h: Likewise.
50652 * math/complex.h: Likewise.
50653 * math/math.h: Likewise.
50654 * sysdeps/generic/_G_config.h: Likewise.
50655 * sysdeps/gnu/_G_config.h: Likewise.
50656 * sysdeps/mach/hurd/_G_config.h: Likewise.
50657 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50658 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50659 * sysdeps/sparc/bits/mathdef.h: Likewise.
50661 2012-01-26 Ulrich Drepper <drepper@gmail.com>
50664 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50665 Clean up HAS_* macros.
50666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50667 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50669 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50671 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50672 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50673 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50674 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50675 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50677 2012-01-25 Joseph Myers <joseph@codesourcery.com>
50679 * elf/tst-unique3.cc (gets): Remove declaration.
50680 * elf/tst-unique3lib.cc (gets): Likewise.
50681 * elf/tst-unique3lib2.cc (gets): Likewise.
50682 * elf/tst-unique4.cc (gets): Likewise.
50684 2012-01-24 Ulrich Drepper <drepper@gmail.com>
50686 * include/stdio.h: Add C++ protection. Add gets declarations and
50688 * debug/tst-chk1.c: Don't declare gets here.
50689 * stdio-common/tst-gets.c: Likewise.
50691 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50693 * posix/glob: Remove directory.
50695 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50697 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50699 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50701 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50702 of the non-standard EPFNOSUPPORT.
50704 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50706 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50707 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50708 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50710 2012-01-21 Ulrich Drepper <drepper@gmail.com>
50712 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50714 2012-01-20 Ulrich Drepper <drepper@gmail.com>
50716 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50718 * nscd/grpcache.c (cache_addgr): Likewise.
50719 * nscd/hstcache.c (cache_addhst): Likewise.
50720 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50721 * nscd/pwdcache.c (cache_addpw): Likewise.
50722 * nscd/servicescache.c (cache_addserv): Likewise.
50724 2012-01-16 Ulrich Drepper <drepper@gmail.com>
50726 * malloc/malloc.c: Various cleanups.
50727 * malloc/hooks.c: Likewise.
50729 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50730 * stdlib/bug-fmtmsg1.c: New file.
50732 * stdlib/fmtmsg.c (init): Add missing unlock.
50733 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50735 2012-01-12 Marek Polacek <polacek@redhat.com>
50737 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50740 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50742 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50743 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50744 macro to ensure uniqueness of label name.
50745 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50746 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50748 2012-01-11 Ulrich Drepper <drepper@gmail.com>
50750 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50752 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50753 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50754 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50755 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50757 2012-01-10 Ulrich Drepper <drepper@gmail.com>
50759 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50761 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50762 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50763 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50765 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50767 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50768 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50769 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50770 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50772 * math/bits/math-finite.h: Add ldexp support.
50774 2012-01-10 Marek Polacek <polacek@redhat.com>
50776 * locale/programs/localedef.h (show_archive_content): Add noreturn
50779 2012-01-09 Ulrich Drepper <drepper@gmail.com>
50781 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50783 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50785 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50787 * io/Makefile (headers): Add bits/poll2.h.
50789 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50792 typo #include statement.
50794 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50796 * include/sys/cdefs.h: Define __attribute_alloc_size.
50797 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50798 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50799 * elf/pldd.c: Likewise.
50800 * iconv/iconv_charmap.c: Likewise.
50801 * iconv/iconvconfig.c: Likewise.
50802 * iconv/strtab.c: Likewise.
50803 * locale/programs/locale.c: Likewise.
50804 * locale/programs/localedef.h: Likewise.
50805 * locale/programs/simple-hash.c: Likewise.
50806 * nscd/nscd.h: Likewise.
50807 * nss/makedb.c: Likewise.
50808 * sysdeps/generic/ldconfig.h: Likewise.
50809 * locale/programs/localedef.c: Remove xmalloc prototype.
50810 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50812 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50814 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50817 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50819 * math/Makefile (tests): Add tst-CMPLX.
50820 * math/tst-CMPLX.c: New file.
50822 * math/complex.h (CMPLXL): Fix typo.
50824 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50825 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50827 * debug/tst-chk1.c: Add poll and ppoll tests.
50828 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50829 * include/sys/poll.h: Add hidden proto for ppoll.
50830 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50831 * sysdeps/mach/hurd/ppoll.c: Likewise.
50832 * io/ppoll.c: Likewise.
50833 * debug/poll_chk.c: New file.
50834 * debug/ppoll_chk.c: New file.
50835 * include/bits/poll2.h: New file.
50836 * io/bits/poll2.h: New file.
50839 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50841 * configure.in: static is always set to yes. Remove.
50842 * config.make.in: Don't set build-static.
50843 * Makeconfig: Remove use of build-static.
50844 * dlfcn/Makefile: Likewise.
50845 * elf/Makefile: Likewise.
50846 * math/Makefile: Likewise.
50847 * misc/Makefile: Likewise.
50848 * nptl/Makefile: Likewise.
50849 * sysdeps/mach/hurd/Makefile: Likewise.
50851 * configure.in: PWD_P is not used anymore.
50852 * config.make.in: Remove PWD_P entry.
50854 * configure.in: Remove last remnants of RANLIB.
50855 No need to check for signed size_t anymore.
50856 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50858 Remove __builtin_expect test because we require at least gcc 3.4.
50859 * aclocal.m4: Likewise.
50861 * wcsmbs/mbrtoc16.c: Implement using towc function.
50862 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50863 * wcsmbs/wcsmbsload.c: Likewise.
50864 * iconv/gconv_simple.c: Likewise.
50865 * iconv/gconv_int.h: Likewise.
50866 * iconv/gconv_builtin.h: Likewise.
50867 * iconv/iconv_prog.c: Remove CHAR16 handling.
50869 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50871 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50873 * configure.in: Remove --with-elf and --enable-bounded options.
50874 Dont set base_machine for ia64. More non-ELF conditions removed.
50875 Remove testing and setting of leading underscore information.
50876 * config.make.in (build-bounded): Set to no.
50877 * config.h.in: Remove NO_UNDERSCORES entry.
50878 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50880 * csu/start.c: Remove !NO_UNDERSCORE code.
50881 * locale/localeinfo.h: Likewise.
50882 * sysdeps/generic/machine-gmon.h: Likewise.
50883 * sysdeps/generic/sysdep.h: Likewise.
50884 * sysdeps/i386/sysdep.h: Likewise.
50885 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50886 * sysdeps/mach/sysdep.h: Likewise.
50887 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50888 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50889 * sysdeps/sh/sysdep.h: Likewise.
50890 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50891 * sysdeps/unix/i386/sysdep.S: Likewise.
50892 * sysdeps/unix/sparc/start.c: Likewise.
50893 * sysdeps/unix/sparc/sysdep.S: Likewise.
50894 * sysdeps/unix/sparc/sysdep.h: Likewise.
50895 * sysdeps/unix/start.c: Likewise.
50896 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50897 * sysdeps/x86_64/sysdep.h: Likewise.
50899 2012-01-07 Ulrich Drepper <drepper@gmail.com>
50902 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50904 * argp/argp-fmtstream.h: Use const instead __const.
50905 * argp/argp.h: Likewise.
50906 * assert/assert.h: Likewise.
50907 * bits/fenv.h: Likewise.
50908 * bits/sched.h: Likewise.
50909 * bits/sigset.h: Likewise.
50910 * bits/sigthread.h: Likewise.
50911 * catgets/nl_types.h: Likewise.
50912 * conform/data/pthread.h-data: Likewise.
50913 * crypt/crypt-private.h: Likewise.
50914 * crypt/crypt.h: Likewise.
50915 * crypt/crypt_util.c: Likewise.
50916 * ctype/ctype.h: Likewise.
50917 * debug/execinfo.h: Likewise.
50918 * debug/mbsnrtowcs_chk.c: Likewise.
50919 * debug/mbsrtowcs_chk.c: Likewise.
50920 * debug/wcsnrtombs_chk.c: Likewise.
50921 * debug/wcsrtombs_chk.c: Likewise.
50922 * debug/wcstombs_chk.c: Likewise.
50923 * dirent/dirent.h: Likewise.
50924 * dlfcn/dlfcn.h: Likewise.
50925 * elf/neededtest4.c: Likewise.
50926 * grp/grp.h: Likewise.
50927 * gshadow/gshadow.h: Likewise.
50928 * iconv/gconv.h: Likewise.
50929 * iconv/gconv_int.h: Likewise.
50930 * iconv/gconv_simple.c: Likewise.
50931 * iconv/iconv.h: Likewise.
50932 * iconv/loop.c: Likewise.
50933 * iconv/skeleton.c: Likewise.
50934 * include/aio.h: Likewise.
50935 * include/aliases.h: Likewise.
50936 * include/argz.h: Likewise.
50937 * include/arpa/inet.h: Likewise.
50938 * include/assert.h: Likewise.
50939 * include/dirent.h: Likewise.
50940 * include/dlfcn.h: Likewise.
50941 * include/execinfo.h: Likewise.
50942 * include/fcntl.h: Likewise.
50943 * include/fenv.h: Likewise.
50944 * include/glob.h: Likewise.
50945 * include/grp.h: Likewise.
50946 * include/libintl.h: Likewise.
50947 * include/mntent.h: Likewise.
50948 * include/netdb.h: Likewise.
50949 * include/pwd.h: Likewise.
50950 * include/rpc/netdb.h: Likewise.
50951 * include/sched.h: Likewise.
50952 * include/search.h: Likewise.
50953 * include/shadow.h: Likewise.
50954 * include/signal.h: Likewise.
50955 * include/stdio.h: Likewise.
50956 * include/stdlib.h: Likewise.
50957 * include/string.h: Likewise.
50958 * include/sys/socket.h: Likewise.
50959 * include/sys/stat.h: Likewise.
50960 * include/sys/statfs.h: Likewise.
50961 * include/sys/statvfs.h: Likewise.
50962 * include/sys/syslog.h: Likewise.
50963 * include/sys/time.h: Likewise.
50964 * include/sys/uio.h: Likewise.
50965 * include/time.h: Likewise.
50966 * include/unistd.h: Likewise.
50967 * include/utmp.h: Likewise.
50968 * include/wchar.h: Likewise.
50969 * include/wctype.h: Likewise.
50970 * inet/aliases.h: Likewise.
50971 * inet/arpa/inet.h: Likewise.
50972 * inet/netinet/ether.h: Likewise.
50973 * inet/netinet/in.h: Likewise.
50974 * intl/libintl.h: Likewise.
50975 * io/bits/fcntl2.h: Likewise.
50976 * io/fcntl.h: Likewise.
50977 * io/ftw.h: Likewise.
50978 * io/sys/poll.h: Likewise.
50979 * io/sys/stat.h: Likewise.
50980 * io/sys/statfs.h: Likewise.
50981 * io/sys/statvfs.h: Likewise.
50982 * io/utime.h: Likewise.
50983 * libio/bits/stdio.h: Likewise.
50984 * libio/bits/stdio2.h: Likewise.
50985 * libio/libio.h: Likewise.
50986 * libio/libioP.h: Likewise.
50987 * libio/stdio.h: Likewise.
50988 * locale/lc-ctype.c: Likewise.
50989 * locale/locale.h: Likewise.
50990 * login/utmp.h: Likewise.
50991 * malloc/arena.c: Likewise.
50992 * malloc/malloc.c: Likewise.
50993 * malloc/malloc.h: Likewise.
50994 * malloc/mcheck.c: Likewise.
50995 * malloc/mtrace.c: Likewise.
50996 * math/bits/mathcalls.h: Likewise.
50997 * math/fenv.h: Likewise.
50998 * math/math_private.h: Likewise.
50999 * misc/bits/error.h: Likewise.
51000 * misc/bits/syslog.h: Likewise.
51001 * misc/err.h: Likewise.
51002 * misc/error.h: Likewise.
51003 * misc/fstab.h: Likewise.
51004 * misc/mntent.h: Likewise.
51005 * misc/regexp.h: Likewise.
51006 * misc/search.h: Likewise.
51007 * misc/sgtty.h: Likewise.
51008 * misc/sys/mman.h: Likewise.
51009 * misc/sys/syslog.h: Likewise.
51010 * misc/sys/uio.h: Likewise.
51011 * misc/sys/xattr.h: Likewise.
51012 * misc/ttyent.h: Likewise.
51013 * nis/rpcsvc/ypclnt.h: Likewise.
51014 * nss/nss.h: Likewise.
51015 * posix/bits/unistd.h: Likewise.
51016 * posix/fnmatch.h: Likewise.
51017 * posix/glob.h: Likewise.
51018 * posix/sched.h: Likewise.
51019 * posix/spawn.h: Likewise.
51020 * posix/sys/wait.h: Likewise.
51021 * posix/unistd.h: Likewise.
51022 * posix/wordexp.h: Likewise.
51023 * pwd/pwd.h: Likewise.
51024 * resolv/netdb.h: Likewise.
51025 * resource/sys/resource.h: Likewise.
51026 * rt/aio.h: Likewise.
51027 * rt/bits/mqueue2.h: Likewise.
51028 * rt/mqueue.h: Likewise.
51029 * shadow/shadow.h: Likewise.
51030 * signal/signal.h: Likewise.
51031 * socket/send.c: Likewise.
51032 * socket/sendto.c: Likewise.
51033 * socket/sys/socket.h: Likewise.
51034 * stdio-common/printf.h: Likewise.
51035 * stdlib/bits/stdlib.h: Likewise.
51036 * stdlib/fmtmsg.h: Likewise.
51037 * stdlib/monetary.h: Likewise.
51038 * stdlib/stdlib.h: Likewise.
51039 * stdlib/ucontext.h: Likewise.
51040 * streams/stropts.h: Likewise.
51041 * string/argz.h: Likewise.
51042 * string/bits/string2.h: Likewise.
51043 * string/string.h: Likewise.
51044 * string/strings.h: Likewise.
51045 * sunrpc/rpc/auth.h: Likewise.
51046 * sunrpc/rpc/auth_des.h: Likewise.
51047 * sunrpc/rpc/clnt.h: Likewise.
51048 * sunrpc/rpc/netdb.h: Likewise.
51049 * sunrpc/rpc/pmap_clnt.h: Likewise.
51050 * sunrpc/rpc/xdr.h: Likewise.
51051 * sysdeps/generic/inttypes.h: Likewise.
51052 * sysdeps/generic/net/if.h: Likewise.
51053 * sysdeps/generic/sys/swap.h: Likewise.
51054 * sysdeps/gnu/net/if.h: Likewise.
51055 * sysdeps/gnu/utmpx.h: Likewise.
51056 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51057 * sysdeps/i386/i486/bits/string.h: Likewise.
51058 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51059 * sysdeps/s390/bits/string.h: Likewise.
51060 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51061 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51062 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51063 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51064 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51065 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51066 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51067 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51068 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51069 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51070 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51071 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51072 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51073 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51074 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51075 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51076 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51078 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51079 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51080 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51081 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51082 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51083 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51084 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51085 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51086 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51087 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51088 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51089 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51090 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51091 * sysvipc/sys/ipc.h: Likewise.
51092 * sysvipc/sys/msg.h: Likewise.
51093 * sysvipc/sys/sem.h: Likewise.
51094 * sysvipc/sys/shm.h: Likewise.
51095 * termios/termios.h: Likewise.
51096 * time/sys/time.h: Likewise.
51097 * time/time.h: Likewise.
51098 * wcsmbs/bits/wchar2.h: Likewise.
51099 * wcsmbs/uchar.h: Likewise.
51100 * wcsmbs/wchar.h: Likewise.
51101 * wctype/wctype.h: Likewise.
51104 * Makeconfig: Remove all but ELF support including AIX support.
51105 * Makerules: Likewise.
51106 * config.h.in: Likewise.
51107 * config.make.in: Likewise.
51108 * configure: Likewise.
51109 * configure.in: Likewise.
51110 * csu/Makefile: Likewise.
51111 * csu/version.c: Likewise.
51112 * debug/Makefile: Likewise.
51113 * dlfcn/Makefile: Likewise.
51114 * elf/Makefile: Likewise.
51115 * extra-lib.mk: Likewise.
51116 * iconv/Makefile: Likewise.
51117 * include/libc-symbols.h: Likewise.
51118 * include/shlib-compat.h: Likewise.
51119 * resolv/Makefile: Likewise.
51120 * resolv/res_libc.c: Likewise.
51121 * rt/Makefile: Likewise.
51122 * sysdeps/i386/asm-syntax.h: Likewise.
51123 * sysdeps/i386/sysdep.h: Likewise.
51124 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51125 * sysdeps/mach/sysdep.h: Likewise.
51126 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51127 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51128 * sysdeps/s390/asm-syntax.h: Likewise.
51129 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51130 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51131 * sysdeps/sh/sysdep.h: Likewise.
51132 * sysdeps/unix/sparc/sysdep.h: Likewise.
51133 * sysdeps/wordsize-32/divdi3.c: Likewise.
51134 * sysdeps/x86_64/sysdep.h: Likewise.
51136 * argp/Versions: Remove _argp_unlock_xxx.
51139 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51140 * abilist/libBrokenLocale.abilist: Likewise.
51141 * abilist/libanl.abilist: Likewise.
51142 * abilist/libc.abilist: Likewise.
51143 * abilist/libcrypt.abilist: Likewise.
51144 * abilist/libdl.abilist: Likewise.
51145 * abilist/libm.abilist: Likewise.
51146 * abilist/libnsl.abilist: Likewise.
51147 * abilist/libpthread.abilist: Likewise.
51148 * abilist/libresolv.abilist: Likewise.
51149 * abilist/librt.abilist: Likewise.
51150 * abilist/libthread_db.abilist: Likewise.
51151 * abilist/libutil.abilist: Likewise.
51152 * abilist/libnss_db.abilist: New file.
51154 * scripts/abilist.awk: Add support for indirect functions.
51156 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51158 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51160 * shlib-versions: Remove entries for ports architectures.
51162 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51164 * elf/stackguard-macros.h: Remove support for IA-64.
51165 * elf/tst-auditmod1.c: Likewise.
51166 * sysdeps/generic/ldsodefs.h: Likewise.
51168 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51169 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51173 * configure.in: Remove --enable-omitfp support.
51175 * config.make.in: Likewise.
51176 * Makeconfig: Likewise.
51177 * manual/install.texi: Likewise.
51179 In case anyone cares, the IA-64 architecture could move to ports.
51180 * sysdeps/ia64/*: Removed.
51181 * sysdeps/unix/sysv/linux/ia64/*: Removed.
51182 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
51185 * configure.in: Remove entries for unsupported architectures.
51188 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51189 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51191 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51192 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51193 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51194 fall back to using wcrtomb.
51195 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51196 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51198 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51199 * wcsmbs/tst-c16c32-1.c: New file.
51201 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51204 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51206 * elf/tst-unique3.cc: Add explicit declaration of gets.
51207 * elf/tst-unique3lib.cc: Likewise.
51208 * elf/tst-unique3lib2.cc: Likewise.
51209 * elf/tst-unique4.cc: Likewise.
51211 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51213 2012-01-06 Joseph Myers <joseph@codesourcery.com>
51216 * assert/assert.h (static_assert): Don't define for C++.
51217 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51218 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51220 2012-01-03 Ulrich Drepper <drepper@gmail.com>
51222 * iconv/loop.c (single loop): Fix assertion in storing of
51225 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51227 2012-01-01 Ulrich Drepper <drepper@gmail.com>
51229 * posix/getconf.c: Update copyright year.
51230 * nss/getent.c: Likewise.
51231 * nss/makedb.c: Likewise.
51232 * iconv/iconvconfig.c: Likewise.
51233 * iconv/iconv_prog.c: Likewise.
51234 * elf/ldconfig.c: Likewise.
51235 * elf/pldd.c: Likewise.
51236 * elf/sotruss.ksh: Likewise.
51237 * catgets/gencat.c: Likewise.
51238 * csu/version.c: Likewise.
51239 * elf/ldd.bash.in: Likewise.
51240 * elf/sprof.c (print_version): Likewise.
51241 * locale/programs/locale.c: Likewise.
51242 * locale/programs/localedef.c: Likewise.
51243 * login/programs/pt_chown.c: Likewise.
51244 * nscd/nscd.c (print_version): Likewise.
51245 * debug/xtrace.sh: Likewise.
51246 * malloc/memusage.sh: Likewise.
51247 * malloc/mtrace.pl: Likewise.
51248 * debug/catchsegv.sh: Likewise.
51250 2011-12-30 Jakub Jelinek <jakub@redhat.com>
51252 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51255 2011-12-24 Ulrich Drepper <drepper@gmail.com>
51258 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51259 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51261 * iconv/gconv_int.h: Likewise.
51262 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51263 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51264 from libc for GLIBC_2.16.
51265 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51266 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51267 * wcsmbs/uchar.h: Really define mbstate_t.
51268 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51269 * wcsmbs/c16rtomb.c: New file.
51270 * wcsmbs/mbrtoc16.c: New file.
51271 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51272 for C/POSIX locale.
51273 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51274 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51276 * wcsmbs/wchar.h: Add missing __restrict.
51278 2011-12-23 Ulrich Drepper <drepper@gmail.com>
51281 * time/Makefile (routines): Add timespec_get.
51282 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51283 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51284 timespec for ISO C11.
51285 * time/timespec_get.c: New file.
51286 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51287 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51290 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51291 * stdlib/stdlib.h: Declare aligned_alloc.
51292 * Versions.def: Add GLIBC_2.16 for libc.
51293 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51296 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51299 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51303 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51306 * assert/assert.h (static_assert): Define.
51308 * version.h: Update for 2.16 development version.
51311 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51314 * version.h (RELEASE): Bump for 2.15 release.
51315 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51317 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51318 Patch by Marek Polacek <mpolacek@redhat.com>.
51320 * bits/byteswap.h: Protect long long constants with __extension__.
51321 * sysdeps/i386/bits/byteswap.h: Likewise.
51322 * sysdeps/ia64/bits/byteswap.h: Likewise.
51323 * sysdeps/s390/bits/byteswap.h: Likewise.
51324 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51326 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51329 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51330 destination buffer.
51331 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51333 2011-12-23 Marek Polacek <polacek@redhat.com>
51335 * elf/dl-addr.c (determine_info): Add inline keyword.
51336 * elf/tst-auditmod4b.c (check_avx): Likewise.
51337 * elf/tst-auditmod6b.c (check_avx): Likewise.
51338 * elf/tst-auditmod6c.c (check_avx): Likewise.
51339 * elf/tst-auditmod7b.c (check_avx): Likewise.
51341 2011-12-23 Ulrich Drepper <drepper@gmail.com>
51343 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51346 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51349 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51350 processing for last bytes.
51352 2011-08-06 Bruno Haible <bruno@clisp.org>
51355 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51356 U+0385, not to U+1FEE.
51359 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51360 entry for U+00A5 U+0301.
51362 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51365 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51366 buffer for the output is too small.
51368 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51372 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51373 SSE flags if possible.
51375 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51378 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51379 processing for last bytes.
51381 2011-12-22 Joseph Myers <joseph@codesourcery.com>
51383 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51384 (syscall-list-default-options, syscall-list-default-condition)
51385 (syscall-list-includes): Define.
51386 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51387 list of ABIs and options and #if conditions for each ABI. Do not
51388 handle common syscalls between ABIs specially.
51389 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51391 (syscall-list-variants, syscall-list-32bit-options)
51392 (syscall-list-32bit-condition, syscall-list-64bit-options)
51393 (syscall-list-64bit-condition): Define.
51394 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51395 (syscall-list-variants, syscall-list-32bit-options)
51396 (syscall-list-32bit-condition, syscall-list-64bit-options)
51397 (syscall-list-64bit-condition): Define.
51398 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51400 (syscall-list-variants, syscall-list-32bit-options)
51401 (syscall-list-32bit-condition, syscall-list-64bit-options)
51402 (syscall-list-64bit-condition): Define.
51403 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51405 (syscall-list-variants, syscall-list-32bit-options)
51406 (syscall-list-32bit-condition, syscall-list-64bit-options)
51407 (syscall-list-64bit-condition): Define.
51409 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51411 * locale/iso-639.def: Add brx entry.
51414 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51415 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51417 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51418 __feraiseexcept_renamed.
51420 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51423 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51424 EPOLLET with unsigned values.
51425 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51426 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51428 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51429 to large cancellation.
51430 * math/s_cacoshf.c: Likewise.
51431 * math/s_cacoshl.c: Likewise.
51433 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51437 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51438 * math/s_cacoshf.c: Likewise.
51439 * math/s_cacoshl.c: Likewise.
51441 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51444 * iconv/gconv.h: Define __GCONV_SWAP.
51445 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51446 * iconvdata/utf-16.c: Likewise.
51447 * iconvdata/utf-32.c: Likewise.
51449 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51452 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51453 numerator after shifting it by one limb.
51455 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51457 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51458 under [__USE_EXTERN_INLINES].
51460 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51463 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51465 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51467 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51468 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51470 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51471 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51472 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51473 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51474 for strncasecmp/strncasecmp_l compilation.
51475 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51476 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51478 2011-12-08 Marek Polacek <mpolacek@redhat.com>
51481 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51484 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51487 * time/tzfile.c (__tzfile_read): Check values from file header.
51489 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51491 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51492 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51493 * powerpc/powerpc32/dl-start.S: Likewise.
51494 * powerpc/powerpc32/elf/start.S: Likewise.
51495 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51496 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51497 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51498 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51499 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51500 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51501 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51502 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51503 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51504 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51505 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51506 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51507 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51508 * powerpc/powerpc32/memset.S: Likewise.
51509 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51510 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51511 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51512 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51513 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51514 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51515 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51516 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51517 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51518 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51519 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51520 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51521 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51523 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51525 * math/libm-test.inc: Added more nearbyint tests.
51526 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51527 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51528 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51529 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51531 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51533 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51536 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51538 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51539 Add wcscpy-ssse3 wcscpy-c.
51540 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51541 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51542 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51543 * sysdeps/x86_64/wcschr.S: New file.
51544 * sysdeps/x86_64/wcsrchr.S: New file.
51545 * string/test-strcmp.c: Remove checking of wcscmp function for
51547 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51548 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51549 wcsrchr-sse2 wcsrchr-c.
51550 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51551 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51552 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51553 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51554 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51555 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51556 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51557 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51558 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51559 * wcsmbc/wcschr.c (WCSCHR): New macro.
51561 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51563 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51564 * wcsmbs/test-wcsrchr.c: New file.
51565 * string/test-strrchr.c: Add wcsrchr support.
51567 * wcsmbs/test-wcscpy.c: New file.
51568 * string/test-strcpy.c: Add wcscpy support.
51571 2011-12-10 Ulrich Drepper <drepper@gmail.com>
51573 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51576 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51579 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51581 2011-12-04 Ulrich Drepper <drepper@gmail.com>
51583 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51584 Minor optimizations.
51586 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51587 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51588 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51590 2011-12-03 Ulrich Drepper <drepper@gmail.com>
51592 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51593 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51594 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51595 for gcc to avoid warnings.
51596 * inet/Makefile (tests): Add tst-checks.
51597 * inet/tst-checks.c: New file.
51599 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51602 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51605 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51606 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51608 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51610 2011-12-02 Ulrich Drepper <drepper@gmail.com>
51612 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51615 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51617 2011-11-29 Joseph Myers <joseph@codesourcery.com>
51619 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51620 conditional on GCC version.
51621 (__arch_compare_and_exchange_val_8_acq)
51622 (__arch_compare_and_exchange_val_16_acq)
51623 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51624 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51625 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51627 2011-12-02 Joseph Myers <joseph@codesourcery.com>
51629 * sysdeps/sh/backtrace.c: New file.
51631 2011-12-02 Andreas Schwab <schwab@redhat.com>
51633 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51636 2011-12-01 Andreas Schwab <schwab@redhat.com>
51638 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51639 falling back to utime.
51641 2011-11-30 Andreas Schwab <schwab@redhat.com>
51643 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51644 expectations for float.
51646 2011-11-29 Andreas Schwab <schwab@redhat.com>
51648 * locale/weight.h (findidx): Add parameter len.
51649 * locale/weightwc.h (findidx): Likewise.
51650 * posix/fnmatch_loop.c (FCT): Adjust caller.
51651 * posix/regcomp.c (build_equiv_class): Likewise.
51652 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51653 * posix/regexec.c (check_node_accept_bytes): Likewise.
51654 * string/strcoll_l.c (STRCOLL): Likewise.
51655 * string/strxfrm_l.c (STRXFRM): Likewise.
51657 2011-11-17 Ulrich Drepper <drepper@gmail.com>
51659 * Makefile.in: Remove CVSOPT handling.
51660 * configure.in: Remove use of AC_REVISION.
51661 * iconvdata/Makefile (distribute): No need to filter out CVS.
51662 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51665 2011-11-16 Andreas Schwab <schwab@redhat.com>
51667 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51668 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51669 [USE_AS_STRNCASECMP_L]: Likewise.
51670 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51671 NO_TLS_DIRECT_SEG_REFS.
51672 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51673 Fix argument offsets for non-PIC.
51674 [USE_AS_STRNCASECMP_L]: Likewise.
51675 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51676 NO_TLS_DIRECT_SEG_REFS.
51678 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51680 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51682 * locale/loadlocale.c (_nl_load_locale): Likewise.
51684 2011-11-15 Andreas Schwab <schwab@redhat.com>
51686 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51687 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51688 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51689 (SYSCALL_GETTIME): Set errno on error.
51691 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51692 count references to noai6ai_cached.
51694 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51696 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51698 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51699 FD_CLOEXEC for /proc/self/maps.
51701 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51702 FD_CLOEXEC for /proc/meminfo.
51704 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51707 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51708 FD_CLOEXEC for given file.
51710 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51712 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51713 FD_CLOEXEC for /etc/hosts.
51714 (_gethtent): Likewise.
51716 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51718 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51719 cancellation and set FD_CLOEXEC for /etc/netgroup.
51721 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51722 reading /etc/publickey.
51724 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51725 allow cancellation when reading /etc/group.
51727 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51729 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51731 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51732 when using data file.
51734 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51736 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51737 (write_nis_obj): Use "c" and "e" in fopen.
51739 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51741 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51743 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51745 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51747 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51750 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51752 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51754 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51756 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51757 file parsing and set FD_CLOEXEC.
51759 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51761 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51763 2011-11-14 Andreas Schwab <schwab@redhat.com>
51765 * malloc/arena.c (arena_get2): Don't call reused_arena when
51766 _int_new_arena failed.
51768 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51770 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51771 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51772 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51773 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51774 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51775 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51776 to compile strcasecmp and strncasecmp.
51777 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51778 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51780 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51782 2011-11-13 Ulrich Drepper <drepper@gmail.com>
51784 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51785 locale-defines.sym to gen-as-const-headers.
51786 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51787 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51788 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51789 to compile strcasecmp and strncasecmp.
51790 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51791 strcasecmp_l and strncasecmp_l.
51792 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51793 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51794 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51795 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51796 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51797 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51798 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51799 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51800 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51801 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51802 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51804 2011-11-12 Ulrich Drepper <drepper@gmail.com>
51806 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51807 result of SYSDEP_GETTIME_CPU to retval.
51808 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51809 parameter list to macro. Remove trailing semicolon. Adjust users.
51811 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51814 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51816 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51818 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51819 from unused variable.
51821 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51823 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51826 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51829 * sunrpc/rpc_prot.c (rejected): Fix case value.
51831 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51832 unsigned long long int to avoid warnings in shift.
51834 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51836 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51839 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51840 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51841 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51843 * nis/nis_table.c (nis_list): Use variable of correct type for
51844 result of __follow_path call.
51846 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51848 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51849 of math functions ceil, trunc, floor, round, and sqrt, when
51850 avaliable on the platform.
51851 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51853 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51854 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51855 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51857 2011-10-30 Marek Polacek <mpolacek@redhat.com>
51859 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51860 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51862 2011-11-11 Roland McGrath <roland@hack.frob.com>
51864 * include/unistd.h: Fix __readlink return type.
51865 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51867 2011-11-11 Ulrich Drepper <drepper@gmail.com>
51869 * stdlib/ucontext.h: Undo last change for makecontext.
51871 2011-11-11 Andreas Schwab <schwab@redhat.com>
51873 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51875 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51876 * setjmp/setjmp.h: Mark functions as non-leaf.
51877 * setjmp/bits/setjmp2.h: Likewise.
51878 * stdlib/ucontext.h: Likewise.
51880 2011-11-10 Andreas Schwab <schwab@redhat.com>
51882 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51883 (reused_arena): Don't check arena limit.
51884 (arena_get2): Atomically check arena limit.
51886 2011-11-08 Ulrich Drepper <drepper@gmail.com>
51888 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51889 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51891 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51894 2011-11-07 Andreas Schwab <schwab@redhat.com>
51896 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51897 handler when locking.
51899 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51900 Fix size of allocated buffer.
51902 2011-11-04 Andreas Schwab <schwab@redhat.com>
51905 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51906 declarations for long double functions.
51907 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51909 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51911 2011-11-03 Andreas Schwab <schwab@redhat.com>
51913 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51916 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51919 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51921 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51923 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51925 * include/alloca.h (stackinfo_alloca_round): Define.
51926 (extend_alloca): Use it.
51927 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51928 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51931 * scripts/check-local-headers.sh: Ignore libaudit.h.
51933 * nscd/Makefile (extra-objs): Make recursively expanded.
51935 2011-11-01 Ulrich Drepper <drepper@gmail.com>
51937 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51938 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51940 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51941 * posix/tst-rfc3484-2.c: Likewise.
51942 * posix/tst-rfc3484-3.c: Likewise.
51944 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51946 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51948 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51949 process_vm_writev from libc using GLIBC_2.15 version.
51951 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51953 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51955 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51958 2011-10-31 Ulrich Drepper <drepper@gmail.com>
51961 * nss/getent.c (initgroups_keys): Show error message in case no group
51964 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51965 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51966 __bump_nl_timestamp.
51967 * nscd/connections (nscd_init): When host database is served open
51968 netlink socket and request notification about configuration changes.
51969 (main_loop_poll): Track netlink file descriptor and bump timestamp
51970 in case data becomes available.
51971 (main_loop_epoll): Likewise.
51972 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51973 (database_pers_head): Add extra_data fileds.
51974 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51975 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51976 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51978 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51979 in6ai data, call __free_in6ai.
51980 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51981 Add -DHAVE_NETLINK.
51982 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51983 interface information. Reuse previous data if netlink timestamp
51985 (__bump_nl_timestamp): New function.
51986 (__free_in6ai): New function.
51988 2011-10-30 Ulrich Drepper <drepper@gmail.com>
51990 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51991 close_not_cancel_no_status here.
51992 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51994 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51997 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52000 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
52001 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52002 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52004 2011-07-03 Andreas Jaeger <aj@suse.de>
52007 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52008 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52009 * math/libm-test.inc (sin_test): Add test case.
52011 2011-10-29 Ulrich Drepper <drepper@gmail.com>
52014 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52015 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52017 * elf/chroot_canon.c (chroot_canon): Cleanups.
52019 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52022 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52023 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52025 * string/test-strchr.c: Make usable for strchrnul testing.
52026 * string/test-strchrnul.c: New file.
52027 * string/Makefile (strop-tests): Add strchrnul.
52029 * po/it.po: Update from translation team.
52030 * po/es.po: Likewise.
52032 2011-10-28 Ulrich Drepper <drepper@gmail.com>
52034 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52035 the three constants needed as parameters. Drop the others.
52036 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52037 __m128i_strloadu_tolower.
52038 Create and initialize variable zero and use it in all the places
52039 where _mm_setzero_si128 was used.
52041 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52042 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52043 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52044 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52046 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52047 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52048 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52049 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52050 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52051 __mpranred, __mptan.
52052 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52053 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52054 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52055 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52056 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52057 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52058 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52059 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52060 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52062 2011-10-28 Andreas Schwab <schwab@redhat.com>
52064 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52065 redefine if SHARED.
52066 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52068 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52069 wide char related routines to wcsmbs subdir.
52071 2011-10-27 Andreas Schwab <schwab@redhat.com>
52074 * misc/sys/cdefs.h (__THROWNL): Define.
52075 * posix/unistd.h: Use __THREADNL instead of __THREAD
52076 for memory synchronization functions.
52078 2011-10-26 Roland McGrath <roland@hack.frob.com>
52081 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52083 * manual/stdio.texi (Obstack Streams): Node removed.
52085 2011-10-26 Andreas Schwab <schwab@redhat.com>
52087 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52088 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52089 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52091 * math/math_private.h (math_force_eval): Allow non-addressable
52093 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52095 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52097 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52098 file is not needed.
52100 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52101 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52102 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52103 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52104 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52105 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52106 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52107 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52109 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52110 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52111 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52112 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52113 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52114 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52115 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52116 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52117 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52118 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52119 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52120 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52121 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52122 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52123 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52124 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52125 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52126 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52127 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52129 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52130 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52132 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52133 place. Use VEX encoding when compiling for AVX.
52135 2011-10-25 Andreas Schwab <schwab@redhat.com>
52137 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52138 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52140 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52142 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52144 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52145 useless if() expression.
52146 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52147 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52148 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52149 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52150 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52151 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52152 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52153 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52154 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52155 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52156 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52157 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52158 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52159 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52160 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52161 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52162 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52163 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52164 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52166 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52168 2011-10-25 Andreas Schwab <schwab@redhat.com>
52170 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52172 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52174 2011-10-25 Ulrich Drepper <drepper@gmail.com>
52176 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52177 .text section. Avoid duplicate constants.
52178 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52179 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52180 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52181 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52182 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52183 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52184 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52185 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52186 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52187 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52188 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52189 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52190 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52191 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52192 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52193 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52194 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52195 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52196 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52197 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52198 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52199 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52200 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52201 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52202 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52203 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52204 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52205 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52206 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52207 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52208 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52209 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52210 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52211 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52212 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52213 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52214 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52215 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52216 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52217 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52218 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52219 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52220 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52221 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52222 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52224 2011-10-24 Ulrich Drepper <drepper@gmail.com>
52226 * sysdeps/x86_64/dla.h: Move to ...
52227 * sysdeps/x86_64/fpu/dla.h: ...here.
52228 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52229 situations. Use __builtin_fma only for gcc 4.6 and up.
52231 * config.make.in: Add have-mfma4 entry.
52232 * configure.in: Substitute libc_cv_cc_fma4.
52233 * math/Makefile (dbl-only-routines): Add sincostab.
52234 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52235 Use __sincostab not sincos.
52236 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52238 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52239 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52240 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52241 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52243 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52244 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52245 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52246 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52248 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52249 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52251 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52252 define aliases when function name is a macro.
52253 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52254 sysdeps/ieee754/dbl-64/sincos.tbl.
52255 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52256 fma4-enabled routines.
52257 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52258 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52259 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52260 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52261 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52262 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52263 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52264 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52265 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52266 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52267 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52268 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52269 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52270 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52271 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52272 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52273 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52274 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52275 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52276 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52277 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52278 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52279 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52280 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52281 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52282 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52283 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52284 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52285 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52286 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52288 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52290 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52291 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52292 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52293 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52294 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52295 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52296 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52297 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52299 2011-10-24 Andreas Schwab <schwab@redhat.com>
52301 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52303 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52305 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52307 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52309 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52311 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52312 Remove unused variable magic_bits.
52313 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52315 * string/strnlen.c: Define and use STRNLEN macro.
52316 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52317 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52318 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52319 * wcsmbs/wcslen.c: Define and use WCSLEN.
52320 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52321 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52322 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52323 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52324 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52325 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52326 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52328 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52330 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52331 strnlen-sse2-no-bsf.
52332 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52333 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52334 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52335 Add strnlen support.
52336 (USE_AS_STRNLEN): New macro.
52337 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52338 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52339 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52340 * sysdeps/x86_64/wcslen.S: New file.
52342 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52344 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52345 XMM-moves are used for copying on small sizes.
52347 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52349 * wcsmbs/Makefile (strop-tests): Add wcschr.
52350 * wcsmbs/test-wcschr.c: New file.
52351 * string/test-strchr.c: Update.
52352 Add wcschr support.
52355 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52357 * wcsmbs/Makefile (strop-tests): Add wcslen.
52358 * wcsmbs/test-wcslen.c: New file.
52359 * string/test-strlen.c: Update.
52360 Add wcslen support.
52363 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52365 * po/it.po: Update from translation team.
52367 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52369 * sysdeps/x86_64/wcscmp.S: Update.
52370 Fix wrong comparison semantics.
52371 wcscmp shall use signed comparison not unsigned.
52372 Don't use substraction to avoid overflow bug.
52373 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52374 * wcsmbc/wcscmp.c: Likewise.
52375 * string/test-strcmp.c: Likewise.
52376 Add new tests to check cases with negative values.
52378 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52380 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52381 * sysdeps/x86_64/dla.h: ...here. New file.
52382 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52383 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52384 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52385 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52386 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52387 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52388 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52389 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52390 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52392 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52394 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52395 __ynl_finite aliases.
52397 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52401 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52403 [DLA_FMA] (EMULV): Use DLA_FMA.
52404 [DLA_FMA] (MUL12): Use EMULV.
52405 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52406 that are not needed.
52407 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52408 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52409 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52410 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52411 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52412 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52413 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52415 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52417 * math/s_nan.c: Undef __nan.
52418 * math/s_nanf.c: Undef __nanf.
52419 * math/s_nanl.c: Undef __nanl.
52420 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52423 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52425 * math/s_catan.c: Add branch predictions.
52426 * math/s_catanf.c: Likewise.
52427 * math/s_catanh.c: Likewise.
52428 * math/s_catanhf.c: Likewise.
52429 * math/s_catanhl.c: Likewise.
52430 * math/s_catanl.c: Likewise.
52431 * math/s_cexp.c: Likewise.
52432 * math/s_cexpf.c: Likewise.
52433 * math/s_cexpl.c: Likewise.
52434 * math/s_clog.c: Likewise.
52435 * math/s_clog10.c: Likewise.
52436 * math/s_clog10f.c: Likewise.
52437 * math/s_clog10l.c: Likewise.
52438 * math/s_clogf.c: Likewise.
52439 * math/s_clogl.c: Likewise.
52440 * math/s_csqrt.c: Likewise.
52441 * math/s_csqrtf.c: Likewise.
52442 * math/s_csqrtl.c: Likewise.
52443 * math/s_ctanf.c: Likewise.
52444 * math/s_ctanh.c: Likewise.
52445 * math/s_ctanhf.c: Likewise.
52446 * math/s_ctanhl.c: Likewise.
52447 * math/s_ctanl.c: Likewise.
52449 * math/math_private.h: Define __nan, __nanf, __nanl.
52450 * math/s_cacosh.c: Include <math_private.h>.
52451 * math/s_cacoshl.c: Likewise.
52452 * math/s_casinh.c: Likewise.
52453 * math/s_casinhf.c: Likewise.
52454 * math/s_casinhl.c: Likewise.
52455 * math/s_ccos.c: Rely entire on ccosh.
52456 * math/s_ccosf.c: Rely entire on ccoshf.
52457 * math/s_ccosl.c: Rely entirely on ccoshl.
52458 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52459 Remove tests for FE_INVALID.
52460 * math/s_ccoshf.c: Likewise.
52461 * math/s_ccoshl.c: Likewise.
52462 * math/s_csin.c: Likewise.
52463 * math/s_csinf.c: Likewise.
52464 * math/s_csinh.c Likewise.
52465 * math/s_csinhf.c: Likewise.
52466 * math/s_csinhl.c: Likewise.
52467 * math/s_csinl.c: Likewise.
52468 * math/s_ctan.c: Likewise.
52469 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52470 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52471 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52473 2011-10-21 Ulrich Drepper <drepper@gmail.com>
52475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52476 compilation problems.
52478 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52481 2011-10-20 Ulrich Drepper <drepper@gmail.com>
52483 * sysdeps/i386/configure.in: Test for -mfma4 option.
52484 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52485 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52486 COMMON_CPUID_INDEX_80000001.
52487 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52488 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52489 use it if FMA3 is not supported.
52490 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52492 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52493 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52495 2011-10-20 Andreas Schwab <schwab@redhat.com>
52498 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52499 it would create a cycle with a link time dependency.
52501 2011-10-19 Ulrich Drepper <drepper@gmail.com>
52503 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52505 * string/Makefile (strop-tests): Add rawmemchr.
52506 * string/test-rawmemchr.c: New file.
52508 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52509 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52510 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52511 when compiling str{,n}casecmp and when AVX is available. Hook up
52512 new optimized code in initializers.
52514 2011-10-19 Andreas Schwab <schwab@redhat.com>
52516 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52517 __feraiseexcept instead of feraiseexcept.
52519 2011-10-18 Ulrich Drepper <drepper@gmail.com>
52521 * math/math_private.h: Define defaults for libc_fetestexcept and
52523 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52524 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52525 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52526 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52527 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52528 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52529 libc_fetestexcept and libc_feupdateenv.
52531 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52532 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52533 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52534 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52535 libc_feholdexcept_setround.
52537 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52538 Add s_nearbyint-c and s_nearbyintf-c.
52539 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52540 nearbyintf inlines.
52541 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52542 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52543 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52544 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52546 * math/math_private.h: Define defaults for libc_fegetround,
52547 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52548 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52549 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52550 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52551 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52552 standard functions.
52553 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52554 Remove comments and hacks for old compiler versions.
52555 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52556 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52557 libc_feholdexceptl.
52559 2011-10-18 Andreas Schwab <schwab@redhat.com>
52561 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52562 (__feraiseexcept_renamed): Add __NTH.
52563 (feraiseexcept): Add __NTH. Rename local variables to fix
52564 namespace violations.
52566 2011-10-17 Ulrich Drepper <drepper@gmail.com>
52568 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52570 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52572 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52573 recently added interfaces.
52574 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52576 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52577 about macro parameter expansion.
52579 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52580 __NO_MATH_INLINES is defined. Cleanups.
52582 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52583 and __floorf is target has SSE4.1.
52584 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52585 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52586 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52587 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52589 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52591 (floorf): Likewise.
52593 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52595 2011-10-17 Andreas Schwab <schwab@redhat.com>
52597 * misc/sys/cdefs.h: Fix last change.
52599 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52602 2011-10-16 Ulrich Drepper <drepper@gmail.com>
52604 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52606 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52607 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52608 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52609 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52610 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52611 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52612 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52613 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52614 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52615 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52616 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52617 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52618 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52619 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52620 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52621 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52622 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52623 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52624 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52625 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52626 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52627 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52629 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52630 ceil, ceilf, floor, floorf.
52632 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52633 Perform IRELATIVE relocations last.
52635 * elf/do-rel.h: Add another parameter nrelative, replacing the
52636 local variable with the same name. Change name of the function
52637 to end in Rel or Rela (uppercase).
52638 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52639 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52640 elf_dynamic_do_##reloc function.
52642 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52644 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52645 is sufficient, at least on modern CPUs.
52647 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52649 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52650 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52652 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52654 * math/bits/math-finite.h: Add entries for exp.
52655 * math/e_expl.c: Add __*_finite alias.
52656 * sysdeps/i386/fpu/e_exp.S: Likewise.
52657 * sysdeps/i386/fpu/e_expf.S: Likewise.
52658 * sysdeps/i386/fpu/e_expl.c: Likewise.
52659 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52660 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52661 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52662 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52663 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52664 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52665 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52667 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52668 is sufficient, at least on modern CPUs.
52670 * ctype/ctype-info.c (__ctype_init): Define.
52671 * include/ctype.h (__ctype_init): Declare.
52672 (__ctype_b_loc): The variable is always initialized.
52673 (__ctype_toupper_loc): Likewise.
52674 (__ctype_tolower_loc): Likewise.
52675 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52676 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52678 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52680 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52682 * configure.in: Also look in $cxxmachine/include for C++ system
52685 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52687 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52688 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52689 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52690 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52691 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52692 (USE_AS_WMEMCMP): New macro.
52694 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52695 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52696 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52697 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52698 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52699 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52700 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52701 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52702 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52703 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52704 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52705 (USE_AS_WMEMCMP): New macro.
52706 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52707 * sysdeps/string/test-memcmp.c: Update.
52708 Fix simple_wmemcmp.
52710 * wcsmbs/wmemcmp.c: Update.
52711 (WMEMCMP): New macro.
52714 2011-10-12 Andreas Jaeger <aj@suse.de>
52717 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52719 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52721 * libio/iofwide.c (do_length): Avoid warning.
52723 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52725 2011-10-14 Ulrich Drepper <drepper@gmail.com>
52727 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52729 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52730 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52731 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52732 * sysdeps/i386/i686/fpu/e_log.S: New file.
52733 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52734 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52736 * ctype/ctype.h: Add support for inlined isXXX functions when
52737 compiling C++ code.
52739 2011-10-14 Andreas Schwab <schwab@redhat.com>
52741 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52743 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52745 2011-10-13 Roland McGrath <roland@hack.frob.com>
52748 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52750 2011-10-13 Andreas Schwab <schwab@redhat.com>
52752 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52753 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52756 * sysdeps/x86_64/memrchr.S: Check for zero size.
52758 * string/stratcliff.c: Add memrchr tests.
52760 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52762 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52763 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52764 rawmemchr-sse2 rawmemchr-sse2-bsf.
52765 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52766 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52767 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52768 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52769 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52770 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52771 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52772 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52773 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52774 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52775 * string/memrchr.c (MEMRCHR): New macro.
52777 2011-10-12 Ulrich Drepper <drepper@gmail.com>
52779 Add integration with gcc's -ffinite-math-only and optimize wrapper
52781 * Versions.def: Define GLIBC_2.15 version for libm.
52782 * math/Makefile (headers): Add bits/math-finite.h.
52783 * math/bits/math-finite.h: New file.
52784 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52785 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52786 * math/e_acoshl.c: Add __*_finite alias.
52787 * math/e_acosl.c: Likewise.
52788 * math/e_asinl.c: Likewise.
52789 * math/e_atan2l.c: Likewise.
52790 * math/e_atanhl.c: Likewise.
52791 * math/e_coshl.c: Likewise.
52792 * math/e_exp10.c: Likewise.
52793 * math/e_exp10f.c: Likewise.
52794 * math/e_exp10l.c: Likewise.
52795 * math/e_exp2l.c: Likewise.
52796 * math/e_fmodl.c: Likewise.
52797 * math/e_gammal_r.c: Likewise.
52798 * math/e_hypotl.c: Likewise.
52799 * math/e_j0l.c: Likewise.
52800 * math/e_j1l.c: Likewise.
52801 * math/e_jnl.c: Likewise.
52802 * math/e_lgammal_r.c: Likewise.
52803 * math/e_log10l.c: Likewise.
52804 * math/e_log2l.c: Likewise.
52805 * math/e_logl.c: Likewise.
52806 * math/e_powl.c: Likewise.
52807 * math/e_sinhl.c: Likewise.
52808 * math/e_sqrtl.c: Likewise.
52809 * math/e_scalb.c: Completely rewritten and optimized.
52810 * math/e_scalbf.c: Likewise.
52811 * math/e_scalbl.c: Likewise.
52812 * math/w_acos.c: Likewise.
52813 * math/w_acosf.c: Likewise.
52814 * math/w_acosl.c: Likewise.
52815 * math/w_acosh.c: Likewise.
52816 * math/w_acoshf.c: Likewise.
52817 * math/w_acoshl.c: Likewise.
52818 * math/w_asin.c: Likewise.
52819 * math/w_asinf.c: Likewise.
52820 * math/w_asinl.c: Likewise.
52821 * math/w_atan2.c: Likewise.
52822 * math/w_atan2f.c: Likewise.
52823 * math/w_atan2l.c: Likewise.
52824 * math/w_atanh.c: Likewise.
52825 * math/w_atanhf.c: Likewise.
52826 * math/w_atanhl.c: Likewise.
52827 * math/w_exp10.c: Likewise.
52828 * math/w_exp10f.c: Likewise.
52829 * math/w_exp10l.c: Likewise.
52830 * math/w_fmod.c: Likewise.
52831 * math/w_fmodf.c: Likewise.
52832 * math/w_fmodl.c: Likewise.
52833 * math/w_j0.c: Likewise.
52834 * math/w_j0f.c: Likewise.
52835 * math/w_j0l.c: Likewise.
52836 * math/w_j1.c: Likewise.
52837 * math/w_j1f.c: Likewise.
52838 * math/w_j1l.c: Likewise.
52839 * math/w_jn.c: Likewise.
52840 * math/w_jnf.c: Likewise.
52841 * math/w_log.c: Likewise.
52842 * math/w_logf.c: Likewise.
52843 * math/w_logl.c: Likewise.
52844 * math/w_log10.c: Likewise.
52845 * math/w_log10f.c: Likewise.
52846 * math/w_log10l.c: Likewise.
52847 * math/w_log2.c: Likewise.
52848 * math/w_log2f.c: Likewise.
52849 * math/w_log2l.c: Likewise.
52850 * math/w_pow.c: Likewise.
52851 * math/w_powf.c: Likewise.
52852 * math/w_powl.c: Likewise.
52853 * math/w_remainder.c: Likewise.
52854 * math/w_remainderf.c: Likewise.
52855 * math/w_remainderl.c: Likewise.
52856 * math/w_scalb.c: Likewise.
52857 * math/w_scalbf.c: Likewise.
52858 * math/w_scalbl.c: Likewise.
52859 * math/w_sqrt.c: Likewise.
52860 * math/w_sqrtf.c: Likewise.
52861 * math/w_sqrtl.c: Likewise.
52862 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52863 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52865 * math/math_private.h: Declare __kernel_standard_f.
52866 * math/w_cosh.c: Remove cruft and optimize a bit.
52867 * math/w_coshf.c: Likewise.
52868 * math/w_coshl.c: Likewise.
52869 * math/w_exp2.c: Likewise.
52870 * math/w_exp2f.c: Likewise.
52871 * math/w_exp2l.c: Likewise.
52872 * math/w_hypot.c: Likewise.
52873 * math/w_hypotf.c: Likewise.
52874 * math/w_hypotl.c: Likewise.
52875 * math/w_lgamma.c: Likewise.
52876 * math/w_lgamma_r.c: Likewise.
52877 * math/w_lgammaf.c: Likewise.
52878 * math/w_lgammaf_r.c: Likewise.
52879 * math/w_lgammal.c: Likewise.
52880 * math/w_lgammal_r.c: Likewise.
52881 * math/w_sinh.c: Likewise.
52882 * math/w_sinhf.c: Likewise.
52883 * math/w_sinhl.c: Likewise.
52884 * math/w_tgamma.c: Likewise.
52885 * math/w_tgammaf.c: Likewise.
52886 * math/w_tgammal.c: Likewise.
52887 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52888 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52889 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52890 Minor optimizations. Pretty printing. Remove cruft.
52891 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52892 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52893 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52894 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52895 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52896 * sysdeps/i386/fpu/e_asin.S: Likewise.
52897 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52898 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52899 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52900 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52901 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52902 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52903 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52904 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52905 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52906 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52907 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52908 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52909 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52910 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52911 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52912 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52913 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52914 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52915 * sysdeps/i386/fpu/e_log.S: Likewise.
52916 * sysdeps/i386/fpu/e_log10.S: Likewise.
52917 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52918 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52919 * sysdeps/i386/fpu/e_log2.S: Likewise.
52920 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52921 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52922 * sysdeps/i386/fpu/e_logf.S: Likewise.
52923 * sysdeps/i386/fpu/e_logl.S: Likewise.
52924 * sysdeps/i386/fpu/e_pow.S: Likewise.
52925 * sysdeps/i386/fpu/e_powf.S: Likewise.
52926 * sysdeps/i386/fpu/e_powl.S: Likewise.
52927 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52928 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52929 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52930 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52931 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52932 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52933 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52934 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52935 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52936 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52937 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52938 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52939 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52940 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52941 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52942 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52943 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52944 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52945 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52946 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52947 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52948 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52949 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52950 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52951 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52952 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52953 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52954 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52955 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52956 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52957 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52958 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52959 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52960 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52961 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52962 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52963 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52964 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52965 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52966 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52967 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52968 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52969 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52970 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52971 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52972 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52973 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52974 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52975 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52976 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52977 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52978 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52979 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52980 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52981 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52982 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52983 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52984 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52985 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52986 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52987 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52988 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52989 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52990 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52991 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52992 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52993 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52994 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52995 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52996 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52997 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52998 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52999 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53000 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53001 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53002 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53003 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53004 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53005 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53006 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53007 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53008 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53009 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53010 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53011 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53012 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53013 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53014 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53015 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53016 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53017 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53018 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53019 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53020 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53021 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53022 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53023 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53024 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53025 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53026 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53027 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53028 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53029 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53030 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53031 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53032 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53033 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53034 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53035 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53036 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53037 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53038 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53039 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53040 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53041 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53042 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53043 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53044 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53045 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53046 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53047 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53048 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53049 (__isnanf): Likewise.
53050 (__isinf_ns): Likewise.
53051 (__isinf_nsf): Likewise.
53052 (__finite): Likewise.
53053 (__finitef): Likewise.
53054 (__ieee754_sqrt): Define as macro.
53055 (__ieee754_sqrtf): Define as macro.
53056 (__ieee754_sqrtl): Define as macro.
53057 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53059 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53060 __FINITE_MATH_ONLY__ consistent.
53061 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53063 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53065 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53068 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53070 2011-10-09 Ulrich Drepper <drepper@gmail.com>
53072 * po/ja.po: Update from translation team.
53074 2011-10-08 Roland McGrath <roland@hack.frob.com>
53076 * locale/programs/locarchive.c (prepare_address_space): New function.
53077 (create_archive, enlarge_archive, open_archive): Use it.
53079 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53080 inside [SHARED], where it is used.
53082 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53084 * nss/getent.c (netgroup_keys): Remove unused variable.
53085 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53087 2011-10-08 Ulrich Drepper <drepper@gmail.com>
53089 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53090 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53091 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53092 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53093 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53094 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53095 * math/Makefile (libm-calls): Add s_isinf_ns.
53096 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53097 * math/multc3.c: Likewise.
53098 * math/s_casin.c: Likewise.
53099 * math/s_casinf.c: Likewise.
53100 * math/s_casinl.c: Likewise.
53101 * math/s_ccos.c: Likewise.
53102 * math/s_ccosf.c: Likewise.
53103 * math/s_ccosl.c: Likewise.
53104 * math/s_ctan.c: Likewise.
53105 * math/s_ctanf.c: Likewise.
53106 * math/s_ctanh.c: Likewise.
53107 * math/s_ctanhf.c: Likewise.
53108 * math/s_ctanhl.c: Likewise.
53109 * math/s_ctanl.c: Likewise.
53110 * math/w_fmod.c: Likewise.
53111 * math/w_fmodf.c: Likewise.
53112 * math/w_fmodl.c: Likewise.
53113 * math/w_remainder.c: Likewise.
53114 * math/w_remainderf.c: Likewise.
53115 * math/w_remainderl.c: Likewise.
53116 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53117 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53118 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53119 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53120 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53121 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53122 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53123 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53125 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53127 * stdio-common/printf_fphex.c: Likewise.
53128 * stdio-common/printf_size.c: Likewise.
53130 * math/e_exp10.c: Include math_private.h using <...> not "...".
53131 * math/e_exp10f.c: Likewise.
53132 * math/e_exp10l.c: Likewise.
53133 * math/e_exp2l.c: Likewise.
53134 * math/e_j0l.c: Likewise.
53135 * math/e_j1l.c: Likewise.
53136 * math/e_jnl.c: Likewise.
53137 * math/e_lgammal_r.c: Likewise.
53138 * math/e_rem_pio2l.c: Likewise.
53139 * math/e_scalb.c: Likewise.
53140 * math/e_scalbf.c: Likewise.
53141 * math/e_scalbl.c: Likewise.
53142 * math/k_cosl.c: Likewise.
53143 * math/k_sinl.c: Likewise.
53144 * math/k_tanl.c: Likewise.
53145 * math/s_cacoshf.c: Likewise.
53146 * math/s_catan.c: Likewise.
53147 * math/s_catanf.c: Likewise.
53148 * math/s_catanh.c: Likewise.
53149 * math/s_catanhf.c: Likewise.
53150 * math/s_catanhl.c: Likewise.
53151 * math/s_catanl.c: Likewise.
53152 * math/s_ccosh.c: Likewise.
53153 * math/s_ccoshf.c: Likewise.
53154 * math/s_ccoshl.c: Likewise.
53155 * math/s_cexp.c: Likewise.
53156 * math/s_cexpf.c: Likewise.
53157 * math/s_cexpl.c: Likewise.
53158 * math/s_clog.c: Likewise.
53159 * math/s_clog10.c: Likewise.
53160 * math/s_clog10f.c: Likewise.
53161 * math/s_clog10l.c: Likewise.
53162 * math/s_clogf.c: Likewise.
53163 * math/s_clogl.c: Likewise.
53164 * math/s_csin.c: Likewise.
53165 * math/s_csinf.c: Likewise.
53166 * math/s_csinh.c: Likewise.
53167 * math/s_csinhf.c: Likewise.
53168 * math/s_csinhl.c: Likewise.
53169 * math/s_csinl.c: Likewise.
53170 * math/s_csqrt.c: Likewise.
53171 * math/s_csqrtf.c: Likewise.
53172 * math/s_csqrtl.c: Likewise.
53173 * math/s_ctan.c: Likewise.
53174 * math/s_ctanf.c: Likewise.
53175 * math/s_ctanh.c: Likewise.
53176 * math/s_ctanhf.c: Likewise.
53177 * math/s_ctanhl.c: Likewise.
53178 * math/s_ctanl.c: Likewise.
53179 * math/s_ldexp.c: Likewise.
53180 * math/s_ldexpf.c: Likewise.
53181 * math/s_ldexpl.c: Likewise.
53182 * math/s_significand.c: Likewise.
53183 * math/s_significandf.c: Likewise.
53184 * math/s_significandl.c: Likewise.
53185 * math/w_acos.c: Likewise.
53186 * math/w_acosf.c: Likewise.
53187 * math/w_acosh.c: Likewise.
53188 * math/w_acoshf.c: Likewise.
53189 * math/w_acoshl.c: Likewise.
53190 * math/w_acosl.c: Likewise.
53191 * math/w_asin.c: Likewise.
53192 * math/w_asinf.c: Likewise.
53193 * math/w_asinl.c: Likewise.
53194 * math/w_atan2.c: Likewise.
53195 * math/w_atan2f.c: Likewise.
53196 * math/w_atan2l.c: Likewise.
53197 * math/w_atanh.c: Likewise.
53198 * math/w_atanhf.c: Likewise.
53199 * math/w_atanhl.c: Likewise.
53200 * math/w_cosh.c: Likewise.
53201 * math/w_coshf.c: Likewise.
53202 * math/w_coshl.c: Likewise.
53203 * math/w_dremf.c: Likewise.
53204 * math/w_exp10.c: Likewise.
53205 * math/w_exp10f.c: Likewise.
53206 * math/w_exp10l.c: Likewise.
53207 * math/w_exp2.c: Likewise.
53208 * math/w_exp2f.c: Likewise.
53209 * math/w_fmod.c: Likewise.
53210 * math/w_fmodf.c: Likewise.
53211 * math/w_fmodl.c: Likewise.
53212 * math/w_hypot.c: Likewise.
53213 * math/w_hypotf.c: Likewise.
53214 * math/w_hypotl.c: Likewise.
53215 * math/w_j0.c: Likewise.
53216 * math/w_j0f.c: Likewise.
53217 * math/w_j0l.c: Likewise.
53218 * math/w_j1.c: Likewise.
53219 * math/w_j1f.c: Likewise.
53220 * math/w_j1l.c: Likewise.
53221 * math/w_jn.c: Likewise.
53222 * math/w_jnf.c: Likewise.
53223 * math/w_jnl.c: Likewise.
53224 * math/w_lgamma.c: Likewise.
53225 * math/w_lgamma_r.c: Likewise.
53226 * math/w_lgammaf.c: Likewise.
53227 * math/w_lgammaf_r.c: Likewise.
53228 * math/w_lgammal.c: Likewise.
53229 * math/w_lgammal_r.c: Likewise.
53230 * math/w_log.c: Likewise.
53231 * math/w_log10.c: Likewise.
53232 * math/w_log10f.c: Likewise.
53233 * math/w_log10l.c: Likewise.
53234 * math/w_log2.c: Likewise.
53235 * math/w_log2f.c: Likewise.
53236 * math/w_log2l.c: Likewise.
53237 * math/w_logf.c: Likewise.
53238 * math/w_logl.c: Likewise.
53239 * math/w_pow.c: Likewise.
53240 * math/w_powf.c: Likewise.
53241 * math/w_powl.c: Likewise.
53242 * math/w_remainder.c: Likewise.
53243 * math/w_remainderf.c: Likewise.
53244 * math/w_remainderl.c: Likewise.
53245 * math/w_scalb.c: Likewise.
53246 * math/w_scalbf.c: Likewise.
53247 * math/w_scalbl.c: Likewise.
53248 * math/w_sinh.c: Likewise.
53249 * math/w_sinhf.c: Likewise.
53250 * math/w_sinhl.c: Likewise.
53251 * math/w_sqrt.c: Likewise.
53252 * math/w_sqrtf.c: Likewise.
53253 * math/w_sqrtl.c: Likewise.
53254 * math/w_tgamma.c: Likewise.
53255 * math/w_tgammaf.c: Likewise.
53256 * math/w_tgammal.c: Likewise.
53258 * po/ja.po: Update from translation team.
53260 2011-09-29 Andreas Jaeger <aj@suse.de>
53263 * sunrpc/netname.c (netname2host): Fix logic.
53267 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53269 * math/w_remainder.c (__remainder): Likewise.
53270 * math/w_remainderf.c (__remainderf): Likewise.
53271 * math/libm-test.inc (remainder_test): Add test cases.
53273 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53275 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53278 2011-10-07 Ulrich Drepper <drepper@gmail.com>
53280 * string/test-memcmp.c: Avoid unncessary #defines.
53281 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53283 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53285 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53286 Use new sse2 version for core i3 - i7 as it's faster
53287 than sse42 version.
53288 (bit_Prefer_PMINUB_for_stringop): New.
53289 * sysdeps/x86_64/rawmemchr.S: Update.
53290 Replace with faster SSE2 version.
53291 * sysdeps/x86_64/memrchr.S: New file.
53292 * sysdeps/x86_64/memchr.S: Update.
53293 Replace with faster SSE2 version.
53295 2011-09-12 Marek Polacek <mpolacek@redhat.com>
53297 * elf/dl-load.c (lose): Add cast to avoid warning.
53299 2011-10-07 Ulrich Drepper <drepper@gmail.com>
53301 * po/ca.po: Update from translation team.
53303 * inet/getnetgrent_r.c: Hook up nscd.
53304 * nscd/Makefile (routines): Add nscd_netgroup.
53305 (nscd-modules): Add netgroupcache.
53306 (CFLAGS-netgroupcache.c): Define.
53307 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53308 (cache_search): Add const to second parameter.
53309 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53311 (dbs): Add netgrdb entry.
53312 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53313 (verify_persistent_db): Handle netgrdb.
53314 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53315 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53317 (netgroup_response_header): Define.
53318 (innetgroup_response_header): Define.
53319 (datahead): Add netgroup_response_header and innetgroup_response_header
53321 * nscd/nscd.conf: Add entries for netgroup cache.
53322 * nscd/nscd.h (dbtype): Add netgrdb.
53323 (_PATH_NSCD_NETGROUP_DB): Define.
53324 (netgroup_iov_disabled): Declare.
53325 (xmalloc, xcalloc, xrealloc): Move declarations here.
53326 (cache_search): Adjust prototype.
53327 Add netgroup-related prototypes.
53328 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53329 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53330 (__nscd_innetgr): Declare.
53331 * nscd/selinux.c (perms): Use access_vector_t as element type and
53332 add netgroup-related initializers.
53333 * nscd/netgroupcache.c: New file.
53334 * nscd/nscd_netgroup.c: New file.
53335 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53336 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53337 For four parameters use innetgr.
53338 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53339 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53340 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53341 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53343 * nscd/connections.c (register_traced_file): Don't register file
53344 for disabled databases.
53346 2011-10-06 Ulrich Drepper <drepper@gmail.com>
53348 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53350 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53351 from tree and freeing node.
53353 2011-09-25 Jiri Olsa <jolsa@redhat.com>
53355 * nss/nsswitch.c (__nss_database_lookup): Handle
53356 nss_parse_service_list out of memory case.
53358 2011-09-15 Jiri Olsa <jolsa@redhat.com>
53360 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53361 out of memory case.
53363 2011-10-04 Andreas Schwab <schwab@redhat.com>
53365 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53366 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53368 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53369 elf_machine_rela, elf_machine_lazy_rel.
53370 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53371 (ELF_DYNAMIC_DO_REL): Likewise.
53372 (ELF_DYNAMIC_DO_RELA): Likewise.
53373 (ELF_DYNAMIC_RELOCATE): Likewise.
53374 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53375 to ELF_DYNAMIC_DO_REL.
53376 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53377 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53378 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53380 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53381 skip_ifunc, don't call ifunc function if non-zero.
53382 (elf_machine_rela): Likewise.
53383 (elf_machine_lazy_rel): Likewise.
53384 (elf_machine_lazy_rela): Likewise.
53385 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53386 (elf_machine_lazy_rel): Likewise.
53387 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53389 (elf_machine_lazy_rel): Likewise.
53390 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53392 (elf_machine_lazy_rel): Likewise.
53393 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53394 (elf_machine_lazy_rel): Likewise.
53395 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53396 (elf_machine_lazy_rel): Likewise.
53397 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53398 (elf_machine_lazy_rel): Likewise.
53399 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53400 (elf_machine_lazy_rel): Likewise.
53401 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53402 (elf_machine_lazy_rel): Likewise.
53403 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53404 (elf_machine_lazy_rel): Likewise.
53406 2011-09-28 Ulrich Drepper <drepper@gmail.com>
53408 * nss/nss_files/files-init.c (_nss_files_init): Use static
53409 initialization for all the *_traced_file variables.
53411 2011-09-28 Andreas Schwab <schwab@redhat.com>
53413 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53415 2011-09-27 Roland McGrath <roland@hack.frob.com>
53418 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53420 2011-09-27 Andreas Schwab <schwab@redhat.com>
53422 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53423 Reread the line before reparsing it.
53425 2011-09-26 Andreas Schwab <schwab@redhat.com>
53427 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53429 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53430 Maxim Kuvyrkov <maxim@codesourcery.com>
53431 Joseph Myers <joseph@codesourcery.com>
53433 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53434 if needed for __stack_chk_guard.
53436 2011-09-19 Roland McGrath <roland@hack.frob.com>
53438 * sysdeps/posix/spawni.c (script_execute): Always define it.
53439 It will be optimized away if unused.
53440 (maybe_script_execute): New function.
53441 (__spawni): Call it.
53443 * Makerules: Don't include tls.make.
53444 (config-tls): Always set to thread.
53445 * tls.make.c: File removed.
53447 2011-09-19 Mike Frysinger <vapier@gentoo.org>
53449 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53450 * config.make.in (CPPFLAGS-config): New substituted variable.
53452 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53454 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53457 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53458 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53460 2011-09-15 Roland McGrath <roland@hack.frob.com>
53462 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53463 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53464 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53465 (CALL_FAIL): Likewise.
53466 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53467 (CALL_FAIL): Macro removed.
53468 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53470 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53472 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53473 for __FINITE_MATH_ONLY__ == 1.
53475 2011-09-15 Andreas Schwab <schwab@redhat.com>
53477 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53478 __ieee754_sqrt instead of sqrt.
53479 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53480 __ieee754_sqrtf instead of sqrtf.
53481 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53482 __floorf instead of floorf.
53483 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53484 __floorf, __truncf instead of floorf, truncf.
53486 2011-09-14 Ulrich Drepper <drepper@gmail.com>
53488 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53490 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53491 __extern_always_inline.
53492 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53495 2011-09-14 Andreas Schwab <schwab@redhat.com>
53497 * elf/rtld.c (dl_main): Also relocate in dependency order when
53498 doing symbol dependency testing.
53500 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53502 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53503 Always define `refsym'.
53505 2011-09-13 Andreas Schwab <schwab@redhat.com>
53507 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53508 (__FD_ELT): Renamed from __FDELT.
53509 * misc/bits/select2.h (__FD_ELT): Likewise.
53510 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53511 __FD_MASK instead of __FDELT, __FDMASK.
53512 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53514 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53517 * elf/Makefile (gen-ldd): Fix pattern.
53519 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53520 (init_tls): Likewise.
53522 2011-09-12 Ulrich Drepper <drepper@gmail.com>
53524 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53526 2011-09-12 Andreas Schwab <schwab@redhat.com>
53528 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53529 `struct cmsghdr *' instead of `void *'.
53530 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53533 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53535 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53537 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53538 ldd_rewrite_script.
53540 2011-09-11 Ulrich Drepper <drepper@gmail.com>
53542 * configure.in: Remove --with-tls option.
53543 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53544 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53545 out in case it is missing.
53546 * sysdeps/ia64/elf/configure.in: Likewise.
53547 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53548 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53549 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53550 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53551 * sysdeps/sh/elf/configure.in: Likewise.
53552 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53553 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53554 * sysdeps/x86_64/elf/configure.in: Likewise.
53555 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53556 * sysdeps/mach/hurd/tls.h: Likewise.
53559 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53562 * configure.in: Fix use of AC_INIT.
53564 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53566 2011-09-10 Ulrich Drepper <drepper@gmail.com>
53568 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53570 * malloc/hooks.c: Likewise.
53573 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53574 variables statically.
53575 (narenas): Initialize.
53576 (list_lock): Initialize.
53577 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53578 initializtion of main_arena and list_lock. Small cleanups.
53579 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53580 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53581 Add initializers to main_arena and mp_.
53582 (malloc_state): Remove pagesize member. Change all users to use
53585 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53586 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53587 is always initialized.
53589 * malloc/malloc.c: Removed unused configurations and dead code.
53590 * malloc/arena.c: Likewise.
53591 * malloc/hooks.c: Likewise.
53592 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53594 * include/tls.h: Removed. USE___THREAD must always be defined.
53595 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53596 * elf/dl-libc.c: Likewise.
53597 * elf/dl-tsd.c: Likewise.
53598 * include/errno.h: Likewise.
53599 * include/netdb.h: Likewise.
53600 * include/resolv.h: Likewise.
53601 * inet/herrno-loc.c: Likewise.
53602 * inet/herrno.c: Likewise.
53603 * malloc/arena.c: Likewise.
53604 * malloc/hooks.c: Likewise.
53605 * malloc/malloc.c: Likewise.
53606 * resolv/res-state.c: Likewise.
53607 * resolv/res_libc.c: Likewise.
53608 * sysdeps/i386/dl-machine.h: Likewise.
53609 * sysdeps/ia64/dl-machine.h: Likewise.
53610 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53611 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53612 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53613 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53614 * sysdeps/sh/dl-machine.h: Likewise.
53615 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53616 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53617 * sysdeps/unix/i386/sysdep.S: Likewise.
53618 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53619 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53620 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53621 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53622 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53623 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53624 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53625 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53626 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53627 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53628 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53629 * sysdeps/x86_64/dl-machine.h: Likewise.
53630 * tls.make.c: Likewise.
53632 * configure.in: Remove --with-__thread option. Make tests for
53633 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53634 tls_model attribute fail if no support is available. Remove
53636 * Makeconfig: Adjust for dropped configure option. All features are
53638 * Makerules: Likewise.
53639 * Versions.def: Likewise.
53640 * argp/argp-fmtstream.c: Likewise.
53641 * argp/argp-fmtstream.h: Likewise.
53642 * argp/argp-help.c: Likewise.
53643 * assert/assert.c: Likewise.
53644 * config.h.in: Likewise.
53645 * config.make.in: Likewise.
53646 * configure: Likewise.
53647 * configure.in: Likewise.
53648 * csu/Versions: Likewise.
53649 * csu/init.c: Likewise.
53650 * elf/tst-audit2.c: Likewise.
53651 * elf/tst-tls10.c: Likewise.
53652 * elf/tst-tls10.h: Likewise.
53653 * elf/tst-tls11.c: Likewise.
53654 * elf/tst-tls12.c: Likewise.
53655 * elf/tst-tls14.c: Likewise.
53656 * elf/tst-tlsmod11.c: Likewise.
53657 * elf/tst-tlsmod12.c: Likewise.
53658 * elf/tst-tlsmod13.c: Likewise.
53659 * elf/tst-tlsmod13a.c: Likewise.
53660 * elf/tst-tlsmod14a.c: Likewise.
53661 * elf/tst-tlsmod15b.c: Likewise.
53662 * elf/tst-tlsmod16a.c: Likewise.
53663 * elf/tst-tlsmod16b.c: Likewise.
53664 * elf/tst-tlsmod7.c: Likewise.
53665 * elf/tst-tlsmod8.c: Likewise.
53666 * elf/tst-tlsmod9.c: Likewise.
53667 * gmon/gmon.c: Likewise.
53668 * grp/fgetgrent_r.c: Likewise.
53669 * grp/putgrent.c: Likewise.
53670 * hurd/fopenport.c: Likewise.
53671 * include/libc-symbols.h: Likewise.
53672 * include/tls.h: Likewise.
53673 * intl/gettextP.h: Likewise.
53674 * intl/loadinfo.h: Likewise.
53675 * locale/global-locale.c: Likewise.
53676 * locale/localeinfo.h: Likewise.
53677 * mach/devstream.c: Likewise.
53678 * malloc/arena.c: Likewise.
53679 * malloc/set-freeres.c: Likewise.
53680 * misc/err.c: Likewise.
53681 * misc/getttyent.c: Likewise.
53682 * misc/mntent_r.c: Likewise.
53683 * posix/getopt.c: Likewise.
53684 * posix/wordexp.c: Likewise.
53685 * pwd/fgetpwent_r.c: Likewise.
53686 * resolv/Versions: Likewise.
53687 * resolv/res_hconf.c: Likewise.
53688 * shadow/fgetspent_r.c: Likewise.
53689 * shadow/putspent.c: Likewise.
53690 * stdio-common/printf_fphex.c: Likewise.
53691 * stdio-common/tmpfile.c: Likewise.
53692 * stdlib/abort.c: Likewise.
53693 * stdlib/fmtmsg.c: Likewise.
53694 * sunrpc/auth_unix.c: Likewise.
53695 * sunrpc/clnt_perr.c: Likewise.
53696 * sunrpc/clnt_tcp.c: Likewise.
53697 * sunrpc/clnt_udp.c: Likewise.
53698 * sunrpc/clnt_unix.c: Likewise.
53699 * sunrpc/openchild.c: Likewise.
53700 * sunrpc/svc_simple.c: Likewise.
53701 * sunrpc/svc_tcp.c: Likewise.
53702 * sunrpc/svc_udp.c: Likewise.
53703 * sunrpc/svc_unix.c: Likewise.
53704 * sunrpc/xdr.c: Likewise.
53705 * sunrpc/xdr_array.c: Likewise.
53706 * sunrpc/xdr_rec.c: Likewise.
53707 * sunrpc/xdr_ref.c: Likewise.
53708 * sunrpc/xdr_stdio.c: Likewise.
53710 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53712 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53714 2011-07-03 Andreas Jaeger <aj@suse.de>
53716 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53717 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53718 regenerate with gen-libm-tests.pl.
53720 2010-05-12 Petr Baudis <pasky@suse.cz>
53723 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53724 around j0() zero points by switching to j1().
53725 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53726 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53727 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53728 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53730 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53732 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53734 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53736 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53737 Patch in part by Pavel Roskin <proski@gnu.org>.
53740 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53742 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53743 Free memory block if necessary.
53746 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53747 be NULL. Don't lock in this case.
53749 2011-09-09 Roland McGrath <roland@hack.frob.com>
53751 * elf/elf.h (ELFOSABI_GNU): New macro.
53752 (ELFOSABI_LINUX): Define to that.
53754 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53756 * string/strncat.c (strncat): Undef the symbol in case it has been
53757 defined in bits/string.h.
53759 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53761 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53763 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53766 2011-08-17 Andreas Jaeger <aj@suse.de>
53768 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53770 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53771 Ian Lance Taylor <iant@google.com>
53773 * math/libm-test.inc (lround_test): New testcase.
53774 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53776 2011-09-08 Ulrich Drepper <drepper@gmail.com>
53778 * Makefile: Remove support for automatic cvs check-ins.
53779 * Makerules: Likewise.
53780 * config.make.in: Likewise.
53781 * configure.in: Likewise.
53782 * intl/Makefile: Likewise.
53783 * locale/Makefile: Likewise.
53784 * po/Makefile: Likewise.
53785 * posix/Makefile: Likewise.
53786 * sysdeps/gnu/Makefile: Likewise.
53787 * sysdeps/mach/hurd/Makefile: Likewise.
53788 * sysdeps/sparc/sparc32/Makefile: Likewise.
53791 * posix/Makefile (bug-regex32-ENV): Define.
53792 Patch by John Stanley <jpsinthemix@verizon.net>.
53794 * misc/Makefile (headers): Add bits/select2.h.
53795 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53796 * misc/bits/select2.h: New file.
53797 * include/bits/select2.h: New file.
53798 * debug/Makefile (routines): Add fdelt_chk.
53799 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53800 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53802 * debug/fdelt_chk.c: New file.
53804 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53805 * wcsmbs/test-wmemcmp.c: Likewise.
53806 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53807 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53809 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53811 * string/Makefile (strop-tests): Add memcmp.
53812 * string/test-wmemcmp.c: New file.
53813 * string/test-memcmp.c: Add wmemcmp support.
53815 2011-09-08 Roland McGrath <roland@hack.frob.com>
53818 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53821 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53822 garbage value in a __mach_port_mod_refs call in the cases of the
53823 task-self and thread-self ports.
53825 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53827 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53829 2011-09-08 Andreas Schwab <schwab@redhat.com>
53831 * elf/dl-load.c (lose): Check for non-null L.
53833 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53835 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53837 * elf/dl-libc.c (dlerror_run): Pass back error code from
53841 * elf/dl-load.c (lose): Free l_origin if it is valid.
53843 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53845 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53846 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53847 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53848 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53849 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53850 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53852 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53854 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53855 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53856 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53857 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53858 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53859 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53860 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53861 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53862 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53863 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53865 2011-08-15 Alan Modra <amodra@gmail.com>
53868 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53869 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53870 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53871 ppc_mcount to static-only-routines.
53872 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53874 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53875 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53877 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53879 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53880 for finite and infinity parameters.
53882 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53884 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53885 and add nop instructions for throughput optimization.
53886 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53888 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53890 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53891 aligned copy for power7 with vector-scalar instructions.
53892 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53894 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53896 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53899 2011-09-07 Andreas Schwab <schwab@redhat.com>
53902 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53905 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53907 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53908 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53909 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53910 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53913 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53915 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53916 Forgot to demangle the pointer.
53918 * sysdeps/i386/sysdep.h: Define atom_text_section.
53919 * sysdeps/x86_64/sysdep.h: Likewise.
53920 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53921 section with atom_text_section.
53922 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53923 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53924 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53925 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53926 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53928 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53929 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53930 already be defined. Change to take two parameters and don't assign
53931 result to variable. Adjust all users.
53932 Define INTERNAL_GETTIME if not already defined.
53933 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53935 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53936 HAVE_CLOCK_GETTIME_VSYSCALL.
53937 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53939 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53940 gettimeofday vsyscall, just use time.
53942 2011-09-06 Andreas Schwab <schwab@redhat.com>
53944 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53947 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53949 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53951 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53953 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53954 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53955 syscall if possible.
53957 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53959 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53960 e_ident. Don't pass to find_mapsXX.
53961 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53963 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53965 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53966 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53967 * sysdeps/x86_64/multiarch/strchr.S: Update.
53968 Check bit_slow_BSF bit.
53969 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53970 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53971 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53973 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53976 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53978 (tryshell): Define.
53979 (__spawni): Change last parameter to be flag. Test
53980 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53981 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53982 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53983 * posix/spawni.c: Likewise.
53984 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53985 * posix/spawnp.c: Likewise. Change normal version to use
53986 SPAWN_XFLAGS_USE_PATH.
53987 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53988 SPAWN_XFLAGS_TRY_SHELL.
53991 * posix/glob.h: Remove gcc 1.x support.
53994 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53996 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53998 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53999 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54001 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54002 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54003 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54004 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54005 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54006 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54008 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54010 * sysdeps/x86_64/wcscmp.S: New file.
54012 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54013 wcscmp-c wcscmp-sse2
54014 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54015 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54016 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54017 * wcsmbs/wcscmp.c: Allow renaming.
54019 2011-09-05 David S. Miller <davem@davemloft.net>
54021 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54022 stack slot, rather than the struct return pointer slot.
54023 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54024 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54026 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54028 2011-09-05 Ulrich Drepper <drepper@gmail.com>
54030 * po/ja.po: Update from translation team.
54033 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54034 kernel in 64-bit binaries.
54036 2011-09-01 David S. Miller <davem@davemloft.net>
54038 * elf/elf.h (HWCAP_SPARC_*): Move to..
54039 * sysdeps/sparc/sysdep.h: this new file and add new values.
54040 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54041 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54042 _DL_HWCAP_COUNT to 24.
54043 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54045 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54046 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54047 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54048 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54049 instead of magic constants.
54050 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54052 2011-08-31 David S. Miller <davem@davemloft.net>
54054 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54055 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54056 Reimplement to do errno handling inline.
54057 (SYSCALL_ERROR_HANDLER): New macro.
54058 (__SYSCALL_STRING): Do not do errno handling in asm.
54059 (__CLONE_SYSCALL_STRING): Delete.
54060 (__INTERNAL_SYSCALL_STRING): Delete.
54061 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54062 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54063 (PSEUDO): Reimplement to do errno handling inline.
54064 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54065 (SYSCALL_ERROR_HANDLER): New macro.
54066 (__SYSCALL_STRING): Do not do errno handling in asm.
54067 (__CLONE_SYSCALL_STRING): Delete.
54068 (__INTERNAL_SYSCALL_STRING): Delete.
54069 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54070 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54072 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54073 (inline_syscall*): Add 'err' argument.
54074 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54075 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54076 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54077 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54079 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54080 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54082 2011-08-30 Andreas Schwab <schwab@redhat.com>
54084 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54086 2011-08-29 Jiri Olsa <jolsa@redhat.com>
54088 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54091 2011-08-24 David S. Miller <davem@davemloft.net>
54093 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54095 2011-08-24 Andreas Schwab <schwab@redhat.com>
54097 * elf/Makefile: Add rules to build and run unload8 test.
54098 * elf/unload8.c: New file.
54099 * elf/unload8mod1.c: New file.
54100 * elf/unload8mod1x.c: New file.
54101 * elf/unload8mod2.c: New file.
54102 * elf/unload8mod3.c: New file.
54104 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54107 2011-08-23 David S. Miller <davem@davemloft.net>
54109 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54110 subtract stack bias.
54111 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54112 %sp not %fp in calculations.
54113 (_JMPBUF_UNWINDS_ADJ): Likewise.
54115 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54116 (aio_suspend): Call it to force an exception region around the
54117 AIO_MISC_WAIT() invocation.
54119 2011-08-23 Andreas Schwab <schwab@redhat.com>
54121 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54124 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54126 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54128 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54129 and <dl-machine.h>.
54130 (Elf64_FuncDesc): Remove.
54132 2011-08-22 David S. Miller <davem@davemloft.net>
54134 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54135 sigaltstack check, add missing cfi directives.
54136 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54137 missing cfi directives, and sigaltstack handling.
54139 2011-08-16 Andreas Schwab <schwab@redhat.com>
54142 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54143 object is seen twice.
54144 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54146 * elf/Makefile (distribute): Add tst-initorder2.c.
54147 (tests): Add tst-initorder2.
54148 (modules-names): Add tst-initorder2a tst-initorder2b
54149 tst-initorder2c tst-initorder2d. Add rules to build them.
54150 ($(objpfx)tst-initorder2.out): New rule.
54151 * elf/tst-initorder2.c: New file.
54152 * elf/tst-initorder2.exp: New file.
54154 2011-08-22 Andreas Schwab <schwab@redhat.com>
54156 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54158 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54159 dependencies back to end of function.
54161 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54162 $(elfobjdir)/ld.so.
54164 2011-08-21 Ulrich Drepper <drepper@gmail.com>
54166 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54167 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54168 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54169 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54170 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54171 of __vdso_gettimeofday.
54172 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54173 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54175 (_libc_vdso_platform_setup): Remove initialization of
54176 __vdso_gettimeofday and __vdso_time.
54178 2011-08-20 Ulrich Drepper <drepper@gmail.com>
54180 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54181 and fgetc_unlocked.
54182 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54185 * elf/dl-open.c (add_to_global): Report additions to the global scope
54186 for LD_DEBUG=scopes.
54187 (dl_open_worker): Also print scope of newly loaded dependencies.
54188 (_dl_show_scope): Indicate if there is no scope.
54191 * stdio-common/Makefile (tests): Add bug24.
54192 * stdio-common/bug24.c: New file.
54194 2011-08-19 Andreas Jaeger <aj@suse.de>
54197 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54198 non-existant file when using close-on-exec mode.
54200 2011-08-20 Ulrich Drepper <drepper@gmail.com>
54202 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54203 the very first instruction.
54205 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54206 the CFI state in the end.
54207 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54208 inclusion of dl-trampoline.h.
54209 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54211 2011-08-19 Andreas Schwab <schwab@redhat.com>
54213 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54214 expectations for long double.
54216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54217 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54219 2011-08-14 David S. Miller <davem@davemloft.net>
54221 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54222 artificual limit depends upon the system page size.
54224 2011-08-17 Ulrich Drepper <drepper@gmail.com>
54226 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54227 * resolv/Makefile: Define CFLAGS-libresolv.
54229 2011-08-17 Andreas Schwab <schwab@redhat.com>
54231 * nss/makedb.c (compute_tables): Make variables used in nested
54234 2011-08-17 Ulrich Drepper <drepper@gmail.com>
54236 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54237 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54238 if buffer was too small.
54240 * elf/pldd.c (main): Attach to all threads in the process.
54241 Rewrite /proc handling to use *at functions.
54243 2011-08-16 Ulrich Drepper <drepper@gmail.com>
54245 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54246 specifies first scope to show.
54247 (dl_open_worker): Update callers. Move printing scope of new
54248 object to before the relocation.
54249 * elf/rtld.c (dl_main): Update _dl_show_scope call.
54250 * sysdeps/generic/ldsodefs.h: Update declaration.
54252 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54253 string for the scope number.
54255 2011-08-14 Ulrich Drepper <drepper@gmail.com>
54257 * nscd/servicescache.c (cache_addserv): Make sure written is always
54260 2011-08-14 Roland McGrath <roland@hack.frob.com>
54262 * sysdeps/i386/i486/bits/atomic.h
54263 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54264 statement expression, so as to suppress "set but not used" warning.
54265 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54267 * string/strncat.c (STRNCAT): Use prototype definition.
54269 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54270 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54272 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54273 (localedef-modules): Add localedef.
54274 (locale-modules): Add locale.
54276 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54277 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54278 to avoid a warning.
54280 2011-08-14 David S. Miller <davem@davemloft.net>
54282 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54283 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54285 2011-08-13 Ulrich Drepper <drepper@gmail.com>
54287 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54288 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54289 * elf/rtld.c (dl_main): Set l_name of vDSO.
54290 Call _dl_show_scope when DL_DEBUG_SCOPES.
54291 (process_dl_debug): Recognize scopes flag and also set it for all.
54292 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54293 Declare _dl_show_scope.
54295 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54296 (do_dlopen): Pass caller_dlopen to dl_open.
54297 (__libc_dlopen_mode): Initialize caller_dlopen.
54299 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54300 of libc. Make tolower call locale-independent. Optimize a bit by
54301 using isdigit instead of isalnum.
54302 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54304 2011-08-12 Ulrich Drepper <drepper@gmail.com>
54306 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54307 was a dependency or dynamically loaded.
54309 2011-08-11 Ulrich Drepper <drepper@gmail.com>
54311 * intl/l10nflist.c: Allow architecture-specific pop function.
54312 * sysdeps/x86_64/l10nflist.c: New file.
54314 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54317 2011-08-10 Andreas Schwab <schwab@redhat.com>
54319 * include/dirent.h: Add libc_hidden_proto for scandirat and
54320 scandirat64. Don't declare __scandirat64.
54321 * dirent/scandirat.c: Add libc_hidden_def.
54322 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54323 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54325 2011-08-10 David S. Miller <davem@davemloft.net>
54327 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54329 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54330 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54331 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54333 2011-08-09 Ulrich Drepper <drepper@gmail.com>
54335 * Versions.def [libc]: Add GLIBC_2.15.
54336 * dirent/Makefile (routines): Add scandirat and scandirat64.
54337 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54339 * dirent/dirent.h: Declare scandirat and scandirat64.
54340 * dirent/scandirat.c: New file.
54341 * dirent/scandirat64.c: New file.
54342 * sysdeps/wordsize-64/scandirat.c: New file.
54343 * sysdeps/wordsize-64/scandirat64.c: New file.
54344 * dirent/opendir.c: Define opendirat.
54345 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54347 * dirent/scandir64.c: Adjust for scandir.c change.
54348 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54349 __scandirat64, and __scandir_cancel_handler.
54350 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54351 additional parameter and use openat instead of open (outside of ld.so).
54352 Add new __opendir as wrapper around __opendirat.
54353 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54354 here without requiring old scandirat implementation.
54356 2011-08-08 Ulrich Drepper <drepper@gmail.com>
54358 * dirent/scandir.c (cancel_handler): Renamed to
54359 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54360 defined. Adjust users.
54361 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54362 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54364 2011-08-04 Ulrich Drepper <drepper@gmail.com>
54366 * string/test-string.h (IMPL): Use __STRING to expand name and then
54369 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54372 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54374 * string/Makefile: Update.
54375 (strop-tests): Append strncat.
54376 * string/test-wcscmp.c: New file.
54377 New comprehensive test for wcscmp.
54378 * string/test-strcmp.c: Update.
54379 (WIDE): New define.
54381 2011-07-22 Andreas Schwab <schwab@redhat.com>
54383 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54386 2011-07-26 Andreas Schwab <schwab@redhat.com>
54388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54389 encoding to ACE if AI_IDN.
54391 2011-08-01 Jakub Jelinek <jakub@redhat.com>
54393 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54394 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54396 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54398 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54399 Fix overflow bug in strncat.
54400 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54402 * string/test-strncat.c: Update.
54403 Add new tests for checking overflow bugs.
54405 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54407 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54408 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54409 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54410 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54411 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54412 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54413 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54414 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54415 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54417 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54418 (USE_AS_STRCAT): Define.
54419 Add strcat and strncat support.
54420 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54422 2011-07-25 Andreas Schwab <schwab@redhat.com>
54424 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54425 __n bigger than INT_MAX+1.
54426 (__strncmp_g): Likewise.
54428 2011-07-23 Ulrich Drepper <drepper@gmail.com>
54430 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54431 * libio/stido.h: Likewise.
54433 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54435 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54438 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54439 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54440 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54441 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54442 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54445 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54448 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54450 (_dl_x86_64_save_sse): Likewise.
54452 2011-07-22 Ulrich Drepper <drepper@gmail.com>
54454 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54456 (_dl_x86_64_save_sse): Likewise.
54458 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54460 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54462 2011-07-21 Andreas Schwab <schwab@redhat.com>
54464 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54466 (_dl_x86_64_save_sse): Use correct AVX check.
54468 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54470 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54471 bug in strncpy/strncat.
54472 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54474 2011-07-21 Ulrich Drepper <drepper@gmail.com>
54476 * string/tester.c (test_strcat): Add tests for different alignments
54477 of source and destination.
54478 (test_strncat): Likewise.
54480 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54483 * posix/glob.c (glob): Check passed in values before using them in
54484 expressions to avoid some overflows.
54485 (glob_in_dir): Likewise.
54488 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54489 check for AVX enablement so that we don't crash with old kernels and
54491 * elf/tst-audit4.c: Add same checks here.
54492 * elf/tst-audit6.c: Likewise.
54494 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54496 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54498 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54500 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54502 * po/cs.po: Update from translation team.
54503 * po/bg.po: Likewise.
54505 2011-07-12 Marek Polacek <mpolacek@redhat.com>
54507 * misc/sys/cdefs.h: Add support for const attribute.
54508 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54509 to gnu_dev_{major,minor,makedev} functions.
54511 2011-07-20 Marek Polacek <mpolacek@redhat.com>
54513 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54515 2011-07-20 Andreas Schwab <schwab@redhat.com>
54517 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54520 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54522 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54523 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54524 register in order to avoid conflicts with the soft frame pointer
54525 being held in r11 when necessary.
54526 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54527 (INTERNAL_VSYSCALL_NCS): Likewise.
54529 2011-07-14 Marek Polacek <mpolacek@redhat.com>
54531 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54532 * elf/dl-fini.c (_dl_fini): Adjust caller.
54533 * elf/dl-close.c (_dl_close_worker): Likewise.
54534 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54536 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54538 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54539 "aux_cache->nlibs < 0".
54541 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54542 in the reload-count case.
54544 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54547 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54548 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54549 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54550 * sysdeps/x86_64/multiarch/strcat.S: New file.
54551 * sysdeps/x86_64/multiarch/strncat.S: New file.
54552 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54553 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54554 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54555 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54556 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54557 (USE_AS_STRCAT): Define.
54558 Add strcat and strncat support.
54559 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54560 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54561 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54562 * string/strncat.c: Update.
54563 (USE_AS_STRNCAT): Define.
54564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54565 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54567 * sysdeps/x86_64/multiarch/init-arch.h
54568 (bit_Prefer_PMINUB_for_stringop): New.
54569 (index_Prefer_PMINUB_for_stringop): Likewise.
54570 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54571 bit_Prefer_PMINUB_for_stringop.
54573 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54575 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54577 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54578 of casting of buffer.
54579 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54580 buffer32 and buffer64.
54581 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54582 writes instead of casting of buffer.
54583 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54585 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54588 2011-07-19 Andreas Schwab <schwab@redhat.com>
54590 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54592 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54594 * nscd/nscd.c (termination_handler): Don't do anything for a database
54595 if it has not yet been initialized.
54597 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54599 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54601 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54603 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54605 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54607 * po/nl.po: Update from translation team.
54608 * po/sv.po: Likewise.
54610 2011-07-16 Roland McGrath <roland@hack.frob.com>
54612 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54613 now disallowed by GCC.
54615 * configure.in (use-default-link): Default to yes if a test -shared
54616 link meets our qualifications.
54617 * configure: Regenerated.
54619 * config.make.in (output-format): New variable.
54620 * configure.in: Check for ld --print-output-format support.
54621 * configure: Regenerated.
54622 * Makerules ($(common-objpfx)format.lds)
54623 [$(output-format) != unknown]: Just use $(output-format),
54624 instead of the linker-script munging.
54626 2011-07-14 Roland McGrath <roland@hack.frob.com>
54628 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54629 of $(common-objpfx)shlib.lds.
54630 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54632 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54633 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54635 * configure.in (-z relro check): Adjust test code to add a large
54636 writable data section after it.
54637 * configure: Regenerated.
54639 2011-07-11 Roland McGrath <roland@hack.frob.com>
54641 * configure.in (-z relro check): Fix test code to make the variable
54643 * configure: Regenerated.
54645 2011-07-11 Ulrich Drepper <drepper@gmail.com>
54647 * nscd/nscd.h (struct traced_file): Define.
54648 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54649 elements. Add traced_files.
54650 (inotify_fd): Declare.
54651 (register_traced_file): Declare.
54652 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54653 (inotify_fd): Export.
54654 (resolv_conf_descr): Remove.
54655 (nscd_init): Move inotify descriptor creation to main.
54656 Don't register files for notification here.
54657 (register_traced_file): New function.
54658 (invalidate_cache): Don't use reset_res to determine whether to call
54659 res_init, go through the list of registered files.
54660 (main_loop_poll): The inotify descriptors are now stored in the
54661 structures for the traced files.
54662 (main_loop_epoll): Likewise
54663 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54664 to __nss_disable_nscd.
54665 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54666 for a database anymore. Check the records for all the registered
54668 * nss/Makefile (libnss_files-routines): Add files-init.
54669 (libnss_db-routines): Add db-init.
54670 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54671 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54672 * nss/nss_db/db-init.c: New file.
54673 * nss/nss_files/files-init.c: New file.
54674 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54675 __nss_lookup_function.
54676 (__nss_lookup_function): Call nss_load_library.
54677 (nss_load_all_libraries): New function.
54678 (__nss_disable_nscd): Take parameter with callback function for files
54679 to register. Set is_nscd. Load all the DSOs for the NSS modules
54680 used for the cached services.
54681 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54682 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54683 options for features to all the files in nscd.
54685 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54687 2011-07-10 Roland McGrath <roland@hack.frob.com>
54689 * csu/elf-init.c (__libc_csu_init): Comment typo.
54691 2011-07-09 Ulrich Drepper <drepper@gmail.com>
54693 * po/pl.po: Update from translation team.
54694 * po/ja.po: Likewise.
54695 * po/ru.po: Likewise.
54696 * po/ko.po: Likewise.
54697 * po/fr.po: Likewise.
54699 2011-07-09 Roland McGrath <roland@hack.frob.com>
54701 * configure.in (.ctors/.dtors header and trailer check):
54702 Use an empirical test on a built program.
54703 * configure: Regenerated.
54705 * configure.in (-z relro check): Use an empirical test on a built DSO.
54706 Detect, but do not require, on ia64.
54707 * configure: Regenerated.
54709 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54710 Update tests that use readelf to use $READELF instead.
54711 * configure: Regenerated.
54713 2011-07-08 Ulrich Drepper <drepper@gmail.com>
54715 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54716 if the result is not used.
54718 2011-07-05 Andreas Jaeger <aj@suse.de>
54721 * stdlib/tst-strtod.c: Add testcase.
54723 2011-07-07 Ulrich Drepper <drepper@gmail.com>
54725 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54726 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54727 The latter has a higher limit. Take additional parameter to pass to
54729 (__pathconf): Pass file to __statfs_link_max.
54730 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54732 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54736 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54737 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54739 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54740 (__statfs_filesize_max): Likewise.
54741 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54743 2011-07-05 Andreas Jaeger <aj@suse.de>
54745 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54747 2011-07-06 Marek Polacek <mpolacek@redhat.com>
54749 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54751 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54754 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54756 * Makefile (strop-tests): Add strncat.
54757 * string/test-strncat.c: New file.
54759 2011-06-30 Marek Polacek <mpolacek@redhat.com>
54761 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54763 2011-06-21 Andreas Jaeger <aj@suse.de>
54765 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54766 Copy rule from iconvdata/Makefile.
54768 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54771 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54772 but no long options are defined, just return 'W'.
54774 2011-06-22 Marek Polacek <mpolacek@redhat.com>
54777 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54779 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54781 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54783 (innetgr): Likewise.
54785 2011-07-05 Roland McGrath <roland@hack.frob.com>
54787 * config.make.in (install_root): Default to $(DESTDIR).
54789 2011-07-05 Ulrich Drepper <drepper@gmail.com>
54791 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54793 2011-07-02 Roland McGrath <roland@hack.frob.com>
54795 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54797 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54798 containing directory rather than embedding absolute directory names.
54800 * scripts/check-local-headers.sh: Rewritten using awk.
54801 Match by word, not by line. Print error messages for matches.
54802 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54804 * Makerules [shlib-lds-flags empty]:
54805 ($(common-objpfx)libc_pic.opts): New target.
54806 ($(common-objpfx)libc_pic.os.clean): New target.
54807 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54809 * config.make.in (OBJCOPY): New variable.
54810 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54811 * configure: Regenerated.
54813 * config.make.in (use-default-link): New variable.
54814 * configure.in (use_default_link): Grok --with-default-link to set it.
54815 * configure: Regenerated.
54816 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54817 (shlib-lds, shlib-lds-flags): Define to empty.
54819 * Makerules (shlib-lds): New variable.
54820 (shlib-lds-flags): New variable.
54821 (build-shlib, build-moduile, build-module-asneeded): Use it.
54822 ($(common-objpfx)libc.so): Use $(shlib-lds).
54823 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54824 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54826 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54827 DT_FLAGS/DT_FLAGS_1 with zero flags.
54829 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54830 linker script munging.
54832 2011-07-02 Ulrich Drepper <drepper@gmail.com>
54834 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54836 * crypt/sha512.c (sha512_process_block): Perform total addition using
54837 128-bit if possible.
54838 (__sha512_finish_ctx): Likewise.
54839 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54841 * crypt/sha256.c (SWAP64): Define.
54842 (sha256_process_block): Perform total addition using 64-bit if
54844 (__sha256_finish_ctx): Likewise.
54846 2011-07-01 Ulrich Drepper <drepper@gmail.com>
54848 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54849 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54850 * nscd/hstcache.c (cache_addhst): Likewise.
54851 * nscd/grpcache.c (cache_addgr): Likewise.
54852 * nscd/aicache.c (addhstaiX): Likewise
54853 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54855 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
54857 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54858 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54859 * nscd/hstcache.c (cache_addhst): Likewise.
54860 * nscd/grpcache.c (cache_addgr): Likewise.
54861 * nscd/aicache.c (addhstaiX): Likewise
54863 2011-07-01 Andreas Schwab <schwab@redhat.com>
54865 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54866 domain only when needed.
54868 2011-06-30 Andreas Schwab <schwab@redhat.com>
54870 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54871 is always restored.
54873 2011-06-29 Ulrich Drepper <drepper@gmail.com>
54875 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54876 are re-adding the entry.
54877 * nscd/servicescache.c (cache_addserv): Likewise.
54879 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54881 * sysdeps/generic/dl-irel.h: fix protection against multiple
54883 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54885 2011-06-28 Ulrich Drepper <drepper@gmail.com>
54888 * malloc/memusage.sh: Fix quoting in message.
54889 * debug/xtrace.sh: Likewise.
54891 * configure.in: Remove support for --experimental-malloc option, make
54893 * config.make.in: Likewise.
54894 * malloc/Makefile: Likewise.
54896 2011-06-27 Andreas Schwab <schwab@redhat.com>
54898 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54899 two-byte characters.
54901 2011-06-27 Roland McGrath <roland@hack.frob.com>
54903 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54904 AC_CACHE_CHECK invocation.
54905 * configure: Regenerated.
54907 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54909 2011-06-27 Ulrich Drepper <drepper@gmail.com>
54912 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54913 bit from old_res_options.
54915 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54917 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54918 value type for setfct.
54920 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54922 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54923 __gettimeofday instead of gettimeofday.
54925 2011-06-26 Ulrich Drepper <drepper@gmail.com>
54927 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54929 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54931 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54933 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54936 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54939 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54940 strcpy-sse2-unaligned strncpy-sse2-unaligned
54941 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54942 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54943 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54944 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54945 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54946 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54947 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54948 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54949 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54950 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54951 (STRCPY): Support SSE2 and SSSE3 versions.
54953 2011-06-24 Ulrich Drepper <drepper@gmail.com>
54956 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54957 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54958 kernels which artificially limit size of requests.
54960 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54962 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54963 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54964 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54965 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54966 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54967 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54968 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54969 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54970 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54971 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54972 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54973 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54974 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54975 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54976 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54978 Enable unaligned load optimization for Intel Core i3, i5 and i7
54980 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54982 (index_Fast_Unaligned_Load): Define.
54983 (HAS_FAST_UNALIGNED_LOAD): Define.
54985 2011-06-23 Marek Polacek <mpolacek@redhat.com>
54987 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54989 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54992 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54993 until it is clear that the information is realy needed.
54994 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54996 2011-06-22 Andreas Schwab <schwab@redhat.com>
54998 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55000 2011-06-22 Ulrich Drepper <drepper@gmail.com>
55002 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55003 /sys/devices/system/cpu/online if it is usable.
55005 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55006 reading the information from the /proc filesystem to once a second.
55008 2011-06-21 Andreas Jaeger <aj@suse.de>
55010 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55011 NULL after inclusion of kernel headers.
55013 2011-06-21 Ulrich Drepper <drepper@gmail.com>
55015 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55016 calls to internal_setent.
55019 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55020 addresses using gethostbyname4_r ignore IPv4 addresses.
55022 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55023 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55025 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55027 2011-06-20 David S. Miller <davem@davemloft.net>
55029 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55031 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55033 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55034 (elf_irel): Use it.
55035 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55036 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55037 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55038 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55039 * sysdeps/x86_64/dl-irel.h: Likewise.
55041 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55042 * elf/dl-sym.c: Likewise.
55044 2011-06-15 Ulrich Drepper <drepper@gmail.com>
55046 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55047 need to dereference resplen2.
55049 2011-06-14 Andreas Schwab <schwab@redhat.com>
55051 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55053 2011-06-15 Ulrich Drepper <drepper@gmail.com>
55055 * Makeconfig: Define vardbdir and inst_vardbdir.
55056 * nss/Makefile: Add rules to install db-Makefile.
55058 * nss/nss_db/db-XXX.c: Cleanup.
55060 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55061 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55063 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55064 * nss/makedb.c: Implement -g option to specify that value strings
55065 are generated and should not be added to table iterated over for
55067 * nss/nss_db/db-initgroups.c: New file.
55069 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55072 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55073 (internal_getgrouplist): Adjust to name change.
55074 Update use_initgroups_entry if this is not the first call.
55075 * nss/databases.def: Add initgroups entry.
55077 * nss/makedb.c (compute_tables): Check result of multiple hash table
55078 sizes to minimize maximum chain length.
55080 2011-06-14 Ulrich Drepper <drepper@gmail.com>
55082 * Versions.def: Add entry for libnss_db.
55083 * shlib-versions: Likewise.
55084 * nss/Makefile: Add rules to build libnss_db.
55085 * nss/Versions: Add libnss_db information. Organize libnss_files
55087 * nss/db-Makefile: Add gshadow support. Change rules for the new
55088 makedb progra. Some minor improvements to generate smaller files.
55089 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55091 * nss/makedb.c: ...here.
55092 Improve database format to be smaller and require less memory at
55094 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55096 * nss/nss_db/db-netgrp.c: Likewise.
55097 * nss/nss_db/db-open.c: Likewise.
55098 * nss/nss_files/flies-XXX.x: Adjust comments.
55099 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55100 * nss/nss_files/files-grp.c: Likewise.
55101 * nss/nss_files/files-hosts.c: Likewise.
55102 * nss/nss_files/files-network.c: Likewise.
55103 * nss/nss_files/files-proto.c: Likewise.
55104 * nss/nss_files/files-pwd.c: Likewise.
55105 * nss/nss_files/files-rpc.c: Likewise.
55106 * nss/nss_files/files-service.c: Likewise.
55107 * nss/nss_files/files-sgrp.c: Likewise.
55108 * nss/nss_files/files-spwd.c: Likewise.
55109 * nss/nss_db/db-alias.c: Removed.
55110 * nss/nss_db/dummy-db.h: Removed.
55112 2011-06-02 Ulrich Drepper <drepper@gmail.com>
55114 * nss/makedb.c: Rewritten to not use database library.
55115 * nss/Makefile: Update to build new makedb program.
55117 2011-06-14 Andreas Jaeger <aj@suse.de>
55119 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55120 memset declaration.
55122 2011-06-10 Andreas Schwab <schwab@redhat.com>
55124 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55127 2011-06-10 Roland McGrath <roland@hack.frob.com>
55129 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55130 * elf/Makefile ($(objpfx)ld.so): Likewise.
55132 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55133 Don't list ld.so twice in dependencies.
55135 * posix/bug-regex31.c: Include <stdlib.h>.
55137 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55139 * nis/nss_compat/compat-spwd.c
55140 (getspent_next_nss_netgr): Remove unused variable.
55141 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55143 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55144 nonmembers" output to use the right array.
55146 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55148 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55150 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55151 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55152 * catgets/gencat.c (read_input_file): Likewise.
55153 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55155 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55156 variable definition inside #if's controlling its use.
55158 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55160 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55162 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55164 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55167 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55169 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55170 * configure: Regenerated.
55172 * Makerules: Revert last change.
55173 * elf/Makefile: Likewise.
55175 2011-06-09 Roland McGrath <roland@hack.frob.com>
55177 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55178 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55179 (reloc-link): Likewise.
55181 2011-06-09 Ulrich Drepper <drepper@gmail.com>
55183 * elf/Makefile: Add rules to build pldd.
55184 * elf/pldd.c: New file.
55185 * elf/pldd-xx.c: New file.
55187 2011-06-07 Ulrich Drepper <drepper@gmail.com>
55189 * version.h: Update for 2.15 development version.
55191 2011-06-07 David S. Miller <davem@davemloft.net>
55193 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55195 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55196 elf_machine_lazy_rel): Likewise.
55197 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55198 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55199 elf_machine_lazy_rel): Likewise.
55200 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55201 dl_hwcap via passed in argument.
55202 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55205 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55207 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55209 2011-06-06 Roland McGrath <roland@hack.frob.com>
55212 * manual/fdl-1.1.texi: New file, verbatim from:
55213 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55214 * manual/lgpl-2.1.texi: New file, verbatim from:
55215 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55216 * manual/Makefile (licenses): New variable, list those new file names.
55218 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55220 * manual/fdl.texi: File removed.
55221 * manual/lesser.texi: File removed.
55222 * manual/libc.texinfo (Copying, Documentation License):
55223 Use new @include file names, put @appendix directive before @include.
55225 2011-06-04 Jakub Jelinek <jakub@redhat.com>
55228 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55229 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55230 (mq_open): Add __NTH.
55232 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55235 Assume Intel Core i3/i5/i7 processor if AVX is available.
55237 2011-05-31 Ulrich Drepper <drepper@gmail.com>
55239 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55242 2011-05-31 Andreas Schwab <schwab@redhat.com>
55244 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55245 memory. Use alloca_account. Fix memory leak when retrying.
55247 2011-05-31 Ulrich Drepper <drepper@gmail.com>
55249 * version.h (RELEASE): Bump for 2.14 release.
55250 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55252 * config.make.in (RANLIB): Remove entry.
55254 2011-05-30 Ulrich Drepper <drepper@gmail.com>
55256 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55257 (libc.pot): Work around missing support for .ksh extension in xgettext.
55260 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55261 if both request failed.
55262 (send_dg): In case of server errors clear resplen or *resplen2.
55265 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55266 when there are multiple maps.
55267 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55268 (_dl_fini): Remove test here.
55270 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55272 2011-05-29 Ulrich Drepper <drepper@gmail.com>
55275 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55276 bit from old_res_options.
55277 (gaih_inet): Likewise.
55280 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55283 * resolv/res_init.c (res_setoptions): Make the code more compact.
55286 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55290 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55292 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55295 * malloc/malloc.h: Declare malloc hook variables as volatile.
55297 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55301 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55302 raise in the comment.
55303 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55304 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55305 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55307 2011-05-28 Ulrich Drepper <drepper@gmail.com>
55310 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55311 grow the buffers more if it already has to be sufficient.
55312 (build_wcs_upper_buffer): Likewise.
55313 * posix/regexec.c (check_matching): Likewise.
55314 (clean_state_log_if_needed): Likewise.
55315 (extend_buffers): Don't enlarge buffers beyond size of the input
55317 Patches mostly by Emil Wojak <emil@wojak.eu>.
55318 * posix/bug-regex32.c: New file.
55319 * posix/Makefile (tests): Add bug-regex32.
55321 * locale/findlocale.c (_nl_find_locale): Return right away if
55322 _nl_explode_name failed.
55323 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55325 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55327 * debug/xtrace.sh: Unify messages.
55328 * malloc/memusage.sh: Likewise.
55331 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55332 time symbol from vDSO. Substitute with vsyscall if not available.
55333 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55336 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55337 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55338 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55339 Add sendmmsg and internal_sendmmsg.
55340 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55341 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55342 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55344 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55345 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55346 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55348 2011-05-27 Ulrich Drepper <drepper@gmail.com>
55351 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55352 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55354 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55358 * iconvdata/Makefile (tests): Add bug-iconv9.
55359 * iconvdata/bug-iconv9.c: New file.
55361 2011-05-27 Andreas Schwab <schwab@redhat.com>
55364 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55366 2011-05-25 Jakub Jelinek <jakub@redhat.com>
55368 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55369 (struct user_regs_struct): Change intcs field back to cs.
55371 2011-05-25 Ulrich Drepper <drepper@gmail.com>
55373 * po/ja.po: Update from translation team.
55375 2011-05-23 Ulrich Drepper <drepper@gmail.com>
55378 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55379 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55381 2011-05-20 Andreas Schwab <schwab@redhat.com>
55383 * stdlib/longlong.h: Update from GCC.
55385 2011-05-23 Andreas Schwab <schwab@redhat.com>
55387 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55389 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55390 Add parameter name.
55391 (__sysconf): Pass it down.
55393 2011-05-22 Ulrich Drepper <drepper@gmail.com>
55396 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55398 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55399 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55400 add in in __libc_use_alloca calls. Adjust callers.
55401 (glob): Use malloc in some situations.
55403 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55404 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55407 2011-05-21 Ulrich Drepper <drepper@gmail.com>
55409 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55410 and CLOCK_BOOTTIME_ALARM.
55413 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55416 * string/_strerror.c (__strerror_r): Print negative errors as signed
55420 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55421 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55422 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55424 * configure.in: Fix typo in redirection and correct removal of test
55425 files in two cases.
55428 * locale/setlocale.c (new_composite_name): Fix test to check for
55429 identical name of all categories.
55432 * libio/filedoalloc.c (local_isatty): New function.
55433 (_IO_file_doallocate): Use local_isatty.
55434 * stdio-common/perror.c (perror): In case a new stream is used
55435 forward the stream error.
55436 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55439 2011-05-20 Ulrich Drepper <drepper@gmail.com>
55442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55444 * include/alloca.h (extend_alloca_account): Define.
55447 * posix/regex.h: Fix comments with documentation of user-accessible
55448 fields after compilation and describe correct free'ing of pattern
55449 after re_compile_pattern.
55450 Patch by Reuben Thomas <rrt@sc3d.org>.
55452 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55454 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55455 and -mno-altivec to prevent the compiler from using Altivec and/or
55456 VSX instructions when the corresponding registers are not available.
55458 2011-05-19 Andreas Schwab <schwab@redhat.com>
55460 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55462 2011-05-19 Ulrich Drepper <drepper@gmail.com>
55464 * libio/freopen.c (freopen): Use __dup2, not dup2.
55465 * libio/freopen64.c (freopen64): Likewise.
55467 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55470 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55471 * math/Makefile (tests): Add test-powl.
55472 (CFLAGS-test-powl.c): Define.
55473 * math/test-powl.c: New file.
55475 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55477 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55479 2011-05-17 Ulrich Drepper <drepper@gmail.com>
55482 * iconvdata/gb18030.c: Update to GB18020-2005.
55484 2011-05-16 Ulrich Drepper <drepper@gmail.com>
55486 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55487 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55488 Patch by Aharon Robbins <arnold@skeeve.com>.
55491 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55495 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55496 through underflows.
55499 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55500 point to strings before performing equality test for error_one_per_line
55504 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55507 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55508 (struct user_fpregs_struct): Avoid __uint*_t types.
55511 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55512 symbol info. Use it instead of calling _dl_addr locally.
55513 (lock_and_info): New function.
55514 (tr_freehook): Call lock_and_info and pass symbol info as additional
55515 parameter to tr_where.
55516 (tr_mallochook): Likewise.
55517 (tr_reallochook): Likewise.
55518 (tr_memalignhook): Likewise.
55520 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55521 used and couldn't be at all thread-safe.
55523 2011-05-15 Ulrich Drepper <drepper@gmail.com>
55525 * libio/freopen.c (freopen): Don't close old file descriptor
55526 before the new one is opened. Instead dup the new file descriptor
55527 to the old one after the new stream is created.
55528 * libio/freopen64.c (freopen64): Likewise.
55529 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55530 * libio/fileops.c (_IO_new_file_close_it): Handle new
55531 _IO_FLAGS2_NOCLOSE flag.
55532 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55533 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55534 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55535 _IO_FLAGS2_NOCLOSE flag.
55536 * include/unistd.h: Add hidden_proto for dup3.
55537 Define __have_dup3.
55538 * io/dup3.c: Define hidden symbol.
55539 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55542 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55543 when an incomplete long option is used.
55544 * posix/tst-getopt_long1.c: New file.
55545 * posix/Makefile (tests): Add tst-getopt_long1.
55548 * scripts/config.guess: Update from autoconf-2.68.
55549 * scripts/config.sub: Likewise.
55552 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55554 (has_cpuclock): ...this. New function.
55555 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55556 macro here based on has_cpuclock code.
55559 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55560 First byte (not low byte) is now always NUL.
55561 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55563 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55564 Use non-cancelable interfaces.
55567 * locale/iso-639.def: Add entry for Sorani.
55570 * include/stdlib.h: Move include protection to the right place.
55571 Define abort_msg_s. Declare __abort_msg with it.
55572 * stdlib/abort.c (__abort_msg): Adjust type.
55573 * assert/assert.c (__assert_fail_base): New function. Majority
55574 of code from __assert_fail. Allocate memory for __abort_msg with
55576 (__assert_fail): Now call __assert_fail_base.
55577 * assert/assert-perr.c: Remove bulk of implementation. Use
55578 __assert_fail_base.
55579 * include/assert.hL Declare __assert_fail_base.
55580 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55582 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55584 2011-05-14 Ulrich Drepper <drepper@gmail.com>
55588 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55589 until all modules are registered in the DTV.
55590 * elf/Makefile: Add rules to build and run tst-tls19.
55591 * elf/tst-tls19.c: New file.
55592 * elf/tst-tls19mod1.c: New file.
55593 * elf/tst-tls19mod2.c: New file.
55594 * elf/tst-tls19mod3.c: New file.
55595 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55598 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55602 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55603 two-byte sequence errors.
55604 * iconvdata/Makefile (tests): Add bug-iconv8.
55605 * iconvdata/bug-iconv8.c: New file.
55608 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55611 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55614 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55615 (dummy_getcfa): New function.
55616 (init): Get _Unwind_GetCFA address, use dummy if not found.
55617 (backtrace_helper): In recursion check, also check whether CFA changes.
55618 (__backtrace): Completely initialize arg.
55620 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55621 storing incomplete byte sequence in state object. Avoid testing for
55622 guaranteed too small input if we know there is enough data available.
55624 2011-05-11 Andreas Schwab <schwab@redhat.com>
55626 * Makeconfig (+link-pie): Indent.
55627 * Rules (binaries-pie): Define if $(have-fpie) and
55629 (binaries-shared): Also filter out $(binaries-pie).
55630 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55631 * nscd/Makefile (others-pie): Add nscd.
55632 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55633 ($(objpfx)nscd): Remove command override.
55634 * login/Makefile (others-pie): Add pt_chown.
55635 ($(objpfx)pt_chown): Remove command override.
55636 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55637 remove command overrides.
55639 2011-05-13 Ulrich Drepper <drepper@gmail.com>
55641 * libio/tst_putwc.c: Fix error messages.
55644 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55645 currently writing and seek to current position when not.
55646 * libio/Makefile (tests): Add bug-fclose1.
55647 * libio/bug-fclose1.c: New file.
55649 2011-05-12 Ulrich Drepper <drepper@gmail.com>
55652 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55653 don't set DF_1_NODELETE here.
55654 (do_lookup_x): When entering new entry test for copy relocation
55655 and if necessary set DF_1_NODELETE flag.
55656 * elf/tst-unique4.cc: New file.
55657 * elf/tst-unique4.h: New file.
55658 * elf/tst-unique4lib.cc: New file.
55659 * elf/Makefile: Add rules to build and run tst-unique4.
55660 Patch by Piotr Bury <pbury@goahead.com>.
55662 2011-05-11 Ulrich Drepper <drepper@gmail.com>
55665 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55668 * misc/mntent_r.c (addmntent): Flush the stream after the output
55671 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55672 (is_trusted_path_normalize): Skip initial colon. Append slash
55673 to empty buffer. Duplicate is_trusted_path code but allow
55674 constructed patch to be prefix.
55675 (is_dst): Allow $ORIGIN followed by /.
55676 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55677 Correct testing of result of is_trusted_path_normalize
55678 (decompose_rpath): Fix warning.
55680 2011-05-10 Ulrich Drepper <drepper@gmail.com>
55683 * grp/initgroups.c (internal_getgrouplist): When we found the service
55684 list through the initgroups entry in nsswitch.conf do not always
55685 continue on a successful lookup. Don't always use the
55686 __nss_group_database value if it is set.
55687 * nss/nsswitch.conf (initgroups): Change action for successful db
55688 lookup to continue for compatibility.
55690 2011-05-09 Ulrich Drepper <drepper@gmail.com>
55693 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55695 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55697 * iconvdata/tst-tables.sh: Likewise.
55698 * iconvdata/cp770.c: New file.
55699 * iconvdata/cp771.c: New file.
55700 * iconvdata/cp772.c: New file.
55701 * iconvdata/cp773.c: New file.
55702 * iconvdata/cp774.c: New file.
55703 * iconvdata/testdata/CP770: New file.
55704 * iconvdata/testdata/CP770..UTF8: New file.
55705 * iconvdata/testdata/CP771: New file.
55706 * iconvdata/testdata/CP771..UTF8: New file.
55707 * iconvdata/testdata/CP772: New file.
55708 * iconvdata/testdata/CP772..UTF8: New file.
55709 * iconvdata/testdata/CP773: New file.
55710 * iconvdata/testdata/CP773..UTF8: New file.
55711 * iconvdata/testdata/CP774: New file.
55712 * iconvdata/testdata/CP774..UTF8: New file.
55714 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55716 * iconvdata/gen-8bit-gap.sh: Likewise.
55717 * iconvdata/gen-8bit.sh: Likewise.
55719 * locale/iso-639.def: Add ary entry.
55722 * locale/C-translit.h.in: Add U20A1 transliteration.
55725 * locale/iso-639.def: Add wae entry.
55726 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55729 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55733 * locale/C-translit.h.in: Add entry for U20B9.
55734 Patch by pravin.d.s@gmail.com.
55736 2011-05-08 Ulrich Drepper <drepper@gmail.com>
55739 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55740 ENAMETOOLONG use generic getcwd.
55741 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55742 in rtld. Use *stat64.
55743 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55744 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55745 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55746 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55747 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55748 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55749 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55750 __fstatat64 macros.
55751 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55752 * dirent/rewinddir.c: Add libc_hidden_def.
55753 * sysdeps/mach/hurd/rewinddir.c: Likewise.
55754 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
55756 * include/dirent.h (__alloc_dir): Add flags parameter.
55757 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55758 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55760 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55761 from fdopendir if O_CLOEXEC is already set.
55763 2011-03-15 Alan Modra <amodra@gmail.com>
55765 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55766 l_tls_firstbyte_offset non-zero. Save padding offset in
55767 l_tls_firstbyte_offset for later use.
55768 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55769 freeing static tls block.
55771 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55773 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55774 where #ifdef was intended. The intent is to prevent ARG_MAX from
55775 being defined by the kernel headers.
55777 2011-05-07 Ulrich Drepper <drepper@gmail.com>
55780 * resolv/resolv.h: Define RES_NOTLDQUERY.
55781 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55782 no-tld-query and set RES_NOTLDQUERY.
55783 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55784 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55785 modern BIND to search name as TLD unless forbidden.
55787 2011-05-07 Petr Baudis <pasky@suse.cz>
55788 Ulrich Drepper <drepper@gmail.com>
55791 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55792 (is_trusted_path): ...to here.
55793 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55794 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55795 using is_trusted_path_normalize() in setuid scripts.
55797 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55799 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55800 __BEGIN/__END_DECLS.
55802 2011-05-06 Ulrich Drepper <drepper@gmail.com>
55804 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55805 NSS_STATUS_NOTFOUND if no record was found.
55807 2011-05-05 Andreas Schwab <schwab@redhat.com>
55809 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55810 (headers-not-in-tirpc): Remove rpc/netdb.h
55811 * resolv/netdb.h: Revert last change.
55813 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55815 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55816 circular dependency between libgcc.a and libc.a.
55818 2011-05-05 Andreas Schwab <schwab@redhat.com>
55820 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55821 * nis/Makefile: Don't install rpcsvc/*.
55822 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55823 instead of <rpc/types.h>.
55824 (MAXHOSTNAMELEN): Define.
55826 2011-05-03 Andreas Schwab <schwab@redhat.com>
55828 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55830 2011-04-28 Maciej Babinski <mbabinski@google.com>
55833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55834 gethostbyname4_r when IPv6 results are possible.
55836 2011-05-02 Ulrich Drepper <drepper@gmail.com>
55839 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55840 _PC_PIPE_BUF handling.
55842 2011-04-30 Bruno Haible <bruno@clisp.org>
55845 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55846 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55848 * inet/getnameinfo.c (getnameinfo): Likewise.
55850 2011-04-29 Ulrich Drepper <drepper@gmail.com>
55852 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55853 to groups setting in database lookup.
55854 * nss/nsswitch.conf: Add initgroups entry.
55856 2011-04-22 Ulrich Drepper <drepper@gmail.com>
55859 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55861 Patch by Eric Blake <eblake@redhat.com>.
55863 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55865 * sunrpc/Makefile (need-export-routines): Add svc_run.
55866 (routines): Remove svc_run.
55867 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55868 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55869 * sunrpc/svc_run.c (svc_run): Likewise.
55870 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55872 2011-04-21 Ulrich Drepper <drepper@gmail.com>
55874 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55875 problem in reallocation in last patch.
55877 2011-04-20 Ulrich Drepper <drepper@gmail.com>
55879 * sunrpc/Makefile: Move inclusion of Rules.
55881 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55883 * nss/nss_files/files-initgroups.c: New file.
55884 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55885 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55886 _nss_files_initgroups_dyn.
55888 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55890 * elf/elf.h (R_ARM_IRELATIVE): Define.
55892 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55894 * po/ru.po: Update from translation team.
55896 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55898 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55901 2011-02-06 Mike Frysinger <vapier@gentoo.org>
55904 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55905 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55906 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55907 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55908 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55910 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55912 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55914 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55915 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55916 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55918 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55921 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55923 * stdlib/bug-getcontext.c: New file.
55924 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55926 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55928 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55929 instructions into .machine "z9-109".
55930 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55931 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55933 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55935 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55936 between environment variables and auxiliary vector.
55938 2011-04-16 Ulrich Drepper <drepper@gmail.com>
55940 * Makefile: Add rules to build linkobj/libc.so.
55941 * include/libc-symbols.h: Define libc_hidden_nolink.
55942 * include/rpc/auth.h: Mark functions which are to be hidden.
55943 * include/rpc/auth_des.h: Likewise.
55944 * include/rpc/auth_unix.h: Likewise.
55945 * include/rpc/clnt.h: Likewise.
55946 * include/rpc/des_crypt.h: Likewise.
55947 * include/rpc/key_prot.h: Likewise.
55948 * include/rpc/pmap_clnt.h: Likewise.
55949 * include/rpc/pmap_prot.h: Likewise.
55950 * include/rpc/pmap_rmt.h: Likewise.
55951 * include/rpc/rpc_msg.h: Likewise.
55952 * include/rpc/svc.h: Likewise.
55953 * include/rpc/svc_auth.h: Likewise.
55954 * include/rpc/xdr.h: Likewise.
55955 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55956 * nss/Makefile: Likewise.
55957 * sunrpc/Makefile: Don't install headers. Build library with normal
55958 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55959 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55960 for the compat linking library. Remove use of INTDEF/INTUSE.
55961 * sunrpc/auth_none.c: Likewise.
55962 * sunrpc/auth_unix.c: Likewise.
55963 * sunrpc/authdes_prot.c: Likewise.
55964 * sunrpc/authuxprot.c: Likewise.
55965 * sunrpc/clnt_gen.c: Likewise.
55966 * sunrpc/clnt_perr.c: Likewise.
55967 * sunrpc/clnt_raw.c: Likewise.
55968 * sunrpc/clnt_simp.c: Likewise.
55969 * sunrpc/clnt_tcp.c: Likewise.
55970 * sunrpc/clnt_udp.c: Likewise.
55971 * sunrpc/clnt_unix.c: Likewise.
55972 * sunrpc/des_crypt.c: Likewise.
55973 * sunrpc/des_soft.c: Likewise.
55974 * sunrpc/get_myaddr.c: Likewise.
55975 * sunrpc/key_call.c: Likewise.
55976 * sunrpc/key_prot.c: Likewise.
55977 * sunrpc/netname.c: Likewise.
55978 * sunrpc/pm_getmaps.c: Likewise.
55979 * sunrpc/pm_getport.c: Likewise.
55980 * sunrpc/pmap_clnt.c: Likewise.
55981 * sunrpc/pmap_prot.c: Likewise.
55982 * sunrpc/pmap_prot2.c: Likewise.
55983 * sunrpc/pmap_rmt.c: Likewise.
55984 * sunrpc/publickey.c: Likewise.
55985 * sunrpc/rpc_cmsg.c: Likewise.
55986 * sunrpc/rpc_common.c: Likewise.
55987 * sunrpc/rpc_dtable.c: Likewise.
55988 * sunrpc/rpc_prot.c: Likewise.
55989 * sunrpc/rpc_thread.c: Likewise.
55990 * sunrpc/rtime.c: Likewise.
55991 * sunrpc/svc.c: Likewise.
55992 * sunrpc/svc_auth.c: Likewise.
55993 * sunrpc/svc_authux.c: Likewise.
55994 * sunrpc/svc_raw.c: Likewise.
55995 * sunrpc/svc_run.c: Likewise.
55996 * sunrpc/svc_simple.c: Likewise.
55997 * sunrpc/svc_tcp.c: Likewise.
55998 * sunrpc/svc_udp.c: Likewise.
55999 * sunrpc/svc_unix.c: Likewise.
56000 * sunrpc/svcauth_des.c: Likewise.
56001 * sunrpc/xcrypt.c: Likewise.
56002 * sunrpc/xdr.c: Likewise.
56003 * sunrpc/xdr_array.c: Likewise.
56004 * sunrpc/xdr_float.c: Likewise.
56005 * sunrpc/xdr_intXX_t.c: Likewise.
56006 * sunrpc/xdr_mem.c: Likewise.
56007 * sunrpc/xdr_rec.c: Likewise.
56008 * sunrpc/xdr_ref.c: Likewise.
56009 * sunrpc/xdr_sizeof.c: Likewise.
56010 * sunrpc/xdr_stdio.c: Likewise.
56012 2011-04-10 Ulrich Drepper <drepper@gmail.com>
56015 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56016 * sysdeps/ia64/dl-tls.h: Likewise.
56017 * sysdeps/powerpc/dl-tls.h: Likewise.
56018 * sysdeps/s390/dl-tls.h: Likewise.
56019 * sysdeps/sh/dl-tls.h: Likewise.
56020 * sysdeps/sparc/dl-tls.h: Likewise.
56021 * sysdeps/x86_64/dl-tls.h: Likewise.
56022 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56024 2011-03-14 Andreas Schwab <schwab@redhat.com>
56026 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56027 rpath element also skip the following colon.
56028 (expand_dynamic_string_token): Add is_path parameter and pass
56029 down to DL_DST_REQUIRED and _dl_dst_substitute.
56030 (decompose_rpath): Call expand_dynamic_string_token with
56031 non-zero is_path. Ignore empty rpaths.
56032 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56035 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56040 2011-04-09 Ulrich Drepper <drepper@gmail.com>
56043 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56044 Patch by Filipe David Manana <fdmanana@apache.org>.
56046 2011-04-07 Andreas Schwab <schwab@redhat.com>
56048 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56049 Maintain aligned stack.
56050 (CHECK_RSP): Remove unused macro.
56052 2011-04-03 Ulrich Drepper <drepper@gmail.com>
56054 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56055 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56057 2011-04-02 Ulrich Drepper <drepper@gmail.com>
56059 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56061 * include/features.h: Mention __USE_XOPEN2K8 in comment.
56063 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56066 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56067 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56068 * sysdeps/x86_64/memmove.c: New file.
56069 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56070 (memcpy): Renamed to ...
56071 (__new_memcpy): This.
56072 (memcpy): Provide GLIBC_2_14 memcpy.
56073 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56074 (memcpy): Provide GLIBC_2_2_5 memcpy.
56076 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56079 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56081 2011-03-30 Andreas Schwab <schwab@redhat.com>
56083 * misc/syncfs.c: New file.
56084 * misc/Makefile (routines): Add syncfs.
56085 * posix/unistd.h: Declare syncfs.
56086 * sysdeps/unix/syscalls.list: Add syncfs.
56088 2011-04-01 Andreas Schwab <schwab@redhat.com>
56090 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56092 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56093 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56094 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56095 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56096 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56097 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56098 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56100 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56102 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56103 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56104 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56105 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56106 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56107 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56108 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56110 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56111 sync_file_range.c with -fexceptions.
56112 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56113 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56114 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56115 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56116 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56117 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56118 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56119 sync_file_range as cancellation point
56120 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56121 now a wrapper around __call_sync_file_range with cancellation handling.
56122 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56123 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56124 function name to __call_sync_file_range.
56125 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56126 Add call_sync_file_range.
56128 2011-04-01 Andreas Schwab <schwab@redhat.com>
56130 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56133 2011-04-01 Ulrich Drepper <drepper@gmail.com>
56135 * iconv/iconv.h: Fix typo in comment.
56136 * io/fcntl.h: Likewise.
56137 * libio/stdio.h: Likewise.
56138 * posix/spawn.h: Likewise.
56139 * posix/unistd.h: Likewise.
56140 * stdlib/stdlib.h: Likewise.
56141 * time/time.h: Likewise.
56142 * wcsmbs/wchar.h: Likewise.
56144 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56145 open_by_handle): Add.
56146 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56147 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56148 Augment a few comments.
56149 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56150 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56151 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56153 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56154 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56157 * io/fcntl.h (AT_EMPTY_PATH): Define.
56159 2011-03-30 Ulrich Drepper <drepper@gmail.com>
56161 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56162 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56163 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56165 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
56166 * Versions.def: Add GLIBC_2.14.
56167 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56170 2011-03-22 Ulrich Drepper <drepper@gmail.com>
56172 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56174 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56176 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56179 * string/test-strncmp.c (do_page_test): New function.
56180 (check2): Likewise.
56181 (test_main): Call check2.
56182 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56184 2011-03-20 Ulrich Drepper <drepper@gmail.com>
56187 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56188 Handle cache information in CPU leaf 4.
56189 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56191 2011-03-18 Ulrich Drepper <drepper@gmail.com>
56194 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56195 character representation.
56196 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56198 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56200 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56201 END(__isnan) to END(__isnanf) to match function entry point/label
56202 EALIGN(__isnanf,...).
56204 2011-03-10 Jakub Jelinek <jakub@redhat.com>
56206 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56208 2011-03-10 Ulrich Drepper <drepper@gmail.com>
56211 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56212 copy from the symbol referenced in the relocation to initialize the
56214 Patch by Piotr Bury <pbury@goahead.com>.
56215 * elf/Makefile: Add rules to build and tst-unique3.
56216 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56217 * elf/tst-unique3.cc: New file.
56218 * elf/tst-unique3.h: New file.
56219 * elf/tst-unique3lib.cc: New file.
56220 * elf/tst-unique3lib2.cc: New file.
56222 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56224 2011-03-10 Mike Frysinger <vapier@gentoo.org>
56226 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56227 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56230 2011-03-06 Ulrich Drepper <drepper@gmail.com>
56232 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56233 to-be-loaded object along a path to loader is ld.so.
56235 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56236 Ulrich Drepper <drepper@gmail.com>
56238 * sysdeps/x86_64/memset.S: After aligning destination, code
56239 branches to different locations depending on the value of
56240 misalignment, when multiarch is enabled. Fix this.
56242 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56244 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56245 Set _x86_64_preferred_memory_instruction for AMD processsors.
56246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56247 Set bit_Prefer_SSE_for_memop for AMD processors.
56249 2011-03-04 Ulrich Drepper <drepper@gmail.com>
56251 * libio/fmemopen.c (fmemopen): Optimize a bit.
56253 2011-03-03 Andreas Schwab <schwab@redhat.com>
56255 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56257 2011-03-03 Roland McGrath <roland@redhat.com>
56259 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56261 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56263 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56264 __bzero_ultra1 instead of __memset_ultra1.
56266 2011-02-23 Andreas Schwab <schwab@redhat.com>
56267 Ulrich Drepper <drepper@gmail.com>
56270 * include/link.h (struct link_map): Add l_orig_initfini.
56271 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56272 returning unsuccessfully.
56273 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56274 close of a file loaded at startup, restore the original l_initfini
56276 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56277 list, store the pointer.
56278 * elf/Makefile ($(objpfx)noload-mem): New rule.
56279 (noload-ENV): Define.
56280 (tests): Add $(objpfx)noload-mem.
56281 * elf/noload.c: Include <memcheck.h>.
56282 (main): Call mtrace. Close all opened handles.
56284 2011-02-17 Andreas Schwab <schwab@redhat.com>
56287 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56288 dependencies are missing.
56290 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56292 Fix __if_freereq crash: Unlike the generic version which uses free,
56294 * sysdeps/mach/hurd/ifreq.h: New file.
56296 2011-01-27 Petr Baudis <pasky@suse.cz>
56297 Ulrich Drepper <drepper@gmail.com>
56300 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56301 to extend_alloca().
56302 * stdio-common/bug23.c: New file.
56303 * stdio-common/Makefile (tests): Add bug23.
56305 2010-09-28 Andreas Schwab <schwab@redhat.com>
56306 Ulrich Drepper <drepper@gmail.com>
56309 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56310 before performing relro protection. At old place add assertion
56311 to make sure nothing changed.
56313 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56314 Glauber de Oliveira Costa <glommer@gmail.com>
56316 * elf/elf.h: Add new ARM TLS relocs.
56318 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56321 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56323 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56325 * sysdeps/wordsize-64/tst-writev.c: New file.
56327 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56329 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56330 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56331 insns in _dl_start to prevent a TOC reference before relocs are
56334 2011-02-15 Ulrich Drepper <drepper@gmail.com>
56337 * Makeconfig: Remove RANLIB definition.
56338 * Makerules: Don't use RANLIB.
56339 * aclocal.m4: Remove ranlib test.
56340 * configure.in: No need to check for ranlib.
56341 * elf/rtld-Rules: Don't use RANLIB.
56343 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56345 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56347 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56348 inclusion protection macro.
56350 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56351 SIGRTMIN and SIGRTMAX and print information in that case only when
56352 SIGRTMIN is defined.
56354 2011-02-11 Jakub Jelinek <jakub@redhat.com>
56356 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56357 arginfo fn returning -1.
56359 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56360 and thousands string is zero terminated.
56362 2011-02-03 Andreas Schwab <schwab@redhat.com>
56364 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56365 sysdeps/unix/sysv/linux/bits/socket.h.
56367 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56369 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56370 (__CPU_COUNT): Remove old macros.
56371 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56372 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56373 (__CPU_ALLOC, __CPU_FREE): Add macros.
56374 (__sched_cpualloc, __sched_cpufree): Add declarations.
56376 2011-02-05 Ulrich Drepper <drepper@gmail.com>
56378 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56379 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56380 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56381 (readdhstai): Return value of addhstaiX call.
56382 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56383 (addgrbyX): Return value returned by cache_addgr.
56384 (readdgrbyname): Return value returned by addgrbyX.
56385 (readdgrbygid): Likewise.
56386 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56387 (addpwbyX): Return value returned by cache_addpw.
56388 (readdpwbyname): Return value returned by addhstbyX.
56389 (readdpwbyuid): Likewise.
56390 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56391 (addservbyX): Return value returned by cache_addserv.
56392 (readdservbyname): Return value returned by addservbyX:
56393 (readdservbyport): Likewise.
56394 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56395 (addhstbyX): Return value returned by cache_addhst.
56396 (readdhstbyname): Return value returned by addhstbyX.
56397 (readdhstbyaddr): Likewise.
56398 (readdhstbynamev6): Likewise.
56399 (readdhstbyaddrv6): Likewise.
56400 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56401 (readdinitgroups): Return value returned by addinitgroupsX.
56402 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56403 (prune_cache): Keep track of timeout value of re-added entries.
56404 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56405 * nscd/nscd.h: Adjust prototypes of readd* functions.
56407 2011-02-04 Roland McGrath <roland@redhat.com>
56409 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56410 (nis_stats): Likewise.
56411 * nis/nis_modify.c (nis_modify): Likewise.
56412 * nis/nis_remove.c (nis_remove): Likewise.
56413 * nis/nis_add.c (nis_add): Likewise.
56415 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56417 * posix/fnmatch_loop.c: Add some consts.
56419 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56421 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56424 * config.make.in (config-cflags-novzeroupper): Define.
56425 * configure.in: Substitute libc_cv_cc_novzeroupper.
56426 * elf/Makefile (AVX-CFLAGS): Define.
56427 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56428 (CFLAGS-tst-auditmod4a.c): Likewise.
56429 (CFLAGS-tst-auditmod4b.c): Likewise.
56430 (CFLAGS-tst-auditmod6b.c): Likewise.
56431 (CFLAGS-tst-auditmod6c.c): Likewise.
56432 (CFLAGS-tst-auditmod7b.c): Likewise.
56433 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56435 2011-02-02 Ulrich Drepper <drepper@gmail.com>
56437 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56438 function to the callback.
56439 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56441 2011-02-02 Andreas Schwab <schwab@redhat.com>
56443 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56446 2011-01-19 Ulrich Drepper <drepper@gmail.com>
56449 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56451 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56453 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56456 * elf/Makefile: Add rules to build and run new test.
56457 * elf/tst-initorder.c: New file.
56458 * elf/tst-initorder.exp: New file.
56459 * elf/tst-initordera1.c: New file.
56460 * elf/tst-initordera2.c: New file.
56461 * elf/tst-initordera3.c: New file.
56462 * elf/tst-initordera4.c: New file.
56463 * elf/tst-initorderb1.c: New file.
56464 * elf/tst-initorderb2.c: New file.
56465 * elf/tst-order-a1.c: New file.
56466 * elf/tst-order-a2.c: New file.
56467 * elf/tst-order-a3.c: New file.
56468 * elf/tst-order-a4.c: New file.
56469 * elf/tst-order-b1.c: New file.
56470 * elf/tst-order-b2.c: New file.
56471 * elf/tst-order-main.c: New file.
56472 New test case by George Gensure <werkt0@gmail.com>.
56474 2010-10-01 Andreas Schwab <schwab@redhat.com>
56476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56477 decoding ACE if AI_CANONIDN.
56479 2011-01-18 Ulrich Drepper <drepper@gmail.com>
56481 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56483 2011-01-17 Ulrich Drepper <drepper@gmail.com>
56485 * version.h (RELEASE): Bump for 2.13 release.
56486 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56488 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56490 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56492 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56493 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56494 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56495 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56496 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56497 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56499 * posix/getconf.c: Update copyright year.
56500 * catgets/gencat.c: Likewise.
56501 * csu/version.c: Likewise.
56502 * debug/catchsegv.sh: Likewise.
56503 * debug/xtrace.sh: Likewise.
56504 * elf/ldconfig.c: Likewise.
56505 * elf/ldd.bash.in: Likewise.
56506 * elf/sprof.c (print_version): Likewise.
56507 * iconv/iconv_prog.c: Likewise.
56508 * iconv/iconvconfig.c: Likewise.
56509 * locale/programs/locale.c: Likewise.
56510 * locale/programs/localedef.c: Likewise.
56511 * malloc/memusage.sh: Likewise.
56512 * malloc/mtrace.pl: Likewise.
56513 * nscd/nscd.c (print_version): Likewise.
56514 * nss/getent.c: Likewise.
56516 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56517 PF_CAIF, and PF_ALG.
56518 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56520 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56522 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56523 (modules-names): Use them.
56524 (ifunc-test-modules, ifunc-pie-tests): Define.
56525 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56526 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56527 (test-extras): Likewise.
56528 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56529 $(compile-command.c).
56530 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56531 (all-built-dso): Define.
56532 (check-textrel.out, check-execstack.out): Depend on it.
56534 * configure.in: Don't override --enable-multi-arch.
56536 2011-01-15 Ulrich Drepper <drepper@gmail.com>
56539 * nscd/hstcache.c (tryagain): Define.
56540 (cache_addhst): Return tryagain not notfound for temporary errors.
56541 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56544 2011-01-14 Ulrich Drepper <drepper@gmail.com>
56547 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56548 to make the syscall.
56549 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56552 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56553 and fall back to matching as normal character if the string ends before
56554 the matching ']' is found. This is what POSIX requires.
56555 * posix/testfnm.c: Adjust test result.
56556 * posix/globtest.sh: Adjust test result. Add new test.
56557 * posix/tst-fnmatch.input: Likewise.
56558 * posix/tst-fnmatch2.c: Add new test.
56560 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56562 * elf/Makefile (check-execstack): Revert last change. Depend on
56564 (check-execstack.h): New target.
56565 (generated): Add check-execstack.h.
56566 * elf/check-execstack.c: Include "check-execstack.h".
56567 (main): Revert last change.
56568 (handle_file): Return zero if GNU_STACK is absent and
56569 DEFAULT_STACK_PERMS doesn't include PF_X.
56571 2011-01-13 Ulrich Drepper <drepper@gmail.com>
56573 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56574 in child fails because the descriptor is already closed.
56575 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56576 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56577 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56580 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56584 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56585 temporary buffer used to handle multi lookups locally.
56586 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56588 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56590 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56593 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56595 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56596 alignment for SSE2.
56598 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56601 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56602 characters. When rounding increased number of integer digits recompute
56604 * stdio-common/tst-grouping.c: New file.
56605 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56607 2011-01-09 Ulrich Drepper <drepper@gmail.com>
56609 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56610 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56612 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56614 * bits/select.h: Likewise.
56616 2011-01-08 Ulrich Drepper <drepper@gmail.com>
56618 * po/ja.po: Update from translation team.
56620 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
56623 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56624 implementation just like for lxstat, fxstatat, et al.
56626 2010-12-27 Jim Meyering <meyering@redhat.com>
56629 * posix/regexec.c (build_trtable): Return failure indication upon
56630 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56632 2010-12-25 Ulrich Drepper <drepper@gmail.com>
56635 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56636 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56637 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56638 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56641 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56644 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56645 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56647 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56649 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56650 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56651 script has SORT_BY_INIT_PRIORITY.
56652 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56653 NO_CTORS_DTORS_SECTIONS is defined.
56654 * elf/soinit.c: Likewise.
56655 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56656 NO_CTORS_DTORS_SECTIONS is defined.
56657 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56658 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56659 * sysdeps/sh/init-first.c: Likewise.
56660 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56662 2010-12-24 Ulrich Drepper <drepper@gmail.com>
56664 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56665 always use the slow path.
56667 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56669 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56670 similar rule which adds the sysdep directories to the header search in
56671 order to pick up the correct platform stackinfo.h.
56672 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56673 perform test if it is, otherwise return successfully without testing.
56674 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56675 DEFAULT_STACK_PERMS define in stackinfo.h.
56676 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56677 defined in stackinfo.h.
56678 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56679 DEFAULT_STACK_PERMS defined in stackinfo.h.
56680 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56681 * sysdeps/ia64/stackinfo.h: Likewise.
56682 * sysdeps/s390/stackinfo.h: Likewise.
56683 * sysdeps/sh/stackinfo.h: Likewise.
56684 * sysdeps/sparc/stackinfo.h: Likewise.
56685 * sysdeps/x86_64/stackinfo.h: Likewise.
56686 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56687 PF_X for powerpc64. Retain PF_X for powerpc32.
56689 2010-12-19 Ulrich Drepper <drepper@gmail.com>
56691 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56693 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56694 GETDENTS_64BIT_ALIGNED.
56696 2010-12-14 Ulrich Drepper <dreper@gmail.com>
56698 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56700 2010-12-10 Andreas Schwab <schwab@redhat.com>
56702 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56705 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56706 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56708 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56709 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56711 2010-12-09 Ulrich Drepper <drepper@gmail.com>
56714 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56717 2010-12-09 Jakub Jelinek <jakub@redhat.com>
56719 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56721 2010-12-03 Ulrich Drepper <drepper@gmail.com>
56723 * po/it.po: Update from translation team.
56725 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56727 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56730 2010-11-30 Ulrich Drepper <drepper@gmail.com>
56732 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56734 2010-11-24 Andreas Schwab <schwab@redhat.com>
56736 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56738 (gaih_getanswer_slice): Likewise.
56740 2010-10-20 Jakub Jelinek <jakub@redhat.com>
56742 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56744 2010-05-31 Petr Baudis <pasky@suse.cz>
56747 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56748 silently even in the chroot mode.
56750 2010-11-22 Ulrich Drepper <drepper@gmail.com>
56752 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56753 last patch a bit. Pretty printing
56755 2010-05-31 Petr Baudis <pasky@suse.cz>
56758 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56759 initialization of skip_initgroups_dyn.
56761 2010-11-19 Ulrich Drepper <drepper@gmail.com>
56763 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56764 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56766 2010-11-16 Ulrich Drepper <drepper@gmail.com>
56768 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56770 2010-11-11 Andreas Schwab <schwab@redhat.com>
56772 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56773 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56774 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56775 ($(objpfx)tst-fnmatch-mem): New rule.
56776 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56777 * posix/tst-fnmatch.c (main): Call mtrace.
56779 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56782 Support Intel processor model 6 and model 0x2c.
56784 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
56786 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56789 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56792 * string/test-strncasecmp.c (check_result): New function.
56793 (do_one_test): Use it.
56794 (check1): New function.
56795 (test_main): Use it.
56796 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56797 Support strcasecmp and strncasecmp.
56799 2010-11-08 Ulrich Drepper <drepper@gmail.com>
56802 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56803 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56805 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56807 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56811 * sysdeps/x86_64/multiarch/bzero.S: New file.
56812 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56813 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56814 * sysdeps/x86_64/multiarch/memset.S: New file.
56815 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56817 Set bit_Prefer_SSE_for_memop for Intel processors.
56818 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56820 (index_Prefer_SSE_for_memop): Define.
56821 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56823 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
56825 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56826 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56828 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56831 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56832 (__x86_64_raw_data_cache_size_half): Likewise.
56833 (__x86_64_raw_shared_cache_size): Likewise.
56834 (__x86_64_raw_shared_cache_size_half): Likewise.
56836 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56837 (__x86_64_raw_data_cache_size_half): Likewise.
56838 (__x86_64_raw_shared_cache_size): Likewise.
56839 (__x86_64_raw_shared_cache_size_half): Likewise.
56840 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56841 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56842 and __x86_64_raw_shared_cache_size_half. Round
56843 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56844 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56845 to multiple of 256 bytes.
56847 2010-11-03 Ulrich Drepper <drepper@gmail.com>
56850 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56851 of inacessible symlinks. Verify result of symlink before returning it.
56852 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56853 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56855 2010-10-28 Erich Ritz <erichritz@gmail.com>
56857 * math/math.h (isinf): Fix typo in comment.
56859 2010-11-01 Ulrich Drepper <drepper@gmail.com>
56861 * po/da.po: Update from translation team.
56863 2010-10-26 Ulrich Drepper <drepper@gmail.com>
56865 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56866 is added to the list.
56868 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56869 Ulrich Drepper <drepper@gmail.com>
56871 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56872 the global list here. Move code to...
56873 (_dl_add_to_namespace_list): ...here. New function.
56874 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56875 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56876 * elf/dl-load.c (lose): Don't remove the element from the list.
56877 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56878 (_dl_map_object): Likewise.
56880 2010-10-25 Ulrich Drepper <drepper@gmail.com>
56883 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56884 into all bytes of SSE register.
56885 Patch by Richard Li <richardpku@gmail.com>.
56887 2010-10-24 Ulrich Drepper <drepper@gmail.com>
56890 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56893 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56895 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56896 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56897 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56898 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56903 2010-10-22 Andreas Schwab <schwab@redhat.com>
56905 * include/dlfcn.h (__RTLD_SECURE): Define.
56906 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56907 mode & __RTLD_SECURE instead.
56908 (open_path): Rename preloaded parameter to secure.
56909 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56910 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56911 * elf/dl-deps.c (openaux): Likewise.
56912 * elf/rtld.c (struct map_args): Remove is_preloaded.
56913 (map_doit): Don't use it.
56914 (dl_main): Likewise.
56915 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56916 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56918 2010-09-09 Andreas Schwab <schwab@redhat.com>
56920 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56921 (sysd-rules-targets): Remove duplicates.
56922 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56923 rtld-%.$o dependency.
56925 2010-10-18 Andreas Schwab <schwab@redhat.com>
56927 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56928 _dl_map_object do it.
56930 2010-10-19 Ulrich Drepper <drepper@gmail.com>
56932 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56933 fast fma builtins, define the macros in the C99 standard.
56934 (FP_FAST_FMAF): Likewise.
56935 (FP_FAST_FMAL): Likewise.
56936 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56938 * bits/mathdef.h: Update copyright year.
56939 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56941 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56943 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56944 builtins, define the macros in the C99 standard.
56945 (FP_FAST_FMAF): Likewise.
56946 (FP_FAST_FMAL): Likewise.
56947 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56949 (FP_FAST_FMAF): Likewise.
56951 2010-10-15 Jakub Jelinek <jakub@redhat.com>
56954 * math/libm-test.inc (fma_test): Some new testcases.
56955 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56956 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56957 y and infinite z. Do multiplication by C already in long double.
56958 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56960 y and infinite z. Do bitwise or of inexact bit into u.d.
56961 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56962 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56963 * sysdeps/i386/fpu/s_fma.S: Removed.
56964 * sysdeps/i386/fpu/s_fmal.S: Removed.
56966 2010-10-16 Jakub Jelinek <jakub@redhat.com>
56969 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56970 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56971 computation is not scheduled after fetestexcept. Fix value
56972 of minimum denormal long double.
56974 2010-10-14 Jakub Jelinek <jakub@redhat.com>
56977 * math/libm-test.inc (fma_test): Add some more tests.
56978 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56981 2010-10-15 Andreas Schwab <schwab@redhat.com>
56983 * scripts/data/localplt-s390-linux-gnu.data: New file.
56984 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56986 2010-10-13 Jakub Jelinek <jakub@redhat.com>
56989 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56990 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56992 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56994 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56996 if one of x and y is very large and the other is subnormal.
56997 * sysdeps/s390/fpu/s_fmaf.c: New file.
56998 * sysdeps/s390/fpu/s_fma.c: New file.
56999 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57000 * sysdeps/powerpc/fpu/s_fma.S: New file.
57001 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57002 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57003 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57005 2010-10-12 Jakub Jelinek <jakub@redhat.com>
57008 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57010 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57011 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57012 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57013 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57014 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57015 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57016 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57018 2010-10-12 Ulrich Drepper <drepper@redhat.com>
57021 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57022 * posix/bug-regex31.input: Add test case.
57024 2010-10-11 Ulrich Drepper <drepper@gmail.com>
57026 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57027 * posix/bug-regex31.input: New file.
57030 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57031 (parse_sub_exp): Fix last change, use postorder.
57033 * posix/bug-regex31.c: New file.
57034 * posix/Makefile: Add rules to build and run bug-regex31.
57036 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57039 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57042 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57043 to have entries in sys_siglist.
57046 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57049 2010-10-07 Jakub Jelinek <jakub@redhat.com>
57052 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57053 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57054 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57055 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57056 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57057 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57058 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57059 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57060 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57061 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57062 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57063 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57064 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57065 * math/ftestexcept.c (fetestexcept): Likewise.
57066 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57067 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57068 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57069 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57070 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57071 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57072 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57074 2010-10-11 Ulrich Drepper <drepper@gmail.com>
57077 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57080 2010-10-06 Ulrich Drepper <drepper@gmail.com>
57082 * string/bug-strstr1.c: New file.
57083 * string/Makefile: Add rules to build and run bug-strstr1.
57085 2010-10-05 Eric Blake <eblake@redhat.com>
57088 * string/str-two-way.h (two_way_long_needle): Always clear memory
57089 when skipping input due to the shift table.
57091 2010-10-03 Ulrich Drepper <drepper@gmail.com>
57094 * malloc/mcheck.c: Handle large requests.
57097 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57098 for strncmp and strncasecmp.
57099 * string/stratcliff.c: Add tests for strcmp and strncmp.
57100 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57102 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57104 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57107 2010-09-30 Andreas Jaeger <aj@suse.de>
57109 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57110 (CGROUP_SUPER_MAGIC): Define.
57111 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57112 Handle btrfs and cgroup file systems.
57113 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57116 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
57118 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57119 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57121 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57124 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57125 trying to locate the ELF header.
57127 2010-09-27 Andreas Schwab <schwab@redhat.com>
57130 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57131 Mask out sign-bit copies when constructing f_fsid.
57133 2010-09-24 Petr Baudis <pasky@suse.cz>
57135 * debug/stack_chk_fail_local.c: Add missing licence exception.
57136 * debug/warning-nop.c: Likewise.
57138 2010-09-15 Joseph Myers <joseph@codesourcery.com>
57140 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57141 implementing getdents64 using getdents syscall, set d_type if
57142 __ASSUME_GETDENTS32_D_TYPE.
57144 2010-09-16 Andreas Schwab <schwab@redhat.com>
57146 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57147 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57149 2010-09-21 Ulrich Drepper <drepper@redhat.com>
57152 * posix/unistd.h: Undo change of feature selection for ftruncate from
57155 2010-09-20 Ulrich Drepper <drepper@redhat.com>
57157 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
57160 2010-09-20 Andreas Schwab <schwab@redhat.com>
57162 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57164 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57166 2010-09-14 Andreas Schwab <schwab@redhat.com>
57168 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57169 variables after CHECK_SP call.
57170 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57172 2010-09-13 Andreas Schwab <schwab@redhat.com>
57173 Ulrich Drepper <drepper@redhat.com>
57175 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57176 re-relocationg ld.so.
57177 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57178 _dl_init_paths call.
57179 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57182 2010-09-14 Ulrich Drepper <drepper@redhat.com>
57184 * resolv/res_init.c (__res_vinit): Count the default server we added.
57186 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57187 Ulrich Drepper <drepper@redhat.com>
57190 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57191 (____longjmp_chk): Use %ebx for saving value across system call.
57194 2010-09-06 Andreas Schwab <schwab@redhat.com>
57196 * manual/Makefile: Don't mix pattern rules with normal rules.
57198 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57200 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57202 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57203 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57204 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57205 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57206 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57209 2010-09-04 Ulrich Drepper <drepper@redhat.com>
57212 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57213 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57215 2010-09-02 Ulrich Drepper <drepper@redhat.com>
57217 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57218 * sysdeps/x86_64/addmul_1.S: Likewise.
57219 * sysdeps/x86_64/lshift.S: Likewise.
57220 * sysdeps/x86_64/mul_1.S: Likewise.
57221 * sysdeps/x86_64/rshift.S: Likewise.
57222 * sysdeps/x86_64/sub_n.S: Likewise.
57223 * sysdeps/x86_64/submul_1.S: Likewise.
57225 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57227 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57228 Define __sched_param instead of SCHED_* and sched_param when
57229 <bits/sched.h> is included with __need_schedparam defined.
57230 * bits/sched.h [__need_schedparam]
57231 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57232 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57233 (__defined_schedparam): Define to 1.
57234 (__sched_param): New structure, identical to sched_param.
57235 (__need_schedparam): Undefine.
57237 2010-08-31 Mike Frysinger <vapier@gentoo.org>
57239 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57240 (epoll_create1): Declare.
57242 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57244 2010-08-31 Andreas Schwab <schwab@redhat.com>
57247 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57248 shifting retval into place.
57250 2010-09-01 Ulrich Drepper <drepper@redhat.com>
57252 * nis/rpcsvc/nis.h: Update copyright notice.
57253 * nis/rpcsvc/nis.x: Likewise.
57254 * nis/rpcsvc/nis_callback.h: Likewise.
57255 * nis/rpcsvc/nis_callback.x: Likewise.
57256 * nis/rpcsvc/nis_object.x: Likewise.
57257 * nis/rpcsvc/nis_tags.h: Likewise.
57258 * nis/rpcsvc/yp.h: Likewise.
57259 * nis/rpcsvc/yp.x: Likewise.
57260 * nis/rpcsvc/ypupd.h: Likewise.
57261 * nis/yp_xdr.c: Likewise.
57262 * nis/ypupdate_xdr.c: Likewise.
57264 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57265 mainly the body of pmap_getport. Add parameters to specify timeouts.
57266 (pmap_getport): Use __libc_rpc_getport.
57267 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57268 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57269 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57271 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57276 2010-08-27 Roland McGrath <roland@redhat.com>
57278 * sysdeps/i386/i686/multiarch/Makefile
57279 (CFLAGS-varshift.c): New variable.
57281 2010-08-27 Ulrich Drepper <drepper@redhat.com>
57283 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57284 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57286 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57288 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57290 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57292 * sysdeps/x86_64/strlen.S: Unroll the loop.
57293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57294 strlen-sse2 strlen-sse2-bsf.
57295 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57296 __strlen_no_bsf if bit_Slow_BSF is set.
57297 (__strlen_sse42): Removed.
57298 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57299 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57301 2010-08-25 Roland McGrath <roland@redhat.com>
57303 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57304 * sysdeps/x86_64/multiarch/varshift.c: New file.
57305 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57306 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57307 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57308 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57310 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57312 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57313 strlen-sse2 strlen-sse2-bsf.
57314 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57315 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57316 (__strlen_sse2): Removed.
57317 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57318 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57320 bit_Slow_BSF for Atom.
57321 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57322 (index_Slow_BSF): Define.
57323 (HAS_SLOW_BSF): Define.
57325 2010-08-25 Ulrich Drepper <drepper@redhat.com>
57328 * resolv/res_init.c (__res_vinit): When no server address at all
57329 is given default to loopback.
57331 2010-08-24 Roland McGrath <roland@redhat.com>
57333 * configure.in: Remove config-name.h generation.
57334 * configure: Regenerated.
57335 * config-name.in: File removed.
57336 * scripts/config-uname.sh: New file.
57337 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57338 ($(objdir)config-name.h): New target.
57340 * sunrpc/rpc_parse.h: Avoid nested comment.
57342 2010-08-24 Richard Henderson <rth@redhat.com>
57343 Ulrich Drepper <drepper@redhat.com>
57344 H.J. Lu <hongjiu.lu@intel.com>
57346 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57347 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57348 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57349 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57350 _mm_alignr_epi8 with _mm_loadu_si128.
57351 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57352 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57353 (__m128i_shift_right): Removed.
57354 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57355 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57356 * sysdeps/x86_64/multiarch/varshift.h: New file.
57357 * sysdeps/x86_64/multiarch/varshift.S: New file.
57359 2010-08-21 Mike Frysinger <vapier@gentoo.org>
57361 * configure.in: Move assembler checks to before sysdep dir checking.
57363 2010-08-20 Petr Baudis <pasky@suse.cz>
57365 * LICENSES: Sync the sunrpc license.
57367 2010-08-19 Ulrich Drepper <drepper@redhat.com>
57369 * sunrpc/auth_des.c: Update copyright notice once again.
57370 * sunrpc/auth_none.c: Likewise.
57371 * sunrpc/auth_unix.c: Likewise.
57372 * sunrpc/authdes_prot.c: Likewise.
57373 * sunrpc/authuxprot.c: Likewise.
57374 * sunrpc/bindrsvprt.c: Likewise.
57375 * sunrpc/clnt_gen.c: Likewise.
57376 * sunrpc/clnt_perr.c: Likewise.
57377 * sunrpc/clnt_raw.c: Likewise.
57378 * sunrpc/clnt_simp.c: Likewise.
57379 * sunrpc/clnt_tcp.c: Likewise.
57380 * sunrpc/clnt_udp.c: Likewise.
57381 * sunrpc/clnt_unix.c: Likewise.
57382 * sunrpc/des_crypt.c: Likewise.
57383 * sunrpc/des_soft.c: Likewise.
57384 * sunrpc/get_myaddr.c: Likewise.
57385 * sunrpc/getrpcport.c: Likewise.
57386 * sunrpc/key_call.c: Likewise.
57387 * sunrpc/key_prot.c: Likewise.
57388 * sunrpc/openchild.c: Likewise.
57389 * sunrpc/pm_getmaps.c: Likewise.
57390 * sunrpc/pm_getport.c: Likewise.
57391 * sunrpc/pmap_clnt.c: Likewise.
57392 * sunrpc/pmap_prot.c: Likewise.
57393 * sunrpc/pmap_prot2.c: Likewise.
57394 * sunrpc/pmap_rmt.c: Likewise.
57395 * sunrpc/rpc/auth.h: Likewise.
57396 * sunrpc/rpc/auth_unix.h: Likewise.
57397 * sunrpc/rpc/clnt.h: Likewise.
57398 * sunrpc/rpc/des_crypt.h: Likewise.
57399 * sunrpc/rpc/key_prot.h: Likewise.
57400 * sunrpc/rpc/netdb.h: Likewise.
57401 * sunrpc/rpc/pmap_clnt.h: Likewise.
57402 * sunrpc/rpc/pmap_prot.h: Likewise.
57403 * sunrpc/rpc/pmap_rmt.h: Likewise.
57404 * sunrpc/rpc/rpc.h: Likewise.
57405 * sunrpc/rpc/rpc_des.h: Likewise.
57406 * sunrpc/rpc/rpc_msg.h: Likewise.
57407 * sunrpc/rpc/svc.h: Likewise.
57408 * sunrpc/rpc/svc_auth.h: Likewise.
57409 * sunrpc/rpc/types.h: Likewise.
57410 * sunrpc/rpc/xdr.h: Likewise.
57411 * sunrpc/rpc_clntout.c: Likewise.
57412 * sunrpc/rpc_cmsg.c: Likewise.
57413 * sunrpc/rpc_common.c: Likewise.
57414 * sunrpc/rpc_cout.c: Likewise.
57415 * sunrpc/rpc_dtable.c: Likewise.
57416 * sunrpc/rpc_hout.c: Likewise.
57417 * sunrpc/rpc_main.c: Likewise.
57418 * sunrpc/rpc_parse.c: Likewise.
57419 * sunrpc/rpc_parse.h: Likewise.
57420 * sunrpc/rpc_prot.c: Likewise.
57421 * sunrpc/rpc_sample.c: Likewise.
57422 * sunrpc/rpc_scan.c: Likewise.
57423 * sunrpc/rpc_scan.h: Likewise.
57424 * sunrpc/rpc_svcout.c: Likewise.
57425 * sunrpc/rpc_tblout.c: Likewise.
57426 * sunrpc/rpc_util.c: Likewise.
57427 * sunrpc/rpc_util.h: Likewise.
57428 * sunrpc/rpcinfo.c: Likewise.
57429 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57430 * sunrpc/rpcsvc/key_prot.x: Likewise.
57431 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57432 * sunrpc/rpcsvc/mount.x: Likewise.
57433 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57434 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57435 * sunrpc/rpcsvc/rex.x: Likewise.
57436 * sunrpc/rpcsvc/rstat.x: Likewise.
57437 * sunrpc/rpcsvc/rusers.x: Likewise.
57438 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57439 * sunrpc/rpcsvc/spray.x: Likewise.
57440 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57441 * sunrpc/rtime.c: Likewise.
57442 * sunrpc/svc.c: Likewise.
57443 * sunrpc/svc_auth.c: Likewise.
57444 * sunrpc/svc_authux.c: Likewise.
57445 * sunrpc/svc_raw.c: Likewise.
57446 * sunrpc/svc_run.c: Likewise.
57447 * sunrpc/svc_simple.c: Likewise.
57448 * sunrpc/svc_tcp.c: Likewise.
57449 * sunrpc/svc_udp.c: Likewise.
57450 * sunrpc/svc_unix.c: Likewise.
57451 * sunrpc/svcauth_des.c: Likewise.
57452 * sunrpc/xcrypt.c: Likewise.
57453 * sunrpc/xdr.c: Likewise.
57454 * sunrpc/xdr_array.c: Likewise.
57455 * sunrpc/xdr_float.c: Likewise.
57456 * sunrpc/xdr_mem.c: Likewise.
57457 * sunrpc/xdr_rec.c: Likewise.
57458 * sunrpc/xdr_ref.c: Likewise.
57459 * sunrpc/xdr_sizeof.c: Likewise.
57460 * sunrpc/xdr_stdio.c: Likewise.
57462 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57465 2010-08-19 Andreas Schwab <schwab@redhat.com>
57467 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57469 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
57471 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57472 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57473 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57474 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57475 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57476 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57477 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57478 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57479 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57480 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57481 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57482 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57483 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57484 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57486 2010-07-26 Anton Blanchard <anton@samba.org>
57488 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57489 * malloc/arena.c (heap_trim): Likewise.
57491 2010-08-16 Ulrich Drepper <drepper@redhat.com>
57493 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57495 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57496 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57498 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57500 * sysdeps/i386/elf/Makefile: New file.
57502 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57504 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57505 from fanotify_init.
57506 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57507 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57509 2010-08-15 Ulrich Drepper <drepper@redhat.com>
57511 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57513 * sysdeps/multiarch/strcmp.S: Likewise.
57515 2010-08-14 Ulrich Drepper <drepper@redhat.com>
57517 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57518 strncase_l-nonascii.
57519 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57520 Add strncase_l-ssse3.
57521 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57522 * sysdeps/x86_64/strcmp.S: Likewise.
57523 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57524 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57525 * sysdeps/x86_64/strncase.S: New file.
57526 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57527 * sysdeps/x86_64/strncase_l.S: New file.
57528 * string/Makefile (strop-tests): Add strncasecmp.
57529 * string/test-strncasecmp.c: New file.
57531 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57534 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57535 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57537 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57539 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57541 2010-08-12 Ulrich Drepper <drepper@redhat.com>
57543 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57544 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57545 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57547 2010-05-01 Alan Modra <amodra@gmail.com>
57549 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57550 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57551 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57552 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57553 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57554 tidying. Don't tail-call __sigjmp_save for static lib.
57555 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57557 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57558 (CALL_MCOUNT): Add eh info, and nop after bl.
57559 (TAIL_CALL_SYSCALL_ERROR): New macro.
57560 (PSEUDO_RET): Use it.
57561 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57562 Correct save location of integer regs and cr.
57563 (_dl_profile_resolve): Correct cr save location. Delete nops
57564 after bl when SHARED. Reduce cfi size a little by better
57565 placement of cfi directives.
57566 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57567 make a stack frame. Instead use parm save area as a temp.
57568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57569 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57571 Don't make a stack frame for parent, use parm save area.
57572 Increase child stack frame to 112 bytes. Don't save unused reg,
57573 and adjust reg usage. Set up cfi on error recovery and
57574 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57576 (__makecontext): Add dummy nop after jump to exit.
57577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57578 Use correct parm save area and cr save, reduce stack frame.
57579 Correct cfi for possible PSEUDO_RET frame setup.
57580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57581 Branch to local label emitted by PSEUDO_RET rather than
57584 2010-08-12 Andreas Schwab <schwab@redhat.com>
57587 * locale/programs/locale.c (print_assignment): New function.
57588 (show_locale_vars): Use it.
57590 2010-08-11 Ulrich Drepper <drepper@redhat.com>
57592 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57594 (struct statfs64): Likewise.
57595 (_STATFS_F_FLAGS): Define.
57596 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57597 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57598 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57599 (ST_VALID): Define locally.
57600 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57601 __statvfs_getflags, use the provided value.
57602 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57603 __ASSUME_STATFS_F_FLAGS.
57605 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57607 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57608 Add sys/fanotify.h.
57609 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57610 fanotify_mask for GLIBC_2.13.
57611 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57612 fanotify_init and fanotify_mark.
57613 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57614 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57616 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57618 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57619 prlimit64 for GLIBC_2.13.
57620 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57622 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57625 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57626 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57627 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57628 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57630 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57633 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57634 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57636 * nss/Makefile: Add rules to build and run tst-nss-test1.
57637 * shlib-versions: Add entry for libnss_test1.
57638 * nss/nss_test1.c: New file.
57639 * nss/tst-nss-test1.c: New file.
57641 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57642 (__nss_configure_lookup): Set appropriate entry in
57643 __nss_configure_lookup to true.
57644 * nss/nsswitch.h: Define enum with indeces of databases in
57645 databases and __nss_database_custom arrays. Declare
57646 __nss_database_custom.
57647 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57648 to avoid using nscd when custom rules are installed.
57649 * nss/getXXbyYY_r.c: Likewise.
57650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57652 * nss/nss_files/files-parse.c: Whitespace fixes.
57654 2010-08-09 Ulrich Drepper <drepper@redhat.com>
57657 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57658 * posix/fnmatch_loop.c: Likewise.
57660 2010-07-17 Andi Kleen <ak@linux.intel.com>
57662 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57663 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57664 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57665 * Versions.def [GLIBC_2.13]: Add.
57667 2010-08-06 Ulrich Drepper <drepper@redhat.com>
57669 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57670 Also fail if tpwd after pwuid call is NULL.
57672 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57674 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57675 when converting to ms.
57677 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57679 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57680 EOPNOTSUPP errors with ENOTTY.
57681 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57682 EOPNOTSUPP errors with ENOTTY.
57684 2010-07-31 Ulrich Drepper <drepper@redhat.com>
57686 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57687 Add strcasecmp_l-ssse3.
57688 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57690 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57691 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57692 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57694 2010-07-30 Ulrich Drepper <drepper@redhat.com>
57696 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57698 * string/Makefile (strop-tests): Add strcasecmp.
57699 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57700 strcasecmp_l-nonascii.
57701 (gen-as-const-headers): Add locale-defines.sym.
57702 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57703 * sysdeps/x86_64/strcasecmp.S: New file.
57704 * sysdeps/x86_64/strcasecmp_l.S: New file.
57705 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57706 * sysdeps/x86_64/locale-defines.sym: New file.
57707 * string/test-strcasecmp.c: New file.
57709 * string/test-strcasestr.c: Test both ends of the range of characters.
57710 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57712 2010-07-29 Roland McGrath <roland@redhat.com>
57715 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57717 2010-07-27 Ulrich Drepper <drepper@redhat.com>
57719 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57722 2010-07-27 Andreas Schwab <schwab@redhat.com>
57724 * manual/memory.texi (Malloc Tunable Parameters): Document
57727 2010-07-26 Roland McGrath <roland@redhat.com>
57730 * configure.in (-fgnu89-inline check): Set and substitute
57731 gnu89_inline, not libc_cv_gnu89_inline.
57732 * configure: Regenerated.
57733 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57735 2010-07-26 Ulrich Drepper <drepper@redhat.com>
57737 * string/test-strnlen.c: New file.
57738 * string/Makefile (strop-tests): Add strnlen.
57739 * string/tester.c (test_strnlen): Add a few more test cases.
57740 * string/tst-strlen.c: Better error reporting.
57742 * sysdeps/x86_64/strnlen.S: New file.
57744 2010-07-24 Ulrich Drepper <drepper@redhat.com>
57746 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57747 lower-latency instructions.
57749 2010-07-23 Ulrich Drepper <drepper@redhat.com>
57751 * string/test-strcasestr.c: New file.
57752 * string/test-strstr.c: New file.
57753 * string/Makefile (strop-tests): Add strstr and strcasestr.
57754 * string/str-two-way.h: Don't undefine MAX.
57755 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57757 2010-07-21 Andreas Schwab <schwab@redhat.com>
57759 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57760 strcasestr-nonascii.
57761 (CFLAGS-strcasestr-nonascii.c): Define.
57762 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57763 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57764 Remove unused attribute.
57766 2010-07-20 Roland McGrath <roland@redhat.com>
57768 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57769 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57770 ld.so.cache was broken. With it, there is no way to disable dsocaps
57771 like LD_HWCAP_MASK can disable hwcaps.
57773 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57775 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57777 2010-07-16 Ulrich Drepper <drepper@redhat.com>
57779 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57780 call in strcasestr.
57781 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57782 __strcasestr_sse42_nonascii.
57783 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57784 strcasestr-nonascii.c.
57785 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57787 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
57789 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57790 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57791 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57792 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57794 2010-07-09 Ulrich Drepper <drepper@redhat.com>
57796 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57799 2010-07-06 Andreas Schwab <schwab@redhat.com>
57802 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57805 2010-07-06 Ulrich Drepper <drepper@redhat.com>
57807 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57808 _PC_PIPE_BUF using F_GETPIPE_SZ.
57810 2010-07-05 Roland McGrath <roland@redhat.com>
57812 * manual/arith.texi (Rounding Functions): Fix rint description
57813 implicit in round description.
57815 2010-07-02 Ulrich Drepper <drepper@redhat.com>
57817 * elf/Makefile: Fix linking for a few tests to make recent linker
57820 2010-06-30 Andreas Schwab <schwab@redhat.com>
57822 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57823 $(common-objpfx)libc_nonshared.a.
57825 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
57827 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57828 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57829 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57830 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57831 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57832 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57833 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57834 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57849 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57850 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57851 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57852 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57853 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57854 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57855 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57856 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57857 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57858 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57859 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57860 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57876 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57878 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57879 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57880 * string/memmove.c (memmove): Renamed to ...
57881 (MEMMOVE): ...this. Default to memmove.
57882 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57883 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57885 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57886 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57887 mempcpy-ssse3-back memmove-ssse3-back.
57888 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57889 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57890 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57891 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57892 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57893 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57894 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57895 * sysdeps/x86_64/multiarch/memmove.c: New file.
57896 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57897 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57898 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57899 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57900 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57901 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57903 (index_Fast_Copy_Backward): Define.
57904 (HAS_ARCH_FEATURE): Define.
57905 (HAS_FAST_REP_STRING): Define.
57906 (HAS_FAST_COPY_BACKWARD): Define.
57908 2010-06-21 Andreas Schwab <schwab@redhat.com>
57910 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57911 Restore proper fallback handling.
57913 2010-06-19 Ulrich Drepper <drepper@redhat.com>
57916 * posix/group_member.c (__group_member): Correct checking loop.
57918 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57919 OOM in getpwuid_r correctly. Return error number when the caller
57920 should return, otherwise -1.
57921 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57922 call returning > 0 value.
57923 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57925 2010-06-07 Andreas Schwab <schwab@redhat.com>
57927 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57928 libc_nonshared.a from targets in modules-names.
57930 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57932 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57935 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
57937 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57938 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57939 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57940 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57942 2010-06-02 Andreas Schwab <schwab@redhat.com>
57944 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57946 2010-06-14 Ulrich Drepper <drepper@redhat.com>
57948 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57950 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57951 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57952 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57953 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57954 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57955 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57957 2010-06-14 Roland McGrath <roland@redhat.com>
57959 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57961 2010-06-07 Jakub Jelinek <jakub@redhat.com>
57963 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57964 __REDIRECT followed by __THROW.
57965 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57966 * posix/getopt.h (getopt): Likewise.
57968 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57970 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57971 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57972 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57974 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57975 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57977 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
57979 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57981 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57985 Properly check family and model.
57987 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57989 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57991 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
57993 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57995 2010-05-21 Ulrich Drepper <drepper@redhat.com>
57997 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58000 2010-05-19 Andreas Schwab <schwab@redhat.com>
58002 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58005 2010-05-21 Andreas Schwab <schwab@redhat.com>
58007 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58008 and internal_recvmmsg.
58009 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58010 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58011 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58012 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58014 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58015 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58016 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58018 2010-05-20 Andreas Schwab <schwab@redhat.com>
58020 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58022 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
58024 POWER7 optimizations.
58025 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58026 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58028 2010-05-19 Ulrich Drepper <drepper@redhat.com>
58030 * version.h: Update for 2.13 development version.
58032 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
58034 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58035 exceptions. Return 0.
58037 2010-05-07 Roland McGrath <roland@redhat.com>
58039 * elf/ldconfig.c (main): Add a const.
58041 2010-05-06 Ulrich Drepper <drepper@redhat.com>
58043 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58044 (args_options): Add no-idn option.
58045 (ahosts_keys_int): Add idn_flags to ai_flags.
58046 (parse_option): Handle 'i' option to clear idn_flags.
58048 * malloc/malloc.c (_int_free): Possible race in the most recently
58049 added check. Only act on the data if no current modification
58052 See ChangeLog.17 for earlier changes.